zxl
/
CTT
forked from Cal/CTT
1
0
Fork 0
CTT/Server/Hotfix/Game/Handler/UI/Bag/C2M_GetBagHandler.cs

15 lines
369 B
C#

using System;
namespace ET
{
[ActorMessageHandler]
public class C2M_GetBagHandler : AMActorLocationRpcHandler<Unit, C2M_GetBag, M2C_GetBag>
{
protected override async ETTask Run(Unit unit, C2M_GetBag request, M2C_GetBag response, Action reply)
{
BagHelper.GetBagInfo(unit, response.BagMapList);
reply();
await ETTask.CompletedTask;
}
}
}