FLMsgGenerator.cs 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707
  1. using System;
  2. using XGame.Framework.Network;
  3. namespace FL.Network
  4. {
  5. public sealed class FLMsgGenerator : MsgGenerator
  6. {
  7. protected override IMsgController CreateController(int protoId)
  8. {
  9. switch(protoId)
  10. {
  11. case 100101: return new PlayerLoginResponseCtrl();
  12. case 100102: return new PlayerLoginPlayerResponseCtrl();
  13. case 100103: return new PlayerLoginUserResponseCtrl();
  14. case 100104: return new PlayerReConnectResponseCtrl();
  15. case 100201: return new ChatSendResponseCtrl();
  16. case 100202: return new ChatHistoryResponseCtrl();
  17. case 100301: return new PveFightEndResponseCtrl();
  18. case 100302: return new PveLineOpenResponseCtrl();
  19. case 100303: return new PveLineRwdResponseCtrl();
  20. case 100304: return new PveTaskRwdResponseCtrl();
  21. case 100401: return new LongdanOpenResponseCtrl();
  22. case 100402: return new LongdanRwdBoxResponseCtrl();
  23. case 100403: return new LongdanIntoResponseCtrl();
  24. case 100404: return new LongdanUpLevelResponseCtrl();
  25. case 100405: return new LongdanSubcdResponseCtrl();
  26. case 100501: return new MailIntoResponseCtrl();
  27. case 100502: return new MailRwdResponseCtrl();
  28. case 100503: return new MailRwdAllResponseCtrl();
  29. case 100504: return new MailDelResponseCtrl();
  30. case 100505: return new MailDelAllResponseCtrl();
  31. case 100506: return new MailRedAllResponseCtrl();
  32. case 100601: return new EquipIntoEquipResponseCtrl();
  33. case 100602: return new EquipIntoLsResponseCtrl();
  34. case 100603: return new EquipTihuanResponseCtrl();
  35. case 100604: return new EquipDelEquipLsResponseCtrl();
  36. case 100605: return new EquipDelEquipResponseCtrl();
  37. case 100701: return new UserBillSuccessResponseCtrl();
  38. case 100702: return new UserLookFuserAllResponseCtrl();
  39. case 100703: return new UserUplevelResponseCtrl();
  40. case 100704: return new UserUseItemResponseCtrl();
  41. case 100801: return new JjcIntoResponseCtrl();
  42. case 100802: return new JjcBuyResponseCtrl();
  43. case 100803: return new JjcRefreshResponseCtrl();
  44. case 100804: return new JjcFightStartResponseCtrl();
  45. case 100805: return new JjcFightEndResponseCtrl();
  46. case 100901: return new RankGetListResponseCtrl();
  47. case 100902: return new RankGetMyResponseCtrl();
  48. case 100903: return new RankTuichuResponseCtrl();
  49. case 101001: return new FubenLdIntoResponseCtrl();
  50. case 101002: return new FubenLdBillResponseCtrl();
  51. case 101003: return new FubenLdFightStartResponseCtrl();
  52. case 101004: return new FubenLdFightEndResponseCtrl();
  53. case 101005: return new FubenLdSaodangResponseCtrl();
  54. case 101011: return new FubenLwcxIntoResponseCtrl();
  55. case 101012: return new FubenLwcxBillResponseCtrl();
  56. case 101013: return new FubenLwcxFightStartResponseCtrl();
  57. case 101014: return new FubenLwcxFightEndResponseCtrl();
  58. case 101015: return new FubenLwcxSaodangResponseCtrl();
  59. case 101021: return new FubenYjgcIntoResponseCtrl();
  60. case 101022: return new FubenYjgcBillResponseCtrl();
  61. case 101023: return new FubenYjgcFightStartResponseCtrl();
  62. case 101024: return new FubenYjgcFightEndResponseCtrl();
  63. case 101025: return new FubenYjgcSaodangResponseCtrl();
  64. case 102101: return new ShengbingIntoResponseCtrl();
  65. case 102102: return new ShengbingUpLevelResponseCtrl();
  66. case 102103: return new ShengbingUpStarResponseCtrl();
  67. case 102104: return new ShengbingWearResponseCtrl();
  68. case 102105: return new ShengbingChangeSuitResponseCtrl();
  69. case 102106: return new ShengbingSetNameResponseCtrl();
  70. case 102107: return new ShengbingWearAllResponseCtrl();
  71. case 102108: return new ShengbingStrongAllResponseCtrl();
  72. case 102109: return new ShengbingBindingResponseCtrl();
  73. case 102110: return new ShengbingUpdateSuitResponseCtrl();
  74. case 102111: return new ShengbingUnlockJibanResponseCtrl();
  75. case 102112: return new ShengbingUnlockJibanAllResponseCtrl();
  76. case 102113: return new ShengbingNewWearResponseCtrl();
  77. case 102114: return new ShengbingNewUnfixResponseCtrl();
  78. case 102116: return new ShengbingUnfixResponseCtrl();
  79. case 102201: return new MingwenIntoResponseCtrl();
  80. case 102202: return new MingwenUpStarResponseCtrl();
  81. case 102203: return new MingwenWearAllResponseCtrl();
  82. case 102204: return new MingwenStrongAllResponseCtrl();
  83. case 102301: return new MountTishengResponseCtrl();
  84. case 102302: return new MountTiShengAllResponseCtrl();
  85. case 102303: return new MountUpStarResponseCtrl();
  86. case 102304: return new MountShangzhenResponseCtrl();
  87. case 102305: return new MountUseSkillResponseCtrl();
  88. case 102306: return new MountXunyangResponseCtrl();
  89. case 102307: return new MountXunyangAllResponseCtrl();
  90. case 102308: return new MountIntoResponseCtrl();
  91. case 102309: return new MountDownResponseCtrl();
  92. case 102310: return new MountMountInitResponseCtrl();
  93. case 102311: return new MountAddMountResponseCtrl();
  94. case 102312: return new MountSkillDownResponseCtrl();
  95. case 102401: return new ArtifactIntoResponseCtrl();
  96. case 102402: return new ArtifactTishengResponseCtrl();
  97. case 102403: return new ArtifactTiShengAllResponseCtrl();
  98. case 102404: return new ArtifactUpStarResponseCtrl();
  99. case 102405: return new ArtifactShangzhenResponseCtrl();
  100. case 102406: return new ArtifactUseSkillResponseCtrl();
  101. case 102407: return new ArtifactDownResponseCtrl();
  102. case 102408: return new ArtifactUpElementResponseCtrl();
  103. case 102409: return new ArtifactUseElementResponseCtrl();
  104. case 102410: return new ArtifactDownElementResponseCtrl();
  105. case 104001: return new JobClassChangeResponseCtrl();
  106. case 104002: return new JobClassResetResponseCtrl();
  107. case 104003: return new JobClassRuneActivateResponseCtrl();
  108. case 104004: return new JobClassSlotLvUpResponseCtrl();
  109. case 104005: return new JobClassRunePlanNameResponseCtrl();
  110. case 104006: return new JobClassChangePlanResponseCtrl();
  111. case 104007: return new JobClassResetPlanResponseCtrl();
  112. case 104008: return new JobClassRuneChangeResponseCtrl();
  113. case 104101: return new TaskMainRwdResponseCtrl();
  114. case 104201: return new TaskDailyRwdResponseCtrl();
  115. case 104202: return new TaskDailyActivityRwdResponseCtrl();
  116. case 104301: return new ShopBuyResponseCtrl();
  117. case 104302: return new ShopRmbBuyResponseCtrl();
  118. case 104401: return new AchvRwdResponseCtrl();
  119. case 104402: return new AchvBoxRwdResponseCtrl();
  120. case 200100: return new PlatBackPushCtrl();
  121. case 200200: return new QufuListPushCtrl();
  122. case 200300: return new OrderListPushCtrl();
  123. case 200400: return new NoticesPushCtrl();
  124. case 200500: return new SwitchPushCtrl();
  125. case 200600: return new PlayerInfoPushCtrl();
  126. case 200601: return new PlayerInfoSidPushCtrl();
  127. case 200700: return new UserInfoPushCtrl();
  128. case 200701: return new UserInfoNamePushCtrl();
  129. case 200702: return new UserInfoMoneyPushCtrl();
  130. case 200703: return new UserInfoLevelPushCtrl();
  131. case 200800: return new MailListPushCtrl();
  132. case 200900: return new ChatPushCtrl();
  133. case 201000: return new ActPvePushCtrl();
  134. case 201001: return new ActPvePveIdPushCtrl();
  135. case 201002: return new ActPveOfflinePushCtrl();
  136. case 201003: return new ActPveLastTimePushCtrl();
  137. case 201004: return new ActPveTaskZuPushCtrl();
  138. case 201100: return new ActLongDanPushCtrl();
  139. case 201101: return new ActLongdanTreasureIdPushCtrl();
  140. case 201102: return new ActLongdanExpPushCtrl();
  141. case 201103: return new ActLongdanItemsPushCtrl();
  142. case 201104: return new ActLongdanUpLvTimePushCtrl();
  143. case 201105: return new ActLongdanBillPushCtrl();
  144. case 201106: return new ActLongdanTimePushCtrl();
  145. case 201107: return new ActLongdanLevelPushCtrl();
  146. case 201300: return new ActEquipPushCtrl();
  147. case 201301: return new ActEquipChuanPushCtrl();
  148. case 201400: return new ActItemPushCtrl();
  149. case 201500: return new ActEquipLsPushCtrl();
  150. case 201501: return new ActEquipLsListPushCtrl();
  151. case 201502: return new ActEquipLsDelxhidsPushCtrl();
  152. case 201600: return new ActEpsPushCtrl();
  153. case 201601: return new ActEpsAllEpsPushCtrl();
  154. case 201700: return new XiaDanCsPushCtrl();
  155. case 201800: return new ActShengBingPushCtrl();
  156. case 201801: return new ActShengbingShengbingPushCtrl();
  157. case 201802: return new ActShengbingSuitPushCtrl();
  158. case 201803: return new ActShengbingUseSuitPushCtrl();
  159. case 201804: return new ActShengbingJibanPushCtrl();
  160. case 201805: return new ActShengbingShangzhenPushCtrl();
  161. case 201900: return new ActMingWenPushCtrl();
  162. case 201901: return new ActMingwenMingwenPushCtrl();
  163. case 201902: return new ActMingwenJibanPushCtrl();
  164. case 202000: return new ActMountPushCtrl();
  165. case 202001: return new ActMountMountListPushCtrl();
  166. case 202002: return new ActMountExpPushCtrl();
  167. case 202003: return new ActMountUsePushCtrl();
  168. case 202004: return new ActMountBuweiPushCtrl();
  169. case 202005: return new ActMountBwExpPushCtrl();
  170. case 202100: return new ActJjcPushCtrl();
  171. case 202101: return new ActJjcTiliPushCtrl();
  172. case 202102: return new ActJjcDtimePushCtrl();
  173. case 202103: return new ActJjcBuyNumPushCtrl();
  174. case 202104: return new ActJjcRefNumPushCtrl();
  175. case 202105: return new ActJjcTzNumPushCtrl();
  176. case 202200: return new RankUserPushCtrl();
  177. case 202300: return new RankClubPushCtrl();
  178. case 202400: return new RankMyPushCtrl();
  179. case 202500: return new ActJjcLogPushCtrl();
  180. case 202600: return new ActJobClassPushCtrl();
  181. case 202601: return new ActJobClassCurrentClassPushCtrl();
  182. case 202602: return new ActJobClassRunePlanPushCtrl();
  183. case 202603: return new ActJobClassResetClassPushCtrl();
  184. case 202604: return new ActJobClassCurrentPlanPushCtrl();
  185. case 202605: return new ActJobClassRunePlanNamePushCtrl();
  186. case 202606: return new ActJobClassAllPointPushCtrl();
  187. case 202700: return new TaskConsPushCtrl();
  188. case 202701: return new ActTaskMainConsPushCtrl();
  189. case 202800: return new ActJjcFightPushCtrl();
  190. case 202900: return new ActTaskDailyPushCtrl();
  191. case 202901: return new ActTaskDailyDailyActivePushCtrl();
  192. case 202902: return new ActTaskDailyWeeklyActivePushCtrl();
  193. case 202903: return new ActTaskDailyTaskConsPushCtrl();
  194. case 202904: return new ActTaskDailyTaskPushCtrl();
  195. case 202905: return new ActTaskDailyRwdDailyPushCtrl();
  196. case 202906: return new ActTaskDailyRwdWeeklyPushCtrl();
  197. case 203000: return new FUserAllPushCtrl();
  198. case 203100: return new ActFbLdPushCtrl();
  199. case 203101: return new ActFbLdDtimePushCtrl();
  200. case 203102: return new ActFbLdTiliPushCtrl();
  201. case 203103: return new ActFbLdBillPushCtrl();
  202. case 203104: return new ActFbLdXlsidPushCtrl();
  203. case 203105: return new ActFbLdFbidPushCtrl();
  204. case 203106: return new ActFbLdItemsPushCtrl();
  205. case 203200: return new ActFbLwcxPushCtrl();
  206. case 203201: return new ActFbLwcxDtimePushCtrl();
  207. case 203202: return new ActFbLwcxTiliPushCtrl();
  208. case 203203: return new ActFbLwcxBillPushCtrl();
  209. case 203204: return new ActFbLwcxXlsidPushCtrl();
  210. case 203205: return new ActFbLwcxFbidPushCtrl();
  211. case 203206: return new ActFbLwcxItemsPushCtrl();
  212. case 203300: return new ActFbYjgcPushCtrl();
  213. case 203301: return new ActFbYjgcDtimePushCtrl();
  214. case 203302: return new ActFbYjgcTiliPushCtrl();
  215. case 203303: return new ActFbYjgcBillPushCtrl();
  216. case 203304: return new ActFbYjgcXlsidPushCtrl();
  217. case 203305: return new ActFbYjgcFbidPushCtrl();
  218. case 203306: return new ActFbYjgcItemsPushCtrl();
  219. case 203400: return new ActAchvPushCtrl();
  220. case 203401: return new ActAchvAchvConsPushCtrl();
  221. case 203402: return new ActAchvAchvPushCtrl();
  222. case 203403: return new ActAchvCurBoxPushCtrl();
  223. case 203500: return new ActFbSktlPushCtrl();
  224. case 203600: return new SevFubenPushCtrl();
  225. case 203601: return new SevFubenListPushCtrl();
  226. case 203602: return new SevFubenDelIdsPushCtrl();
  227. case 203700: return new ActShopPushCtrl();
  228. case 203800: return new ActArtifactPushCtrl();
  229. case 203801: return new ActArtifactArtifactListPushCtrl();
  230. case 203802: return new ActArtifactExpPushCtrl();
  231. case 203803: return new ActArtifactUsePushCtrl();
  232. case 203804: return new ActArtifactFumoPushCtrl();
  233. case 203805: return new ActArtifactElementListPushCtrl();
  234. default:
  235. return null;
  236. }
  237. }
  238. protected override IMessage CreateMessage(int protoId)
  239. {
  240. switch(protoId)
  241. {
  242. case 100101: return new PlayerLoginResponse();
  243. case 100102: return new PlayerLoginPlayerResponse();
  244. case 100103: return new PlayerLoginUserResponse();
  245. case 100104: return new PlayerReConnectResponse();
  246. case 100201: return new ChatSendResponse();
  247. case 100202: return new ChatHistoryResponse();
  248. case 100301: return new PveFightEndResponse();
  249. case 100302: return new PveLineOpenResponse();
  250. case 100303: return new PveLineRwdResponse();
  251. case 100304: return new PveTaskRwdResponse();
  252. case 100401: return new LongdanOpenResponse();
  253. case 100402: return new LongdanRwdBoxResponse();
  254. case 100403: return new LongdanIntoResponse();
  255. case 100404: return new LongdanUpLevelResponse();
  256. case 100405: return new LongdanSubcdResponse();
  257. case 100501: return new MailIntoResponse();
  258. case 100502: return new MailRwdResponse();
  259. case 100503: return new MailRwdAllResponse();
  260. case 100504: return new MailDelResponse();
  261. case 100505: return new MailDelAllResponse();
  262. case 100506: return new MailRedAllResponse();
  263. case 100601: return new EquipIntoEquipResponse();
  264. case 100602: return new EquipIntoLsResponse();
  265. case 100603: return new EquipTihuanResponse();
  266. case 100604: return new EquipDelEquipLsResponse();
  267. case 100605: return new EquipDelEquipResponse();
  268. case 100701: return new UserBillSuccessResponse();
  269. case 100702: return new UserLookFuserAllResponse();
  270. case 100703: return new UserUplevelResponse();
  271. case 100704: return new UserUseItemResponse();
  272. case 100801: return new JjcIntoResponse();
  273. case 100802: return new JjcBuyResponse();
  274. case 100803: return new JjcRefreshResponse();
  275. case 100804: return new JjcFightStartResponse();
  276. case 100805: return new JjcFightEndResponse();
  277. case 100901: return new RankGetListResponse();
  278. case 100902: return new RankGetMyResponse();
  279. case 100903: return new RankTuichuResponse();
  280. case 101001: return new FubenLdIntoResponse();
  281. case 101002: return new FubenLdBillResponse();
  282. case 101003: return new FubenLdFightStartResponse();
  283. case 101004: return new FubenLdFightEndResponse();
  284. case 101005: return new FubenLdSaodangResponse();
  285. case 101011: return new FubenLwcxIntoResponse();
  286. case 101012: return new FubenLwcxBillResponse();
  287. case 101013: return new FubenLwcxFightStartResponse();
  288. case 101014: return new FubenLwcxFightEndResponse();
  289. case 101015: return new FubenLwcxSaodangResponse();
  290. case 101021: return new FubenYjgcIntoResponse();
  291. case 101022: return new FubenYjgcBillResponse();
  292. case 101023: return new FubenYjgcFightStartResponse();
  293. case 101024: return new FubenYjgcFightEndResponse();
  294. case 101025: return new FubenYjgcSaodangResponse();
  295. case 102101: return new ShengbingIntoResponse();
  296. case 102102: return new ShengbingUpLevelResponse();
  297. case 102103: return new ShengbingUpStarResponse();
  298. case 102104: return new ShengbingWearResponse();
  299. case 102105: return new ShengbingChangeSuitResponse();
  300. case 102106: return new ShengbingSetNameResponse();
  301. case 102107: return new ShengbingWearAllResponse();
  302. case 102108: return new ShengbingStrongAllResponse();
  303. case 102109: return new ShengbingBindingResponse();
  304. case 102110: return new ShengbingUpdateSuitResponse();
  305. case 102111: return new ShengbingUnlockJibanResponse();
  306. case 102112: return new ShengbingUnlockJibanAllResponse();
  307. case 102113: return new ShengbingNewWearResponse();
  308. case 102114: return new ShengbingNewUnfixResponse();
  309. case 102116: return new ShengbingUnfixResponse();
  310. case 102201: return new MingwenIntoResponse();
  311. case 102202: return new MingwenUpStarResponse();
  312. case 102203: return new MingwenWearAllResponse();
  313. case 102204: return new MingwenStrongAllResponse();
  314. case 102301: return new MountTishengResponse();
  315. case 102302: return new MountTiShengAllResponse();
  316. case 102303: return new MountUpStarResponse();
  317. case 102304: return new MountShangzhenResponse();
  318. case 102305: return new MountUseSkillResponse();
  319. case 102306: return new MountXunyangResponse();
  320. case 102307: return new MountXunyangAllResponse();
  321. case 102308: return new MountIntoResponse();
  322. case 102309: return new MountDownResponse();
  323. case 102310: return new MountMountInitResponse();
  324. case 102311: return new MountAddMountResponse();
  325. case 102312: return new MountSkillDownResponse();
  326. case 102401: return new ArtifactIntoResponse();
  327. case 102402: return new ArtifactTishengResponse();
  328. case 102403: return new ArtifactTiShengAllResponse();
  329. case 102404: return new ArtifactUpStarResponse();
  330. case 102405: return new ArtifactShangzhenResponse();
  331. case 102406: return new ArtifactUseSkillResponse();
  332. case 102407: return new ArtifactDownResponse();
  333. case 102408: return new ArtifactUpElementResponse();
  334. case 102409: return new ArtifactUseElementResponse();
  335. case 102410: return new ArtifactDownElementResponse();
  336. case 104001: return new JobClassChangeResponse();
  337. case 104002: return new JobClassResetResponse();
  338. case 104003: return new JobClassRuneActivateResponse();
  339. case 104004: return new JobClassSlotLvUpResponse();
  340. case 104005: return new JobClassRunePlanNameResponse();
  341. case 104006: return new JobClassChangePlanResponse();
  342. case 104007: return new JobClassResetPlanResponse();
  343. case 104008: return new JobClassRuneChangeResponse();
  344. case 104101: return new TaskMainRwdResponse();
  345. case 104201: return new TaskDailyRwdResponse();
  346. case 104202: return new TaskDailyActivityRwdResponse();
  347. case 104301: return new ShopBuyResponse();
  348. case 104302: return new ShopRmbBuyResponse();
  349. case 104401: return new AchvRwdResponse();
  350. case 104402: return new AchvBoxRwdResponse();
  351. case 200100: return new PlatBackPush();
  352. case 200200: return new QufuListPush();
  353. case 200300: return new OrderListPush();
  354. case 200400: return new NoticesPush();
  355. case 200500: return new SwitchPush();
  356. case 200600: return new PlayerInfoPush();
  357. case 200601: return new PlayerInfoSidPush();
  358. case 200700: return new UserInfoPush();
  359. case 200701: return new UserInfoNamePush();
  360. case 200702: return new UserInfoMoneyPush();
  361. case 200703: return new UserInfoLevelPush();
  362. case 200800: return new MailListPush();
  363. case 200900: return new ChatPush();
  364. case 201000: return new ActPvePush();
  365. case 201001: return new ActPvePveIdPush();
  366. case 201002: return new ActPveOfflinePush();
  367. case 201003: return new ActPveLastTimePush();
  368. case 201004: return new ActPveTaskZuPush();
  369. case 201100: return new ActLongDanPush();
  370. case 201101: return new ActLongdanTreasureIdPush();
  371. case 201102: return new ActLongdanExpPush();
  372. case 201103: return new ActLongdanItemsPush();
  373. case 201104: return new ActLongdanUpLvTimePush();
  374. case 201105: return new ActLongdanBillPush();
  375. case 201106: return new ActLongdanTimePush();
  376. case 201107: return new ActLongdanLevelPush();
  377. case 201300: return new ActEquipPush();
  378. case 201301: return new ActEquipChuanPush();
  379. case 201400: return new ActItemPush();
  380. case 201500: return new ActEquipLsPush();
  381. case 201501: return new ActEquipLsListPush();
  382. case 201502: return new ActEquipLsDelxhidsPush();
  383. case 201600: return new ActEpsPush();
  384. case 201601: return new ActEpsAllEpsPush();
  385. case 201700: return new XiaDanCsPush();
  386. case 201800: return new ActShengBingPush();
  387. case 201801: return new ActShengbingShengbingPush();
  388. case 201802: return new ActShengbingSuitPush();
  389. case 201803: return new ActShengbingUseSuitPush();
  390. case 201804: return new ActShengbingJibanPush();
  391. case 201805: return new ActShengbingShangzhenPush();
  392. case 201900: return new ActMingWenPush();
  393. case 201901: return new ActMingwenMingwenPush();
  394. case 201902: return new ActMingwenJibanPush();
  395. case 202000: return new ActMountPush();
  396. case 202001: return new ActMountMountListPush();
  397. case 202002: return new ActMountExpPush();
  398. case 202003: return new ActMountUsePush();
  399. case 202004: return new ActMountBuweiPush();
  400. case 202005: return new ActMountBwExpPush();
  401. case 202100: return new ActJjcPush();
  402. case 202101: return new ActJjcTiliPush();
  403. case 202102: return new ActJjcDtimePush();
  404. case 202103: return new ActJjcBuyNumPush();
  405. case 202104: return new ActJjcRefNumPush();
  406. case 202105: return new ActJjcTzNumPush();
  407. case 202200: return new RankUserPush();
  408. case 202300: return new RankClubPush();
  409. case 202400: return new RankMyPush();
  410. case 202500: return new ActJjcLogPush();
  411. case 202600: return new ActJobClassPush();
  412. case 202601: return new ActJobClassCurrentClassPush();
  413. case 202602: return new ActJobClassRunePlanPush();
  414. case 202603: return new ActJobClassResetClassPush();
  415. case 202604: return new ActJobClassCurrentPlanPush();
  416. case 202605: return new ActJobClassRunePlanNamePush();
  417. case 202606: return new ActJobClassAllPointPush();
  418. case 202700: return new TaskConsPush();
  419. case 202701: return new ActTaskMainConsPush();
  420. case 202800: return new ActJjcFightPush();
  421. case 202900: return new ActTaskDailyPush();
  422. case 202901: return new ActTaskDailyDailyActivePush();
  423. case 202902: return new ActTaskDailyWeeklyActivePush();
  424. case 202903: return new ActTaskDailyTaskConsPush();
  425. case 202904: return new ActTaskDailyTaskPush();
  426. case 202905: return new ActTaskDailyRwdDailyPush();
  427. case 202906: return new ActTaskDailyRwdWeeklyPush();
  428. case 203000: return new FUserAllPush();
  429. case 203100: return new ActFbLdPush();
  430. case 203101: return new ActFbLdDtimePush();
  431. case 203102: return new ActFbLdTiliPush();
  432. case 203103: return new ActFbLdBillPush();
  433. case 203104: return new ActFbLdXlsidPush();
  434. case 203105: return new ActFbLdFbidPush();
  435. case 203106: return new ActFbLdItemsPush();
  436. case 203200: return new ActFbLwcxPush();
  437. case 203201: return new ActFbLwcxDtimePush();
  438. case 203202: return new ActFbLwcxTiliPush();
  439. case 203203: return new ActFbLwcxBillPush();
  440. case 203204: return new ActFbLwcxXlsidPush();
  441. case 203205: return new ActFbLwcxFbidPush();
  442. case 203206: return new ActFbLwcxItemsPush();
  443. case 203300: return new ActFbYjgcPush();
  444. case 203301: return new ActFbYjgcDtimePush();
  445. case 203302: return new ActFbYjgcTiliPush();
  446. case 203303: return new ActFbYjgcBillPush();
  447. case 203304: return new ActFbYjgcXlsidPush();
  448. case 203305: return new ActFbYjgcFbidPush();
  449. case 203306: return new ActFbYjgcItemsPush();
  450. case 203400: return new ActAchvPush();
  451. case 203401: return new ActAchvAchvConsPush();
  452. case 203402: return new ActAchvAchvPush();
  453. case 203403: return new ActAchvCurBoxPush();
  454. case 203500: return new ActFbSktlPush();
  455. case 203600: return new SevFubenPush();
  456. case 203601: return new SevFubenListPush();
  457. case 203602: return new SevFubenDelIdsPush();
  458. case 203700: return new ActShopPush();
  459. case 203800: return new ActArtifactPush();
  460. case 203801: return new ActArtifactArtifactListPush();
  461. case 203802: return new ActArtifactExpPush();
  462. case 203803: return new ActArtifactUsePush();
  463. case 203804: return new ActArtifactFumoPush();
  464. case 203805: return new ActArtifactElementListPush();
  465. default:
  466. return null;
  467. }
  468. }
  469. protected override Type GetMessageType(int protoId)
  470. {
  471. switch (protoId)
  472. {
  473. case 100101: return typeof(PlayerLoginResponse);
  474. case 100102: return typeof(PlayerLoginPlayerResponse);
  475. case 100103: return typeof(PlayerLoginUserResponse);
  476. case 100104: return typeof(PlayerReConnectResponse);
  477. case 100201: return typeof(ChatSendResponse);
  478. case 100202: return typeof(ChatHistoryResponse);
  479. case 100301: return typeof(PveFightEndResponse);
  480. case 100302: return typeof(PveLineOpenResponse);
  481. case 100303: return typeof(PveLineRwdResponse);
  482. case 100304: return typeof(PveTaskRwdResponse);
  483. case 100401: return typeof(LongdanOpenResponse);
  484. case 100402: return typeof(LongdanRwdBoxResponse);
  485. case 100403: return typeof(LongdanIntoResponse);
  486. case 100404: return typeof(LongdanUpLevelResponse);
  487. case 100405: return typeof(LongdanSubcdResponse);
  488. case 100501: return typeof(MailIntoResponse);
  489. case 100502: return typeof(MailRwdResponse);
  490. case 100503: return typeof(MailRwdAllResponse);
  491. case 100504: return typeof(MailDelResponse);
  492. case 100505: return typeof(MailDelAllResponse);
  493. case 100506: return typeof(MailRedAllResponse);
  494. case 100601: return typeof(EquipIntoEquipResponse);
  495. case 100602: return typeof(EquipIntoLsResponse);
  496. case 100603: return typeof(EquipTihuanResponse);
  497. case 100604: return typeof(EquipDelEquipLsResponse);
  498. case 100605: return typeof(EquipDelEquipResponse);
  499. case 100701: return typeof(UserBillSuccessResponse);
  500. case 100702: return typeof(UserLookFuserAllResponse);
  501. case 100703: return typeof(UserUplevelResponse);
  502. case 100704: return typeof(UserUseItemResponse);
  503. case 100801: return typeof(JjcIntoResponse);
  504. case 100802: return typeof(JjcBuyResponse);
  505. case 100803: return typeof(JjcRefreshResponse);
  506. case 100804: return typeof(JjcFightStartResponse);
  507. case 100805: return typeof(JjcFightEndResponse);
  508. case 100901: return typeof(RankGetListResponse);
  509. case 100902: return typeof(RankGetMyResponse);
  510. case 100903: return typeof(RankTuichuResponse);
  511. case 101001: return typeof(FubenLdIntoResponse);
  512. case 101002: return typeof(FubenLdBillResponse);
  513. case 101003: return typeof(FubenLdFightStartResponse);
  514. case 101004: return typeof(FubenLdFightEndResponse);
  515. case 101005: return typeof(FubenLdSaodangResponse);
  516. case 101011: return typeof(FubenLwcxIntoResponse);
  517. case 101012: return typeof(FubenLwcxBillResponse);
  518. case 101013: return typeof(FubenLwcxFightStartResponse);
  519. case 101014: return typeof(FubenLwcxFightEndResponse);
  520. case 101015: return typeof(FubenLwcxSaodangResponse);
  521. case 101021: return typeof(FubenYjgcIntoResponse);
  522. case 101022: return typeof(FubenYjgcBillResponse);
  523. case 101023: return typeof(FubenYjgcFightStartResponse);
  524. case 101024: return typeof(FubenYjgcFightEndResponse);
  525. case 101025: return typeof(FubenYjgcSaodangResponse);
  526. case 102101: return typeof(ShengbingIntoResponse);
  527. case 102102: return typeof(ShengbingUpLevelResponse);
  528. case 102103: return typeof(ShengbingUpStarResponse);
  529. case 102104: return typeof(ShengbingWearResponse);
  530. case 102105: return typeof(ShengbingChangeSuitResponse);
  531. case 102106: return typeof(ShengbingSetNameResponse);
  532. case 102107: return typeof(ShengbingWearAllResponse);
  533. case 102108: return typeof(ShengbingStrongAllResponse);
  534. case 102109: return typeof(ShengbingBindingResponse);
  535. case 102110: return typeof(ShengbingUpdateSuitResponse);
  536. case 102111: return typeof(ShengbingUnlockJibanResponse);
  537. case 102112: return typeof(ShengbingUnlockJibanAllResponse);
  538. case 102113: return typeof(ShengbingNewWearResponse);
  539. case 102114: return typeof(ShengbingNewUnfixResponse);
  540. case 102116: return typeof(ShengbingUnfixResponse);
  541. case 102201: return typeof(MingwenIntoResponse);
  542. case 102202: return typeof(MingwenUpStarResponse);
  543. case 102203: return typeof(MingwenWearAllResponse);
  544. case 102204: return typeof(MingwenStrongAllResponse);
  545. case 102301: return typeof(MountTishengResponse);
  546. case 102302: return typeof(MountTiShengAllResponse);
  547. case 102303: return typeof(MountUpStarResponse);
  548. case 102304: return typeof(MountShangzhenResponse);
  549. case 102305: return typeof(MountUseSkillResponse);
  550. case 102306: return typeof(MountXunyangResponse);
  551. case 102307: return typeof(MountXunyangAllResponse);
  552. case 102308: return typeof(MountIntoResponse);
  553. case 102309: return typeof(MountDownResponse);
  554. case 102310: return typeof(MountMountInitResponse);
  555. case 102311: return typeof(MountAddMountResponse);
  556. case 102312: return typeof(MountSkillDownResponse);
  557. case 102401: return typeof(ArtifactIntoResponse);
  558. case 102402: return typeof(ArtifactTishengResponse);
  559. case 102403: return typeof(ArtifactTiShengAllResponse);
  560. case 102404: return typeof(ArtifactUpStarResponse);
  561. case 102405: return typeof(ArtifactShangzhenResponse);
  562. case 102406: return typeof(ArtifactUseSkillResponse);
  563. case 102407: return typeof(ArtifactDownResponse);
  564. case 102408: return typeof(ArtifactUpElementResponse);
  565. case 102409: return typeof(ArtifactUseElementResponse);
  566. case 102410: return typeof(ArtifactDownElementResponse);
  567. case 104001: return typeof(JobClassChangeResponse);
  568. case 104002: return typeof(JobClassResetResponse);
  569. case 104003: return typeof(JobClassRuneActivateResponse);
  570. case 104004: return typeof(JobClassSlotLvUpResponse);
  571. case 104005: return typeof(JobClassRunePlanNameResponse);
  572. case 104006: return typeof(JobClassChangePlanResponse);
  573. case 104007: return typeof(JobClassResetPlanResponse);
  574. case 104008: return typeof(JobClassRuneChangeResponse);
  575. case 104101: return typeof(TaskMainRwdResponse);
  576. case 104201: return typeof(TaskDailyRwdResponse);
  577. case 104202: return typeof(TaskDailyActivityRwdResponse);
  578. case 104301: return typeof(ShopBuyResponse);
  579. case 104302: return typeof(ShopRmbBuyResponse);
  580. case 104401: return typeof(AchvRwdResponse);
  581. case 104402: return typeof(AchvBoxRwdResponse);
  582. case 200100: return typeof(PlatBackPush);
  583. case 200200: return typeof(QufuListPush);
  584. case 200300: return typeof(OrderListPush);
  585. case 200400: return typeof(NoticesPush);
  586. case 200500: return typeof(SwitchPush);
  587. case 200600: return typeof(PlayerInfoPush);
  588. case 200601: return typeof(PlayerInfoSidPush);
  589. case 200700: return typeof(UserInfoPush);
  590. case 200701: return typeof(UserInfoNamePush);
  591. case 200702: return typeof(UserInfoMoneyPush);
  592. case 200703: return typeof(UserInfoLevelPush);
  593. case 200800: return typeof(MailListPush);
  594. case 200900: return typeof(ChatPush);
  595. case 201000: return typeof(ActPvePush);
  596. case 201001: return typeof(ActPvePveIdPush);
  597. case 201002: return typeof(ActPveOfflinePush);
  598. case 201003: return typeof(ActPveLastTimePush);
  599. case 201004: return typeof(ActPveTaskZuPush);
  600. case 201100: return typeof(ActLongDanPush);
  601. case 201101: return typeof(ActLongdanTreasureIdPush);
  602. case 201102: return typeof(ActLongdanExpPush);
  603. case 201103: return typeof(ActLongdanItemsPush);
  604. case 201104: return typeof(ActLongdanUpLvTimePush);
  605. case 201105: return typeof(ActLongdanBillPush);
  606. case 201106: return typeof(ActLongdanTimePush);
  607. case 201107: return typeof(ActLongdanLevelPush);
  608. case 201300: return typeof(ActEquipPush);
  609. case 201301: return typeof(ActEquipChuanPush);
  610. case 201400: return typeof(ActItemPush);
  611. case 201500: return typeof(ActEquipLsPush);
  612. case 201501: return typeof(ActEquipLsListPush);
  613. case 201502: return typeof(ActEquipLsDelxhidsPush);
  614. case 201600: return typeof(ActEpsPush);
  615. case 201601: return typeof(ActEpsAllEpsPush);
  616. case 201700: return typeof(XiaDanCsPush);
  617. case 201800: return typeof(ActShengBingPush);
  618. case 201801: return typeof(ActShengbingShengbingPush);
  619. case 201802: return typeof(ActShengbingSuitPush);
  620. case 201803: return typeof(ActShengbingUseSuitPush);
  621. case 201804: return typeof(ActShengbingJibanPush);
  622. case 201805: return typeof(ActShengbingShangzhenPush);
  623. case 201900: return typeof(ActMingWenPush);
  624. case 201901: return typeof(ActMingwenMingwenPush);
  625. case 201902: return typeof(ActMingwenJibanPush);
  626. case 202000: return typeof(ActMountPush);
  627. case 202001: return typeof(ActMountMountListPush);
  628. case 202002: return typeof(ActMountExpPush);
  629. case 202003: return typeof(ActMountUsePush);
  630. case 202004: return typeof(ActMountBuweiPush);
  631. case 202005: return typeof(ActMountBwExpPush);
  632. case 202100: return typeof(ActJjcPush);
  633. case 202101: return typeof(ActJjcTiliPush);
  634. case 202102: return typeof(ActJjcDtimePush);
  635. case 202103: return typeof(ActJjcBuyNumPush);
  636. case 202104: return typeof(ActJjcRefNumPush);
  637. case 202105: return typeof(ActJjcTzNumPush);
  638. case 202200: return typeof(RankUserPush);
  639. case 202300: return typeof(RankClubPush);
  640. case 202400: return typeof(RankMyPush);
  641. case 202500: return typeof(ActJjcLogPush);
  642. case 202600: return typeof(ActJobClassPush);
  643. case 202601: return typeof(ActJobClassCurrentClassPush);
  644. case 202602: return typeof(ActJobClassRunePlanPush);
  645. case 202603: return typeof(ActJobClassResetClassPush);
  646. case 202604: return typeof(ActJobClassCurrentPlanPush);
  647. case 202605: return typeof(ActJobClassRunePlanNamePush);
  648. case 202606: return typeof(ActJobClassAllPointPush);
  649. case 202700: return typeof(TaskConsPush);
  650. case 202701: return typeof(ActTaskMainConsPush);
  651. case 202800: return typeof(ActJjcFightPush);
  652. case 202900: return typeof(ActTaskDailyPush);
  653. case 202901: return typeof(ActTaskDailyDailyActivePush);
  654. case 202902: return typeof(ActTaskDailyWeeklyActivePush);
  655. case 202903: return typeof(ActTaskDailyTaskConsPush);
  656. case 202904: return typeof(ActTaskDailyTaskPush);
  657. case 202905: return typeof(ActTaskDailyRwdDailyPush);
  658. case 202906: return typeof(ActTaskDailyRwdWeeklyPush);
  659. case 203000: return typeof(FUserAllPush);
  660. case 203100: return typeof(ActFbLdPush);
  661. case 203101: return typeof(ActFbLdDtimePush);
  662. case 203102: return typeof(ActFbLdTiliPush);
  663. case 203103: return typeof(ActFbLdBillPush);
  664. case 203104: return typeof(ActFbLdXlsidPush);
  665. case 203105: return typeof(ActFbLdFbidPush);
  666. case 203106: return typeof(ActFbLdItemsPush);
  667. case 203200: return typeof(ActFbLwcxPush);
  668. case 203201: return typeof(ActFbLwcxDtimePush);
  669. case 203202: return typeof(ActFbLwcxTiliPush);
  670. case 203203: return typeof(ActFbLwcxBillPush);
  671. case 203204: return typeof(ActFbLwcxXlsidPush);
  672. case 203205: return typeof(ActFbLwcxFbidPush);
  673. case 203206: return typeof(ActFbLwcxItemsPush);
  674. case 203300: return typeof(ActFbYjgcPush);
  675. case 203301: return typeof(ActFbYjgcDtimePush);
  676. case 203302: return typeof(ActFbYjgcTiliPush);
  677. case 203303: return typeof(ActFbYjgcBillPush);
  678. case 203304: return typeof(ActFbYjgcXlsidPush);
  679. case 203305: return typeof(ActFbYjgcFbidPush);
  680. case 203306: return typeof(ActFbYjgcItemsPush);
  681. case 203400: return typeof(ActAchvPush);
  682. case 203401: return typeof(ActAchvAchvConsPush);
  683. case 203402: return typeof(ActAchvAchvPush);
  684. case 203403: return typeof(ActAchvCurBoxPush);
  685. case 203500: return typeof(ActFbSktlPush);
  686. case 203600: return typeof(SevFubenPush);
  687. case 203601: return typeof(SevFubenListPush);
  688. case 203602: return typeof(SevFubenDelIdsPush);
  689. case 203700: return typeof(ActShopPush);
  690. case 203800: return typeof(ActArtifactPush);
  691. case 203801: return typeof(ActArtifactArtifactListPush);
  692. case 203802: return typeof(ActArtifactExpPush);
  693. case 203803: return typeof(ActArtifactUsePush);
  694. case 203804: return typeof(ActArtifactFumoPush);
  695. case 203805: return typeof(ActArtifactElementListPush);
  696. default:
  697. return null;
  698. }
  699. }
  700. }
  701. }