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

15 lines
559 B
C#

using System;
namespace ET
{
[ActorMessageHandler]
public class C2M_GetConsignmentHandler : AMActorLocationRpcHandler<Unit, C2M_GetConsignment, M2C_GetConsignment>
{
protected override async ETTask Run(Unit unit, C2M_GetConsignment request, M2C_GetConsignment response, Action reply)
{
response.TotalPage = await ConsignmentComponent.Instance.GetConsignmet(unit,request.Page, request.ItemType, request.JobType, response.ConsignMapList);
reply();
await ETTask.CompletedTask;
}
}
}