CTT/Server/Hotfix/Game/Handler/UI/Bag/C2M_GetBagHandler.cs

15 lines
369 B
C#
Raw Normal View History

2021-04-08 20:09:59 +08:00
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;
}
}
}