NormalEventProc.php 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. <?php
  2. //
  3. //namespace loyalsoft;
  4. //
  5. ///**
  6. // * 系统事件处理模块
  7. // * @author gwang
  8. // */
  9. //class NormalEventProc {
  10. //
  11. // public static function OnHelloWorld($arg1, $arg2) {
  12. // Resp::AddEvent(Enum_EventType::HelloWorld, $arg1, $arg2);
  13. // }
  14. //
  15. // /**
  16. // * 包裹--获得新的道具
  17. // * @param type $itemid
  18. // * @param type $num
  19. // * @param type $cid
  20. // */
  21. // public static function OnBag_new_Item($itemid, $num, $cid) {
  22. // Resp::AddEvent(Enum_EventType::AddItem, "$itemid,$num", $cid);
  23. // }
  24. //
  25. // /**
  26. // * 包裹--移除道具
  27. // * @param type $arg1
  28. // * @param type $arg2
  29. // */
  30. // public static function OnBag_Remove_Item($arg1, $arg2) {
  31. // Resp::AddEvent(Enum_EventType::RemoveItem, $arg1, $arg2);
  32. // }
  33. //
  34. // /**
  35. // * 任务卡包裹--获得新的任务卡
  36. // * @param type $arg1
  37. // * @param type $arg2
  38. // */
  39. // public static function OnTaskBag_new_Card($arg1, $arg2) {
  40. // Resp::AddEvent(Enum_EventType::AddTaskItem, $arg1, $arg2);
  41. // }
  42. //
  43. ////
  44. //
  45. // /**
  46. // * 任务卡包裹--移除任务卡
  47. // * @param type $arg1
  48. // * @param type $arg2
  49. // */
  50. // public static function OnTaskBag_remove_Card($arg1, $arg2) {
  51. // Resp::AddEvent(Enum_EventType::RemoveTaskItem, $arg1, $arg2);
  52. // }
  53. //
  54. // /**
  55. // * 任务卡-任务步骤进度更新
  56. // * @param type $arg1
  57. // * @param type $arg2
  58. // */
  59. // public static function OnTaskCardStep_Process($arg1, $arg2) {
  60. // Resp::AddEvent(Enum_EventType::MissionStepProcess, $arg1, $arg2);
  61. // }
  62. //
  63. // /**
  64. // * 任务卡-任务步骤完成
  65. // * @param type $arg1
  66. // * @param type $arg2
  67. // */
  68. // public static function OnTaskCardStep_Complete($arg1, $arg2) {
  69. //
  70. // Resp::AddEvent(Enum_EventType::MissionStepComplete, $arg1, $arg2);
  71. // }
  72. //
  73. // /**
  74. // * 任务卡-完成
  75. // * @param type $arg1
  76. // * @param type $arg2
  77. // */
  78. // public static function OnTaskCard_Finish($arg1, $arg2) {
  79. // Resp::AddEvent(Enum_EventType::TaskCardFinished, $arg1, $arg2);
  80. // }
  81. //
  82. // /**
  83. // * 任务卡-激活
  84. // * @param type $arg1
  85. // * @param type $arg2
  86. // */
  87. // public static function OnTaskCard_Actived($arg1, $arg2) {
  88. // Resp::AddEvent(Enum_EventType::TaskCardActived, $arg1, $arg2);
  89. // }
  90. //
  91. // /**
  92. // * 任务卡-领取奖励
  93. // * @param type $arg1
  94. // * @param type $arg2
  95. // */
  96. // public static function OnTaskCard_Reward($arg1, $arg2) {
  97. // Resp::AddEvent(Enum_EventType::TaskCardReward, $arg1, $arg2);
  98. // }
  99. //
  100. // /**
  101. // * 剧情-开启一段新对话
  102. // * @param type $arg1
  103. // * @param type $arg2
  104. // */
  105. // public static function OnPlot_startNew($arg1, $arg2) {
  106. // Resp::AddEvent(Enum_EventType::StartPlot, $arg1, $arg2);
  107. // }
  108. //
  109. // /**
  110. // * 剧情-开启一段NPC对话
  111. // * @param type $arg1
  112. // * @param type $arg2
  113. // */
  114. // public static function OnNpcDialog_startNew($arg1, $arg2) {
  115. // Resp::AddEvent(Enum_EventType::NpcDialog, $arg1, $arg2);
  116. // }
  117. //
  118. // /**
  119. // * 解锁 - 功能建筑
  120. // * @param type $arg1 建筑id
  121. // * @param type $arg2
  122. // */
  123. // public static function OnUnlockBuild($arg1, $arg2 = null) {
  124. // Resp::AddEvent(Enum_EventType::UnlockBuild, $arg1, $arg2);
  125. // }
  126. //
  127. // /**
  128. // * 解锁 - 地图
  129. // * @param type $arg1 关卡id
  130. // * @param type $arg2
  131. // */
  132. // public static function OnUnlockMap($arg1, $arg2) {
  133. // Resp::AddEvent(Enum_EventType::UnlockMap, $arg1, $arg2);
  134. // }
  135. //
  136. // /**
  137. // * 升级-指挥官
  138. // * @param type $arg1 旧等级
  139. // * @param type $arg2 新等级
  140. // */
  141. // public static function OnUserLvlUp($arg1, $arg2) {
  142. // Resp::AddEvent(Enum_EventType::UserLvlUP, $arg1, $arg2);
  143. // }
  144. //
  145. // /**
  146. // * 升级-唤灵师
  147. // * @param type $arg1 唤灵师uid
  148. // * @param type $arg2 最新等级
  149. // */
  150. // public static function OnHeroLvlUp($arg1, $arg2) {
  151. // Resp::AddEvent(Enum_EventType::HeroLvlUp, $arg1, $arg2);
  152. // }
  153. // /**
  154. // * 突破-唤灵师
  155. // * @param type $arg1
  156. // * @param type $arg2
  157. // */
  158. // public static function OnHeroTuPo($arg1, $arg2) {
  159. // Resp::AddEvent(Enum_EventType::HeroTuPo, $arg1, $arg2);
  160. // }
  161. //
  162. // /**
  163. // * 升级-唤灵师
  164. // * @param type $arg1 唤灵师uid
  165. // * @param type $arg2 最新等级
  166. // */
  167. // public static function OnWeaponLvlUp($arg1, $arg2) {
  168. // Resp::AddEvent(Enum_EventType::WeaponLvUp, $arg1, $arg2);
  169. // }
  170. //
  171. // /**
  172. // * 突破-唤灵师
  173. // * @param type $arg1
  174. // * @param type $arg2
  175. // */
  176. // public static function OnWeaponLvTuPo($arg1, $arg2) {
  177. // Resp::AddEvent(Enum_EventType::WeaponTuPo, $arg1, $arg2);
  178. // }
  179. //
  180. // /**
  181. // * 升级-言灵
  182. // * @param type $arg1 唤灵师uid
  183. // * @param type $arg2 最新等级
  184. // */
  185. // public static function OnYanLingLvlUp($arg1, $arg2) {
  186. // Resp::AddEvent(Enum_EventType::YanLingLvUp, $arg1, $arg2);
  187. // }
  188. //
  189. // /**
  190. // * 突破-言灵
  191. // * @param type $arg1
  192. // * @param type $arg2
  193. // */
  194. // public static function OnYanLingLvTuPo($arg1, $arg2) {
  195. // Resp::AddEvent(Enum_EventType::YanLingTuPo, $arg1, $arg2);
  196. // }
  197. //
  198. // /**
  199. // * 支付成功
  200. // * @param type $arg1
  201. // * @param type $arg2
  202. // */
  203. // public static function OnPaySuccess() {
  204. // Resp::AddEvent(Enum_EventType::PaySuccess, null, null);
  205. // }
  206. //
  207. // /**
  208. // * 体力变化
  209. // * @param type $arg1
  210. // */
  211. // public static function OnTiliChange($arg1) {
  212. // Resp::AddEvent(Enum_EventType::TiliChange, $arg1, null);
  213. // }
  214. //
  215. // /**
  216. // *
  217. // * @param type $arg1
  218. // */
  219. // public static function OnHPMPItemConfigChange() {
  220. // Resp::AddEvent(Enum_EventType::HPMPItemConfigChange, null, null);
  221. // }
  222. //
  223. //}