GameSocket.js 33 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001
  1. /*-----------------------------------------------
  2. *本文件由代码生成器自动生成,
  3. *千万不要修改本文件的任何代码,
  4. *修改的的任何代码都会被覆盖掉!
  5. --------------------------------------------------*/
  6. var util = require('util');
  7. var Socket = require('Xmds-csharp').Socket;
  8. var AbyssDungeonHandler = require('./abyssDungeonHandler');
  9. var ActivityHandler = require('./activityHandler');
  10. var ActivityFavorHandler = require('./activityFavorHandler');
  11. var AmuletHandler = require('./amuletHandler');
  12. var AnimaInscriptionHandler = require('./animaInscriptionHandler');
  13. var ArenaHandler = require('./arenaHandler');
  14. var AttendanceHandler = require('./attendanceHandler');
  15. var BagHandler = require('./bagHandler');
  16. var BattleHandler = require('./battleHandler');
  17. var BloodHandler = require('./bloodHandler');
  18. var CardHandler = require('./cardHandler');
  19. var ConsignmentLineHandler = require('./consignmentLineHandler');
  20. var CrossAreaHandler = require('./crossAreaHandler');
  21. var CrossAreaHandlerExt = require('./crossAreaHandlerExt');
  22. var CrossServerHandler = require('./crossServerHandler');
  23. var DailyActivityHandler = require('./dailyActivityHandler');
  24. var DemonTowerHandler = require('./demonTowerHandler');
  25. var DiaryHandler = require('./diaryHandler');
  26. var EquipHandler = require('./equipHandler');
  27. var ExchangeHandler = require('./exchangeHandler');
  28. var FashionHandler = require('./fashionHandler');
  29. var FightLevelHandler = require('./fightLevelHandler');
  30. var FleeHandler = require('./fleeHandler');
  31. var FriendHandler = require('./friendHandler');
  32. var FunctionHandler = require('./functionHandler');
  33. var FunctionOpenHandler = require('./functionOpenHandler');
  34. var FuwaHandler = require('./fuwaHandler');
  35. var GiftOnlineHandler = require('./giftOnlineHandler');
  36. var GoddessHandler = require('./goddessHandler');
  37. var GuildBlessHandler = require('./guildBlessHandler');
  38. var GuildBossHandler = require('./guildBossHandler');
  39. var GuildCelestialHandler = require('./guildCelestialHandler');
  40. var GuildDepotHandler = require('./guildDepotHandler');
  41. var GuildExtHandler = require('./guildExtHandler');
  42. var GuildFortHandler = require('./guildFortHandler');
  43. var GuildHandler = require('./guildHandler');
  44. var GuildMagicMatrixHandler = require('./guildMagicMatrixHandler');
  45. var GuildShopHandler = require('./guildShopHandler');
  46. var GuildTechHandler = require('./guildTechHandler');
  47. var HookSetHandler = require('./hookSetHandler');
  48. var InteractHandler = require('./interactHandler');
  49. var IntergalMallHandler = require('./intergalMallHandler');
  50. var ItemHandler = require('./itemHandler');
  51. var LeaderBoardHandler = require('./leaderBoardHandler');
  52. var LimitTimeActivityHandler = require('./limitTimeActivityHandler');
  53. var MailHandler = require('./mailHandler');
  54. var MapHandler = require('./mapHandler');
  55. var MasteryHandler = require('./masteryHandler');
  56. var MedalHandler = require('./medalHandler');
  57. var MessageHandler = require('./messageHandler');
  58. var MountHandler = require('./mountHandler');
  59. var NpcGoodFeelingHandler = require('./npcGoodFeelingHandler');
  60. var NpcHandler = require('./npcHandler');
  61. var OfflineAwardHandler = require('./offlineAwardHandler');
  62. var OnlineGiftHandler = require('./onlineGiftHandler');
  63. var PayGiftHandler = require('./payGiftHandler');
  64. var PetNewHandler = require('./petNewHandler');
  65. var PickLotusAreaHandler = require('./pickLotusAreaHandler');
  66. var PlayerHandler = require('./playerHandler');
  67. var PlayerHandlerExt = require('./playerHandlerExt');
  68. var PrepaidHandler = require('./prepaidHandler');
  69. var RankHandler = require('./rankHandler');
  70. var ResourceDungeonHandler = require('./resourceDungeonHandler');
  71. var ResourceHandler = require('./resourceHandler');
  72. var RewardHandler = require('./rewardHandler');
  73. var RuneHandler = require('./runeHandler');
  74. var SaleHandler = require('./saleHandler');
  75. var ShopMallHandler = require('./shopMallHandler');
  76. var SkillHandler = require('./skillHandler');
  77. var SkillKeysHandler = require('./skillKeysHandler');
  78. var SkillStrongHandler = require('./skillStrongHandler');
  79. var SoloHandler = require('./soloHandler');
  80. var SpiritualHelpHandler = require('./spiritualHelpHandler');
  81. var StealHandler = require('./stealHandler');
  82. var SysSetHandler = require('./sysSetHandler');
  83. var TaskHandler = require('./taskHandler');
  84. var TeamHandler = require('./teamHandler');
  85. var TradeHandler = require('./tradeHandler');
  86. var TreasureHandler = require('./treasureHandler');
  87. var UndergroundPlaceHandler = require('./undergroundPlaceHandler');
  88. var UpLevelHandler = require('./upLevelHandler');
  89. var VipHandler = require('./vipHandler');
  90. var VitalityHandler = require('./vitalityHandler');
  91. var WeekendStarDungeonHandler = require('./weekendStarDungeonHandler');
  92. var WingHandler = require('./wingHandler');
  93. var AchievementHandler = require('./achievementHandler');
  94. var ActivityRevelryHandler = require('./activityRevelryHandler');
  95. var AuctionHandler = require('./auctionHandler');
  96. var CaveHandler = require('./caveHandler');
  97. var PvpKillHandler = require('./pvpKillHandler');
  98. var ChatHandler = require('./chatHandler');
  99. var DaoYouHandler = require('./daoYouHandler');
  100. var EntryHandler = require('./entryHandler');
  101. var RoleHandler = require('./roleHandler');
  102. var FarmHandler = require('./farmHandler');
  103. var FishBossHandler = require('./fishBossHandler');
  104. var Five2FiveHandler = require('./five2FiveHandler');
  105. var FollowerHandler = require('./followerHandler');
  106. var GrowingHandler = require('./growingHandler');
  107. var GuildManagerHandler = require('./guildManagerHandler');
  108. var LotteryHandler = require('./lotteryHandler');
  109. var OpenArtifactHandler = require('./openArtifactHandler');
  110. var PetHandler = require('./petHandler');
  111. var RedPacketHandler = require('./redPacketHandler');
  112. var RichHandler = require('./richHandler');
  113. var RobberyHandler = require('./robberyHandler');
  114. var SevenGoalHandler = require('./sevenGoalHandler');
  115. var XianYuanHandler = require('./xianYuanHandler');
  116. var ZhanYaoHandler = require('./zhanYaoHandler');
  117. var GameSocket = function(protoPath){
  118. Socket.call(this,protoPath);
  119. this.abyssDungeonHandler = new AbyssDungeonHandler(this);
  120. this.activityHandler = new ActivityHandler(this);
  121. this.activityFavorHandler = new ActivityFavorHandler(this);
  122. this.amuletHandler = new AmuletHandler(this);
  123. this.animaInscriptionHandler = new AnimaInscriptionHandler(this);
  124. this.arenaHandler = new ArenaHandler(this);
  125. this.attendanceHandler = new AttendanceHandler(this);
  126. this.bagHandler = new BagHandler(this);
  127. this.battleHandler = new BattleHandler(this);
  128. this.bloodHandler = new BloodHandler(this);
  129. this.cardHandler = new CardHandler(this);
  130. this.consignmentLineHandler = new ConsignmentLineHandler(this);
  131. this.crossAreaHandler = new CrossAreaHandler(this);
  132. this.crossAreaHandlerExt = new CrossAreaHandlerExt(this);
  133. this.crossServerHandler = new CrossServerHandler(this);
  134. this.dailyActivityHandler = new DailyActivityHandler(this);
  135. this.demonTowerHandler = new DemonTowerHandler(this);
  136. this.diaryHandler = new DiaryHandler(this);
  137. this.equipHandler = new EquipHandler(this);
  138. this.exchangeHandler = new ExchangeHandler(this);
  139. this.fashionHandler = new FashionHandler(this);
  140. this.fightLevelHandler = new FightLevelHandler(this);
  141. this.fleeHandler = new FleeHandler(this);
  142. this.friendHandler = new FriendHandler(this);
  143. this.functionHandler = new FunctionHandler(this);
  144. this.functionOpenHandler = new FunctionOpenHandler(this);
  145. this.fuwaHandler = new FuwaHandler(this);
  146. this.giftOnlineHandler = new GiftOnlineHandler(this);
  147. this.goddessHandler = new GoddessHandler(this);
  148. this.guildBlessHandler = new GuildBlessHandler(this);
  149. this.guildBossHandler = new GuildBossHandler(this);
  150. this.guildCelestialHandler = new GuildCelestialHandler(this);
  151. this.guildDepotHandler = new GuildDepotHandler(this);
  152. this.guildExtHandler = new GuildExtHandler(this);
  153. this.guildFortHandler = new GuildFortHandler(this);
  154. this.guildHandler = new GuildHandler(this);
  155. this.guildMagicMatrixHandler = new GuildMagicMatrixHandler(this);
  156. this.guildShopHandler = new GuildShopHandler(this);
  157. this.guildTechHandler = new GuildTechHandler(this);
  158. this.hookSetHandler = new HookSetHandler(this);
  159. this.interactHandler = new InteractHandler(this);
  160. this.intergalMallHandler = new IntergalMallHandler(this);
  161. this.itemHandler = new ItemHandler(this);
  162. this.leaderBoardHandler = new LeaderBoardHandler(this);
  163. this.limitTimeActivityHandler = new LimitTimeActivityHandler(this);
  164. this.mailHandler = new MailHandler(this);
  165. this.mapHandler = new MapHandler(this);
  166. this.masteryHandler = new MasteryHandler(this);
  167. this.medalHandler = new MedalHandler(this);
  168. this.messageHandler = new MessageHandler(this);
  169. this.mountHandler = new MountHandler(this);
  170. this.npcGoodFeelingHandler = new NpcGoodFeelingHandler(this);
  171. this.npcHandler = new NpcHandler(this);
  172. this.offlineAwardHandler = new OfflineAwardHandler(this);
  173. this.onlineGiftHandler = new OnlineGiftHandler(this);
  174. this.payGiftHandler = new PayGiftHandler(this);
  175. this.petNewHandler = new PetNewHandler(this);
  176. this.pickLotusAreaHandler = new PickLotusAreaHandler(this);
  177. this.playerHandler = new PlayerHandler(this);
  178. this.playerHandlerExt = new PlayerHandlerExt(this);
  179. this.prepaidHandler = new PrepaidHandler(this);
  180. this.rankHandler = new RankHandler(this);
  181. this.resourceDungeonHandler = new ResourceDungeonHandler(this);
  182. this.resourceHandler = new ResourceHandler(this);
  183. this.rewardHandler = new RewardHandler(this);
  184. this.runeHandler = new RuneHandler(this);
  185. this.saleHandler = new SaleHandler(this);
  186. this.shopMallHandler = new ShopMallHandler(this);
  187. this.skillHandler = new SkillHandler(this);
  188. this.skillKeysHandler = new SkillKeysHandler(this);
  189. this.skillStrongHandler = new SkillStrongHandler(this);
  190. this.soloHandler = new SoloHandler(this);
  191. this.spiritualHelpHandler = new SpiritualHelpHandler(this);
  192. this.stealHandler = new StealHandler(this);
  193. this.sysSetHandler = new SysSetHandler(this);
  194. this.taskHandler = new TaskHandler(this);
  195. this.teamHandler = new TeamHandler(this);
  196. this.tradeHandler = new TradeHandler(this);
  197. this.treasureHandler = new TreasureHandler(this);
  198. this.undergroundPlaceHandler = new UndergroundPlaceHandler(this);
  199. this.upLevelHandler = new UpLevelHandler(this);
  200. this.vipHandler = new VipHandler(this);
  201. this.vitalityHandler = new VitalityHandler(this);
  202. this.weekendStarDungeonHandler = new WeekendStarDungeonHandler(this);
  203. this.wingHandler = new WingHandler(this);
  204. this.achievementHandler = new AchievementHandler(this);
  205. this.activityRevelryHandler = new ActivityRevelryHandler(this);
  206. this.auctionHandler = new AuctionHandler(this);
  207. this.caveHandler = new CaveHandler(this);
  208. this.pvpKillHandler = new PvpKillHandler(this);
  209. this.chatHandler = new ChatHandler(this);
  210. this.daoYouHandler = new DaoYouHandler(this);
  211. this.entryHandler = new EntryHandler(this);
  212. this.roleHandler = new RoleHandler(this);
  213. this.farmHandler = new FarmHandler(this);
  214. this.fishBossHandler = new FishBossHandler(this);
  215. this.five2FiveHandler = new Five2FiveHandler(this);
  216. this.followerHandler = new FollowerHandler(this);
  217. this.growingHandler = new GrowingHandler(this);
  218. this.guildManagerHandler = new GuildManagerHandler(this);
  219. this.lotteryHandler = new LotteryHandler(this);
  220. this.openArtifactHandler = new OpenArtifactHandler(this);
  221. this.petHandler = new PetHandler(this);
  222. this.redPacketHandler = new RedPacketHandler(this);
  223. this.richHandler = new RichHandler(this);
  224. this.robberyHandler = new RobberyHandler(this);
  225. this.sevenGoalHandler = new SevenGoalHandler(this);
  226. this.xianYuanHandler = new XianYuanHandler(this);
  227. this.zhanYaoHandler = new ZhanYaoHandler(this);
  228. }
  229. util.inherits(GameSocket, Socket);
  230. GameSocket.prototype.onAbyssDungeonBossDeadPush = function(cb){
  231. this.on('area.abyssDungeonPush.abyssDungeonBossDeadPush',cb);
  232. }
  233. GameSocket.prototype.onAbyssDungeonEnterPush = function(cb){
  234. this.on('area.abyssDungeonPush.abyssDungeonEnterPush',cb);
  235. }
  236. GameSocket.prototype.onAbyssDungeonSkillChangePush = function(cb){
  237. this.on('area.abyssDungeonPush.abyssDungeonSkillChangePush',cb);
  238. }
  239. GameSocket.prototype.onAbyssDungeonMatchlessPush = function(cb){
  240. this.on('area.abyssDungeonPush.abyssDungeonMatchlessPush',cb);
  241. }
  242. GameSocket.prototype.onSuperPackageBuyPush = function(cb){
  243. this.on('area.activityFavorPush.superPackageBuyPush',cb);
  244. }
  245. GameSocket.prototype.onLimitTimeGiftInfoPush = function(cb){
  246. this.on('area.activityFavorPush.limitTimeGiftInfoPush',cb);
  247. }
  248. GameSocket.prototype.onAmuletEquipNewPush = function(cb){
  249. this.on('area.amuletPush.amuletEquipNewPush',cb);
  250. }
  251. GameSocket.prototype.onOnArenaBattleInfoPush = function(cb){
  252. this.on('area.arenaPush.onArenaBattleInfoPush',cb);
  253. }
  254. GameSocket.prototype.onOnArenaBattleEndPush = function(cb){
  255. this.on('area.arenaPush.onArenaBattleEndPush',cb);
  256. }
  257. GameSocket.prototype.onLuxuryRewardPush = function(cb){
  258. this.on('area.attendancePush.luxuryRewardPush',cb);
  259. }
  260. GameSocket.prototype.onBagItemUpdatePush = function(cb){
  261. this.on('area.bagPush.bagItemUpdatePush',cb);
  262. }
  263. GameSocket.prototype.onBagNewItemPush = function(cb){
  264. this.on('area.bagPush.bagNewItemPush',cb);
  265. }
  266. GameSocket.prototype.onBagNewEquipPush = function(cb){
  267. this.on('area.bagPush.bagNewEquipPush',cb);
  268. }
  269. GameSocket.prototype.onBagGridFullPush = function(cb){
  270. this.on('area.bagPush.bagGridFullPush',cb);
  271. }
  272. GameSocket.prototype.onBagGridNumPush = function(cb){
  273. this.on('area.bagPush.bagGridNumPush',cb);
  274. }
  275. GameSocket.prototype.onBagNewItemFromResFubenPush = function(cb){
  276. this.on('area.bagPush.bagNewItemFromResFubenPush',cb);
  277. }
  278. GameSocket.prototype.onThrowPointItemListPush = function(cb){
  279. this.on('area.battlePush.throwPointItemListPush',cb);
  280. }
  281. GameSocket.prototype.onThrowPointResultPush = function(cb){
  282. this.on('area.battlePush.throwPointResultPush',cb);
  283. }
  284. GameSocket.prototype.onBiddingInfoPush = function(cb){
  285. this.on('area.battlePush.biddingInfoPush',cb);
  286. }
  287. GameSocket.prototype.onFightLevelResultPush = function(cb){
  288. this.on('area.battlePush.fightLevelResultPush',cb);
  289. }
  290. GameSocket.prototype.onItemDropPush = function(cb){
  291. this.on('area.battlePush.itemDropPush',cb);
  292. }
  293. GameSocket.prototype.onSceneNamePush = function(cb){
  294. this.on('area.battlePush.sceneNamePush',cb);
  295. }
  296. GameSocket.prototype.onResourceDungeonResultPush = function(cb){
  297. this.on('area.battlePush.resourceDungeonResultPush',cb);
  298. }
  299. GameSocket.prototype.onConsignmentRemovePush = function(cb){
  300. this.on('area.consignmentLinePush.consignmentRemovePush',cb);
  301. }
  302. GameSocket.prototype.onFSGrantGodTitle_MainPush = function(cb){
  303. this.on('area.crossAreaPush.fSGrantGodTitle_MainPush',cb);
  304. }
  305. GameSocket.prototype.onFSAlliesChatMsgPush = function(cb){
  306. this.on('area.crossAreaPush.fSAlliesChatMsgPush',cb);
  307. }
  308. GameSocket.prototype.onFSDailyBossRewardPush = function(cb){
  309. this.on('area.crossAreaPush.fSDailyBossRewardPush',cb);
  310. }
  311. GameSocket.prototype.onFSGameEndPush = function(cb){
  312. this.on('area.crossAreaPush.fSGameEndPush',cb);
  313. }
  314. GameSocket.prototype.onFSFirstOccupyPush = function(cb){
  315. this.on('area.crossAreaPush.fSFirstOccupyPush',cb);
  316. }
  317. GameSocket.prototype.onMutilCrossRankPush = function(cb){
  318. this.on('area.crossAreaPushExt.mutilCrossRankPush',cb);
  319. }
  320. GameSocket.prototype.onMutilServerBattleResultPush = function(cb){
  321. this.on('area.crossAreaPushExt.mutilServerBattleResultPush',cb);
  322. }
  323. GameSocket.prototype.onBattleRightTopDataPush = function(cb){
  324. this.on('area.crossAreaPushExt.battleRightTopDataPush',cb);
  325. }
  326. GameSocket.prototype.onDoubleCrossBroadInfoPush = function(cb){
  327. this.on('area.crossAreaPushExt.doubleCrossBroadInfoPush',cb);
  328. }
  329. GameSocket.prototype.onDoubleCrossResultPush = function(cb){
  330. this.on('area.crossAreaPushExt.doubleCrossResultPush',cb);
  331. }
  332. GameSocket.prototype.onKillPlayerPush = function(cb){
  333. this.on('area.crossAreaPushExt.killPlayerPush',cb);
  334. }
  335. GameSocket.prototype.onDoubleCrossRankPush = function(cb){
  336. this.on('area.crossAreaPushExt.doubleCrossRankPush',cb);
  337. }
  338. GameSocket.prototype.onDoubleCrossMyKillInfoPush = function(cb){
  339. this.on('area.crossAreaPushExt.doubleCrossMyKillInfoPush',cb);
  340. }
  341. GameSocket.prototype.onMutilEquipDropFlagPush = function(cb){
  342. this.on('area.crossAreaPushExt.mutilEquipDropFlagPush',cb);
  343. }
  344. GameSocket.prototype.onTreasureOpenPush = function(cb){
  345. this.on('area.crossServerPush.treasureOpenPush',cb);
  346. }
  347. GameSocket.prototype.onDailyActivityScheduleShowPush = function(cb){
  348. this.on('area.dailyActivityPush.dailyActivityScheduleShowPush',cb);
  349. }
  350. GameSocket.prototype.onSweepDemonTowerEndPush = function(cb){
  351. this.on('area.demonTowerPush.sweepDemonTowerEndPush',cb);
  352. }
  353. GameSocket.prototype.onEquipmentSimplePush = function(cb){
  354. this.on('area.equipPush.equipmentSimplePush',cb);
  355. }
  356. GameSocket.prototype.onEquipInheritPush = function(cb){
  357. this.on('area.equipPush.equipInheritPush',cb);
  358. }
  359. GameSocket.prototype.onEquipStrengthPosPush = function(cb){
  360. this.on('area.equipPush.equipStrengthPosPush',cb);
  361. }
  362. GameSocket.prototype.onOnFashionGetPush = function(cb){
  363. this.on('area.fashionPush.onFashionGetPush',cb);
  364. }
  365. GameSocket.prototype.onOnConfirmEnterFubenPush = function(cb){
  366. this.on('area.fightLevelPush.onConfirmEnterFubenPush',cb);
  367. }
  368. GameSocket.prototype.onOnMemberEnterFubenStateChangePush = function(cb){
  369. this.on('area.fightLevelPush.onMemberEnterFubenStateChangePush',cb);
  370. }
  371. GameSocket.prototype.onOnFubenClosePush = function(cb){
  372. this.on('area.fightLevelPush.onFubenClosePush',cb);
  373. }
  374. GameSocket.prototype.onCloseHandUpPush = function(cb){
  375. this.on('area.fightLevelPush.closeHandUpPush',cb);
  376. }
  377. GameSocket.prototype.onIllusionPush = function(cb){
  378. this.on('area.fightLevelPush.illusionPush',cb);
  379. }
  380. GameSocket.prototype.onIllusion2Push = function(cb){
  381. this.on('area.fightLevelPush.illusion2Push',cb);
  382. }
  383. GameSocket.prototype.onUnderGroundPlaceBOSSNumPush = function(cb){
  384. this.on('area.fightLevelPush.underGroundPlaceBOSSNumPush',cb);
  385. }
  386. GameSocket.prototype.onOnFleeDeathPush = function(cb){
  387. this.on('area.fleePush.onFleeDeathPush',cb);
  388. }
  389. GameSocket.prototype.onOnFleeEndPush = function(cb){
  390. this.on('area.fleePush.onFleeEndPush',cb);
  391. }
  392. GameSocket.prototype.onSendItemPush = function(cb){
  393. this.on('area.friendPush.sendItemPush',cb);
  394. }
  395. GameSocket.prototype.onFavorabilityOrAdoreUpdatePush = function(cb){
  396. this.on('area.friendPush.favorabilityOrAdoreUpdatePush',cb);
  397. }
  398. GameSocket.prototype.onFriendOnlineOrOfflinePush = function(cb){
  399. this.on('area.friendPush.friendOnlineOrOfflinePush',cb);
  400. }
  401. GameSocket.prototype.onFunctionGoToPush = function(cb){
  402. this.on('area.functionPush.functionGoToPush',cb);
  403. }
  404. GameSocket.prototype.onTaskGuideFuncPush = function(cb){
  405. this.on('area.functionPush.taskGuideFuncPush',cb);
  406. }
  407. GameSocket.prototype.onFunctionOpenListPush = function(cb){
  408. this.on('area.functionOpenPush.functionOpenListPush',cb);
  409. }
  410. GameSocket.prototype.onFunctionAwardListPush = function(cb){
  411. this.on('area.functionOpenPush.functionAwardListPush',cb);
  412. }
  413. GameSocket.prototype.onFuwaFindPush = function(cb){
  414. this.on('area.fuwaPush.fuwaFindPush',cb);
  415. }
  416. GameSocket.prototype.onGoddessEquipDynamicPush = function(cb){
  417. this.on('area.goddessPush.goddessEquipDynamicPush',cb);
  418. }
  419. GameSocket.prototype.onGoddessGiftDynamicPush = function(cb){
  420. this.on('area.goddessPush.goddessGiftDynamicPush',cb);
  421. }
  422. GameSocket.prototype.onBlessRefreshPush = function(cb){
  423. this.on('area.guildBlessPush.blessRefreshPush',cb);
  424. }
  425. GameSocket.prototype.onOnHurtRankChangePush = function(cb){
  426. this.on('area.guildBossPush.onHurtRankChangePush',cb);
  427. }
  428. GameSocket.prototype.onOnInspireChangePush = function(cb){
  429. this.on('area.guildBossPush.onInspireChangePush',cb);
  430. }
  431. GameSocket.prototype.onOnQuitGuildBossPush = function(cb){
  432. this.on('area.guildBossPush.onQuitGuildBossPush',cb);
  433. }
  434. GameSocket.prototype.onOnEndGuildBossPush = function(cb){
  435. this.on('area.guildBossPush.onEndGuildBossPush',cb);
  436. }
  437. GameSocket.prototype.onDepotRefreshPush = function(cb){
  438. this.on('area.guildDepotPush.depotRefreshPush',cb);
  439. }
  440. GameSocket.prototype.onOnGuildFortPush = function(cb){
  441. this.on('area.guildFortPush.onGuildFortPush',cb);
  442. }
  443. GameSocket.prototype.onOnGuildResultPush = function(cb){
  444. this.on('area.guildFortPush.onGuildResultPush',cb);
  445. }
  446. GameSocket.prototype.onGuildRefreshPush = function(cb){
  447. this.on('area.guildPush.guildRefreshPush',cb);
  448. }
  449. GameSocket.prototype.onGuildInvitePush = function(cb){
  450. this.on('area.guildPush.guildInvitePush',cb);
  451. }
  452. GameSocket.prototype.onOnDungeonEndPush = function(cb){
  453. this.on('area.guildPush.onDungeonEndPush',cb);
  454. }
  455. GameSocket.prototype.onGuildDungeonOpenPush = function(cb){
  456. this.on('area.guildPush.guildDungeonOpenPush',cb);
  457. }
  458. GameSocket.prototype.onGuildDungeonPassPush = function(cb){
  459. this.on('area.guildPush.guildDungeonPassPush',cb);
  460. }
  461. GameSocket.prototype.onGuildDungeonPlayerNumPush = function(cb){
  462. this.on('area.guildPush.guildDungeonPlayerNumPush',cb);
  463. }
  464. GameSocket.prototype.onGuildFunBossInfoPush = function(cb){
  465. this.on('area.guildPush.guildFunBossInfoPush',cb);
  466. }
  467. GameSocket.prototype.onOnMagicMatrixActionPush = function(cb){
  468. this.on('area.guildMagicMatrixPush.onMagicMatrixActionPush',cb);
  469. }
  470. GameSocket.prototype.onShopRefreshPush = function(cb){
  471. this.on('area.guildShopPush.shopRefreshPush',cb);
  472. }
  473. GameSocket.prototype.onGuildTechRefreshPush = function(cb){
  474. this.on('area.guildTechPush.guildTechRefreshPush',cb);
  475. }
  476. GameSocket.prototype.onReceiveInteractPush = function(cb){
  477. this.on('area.interactPush.receiveInteractPush',cb);
  478. }
  479. GameSocket.prototype.onFishItemPush = function(cb){
  480. this.on('area.itemPush.fishItemPush',cb);
  481. }
  482. GameSocket.prototype.onCountItemChangePush = function(cb){
  483. this.on('area.itemPush.countItemChangePush',cb);
  484. }
  485. GameSocket.prototype.onItemDetailPush = function(cb){
  486. this.on('area.itemPush.itemDetailPush',cb);
  487. }
  488. GameSocket.prototype.onRewardItemPush = function(cb){
  489. this.on('area.itemPush.rewardItemPush',cb);
  490. }
  491. GameSocket.prototype.onLtActivityInfoPush = function(cb){
  492. this.on('area.limitTimeActivityPush.ltActivityInfoPush',cb);
  493. }
  494. GameSocket.prototype.onOnGetMailPush = function(cb){
  495. this.on('area.mailPush.onGetMailPush',cb);
  496. }
  497. GameSocket.prototype.onMapOpenInfoPush = function(cb){
  498. this.on('area.mapPush.mapOpenInfoPush',cb);
  499. }
  500. GameSocket.prototype.onMedalTitleChangePush = function(cb){
  501. this.on('area.medalPush.medalTitleChangePush',cb);
  502. }
  503. GameSocket.prototype.onOnMessageAddPush = function(cb){
  504. this.on('area.messagePush.onMessageAddPush',cb);
  505. }
  506. GameSocket.prototype.onMountFlagPush = function(cb){
  507. this.on('area.mountPush.mountFlagPush',cb);
  508. }
  509. GameSocket.prototype.onMountNewSkinPush = function(cb){
  510. this.on('area.mountPush.mountNewSkinPush',cb);
  511. }
  512. GameSocket.prototype.onAllNpcGoodFeelingGetPush = function(cb){
  513. this.on('area.npcGoodFeelingPush.allNpcGoodFeelingGetPush',cb);
  514. }
  515. GameSocket.prototype.onFirstTalkNpcPush = function(cb){
  516. this.on('area.npcGoodFeelingPush.firstTalkNpcPush',cb);
  517. }
  518. GameSocket.prototype.onGiftInfoPush = function(cb){
  519. this.on('area.onlineGiftPush.giftInfoPush',cb);
  520. }
  521. GameSocket.prototype.onOnNewPetDetailPush = function(cb){
  522. this.on('area.petNewPush.onNewPetDetailPush',cb);
  523. }
  524. GameSocket.prototype.onPetExpUpdatePush = function(cb){
  525. this.on('area.petNewPush.petExpUpdatePush',cb);
  526. }
  527. GameSocket.prototype.onPetInfoUpdatePush = function(cb){
  528. this.on('area.petNewPush.petInfoUpdatePush',cb);
  529. }
  530. GameSocket.prototype.onCaiLianEndPush = function(cb){
  531. this.on('area.pickLotusAreaPush.caiLianEndPush',cb);
  532. }
  533. GameSocket.prototype.onKillbossInfoPush = function(cb){
  534. this.on('area.pickLotusAreaPush.killbossInfoPush',cb);
  535. }
  536. GameSocket.prototype.onClientConfigPush = function(cb){
  537. this.on('area.playerPush.clientConfigPush',cb);
  538. }
  539. GameSocket.prototype.onBattleEventPush = function(cb){
  540. this.on('area.playerPush.battleEventPush',cb);
  541. }
  542. GameSocket.prototype.onBattleClearPush = function(cb){
  543. this.on('area.playerPush.battleClearPush',cb);
  544. }
  545. GameSocket.prototype.onOnSuperScriptPush = function(cb){
  546. this.on('area.playerPush.onSuperScriptPush',cb);
  547. }
  548. GameSocket.prototype.onChangeAreaPush = function(cb){
  549. this.on('area.playerPush.changeAreaPush',cb);
  550. }
  551. GameSocket.prototype.onPlayerDynamicPush = function(cb){
  552. this.on('area.playerPush.playerDynamicPush',cb);
  553. }
  554. GameSocket.prototype.onPlayerRelivePush = function(cb){
  555. this.on('area.playerPush.playerRelivePush',cb);
  556. }
  557. GameSocket.prototype.onPlayerSaverRebirthPush = function(cb){
  558. this.on('area.playerPush.playerSaverRebirthPush',cb);
  559. }
  560. GameSocket.prototype.onSimulateDropPush = function(cb){
  561. this.on('area.playerPush.simulateDropPush',cb);
  562. }
  563. GameSocket.prototype.onKickPlayerPush = function(cb){
  564. this.on('area.playerPush.kickPlayerPush',cb);
  565. }
  566. GameSocket.prototype.onSuitPropertyUpPush = function(cb){
  567. this.on('area.playerPush.suitPropertyUpPush',cb);
  568. }
  569. GameSocket.prototype.onCommonPropertyPush = function(cb){
  570. this.on('area.playerPush.commonPropertyPush',cb);
  571. }
  572. GameSocket.prototype.onBuffPropertyPush = function(cb){
  573. this.on('area.playerPush.buffPropertyPush',cb);
  574. }
  575. GameSocket.prototype.onPlayerBattleAttributePush = function(cb){
  576. this.on('area.playerPush.playerBattleAttributePush',cb);
  577. }
  578. GameSocket.prototype.onPayGiftStatePush = function(cb){
  579. this.on('area.playerPush.payGiftStatePush',cb);
  580. }
  581. GameSocket.prototype.onPlayerNoticeMsgPush = function(cb){
  582. this.on('area.playerPush.playerNoticeMsgPush',cb);
  583. }
  584. GameSocket.prototype.onPlayerSameMapTransPush = function(cb){
  585. this.on('area.playerPush.playerSameMapTransPush',cb);
  586. }
  587. GameSocket.prototype.onRefrushNewDayPush = function(cb){
  588. this.on('area.playerPushExt.refrushNewDayPush',cb);
  589. }
  590. GameSocket.prototype.onPaySuccessPush = function(cb){
  591. this.on('area.prepaidHandler.paySuccessPush',cb);
  592. }
  593. GameSocket.prototype.onOnAwardRankPush = function(cb){
  594. this.on('area.rankPush.onAwardRankPush',cb);
  595. }
  596. GameSocket.prototype.onOnResourceInfoPush = function(cb){
  597. this.on('area.resourceDungeonPush.onResourceInfoPush',cb);
  598. }
  599. GameSocket.prototype.onOnFishPush = function(cb){
  600. this.on('area.resourceDungeonPush.onFishPush',cb);
  601. }
  602. GameSocket.prototype.onSkillUpdatePush = function(cb){
  603. this.on('area.skillPush.skillUpdatePush',cb);
  604. }
  605. GameSocket.prototype.onSkillKeyUpdatePush = function(cb){
  606. this.on('area.skillKeysPush.skillKeyUpdatePush',cb);
  607. }
  608. GameSocket.prototype.onOnSoloMatchedPush = function(cb){
  609. this.on('area.soloPush.onSoloMatchedPush',cb);
  610. }
  611. GameSocket.prototype.onOnNewRewardPush = function(cb){
  612. this.on('area.soloPush.onNewRewardPush',cb);
  613. }
  614. GameSocket.prototype.onOnFightPointPush = function(cb){
  615. this.on('area.soloPush.onFightPointPush',cb);
  616. }
  617. GameSocket.prototype.onOnRoundEndPush = function(cb){
  618. this.on('area.soloPush.onRoundEndPush',cb);
  619. }
  620. GameSocket.prototype.onOnGameEndPush = function(cb){
  621. this.on('area.soloPush.onGameEndPush',cb);
  622. }
  623. GameSocket.prototype.onLeftSoloTimePush = function(cb){
  624. this.on('area.soloPush.leftSoloTimePush',cb);
  625. }
  626. GameSocket.prototype.onCancelMatchPush = function(cb){
  627. this.on('area.soloPush.cancelMatchPush',cb);
  628. }
  629. GameSocket.prototype.onTaskUpdatePush = function(cb){
  630. this.on('area.taskPush.taskUpdatePush',cb);
  631. }
  632. GameSocket.prototype.onTaskAutoPush = function(cb){
  633. this.on('area.taskPush.taskAutoPush',cb);
  634. }
  635. GameSocket.prototype.onTreasureScenePointPush = function(cb){
  636. this.on('area.taskPush.treasureScenePointPush',cb);
  637. }
  638. GameSocket.prototype.onLoopResultPush = function(cb){
  639. this.on('area.taskPush.loopResultPush',cb);
  640. }
  641. GameSocket.prototype.onGuideTaskPush = function(cb){
  642. this.on('area.taskPush.guideTaskPush',cb);
  643. }
  644. GameSocket.prototype.onOnSummonTeamPush = function(cb){
  645. this.on('area.teamPush.onSummonTeamPush',cb);
  646. }
  647. GameSocket.prototype.onOnTeamUpdatePush = function(cb){
  648. this.on('area.teamPush.onTeamUpdatePush',cb);
  649. }
  650. GameSocket.prototype.onOnTeamMemberUpdatePush = function(cb){
  651. this.on('area.teamPush.onTeamMemberUpdatePush',cb);
  652. }
  653. GameSocket.prototype.onOnTeamTargetPush = function(cb){
  654. this.on('area.teamPush.onTeamTargetPush',cb);
  655. }
  656. GameSocket.prototype.onOnAcrossTeamInfoPush = function(cb){
  657. this.on('area.teamPush.onAcrossTeamInfoPush',cb);
  658. }
  659. GameSocket.prototype.onOnTeamMumberHurtPush = function(cb){
  660. this.on('area.teamPush.onTeamMumberHurtPush',cb);
  661. }
  662. GameSocket.prototype.onOnAppliedPlayersPush = function(cb){
  663. this.on('area.teamPush.onAppliedPlayersPush',cb);
  664. }
  665. GameSocket.prototype.onTradeBeginPush = function(cb){
  666. this.on('area.tradePush.tradeBeginPush',cb);
  667. }
  668. GameSocket.prototype.onTradeItemChangePush = function(cb){
  669. this.on('area.tradePush.tradeItemChangePush',cb);
  670. }
  671. GameSocket.prototype.onTradeOperatePush = function(cb){
  672. this.on('area.tradePush.tradeOperatePush',cb);
  673. }
  674. GameSocket.prototype.onBossRefrushTimePush = function(cb){
  675. this.on('area.undergroundPlacePush.bossRefrushTimePush',cb);
  676. }
  677. GameSocket.prototype.onOnWeekendStarDungeonEnterNumPush = function(cb){
  678. this.on('area.weekendStarDungeonPush.onWeekendStarDungeonEnterNumPush',cb);
  679. }
  680. GameSocket.prototype.onOnWeekendStarDungeonBossOrderPush = function(cb){
  681. this.on('area.weekendStarDungeonPush.onWeekendStarDungeonBossOrderPush',cb);
  682. }
  683. GameSocket.prototype.onOnWeekendStarDungeonRankChangePush = function(cb){
  684. this.on('area.weekendStarDungeonPush.onWeekendStarDungeonRankChangePush',cb);
  685. }
  686. GameSocket.prototype.onUpdateAchievementPush = function(cb){
  687. this.on('achievement.achievementPush.updateAchievementPush',cb);
  688. }
  689. GameSocket.prototype.onAuctionItemPush = function(cb){
  690. this.on('auction.auctionPush.auctionItemPush',cb);
  691. }
  692. GameSocket.prototype.onAddAuctionItemPush = function(cb){
  693. this.on('auction.auctionPush.addAuctionItemPush',cb);
  694. }
  695. GameSocket.prototype.onRemoveAuctionItemPush = function(cb){
  696. this.on('auction.auctionPush.removeAuctionItemPush',cb);
  697. }
  698. GameSocket.prototype.onSettlementCavePush = function(cb){
  699. this.on('cave.cavePush.settlementCavePush',cb);
  700. }
  701. GameSocket.prototype.onOnChatPush = function(cb){
  702. this.on('chat.chatPush.onChatPush',cb);
  703. }
  704. GameSocket.prototype.onOnChatErrorPush = function(cb){
  705. this.on('chat.chatPush.onChatErrorPush',cb);
  706. }
  707. GameSocket.prototype.onTipPush = function(cb){
  708. this.on('chat.chatPush.tipPush',cb);
  709. }
  710. GameSocket.prototype.onLoginQueuePush = function(cb){
  711. this.on('connector.entryPush.loginQueuePush',cb);
  712. }
  713. GameSocket.prototype.onHudBuffListPush = function(cb){
  714. this.on('connector.entryPush.hudBuffListPush',cb);
  715. }
  716. GameSocket.prototype.onFive2FiveApplyMatchPush = function(cb){
  717. this.on('five2five.five2FivePush.five2FiveApplyMatchPush',cb);
  718. }
  719. GameSocket.prototype.onFive2FiveMatchMemberInfoPush = function(cb){
  720. this.on('five2five.five2FivePush.five2FiveMatchMemberInfoPush',cb);
  721. }
  722. GameSocket.prototype.onFive2FiveMemberChoicePush = function(cb){
  723. this.on('five2five.five2FivePush.five2FiveMemberChoicePush',cb);
  724. }
  725. GameSocket.prototype.onFive2FiveOnGameEndPush = function(cb){
  726. this.on('five2five.five2FivePush.five2FiveOnGameEndPush',cb);
  727. }
  728. GameSocket.prototype.onFive2FiveOnNewRewardPush = function(cb){
  729. this.on('five2five.five2FivePush.five2FiveOnNewRewardPush',cb);
  730. }
  731. GameSocket.prototype.onFive2FiveOnNoRewardPush = function(cb){
  732. this.on('five2five.five2FivePush.five2FiveOnNoRewardPush',cb);
  733. }
  734. GameSocket.prototype.onFive2FiveMatchFailedPush = function(cb){
  735. this.on('five2five.five2FivePush.five2FiveMatchFailedPush',cb);
  736. }
  737. GameSocket.prototype.onFive2FiveLeaderCancelMatchPush = function(cb){
  738. this.on('five2five.five2FivePush.five2FiveLeaderCancelMatchPush',cb);
  739. }
  740. GameSocket.prototype.onFive2FiveTeamChangePush = function(cb){
  741. this.on('five2five.five2FivePush.five2FiveTeamChangePush',cb);
  742. }
  743. GameSocket.prototype.onFive2FiveMatchPoolChangePush = function(cb){
  744. this.on('five2five.five2FivePush.five2FiveMatchPoolChangePush',cb);
  745. }
  746. GameSocket.prototype.onFive2FiveApplyMatchResultPush = function(cb){
  747. this.on('five2five.five2FivePush.five2FiveApplyMatchResultPush',cb);
  748. }
  749. GameSocket.prototype.onUpdateBattleArrayPush = function(cb){
  750. this.on('follower.followerPush.updateBattleArrayPush',cb);
  751. }
  752. GameSocket.prototype.onConfirmPush = function(cb){
  753. this.on('follower.followerPush.confirmPush',cb);
  754. }
  755. GameSocket.prototype.onDeletFollowerPush = function(cb){
  756. this.on('follower.followerPush.deletFollowerPush',cb);
  757. }
  758. GameSocket.prototype.onAddFollowerPush = function(cb){
  759. this.on('follower.followerPush.addFollowerPush',cb);
  760. }
  761. GameSocket.prototype.onChoosePush = function(cb){
  762. this.on('follower.followerPush.choosePush',cb);
  763. }
  764. GameSocket.prototype.onUpdateGrowingPush = function(cb){
  765. this.on('growing.growingPush.updateGrowingPush',cb);
  766. }
  767. GameSocket.prototype.onCurChapterPush = function(cb){
  768. this.on('growing.growingPush.curChapterPush',cb);
  769. }
  770. GameSocket.prototype.onUpdateGrowingValuePush = function(cb){
  771. this.on('growing.growingPush.updateGrowingValuePush',cb);
  772. }
  773. GameSocket.prototype.onIsOpenArtifactPush = function(cb){
  774. this.on('openArtifact.openArtifactPush.isOpenArtifactPush',cb);
  775. }
  776. GameSocket.prototype.onAddPetPush = function(cb){
  777. this.on('pet.petPush.addPetPush',cb);
  778. }
  779. GameSocket.prototype.onUpdatePetPush = function(cb){
  780. this.on('pet.petPush.updatePetPush',cb);
  781. }
  782. GameSocket.prototype.onDeletePetPush = function(cb){
  783. this.on('pet.petPush.deletePetPush',cb);
  784. }
  785. GameSocket.prototype.onOnRedPacketDispatchPush = function(cb){
  786. this.on('redpacket.redPacketPush.onRedPacketDispatchPush',cb);
  787. }
  788. GameSocket.prototype.onRobberyPush = function(cb){
  789. this.on('robbery.robberyPush.robberyPush',cb);
  790. }
  791. GameSocket.prototype.onRobberyDevilOverPush = function(cb){
  792. this.on('robbery.robberyPush.robberyDevilOverPush',cb);
  793. }
  794. GameSocket.prototype.onGetRobberyDevilBuffPush = function(cb){
  795. this.on('robbery.robberyPush.getRobberyDevilBuffPush',cb);
  796. }
  797. GameSocket.prototype.onRobberyEndPush = function(cb){
  798. this.on('robbery.robberyPush.robberyEndPush',cb);
  799. }
  800. GameSocket.prototype.onPlayerYaoQiSharePush = function(cb){
  801. this.on('zhanyao.zhanYaoPush.playerYaoQiSharePush',cb);
  802. }
  803. module.exports = GameSocket;