A2C_DisconnectHandler.cs 395 B

1234567891011121314151617
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using GFGGame;
  6. namespace ET
  7. {
  8. public class A2C_DisconnectHandler : AMHandler<A2C_Disconnect>
  9. {
  10. protected override async ETTask Run(Session session, A2C_Disconnect message)
  11. {
  12. Alert.Show("你已被迫下线!");
  13. await ETTask.CompletedTask;
  14. }
  15. }
  16. }