19 lines
600 B
C#
Executable File
19 lines
600 B
C#
Executable File
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>();
|
|
bag.GetBagInfo(response.itemList,response.usedIdMap,response.suitKVs);
|
|
|
|
reply();
|
|
await ETTask.CompletedTask;
|
|
}
|
|
}
|
|
} |