C2S_PingMessageHandler.cs 350 B

1234567891011121314
  1. using Cysharp.Threading.Tasks;
  2. using KYFramework.Network;
  3. namespace SimulationServer;
  4. [MessageHandler]
  5. public class C2S_LoginMessageHandler : AMRpcHandler<C2R_Ping,R2C_Ping>
  6. {
  7. protected override UniTask Run(Session session, C2R_Ping message, R2C_Ping response, Action reply)
  8. {
  9. reply();
  10. return UniTask.CompletedTask;
  11. }
  12. }