GameEvent.ts 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*
  2. * @Author: dgflash
  3. * @Date: 2021-11-23 15:28:39
  4. * @LastEditors: mojunshou 1637302775@qq.com
  5. * @LastEditTime: 2025-04-28 11:45:08
  6. */
  7. /** 游戏事件 */
  8. export enum GameEvent {
  9. /** 游戏服务器连接成功 */
  10. GameServerConnected = "GameServerConnected",
  11. /** 登陆成功 */
  12. LoginSuccess = "LoginSuccess",
  13. /**重新开始 */
  14. RestartGame = "RestartGame",
  15. /**复活 */
  16. Resurrection = "Resurrection",
  17. /**微信登录成功*/
  18. WechatLoginSuss = "WechatLoginSuss",
  19. /**二倍速开启成功*/
  20. DoubleSpeedOpenSuccess = "DoubleSpeedOpenSuccess",
  21. /**用户登录*/
  22. UserLogin = "UserLogin",
  23. /**打开*/
  24. openView = "openView",
  25. /**打开提现记录*/
  26. openRecordView = "openRecordView",
  27. /**展示金币动画*/
  28. showCoinAnimation = "showCoinAnimation",
  29. //更新红包提现任务列表
  30. updateRedPackeTaskList = "updateRedPackeTaskList",
  31. //更新红包币和微信币
  32. updateHbAndWxCoin = "updateHbAndWxCoin",
  33. /**开始自动功能*/
  34. StartAutoGame = "StartAutoGame",
  35. /**更新游戏状态*/
  36. updateGameState = "updateGameState",
  37. /**暂停游戏*/
  38. pauseGame = "pauseGame",
  39. /**恢复游戏*/
  40. resumeGame = "resumeGame",
  41. /**更新消除后分数*/
  42. updateGameScore = "updateGameScore"
  43. }