C2M_TestRobotCaseHandler.cs 392 B

123456789101112131415
  1. using System;
  2. namespace ET.Server
  3. {
  4. [ActorMessageHandler(SceneType.Map)]
  5. public class C2M_TestRobotCaseHandler : AMActorLocationRpcHandler<Unit, C2M_TestRobotCase, M2C_TestRobotCase>
  6. {
  7. protected override async ETTask Run(Unit unit, C2M_TestRobotCase request, M2C_TestRobotCase response, Action reply)
  8. {
  9. response.N = request.N;
  10. reply();
  11. await ETTask.CompletedTask;
  12. }
  13. }
  14. }