CEventCommon.h
上传用户:garry_shen
上传日期:2015-04-15
资源大小:45647k
文件大小:2k
源码类别:

游戏引擎

开发平台:

Visual C++

  1. #ifndef _CEVENTCOMMON_H_
  2. #define _CEVENTCOMMON_H_
  3. //CEventCommon.h
  4. ///////////////////////////////////////////////////
  5. //goods kinds
  6. #define EV_GOODKIND_NotDefine 0
  7. #define EV_GOODKIND_IsNotGood 1
  8. #define EV_GOODKIND_Food 2
  9. #define EV_GOODKIND_Equip 4
  10. #define EV_GOODKIND_Weapon 8
  11. #define EV_GOODKIND_Book 10
  12. #define EV_GOODKIND_Drug 20
  13. #define EV_GOODKIND_Jiudai 80
  14. #define EV_GOODKIND_Normal 100
  15. #define EV_GOODKIND_Flag 200
  16. // Event Run type : parameter of function EventRun()
  17. #define EV_TYPE_NotDefine            1
  18. #define EV_TYPE_ShowMessage          2
  19. #define EV_TYPE_GoodGet      4
  20. #define EV_TYPE_GoodDelete           8
  21. #define EV_TYPE_GoodCountIncrease    10
  22. #define EV_TYPE_GoodCountDecrease    20
  23. #define EV_TYPE_StatusPointSet       40
  24. #define EV_TYPE_StatusPointIncrease  80
  25. #define EV_TYPE_StatusPointDecrease  100
  26. #define EV_TYPE_MoneySet  901
  27. #define EV_TYPE_MoneyIncrease  902
  28. #define EV_TYPE_MoneyDecrease      903
  29. #define EV_TYPE_GoodCountSet  904
  30. #define EV_TYPE_ClearBetray  905
  31. #define EV_TYPE_ClearAllBetray  906
  32. #define EV_TYPE_SetFamily  907
  33. #define EV_TYPE_GoKill               908
  34. #define EV_TYPE_GoFight              909
  35. #define EV_TYPE_JoboMap  910        //