GameEventName.ts 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. import { EventName } from "../../Engine/Event/EventName";
  2. import BuffEventName from "./BuffEventName";
  3. import EffectEventName from "./EffectEventName";
  4. import FightEventName from "./FightEventName";
  5. import PropEventName from "./PropEventName";
  6. import RobotEventName from "./RobotEventName";
  7. import SDKEventName from "./SDKEventName";
  8. import SkillEventName from "./SkillEventName";
  9. import UnitEventName from "./UnitEventName";
  10. import UserDataEventName from "./UserDataEventName";
  11. /**
  12. * 游戏事件名
  13. * @param 设计目的 管理事件
  14. * @param 可能问题 事件名含义模糊,与后续事件冲突
  15. */
  16. export default class GameEventName extends EventName {
  17. /**数据事件 */
  18. public static UserData: UserDataEventName = new UserDataEventName();
  19. /**实体单元事件 */
  20. public static Unit: UnitEventName = new UnitEventName();
  21. /**机器人事件 */
  22. public static Robot: RobotEventName = new RobotEventName();
  23. /**技能事件 */
  24. public static Skill: SkillEventName = new SkillEventName();
  25. /**Buff事件 */
  26. public static Buff: BuffEventName = new BuffEventName();
  27. /**特效事件 */
  28. public static Effect: EffectEventName = new EffectEventName();
  29. /**道具事件 */
  30. public static Prop: PropEventName = new PropEventName();
  31. /**战斗事件 */
  32. public static Fight: FightEventName = new FightEventName();
  33. /**战斗事件 */
  34. public static SDK: SDKEventName = new SDKEventName();
  35. /**设置当前游戏状态 */
  36. public static Game_SetGameBehavior: string = "Game_SetGameBehavior";
  37. /**获得当前游戏状态 */
  38. public static Game_GetGameBehavior: string = "Game_GetGameBehavior";
  39. }