client2gate.d.ts 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689
  1. import * as $protobuf from "protobufjs";
  2. import Long = require("long");
  3. /** Namespace client2gate_protocols. */
  4. export namespace client2gate_protocols {
  5. /** e_server_msg_type enum. */
  6. enum e_server_msg_type {
  7. e_mst_start_c2g = 300,
  8. e_mst_c2g_heartbeat = 301,
  9. e_mst_g2c_send_msglist = 402,
  10. e_mst_g2c_heartbeat = 403,
  11. e_mst_cgend_index = 500
  12. }
  13. /** Properties of a packetc2g_heartbeat. */
  14. interface Ipacketc2g_heartbeat {
  15. /** packetc2g_heartbeat packetId */
  16. packetId?: (client2gate_protocols.e_server_msg_type|null);
  17. }
  18. /** Represents a packetc2g_heartbeat. */
  19. class packetc2g_heartbeat implements Ipacketc2g_heartbeat {
  20. /**
  21. * Constructs a new packetc2g_heartbeat.
  22. * @param [properties] Properties to set
  23. */
  24. constructor(properties?: client2gate_protocols.Ipacketc2g_heartbeat);
  25. /** packetc2g_heartbeat packetId. */
  26. public packetId: client2gate_protocols.e_server_msg_type;
  27. /**
  28. * Creates a new packetc2g_heartbeat instance using the specified properties.
  29. * @param [properties] Properties to set
  30. * @returns packetc2g_heartbeat instance
  31. */
  32. public static create(properties?: client2gate_protocols.Ipacketc2g_heartbeat): client2gate_protocols.packetc2g_heartbeat;
  33. /**
  34. * Encodes the specified packetc2g_heartbeat message. Does not implicitly {@link client2gate_protocols.packetc2g_heartbeat.verify|verify} messages.
  35. * @param message packetc2g_heartbeat message or plain object to encode
  36. * @param [writer] Writer to encode to
  37. * @returns Writer
  38. */
  39. public static encode(message: client2gate_protocols.Ipacketc2g_heartbeat, writer?: $protobuf.Writer): $protobuf.Writer;
  40. /**
  41. * Encodes the specified packetc2g_heartbeat message, length delimited. Does not implicitly {@link client2gate_protocols.packetc2g_heartbeat.verify|verify} messages.
  42. * @param message packetc2g_heartbeat message or plain object to encode
  43. * @param [writer] Writer to encode to
  44. * @returns Writer
  45. */
  46. public static encodeDelimited(message: client2gate_protocols.Ipacketc2g_heartbeat, writer?: $protobuf.Writer): $protobuf.Writer;
  47. /**
  48. * Decodes a packetc2g_heartbeat message from the specified reader or buffer.
  49. * @param reader Reader or buffer to decode from
  50. * @param [length] Message length if known beforehand
  51. * @returns packetc2g_heartbeat
  52. * @throws {Error} If the payload is not a reader or valid buffer
  53. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  54. */
  55. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): client2gate_protocols.packetc2g_heartbeat;
  56. /**
  57. * Decodes a packetc2g_heartbeat message from the specified reader or buffer, length delimited.
  58. * @param reader Reader or buffer to decode from
  59. * @returns packetc2g_heartbeat
  60. * @throws {Error} If the payload is not a reader or valid buffer
  61. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  62. */
  63. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): client2gate_protocols.packetc2g_heartbeat;
  64. /**
  65. * Verifies a packetc2g_heartbeat message.
  66. * @param message Plain object to verify
  67. * @returns `null` if valid, otherwise the reason why it is not
  68. */
  69. public static verify(message: { [k: string]: any }): (string|null);
  70. /**
  71. * Creates a packetc2g_heartbeat message from a plain object. Also converts values to their respective internal types.
  72. * @param object Plain object
  73. * @returns packetc2g_heartbeat
  74. */
  75. public static fromObject(object: { [k: string]: any }): client2gate_protocols.packetc2g_heartbeat;
  76. /**
  77. * Creates a plain object from a packetc2g_heartbeat message. Also converts values to other types if specified.
  78. * @param message packetc2g_heartbeat
  79. * @param [options] Conversion options
  80. * @returns Plain object
  81. */
  82. public static toObject(message: client2gate_protocols.packetc2g_heartbeat, options?: $protobuf.IConversionOptions): { [k: string]: any };
  83. /**
  84. * Converts this packetc2g_heartbeat to JSON.
  85. * @returns JSON object
  86. */
  87. public toJSON(): { [k: string]: any };
  88. /**
  89. * Gets the default type url for packetc2g_heartbeat
  90. * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
  91. * @returns The default type url
  92. */
  93. public static getTypeUrl(typeUrlPrefix?: string): string;
  94. }
  95. /** Properties of a packetg2c_heartbeat. */
  96. interface Ipacketg2c_heartbeat {
  97. /** packetg2c_heartbeat packetId */
  98. packetId?: (client2gate_protocols.e_server_msg_type|null);
  99. }
  100. /** Represents a packetg2c_heartbeat. */
  101. class packetg2c_heartbeat implements Ipacketg2c_heartbeat {
  102. /**
  103. * Constructs a new packetg2c_heartbeat.
  104. * @param [properties] Properties to set
  105. */
  106. constructor(properties?: client2gate_protocols.Ipacketg2c_heartbeat);
  107. /** packetg2c_heartbeat packetId. */
  108. public packetId: client2gate_protocols.e_server_msg_type;
  109. /**
  110. * Creates a new packetg2c_heartbeat instance using the specified properties.
  111. * @param [properties] Properties to set
  112. * @returns packetg2c_heartbeat instance
  113. */
  114. public static create(properties?: client2gate_protocols.Ipacketg2c_heartbeat): client2gate_protocols.packetg2c_heartbeat;
  115. /**
  116. * Encodes the specified packetg2c_heartbeat message. Does not implicitly {@link client2gate_protocols.packetg2c_heartbeat.verify|verify} messages.
  117. * @param message packetg2c_heartbeat message or plain object to encode
  118. * @param [writer] Writer to encode to
  119. * @returns Writer
  120. */
  121. public static encode(message: client2gate_protocols.Ipacketg2c_heartbeat, writer?: $protobuf.Writer): $protobuf.Writer;
  122. /**
  123. * Encodes the specified packetg2c_heartbeat message, length delimited. Does not implicitly {@link client2gate_protocols.packetg2c_heartbeat.verify|verify} messages.
  124. * @param message packetg2c_heartbeat message or plain object to encode
  125. * @param [writer] Writer to encode to
  126. * @returns Writer
  127. */
  128. public static encodeDelimited(message: client2gate_protocols.Ipacketg2c_heartbeat, writer?: $protobuf.Writer): $protobuf.Writer;
  129. /**
  130. * Decodes a packetg2c_heartbeat message from the specified reader or buffer.
  131. * @param reader Reader or buffer to decode from
  132. * @param [length] Message length if known beforehand
  133. * @returns packetg2c_heartbeat
  134. * @throws {Error} If the payload is not a reader or valid buffer
  135. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  136. */
  137. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): client2gate_protocols.packetg2c_heartbeat;
  138. /**
  139. * Decodes a packetg2c_heartbeat message from the specified reader or buffer, length delimited.
  140. * @param reader Reader or buffer to decode from
  141. * @returns packetg2c_heartbeat
  142. * @throws {Error} If the payload is not a reader or valid buffer
  143. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  144. */
  145. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): client2gate_protocols.packetg2c_heartbeat;
  146. /**
  147. * Verifies a packetg2c_heartbeat message.
  148. * @param message Plain object to verify
  149. * @returns `null` if valid, otherwise the reason why it is not
  150. */
  151. public static verify(message: { [k: string]: any }): (string|null);
  152. /**
  153. * Creates a packetg2c_heartbeat message from a plain object. Also converts values to their respective internal types.
  154. * @param object Plain object
  155. * @returns packetg2c_heartbeat
  156. */
  157. public static fromObject(object: { [k: string]: any }): client2gate_protocols.packetg2c_heartbeat;
  158. /**
  159. * Creates a plain object from a packetg2c_heartbeat message. Also converts values to other types if specified.
  160. * @param message packetg2c_heartbeat
  161. * @param [options] Conversion options
  162. * @returns Plain object
  163. */
  164. public static toObject(message: client2gate_protocols.packetg2c_heartbeat, options?: $protobuf.IConversionOptions): { [k: string]: any };
  165. /**
  166. * Converts this packetg2c_heartbeat to JSON.
  167. * @returns JSON object
  168. */
  169. public toJSON(): { [k: string]: any };
  170. /**
  171. * Gets the default type url for packetg2c_heartbeat
  172. * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
  173. * @returns The default type url
  174. */
  175. public static getTypeUrl(typeUrlPrefix?: string): string;
  176. }
  177. /** Properties of a msg_packet. */
  178. interface Imsg_packet {
  179. /** msg_packet msgid */
  180. msgid?: (number|null);
  181. /** msg_packet msginfo */
  182. msginfo?: (Uint8Array|null);
  183. }
  184. /** Represents a msg_packet. */
  185. class msg_packet implements Imsg_packet {
  186. /**
  187. * Constructs a new msg_packet.
  188. * @param [properties] Properties to set
  189. */
  190. constructor(properties?: client2gate_protocols.Imsg_packet);
  191. /** msg_packet msgid. */
  192. public msgid: number;
  193. /** msg_packet msginfo. */
  194. public msginfo: Uint8Array;
  195. /**
  196. * Creates a new msg_packet instance using the specified properties.
  197. * @param [properties] Properties to set
  198. * @returns msg_packet instance
  199. */
  200. public static create(properties?: client2gate_protocols.Imsg_packet): client2gate_protocols.msg_packet;
  201. /**
  202. * Encodes the specified msg_packet message. Does not implicitly {@link client2gate_protocols.msg_packet.verify|verify} messages.
  203. * @param message msg_packet message or plain object to encode
  204. * @param [writer] Writer to encode to
  205. * @returns Writer
  206. */
  207. public static encode(message: client2gate_protocols.Imsg_packet, writer?: $protobuf.Writer): $protobuf.Writer;
  208. /**
  209. * Encodes the specified msg_packet message, length delimited. Does not implicitly {@link client2gate_protocols.msg_packet.verify|verify} messages.
  210. * @param message msg_packet message or plain object to encode
  211. * @param [writer] Writer to encode to
  212. * @returns Writer
  213. */
  214. public static encodeDelimited(message: client2gate_protocols.Imsg_packet, writer?: $protobuf.Writer): $protobuf.Writer;
  215. /**
  216. * Decodes a msg_packet message from the specified reader or buffer.
  217. * @param reader Reader or buffer to decode from
  218. * @param [length] Message length if known beforehand
  219. * @returns msg_packet
  220. * @throws {Error} If the payload is not a reader or valid buffer
  221. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  222. */
  223. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): client2gate_protocols.msg_packet;
  224. /**
  225. * Decodes a msg_packet message from the specified reader or buffer, length delimited.
  226. * @param reader Reader or buffer to decode from
  227. * @returns msg_packet
  228. * @throws {Error} If the payload is not a reader or valid buffer
  229. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  230. */
  231. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): client2gate_protocols.msg_packet;
  232. /**
  233. * Verifies a msg_packet message.
  234. * @param message Plain object to verify
  235. * @returns `null` if valid, otherwise the reason why it is not
  236. */
  237. public static verify(message: { [k: string]: any }): (string|null);
  238. /**
  239. * Creates a msg_packet message from a plain object. Also converts values to their respective internal types.
  240. * @param object Plain object
  241. * @returns msg_packet
  242. */
  243. public static fromObject(object: { [k: string]: any }): client2gate_protocols.msg_packet;
  244. /**
  245. * Creates a plain object from a msg_packet message. Also converts values to other types if specified.
  246. * @param message msg_packet
  247. * @param [options] Conversion options
  248. * @returns Plain object
  249. */
  250. public static toObject(message: client2gate_protocols.msg_packet, options?: $protobuf.IConversionOptions): { [k: string]: any };
  251. /**
  252. * Converts this msg_packet to JSON.
  253. * @returns JSON object
  254. */
  255. public toJSON(): { [k: string]: any };
  256. /**
  257. * Gets the default type url for msg_packet
  258. * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
  259. * @returns The default type url
  260. */
  261. public static getTypeUrl(typeUrlPrefix?: string): string;
  262. }
  263. /** Properties of a packet_g2c_send_msglist. */
  264. interface Ipacket_g2c_send_msglist {
  265. /** packet_g2c_send_msglist packetId */
  266. packetId?: (client2gate_protocols.e_server_msg_type|null);
  267. /** packet_g2c_send_msglist msgpaks */
  268. msgpaks?: (client2gate_protocols.Imsg_packet[]|null);
  269. }
  270. /** Represents a packet_g2c_send_msglist. */
  271. class packet_g2c_send_msglist implements Ipacket_g2c_send_msglist {
  272. /**
  273. * Constructs a new packet_g2c_send_msglist.
  274. * @param [properties] Properties to set
  275. */
  276. constructor(properties?: client2gate_protocols.Ipacket_g2c_send_msglist);
  277. /** packet_g2c_send_msglist packetId. */
  278. public packetId: client2gate_protocols.e_server_msg_type;
  279. /** packet_g2c_send_msglist msgpaks. */
  280. public msgpaks: client2gate_protocols.Imsg_packet[];
  281. /**
  282. * Creates a new packet_g2c_send_msglist instance using the specified properties.
  283. * @param [properties] Properties to set
  284. * @returns packet_g2c_send_msglist instance
  285. */
  286. public static create(properties?: client2gate_protocols.Ipacket_g2c_send_msglist): client2gate_protocols.packet_g2c_send_msglist;
  287. /**
  288. * Encodes the specified packet_g2c_send_msglist message. Does not implicitly {@link client2gate_protocols.packet_g2c_send_msglist.verify|verify} messages.
  289. * @param message packet_g2c_send_msglist message or plain object to encode
  290. * @param [writer] Writer to encode to
  291. * @returns Writer
  292. */
  293. public static encode(message: client2gate_protocols.Ipacket_g2c_send_msglist, writer?: $protobuf.Writer): $protobuf.Writer;
  294. /**
  295. * Encodes the specified packet_g2c_send_msglist message, length delimited. Does not implicitly {@link client2gate_protocols.packet_g2c_send_msglist.verify|verify} messages.
  296. * @param message packet_g2c_send_msglist message or plain object to encode
  297. * @param [writer] Writer to encode to
  298. * @returns Writer
  299. */
  300. public static encodeDelimited(message: client2gate_protocols.Ipacket_g2c_send_msglist, writer?: $protobuf.Writer): $protobuf.Writer;
  301. /**
  302. * Decodes a packet_g2c_send_msglist message from the specified reader or buffer.
  303. * @param reader Reader or buffer to decode from
  304. * @param [length] Message length if known beforehand
  305. * @returns packet_g2c_send_msglist
  306. * @throws {Error} If the payload is not a reader or valid buffer
  307. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  308. */
  309. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): client2gate_protocols.packet_g2c_send_msglist;
  310. /**
  311. * Decodes a packet_g2c_send_msglist message from the specified reader or buffer, length delimited.
  312. * @param reader Reader or buffer to decode from
  313. * @returns packet_g2c_send_msglist
  314. * @throws {Error} If the payload is not a reader or valid buffer
  315. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  316. */
  317. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): client2gate_protocols.packet_g2c_send_msglist;
  318. /**
  319. * Verifies a packet_g2c_send_msglist message.
  320. * @param message Plain object to verify
  321. * @returns `null` if valid, otherwise the reason why it is not
  322. */
  323. public static verify(message: { [k: string]: any }): (string|null);
  324. /**
  325. * Creates a packet_g2c_send_msglist message from a plain object. Also converts values to their respective internal types.
  326. * @param object Plain object
  327. * @returns packet_g2c_send_msglist
  328. */
  329. public static fromObject(object: { [k: string]: any }): client2gate_protocols.packet_g2c_send_msglist;
  330. /**
  331. * Creates a plain object from a packet_g2c_send_msglist message. Also converts values to other types if specified.
  332. * @param message packet_g2c_send_msglist
  333. * @param [options] Conversion options
  334. * @returns Plain object
  335. */
  336. public static toObject(message: client2gate_protocols.packet_g2c_send_msglist, options?: $protobuf.IConversionOptions): { [k: string]: any };
  337. /**
  338. * Converts this packet_g2c_send_msglist to JSON.
  339. * @returns JSON object
  340. */
  341. public toJSON(): { [k: string]: any };
  342. /**
  343. * Gets the default type url for packet_g2c_send_msglist
  344. * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
  345. * @returns The default type url
  346. */
  347. public static getTypeUrl(typeUrlPrefix?: string): string;
  348. }
  349. }
  350. /** Namespace msg_type_def. */
  351. export namespace msg_type_def {
  352. /** e_msg_result_def enum. */
  353. enum e_msg_result_def {
  354. e_rmt_unknow = 0,
  355. e_rmt_success = 1,
  356. e_rmt_fail = 2,
  357. e_rmt_change_gate = 3,
  358. e_rmt_connect_full = 4,
  359. e_rmt_player_max = 5,
  360. e_rmt_has_dial_lottery = 6,
  361. e_rmt_error_nickname = 7,
  362. e_rmt_same_nickname = 8,
  363. e_rmt_length_beyond_range = 9,
  364. e_rmt_gold_not_enough = 10,
  365. e_rmt_ticket_not_enough = 11,
  366. e_rmt_room_full = 12,
  367. e_rmt_vip_under = 13,
  368. e_rmt_player_level_under = 14,
  369. e_rmt_turret_level_under = 15,
  370. e_rmt_friend_full = 16,
  371. e_rmt_exists_friend = 17,
  372. e_rmt_player_not_exists = 18,
  373. e_rmt_runout_count = 19,
  374. e_rmt_time_not_arrive = 20,
  375. e_rmt_bet_index_error = 21,
  376. e_rmt_outof_bet_limit = 22,
  377. e_rmt_no_find_table = 23,
  378. e_rmt_pwd_not_same = 24,
  379. e_rmt_format_invalid = 25,
  380. e_rmt_need_set_pwd = 26,
  381. e_rmt_pwd_error = 27,
  382. e_rmt_not_find_item = 28,
  383. e_rmt_friend_offline = 29,
  384. e_rmt_not_in_game = 30,
  385. e_rmt_cant_buyitem = 31,
  386. e_rmt_cannot_add_self = 32,
  387. e_rmt_chat_too_often = 33,
  388. e_rmt_exp_not_enough = 34,
  389. e_rmt_level_max = 35,
  390. e_rmt_cannot_collect = 36,
  391. e_rmt_has_bind_phone = 37,
  392. e_rmt_code_error = 38,
  393. e_rmt_beyond_limit = 39,
  394. e_rmt_not_bind_phone = 40,
  395. e_rmt_cannot_sendto_self = 41,
  396. e_rmt_room_notopen = 42,
  397. e_rmt_bet_full = 43,
  398. e_rmt_game_begun = 44,
  399. e_rmt_banker_not_bet = 45,
  400. e_rmt_banker_is_full = 46,
  401. e_rmt_can_not_leave = 47,
  402. e_rmt_has_receive_reward = 48,
  403. e_rmt_not_recharge = 49,
  404. e_rmt_custom_head_freezing = 50,
  405. e_rmt_now_banker_first = 51,
  406. e_rmt_has_in_banker_list = 52,
  407. e_rmt_now_is_banker = 53,
  408. e_rmt_is_not_banker = 54,
  409. e_rmt_haven_apply_leave = 55,
  410. e_rmt_banker_not_enough = 56,
  411. e_rmt_banker_betgold_is_full = 57,
  412. e_rmt_other_betgold_is_full = 58,
  413. e_rmt_error_game_state = 59,
  414. e_rmt_box_not_exist = 60,
  415. e_rmt_box_has_opened = 61,
  416. e_rmt_thank_you_not_enough = 62,
  417. e_rmt_now_is_you = 63,
  418. e_rmt_banker_protect = 64,
  419. e_rmt_snatch_is_you = 65,
  420. e_rmt_snatch_is_low = 66,
  421. e_rmt_last_speaker_not_finish = 67,
  422. e_rmt_speaker_beyond_max_count = 68,
  423. e_rmt_roping_over = 69,
  424. e_rmt_activity_outofdate = 70,
  425. e_rmt_activity_not_satisfy_cond = 71,
  426. e_rmt_time_over = 72,
  427. e_rmt_not_follow = 73,
  428. e_rmt_not_follow_roping = 74,
  429. e_rmt_chip_not_enough = 75,
  430. e_rmt_month_card_out_date = 76,
  431. e_rmt_not_follow_prize_claw = 77,
  432. e_rmt_box_lottery_has_finish = 78,
  433. e_rmt_is_game_item = 79,
  434. e_rmt_dragon_ball_not_enough = 80,
  435. e_rmt_entrance_ticket_not_enough = 81,
  436. e_rmt_match_not_start = 82,
  437. e_rmt_match_will_end = 83,
  438. e_rmt_boss_cant_use_item = 84,
  439. e_rmt_lucky_not_enough = 85,
  440. e_rmt_item_not_enough = 86,
  441. e_rmt_uptype_error = 87,
  442. e_rmt_uplevel_fail = 88,
  443. e_rmt_not_open_function = 89,
  444. e_rmt_finish = 90,
  445. e_rmt_not_in_lobby = 91,
  446. e_rmt_not_find_cdkey = 92,
  447. e_rmt_has_used_cdkey = 93,
  448. e_rmt_cdkey_outofdate = 94,
  449. e_rmt_cdkey_error_overmuch = 95,
  450. e_rmt_has_received_cdkey_rewrad = 96,
  451. e_rmt_payment_only_once = 97,
  452. e_rmt_win_beyond_limit = 98,
  453. e_rmt_lose_beyond_limit = 99,
  454. e_rmt_player_betgold_limit = 100,
  455. e_rmt_rate_limit = 101,
  456. e_rmt_not_new_player = 102,
  457. e_rmt_not_friend = 103,
  458. e_rmt_abandon_qianggou = 104,
  459. e_rmt_hold_qianggou = 105,
  460. e_rmt_not_hold_qianggou = 106,
  461. e_rmt_signup_beyond_maxcount = 107,
  462. e_rmt_not_find_game_server = 108,
  463. e_rmt_game_version_error = 109,
  464. e_rmt_cding = 110,
  465. e_rmt_using = 111,
  466. e_rmt_item_can_not_usetime = 112,
  467. e_rmt_use_item_viproom = 113,
  468. e_rmt_dbchip_not_enough = 114,
  469. e_rmt_not_find_bwroom = 115,
  470. e_rmt_item_uselimit = 116,
  471. e_rmt_resign_count_limit = 117,
  472. e_rmt_diamond_not_enough = 118,
  473. e_rmt_no_buff = 119,
  474. e_rmt_can_not_find_fish = 120,
  475. e_rmt_not_signed = 121,
  476. e_rmt_not_completed = 122,
  477. e_rmt_energy_not_enought = 123,
  478. e_rmt_jackpot_not_enought = 124,
  479. e_rmt_has_bind_id_card = 125,
  480. e_rmt_number_error = 126,
  481. e_rmt_blue_level_under = 127,
  482. e_rmt_not_blue_lux = 128,
  483. e_rmt_not_blue_player = 129,
  484. e_rmt_not_blue_year = 130,
  485. e_rmt_daily_exchange_limit = 131,
  486. e_rmt_has_signed = 132
  487. }
  488. /** e_item_type_def enum. */
  489. enum e_item_type_def {
  490. e_itd_gold = 1,
  491. e_itd_diamond = 2,
  492. e_itd_ticket = 3,
  493. e_itd_count_acc = 4,
  494. e_itd_iconcustom = 5,
  495. e_itd_photoframe = 6,
  496. e_itd_auto_fire = 7,
  497. e_itd_vip = 8,
  498. e_itd_exchange = 9,
  499. e_itd_nickname = 10,
  500. e_itd_fish_item = 11,
  501. e_itd_materialstone = 12,
  502. e_itd_call = 13,
  503. e_itd_monthcard = 14,
  504. e_itd_active = 15,
  505. e_itd_turret = 16,
  506. e_itd_torpedo = 17,
  507. e_itd_dimensity = 18,
  508. e_itd_contribution = 19,
  509. e_itd_chip = 20,
  510. e_itd_material = 21,
  511. e_itd_time_acc = 22,
  512. e_itd_recharge = 23,
  513. e_itd_dimensity_discount = 24,
  514. e_itd_lottery_ticket = 25,
  515. e_itd_weekcard = 26,
  516. e_itd_half_price_violent = 27,
  517. e_itd_exchange_stone = 28,
  518. e_itd_turret_level = 29,
  519. e_itd_turret_chip = 30,
  520. e_itd_turret_gift = 31,
  521. e_itd_gift = 32,
  522. e_itd_dragon_ball_chip = 33,
  523. e_itd_give_bead = 34,
  524. e_itd_sex = 35,
  525. e_itd_createtime = 37,
  526. e_itd_used_bead = 38,
  527. e_itd_is_new_addplayer = 39,
  528. e_itd_channel = 40,
  529. e_itd_deviceid = 41,
  530. e_itd_player_level = 42,
  531. e_itd_blue_vip = 43,
  532. e_itd_gold_monthcard = 44,
  533. e_itd_diamond_monthcard = 45,
  534. e_itd_medium_grade_room = 50,
  535. e_itd_high_grade_room = 51,
  536. e_itd_crocodile_score = 52,
  537. e_itd_color_egg = 53,
  538. e_itd_torpedo_gift = 54,
  539. e_itd_activity_item = 55,
  540. e_itd_monkey_score = 56,
  541. e_itd_tomorrow_buff = 57,
  542. e_itd_energy = 58,
  543. e_itd_vip_exp = 60,
  544. e_itd_player_exp = 61,
  545. e_itd_goldingot = 62,
  546. e_itd_tombola = 63,
  547. e_itd_wing = 64,
  548. e_itd_buff = 100,
  549. e_itd_phone_card = 101,
  550. e_itd_jd_card = 102,
  551. e_itd_legendary_fish_gold = 104,
  552. e_itd_vip_point = 105,
  553. e_itd_red_packet = 106,
  554. e_itd_JD_chip = 107,
  555. e_itd_dragonball = 108,
  556. e_itd_glorycrystal = 109,
  557. e_itd_base_turret = 515,
  558. e_itd_trigger_event = 666
  559. }
  560. /** e_turret_def enum. */
  561. enum e_turret_def {
  562. e_turret_base = 1
  563. }
  564. /** e_item_id_def enum. */
  565. enum e_item_id_def {
  566. e_it_gold = 1,
  567. e_it_diamond = 2,
  568. e_it_ticket = 3,
  569. e_it_dimensity = 28,
  570. e_it_chip = 30
  571. }
  572. /** e_sex_def enum. */
  573. enum e_sex_def {
  574. sex_unknown = 0,
  575. sex_boy = 1,
  576. sex_girl = 2,
  577. sex_max = 3
  578. }
  579. /** ENotifyType enum. */
  580. enum ENotifyType {
  581. NotifyTypeSys = 200,
  582. NotifyTypePlayerSpeaker = 199,
  583. NotifyTypeWinningPrize = 198,
  584. NotifyTypeImportantConsume = 197,
  585. NotifyTypeRobot = 196
  586. }
  587. /** ENotifyShowPos enum. */
  588. enum ENotifyShowPos {
  589. pos_up = 0,
  590. pos_down = 1
  591. }
  592. /** BoxLotteryResult enum. */
  593. enum BoxLotteryResult {
  594. result_big_prize = 0,
  595. result_samll_prize = 1,
  596. result_thank_you = 2
  597. }
  598. /** RechargeType enum. */
  599. enum RechargeType {
  600. typeGold = 1,
  601. typeDiamond = 2,
  602. typeMonthCard = 3,
  603. typeNormalGift = 4,
  604. typeTurret = 5,
  605. typeLimitTimeGift = 6,
  606. typeTriggerGift = 7,
  607. typeDailyGift = 8,
  608. typeWeekCard = 9,
  609. typeVipLimitGift = 10,
  610. typeDailyTreasure = 11,
  611. typeUpToLevel = 20,
  612. typeNyGiftGoldChange = 21
  613. }
  614. }