EventName.ts 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. export default class EventName {
  2. /////////////////////////////////////////////////////////////////////HALL
  3. //我在哪
  4. static WhereMy = 'WhereMy'
  5. //收藏选中
  6. static CollectSelect = 'CollectSelect'
  7. //手动刷新一次轮训
  8. static UpdateOnce = 'UpdateOnce'
  9. /////////////////////////////////////////////////////////////////////GAME
  10. //更新渲染
  11. static UpdataRender = 'UpdataRender'
  12. //开始倒计时
  13. static InitCountDown = 'InitCountDown'
  14. static StartCountDown = 'StartCountDown'
  15. static PauseCountDown = 'PauseCountDown'
  16. static RestoreCountDown = 'RestoreCountDown'
  17. static ADDCountDown = 'ADDCountDown'
  18. static RestartCurrentLevel = 'RestartCurrentLevel'
  19. //点击弹射入座
  20. static NowSitDowninSeat = 'NowSitDowninSeat'
  21. //播放弹射入座动画
  22. static NowSitDowninSeatAnim = 'NowSitDowninSeatAnim'
  23. //停止所有的跳跃选中动画
  24. static StopNowSitDowninSeatAnim = 'StopNowSitDowninSeatAnim'
  25. //GameOver
  26. static GameOver = 'GameOver'
  27. //下一关之前应该马上停止时间
  28. static NextCoustomGameStop = 'NextCoustomGameStop'
  29. //下一关
  30. static NextCoustomGame = 'NextCoustomGame'
  31. //执行发车命令
  32. static driveBus = 'driveBus'
  33. //发车完毕中间层
  34. static driveBusMind = 'driveBusMind'
  35. //发车完毕
  36. static driveBusOver = 'driveBusOver'
  37. //生成车子
  38. static BronBus = 'BronBus'
  39. //initRoleQueuePos
  40. static initRoleQueuePos = 'initRoleQueuePos'
  41. //生成地图 数据赋值
  42. static BronMap = 'BronMap'
  43. //生成乘客
  44. static BronRole = 'BronRole'
  45. //生成门
  46. static BronDoor = 'BronDoor'
  47. //关门
  48. static CloseDoor = 'CloseDoor'
  49. //乘客开始上车
  50. static RoleStartBus = 'RoleStartBus'
  51. //乘客停止上车
  52. static RoleStopBus = 'RoleStopBus'
  53. //使用道具跳跃
  54. static UpdataPropCount = 'UpdataPropCount'
  55. //使用道具时间
  56. static UserPropTime = 'UserPropTime'
  57. //使用道具跳跃
  58. static UserPropJump = 'UserPropJump'
  59. }
  60. export class PopName {
  61. // Notice 通知
  62. //荣誉通知
  63. static FullAttendance = 'res/GameUI/Notice/FullAttendance'
  64. //装扮通知
  65. static DressUpPop = 'res/GameUI/Notice/DressUpPop'
  66. //HR通知
  67. static HrNotice = 'res/GameUI/Notice/HrNotice'
  68. //HR 详情 通知
  69. static HrDetails = 'res/GameUI/Notice/HrDetails'
  70. //////////////////////////////////////////////////////////////////////////////////////////
  71. //预加载场景动画
  72. static StartAnim = 'res/GameUI/StartAnim'
  73. //难度飙升
  74. static DifficultyUp = 'res/GameUI/DifficultyUp'
  75. //set
  76. static Seting = 'res/GameUI/Seting'
  77. //游戏暂停
  78. static GamePause = 'res/GameUI/GamePause'
  79. //没免费次数了 再来一次
  80. static JustAgain = 'res/GameUI/JustAgain'
  81. //通关成功
  82. static Successfully = 'res/GameUI/Successfully'
  83. //时间暂停动画
  84. static TimePause = 'res/GameUI/TimePause'
  85. //荣誉墙
  86. static HonorWall = 'res/GameUI/HonorWall'
  87. //隐私
  88. static Privacy = 'res/GameUI/Privacy'
  89. //收藏
  90. static Collect = 'res/GameUI/Collect'
  91. //收藏详情穿戴
  92. static DressUp = 'res/GameUI/DressUp'
  93. //内推
  94. static EmployeeReferral = 'res/GameUI/EmployeeReferral'
  95. //我的工卡
  96. static IDcard = 'res/GameUI/IDcard'
  97. //我的工卡
  98. static Rank = 'res/GameUI/Rank'
  99. static GameOverMid = 'res/GameUI/GameOverMid'
  100. static GameOverEnd = 'res/GameUI/GameOverEnd'
  101. static TimeOver_1 = 'res/GameUI/TimeOver_1'
  102. static TimeOver_2 = 'res/GameUI/TimeOver_2'
  103. //第几车
  104. static CurrentLevel = 'res/GameUI/CurrentLevel'
  105. //使用道具
  106. static UserProp = 'res/GameUI/UserProp'
  107. }
  108. export class ItemName {
  109. //勋章子元素
  110. static HonorItem = 'res/GameUI/item/HonorItem'
  111. //收藏子元素
  112. static Collectitem = 'res/GameUI/item/Collectitem'
  113. }
  114. // 蓝 灰 粉 红 黄 蓝2 灰2 粉2 红2 黄2
  115. // 1 3 5 7 9 11 13 15 17 19
  116. // 2 4 6 8 10 12 14 16 18 20
  117. export enum SofaColor {
  118. 无 = -1,
  119. 蓝 = 1,
  120. 灰 = 2,
  121. 粉 = 3,
  122. 红 = 4,
  123. 黄 = 5,
  124. }
  125. export enum SofaDir {
  126. 正 = 0,
  127. 反 = 1,
  128. }