DisConnectedCompnentSystem.cs 586 B

12345678910111213141516171819202122232425
  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 DisConnectedCompnentDestroy : DestroySystem<DisConnectedCompnent>
  9. {
  10. public override void Destroy(DisConnectedCompnent self)
  11. {
  12. Alert.Show("服务器连接已断开!")
  13. .SetLeftButton(true, "返回登录",(obj) =>
  14. {
  15. GameController.QuitToLoginView(false);
  16. });
  17. }
  18. }
  19. public static class DisConnectedCompnentSystem
  20. {
  21. }
  22. }