using System; using System.Collections.Generic; using Cal; namespace ET { [ActorMessageHandler] public class C2M_GetStarSoulBagHandler: AMActorLocationRpcHandler { protected override async ETTask Run(Unit unit, C2M_GetStarSoulBag request, M2C_GetStarSoulBag response, Action reply) { StarSoulBag bag = unit.GetComponent(); bag.GetBagInfo(response.itemList,response.usedIdMap,response.suitKVs); reply(); await ETTask.CompletedTask; } } }