15 lines
369 B
C#
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;
|
|
}
|
|
}
|
|
} |