C2R_PingHandler.cs 320 B

123456789101112131415
  1. using System;
  2. using ETModel;
  3. namespace ETHotfix
  4. {
  5. [MessageHandler(AppType.AllServer)]
  6. public class C2R_PingHandler : AMRpcHandler<C2R_Ping, R2C_Ping>
  7. {
  8. protected override async ETTask Run(Session session, C2R_Ping request, R2C_Ping response, Action reply)
  9. {
  10. reply();
  11. await ETTask.CompletedTask;
  12. }
  13. }
  14. }