2021-05-01 22:06:12 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using Cal;
|
|
|
|
|
|
|
|
|
|
namespace ET
|
|
|
|
|
{
|
|
|
|
|
[ActorMessageHandler]
|
|
|
|
|
public class C2M_GetStarSoulBagHandler: AMActorLocationRpcHandler<Unit, C2M_GetStarSoulBag, M2C_GetStarSoulBag>
|
|
|
|
|
{
|
|
|
|
|
protected override async ETTask Run(Unit unit, C2M_GetStarSoulBag request, M2C_GetStarSoulBag response, Action reply)
|
|
|
|
|
{
|
|
|
|
|
StarSoulBag bag = unit.GetComponent<StarSoulBag>();
|
2021-05-14 15:28:23 +08:00
|
|
|
|
bag.GetBagInfo(response.itemList,response.usedIdMap,response.suitKVs);
|
|
|
|
|
|
2021-05-01 22:06:12 +08:00
|
|
|
|
reply();
|
|
|
|
|
await ETTask.CompletedTask;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|