client2center.d.ts 94 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551
  1. import * as $protobuf from "protobufjs";
  2. import Long = require("long");
  3. /** Namespace client2center_protocols. */
  4. export namespace client2center_protocols {
  5. /** e_server_msg_type enum. */
  6. enum e_server_msg_type {
  7. e_mst_start_c2center = 30000,
  8. e_mst_c2center_player_connect = 30001,
  9. e_mst_start_center2c = 35000,
  10. e_mst_center2c_player_connect_result = 35001,
  11. e_mst_centerend_index = 40000
  12. }
  13. /** Properties of a packetc2center_player_connect. */
  14. interface Ipacketc2center_player_connect {
  15. /** packetc2center_player_connect packetId */
  16. packetId?: (client2center_protocols.e_server_msg_type|null);
  17. /** packetc2center_player_connect connectInfo */
  18. connectInfo?: (common_protocol.IPlayerConnect|null);
  19. }
  20. /** Represents a packetc2center_player_connect. */
  21. class packetc2center_player_connect implements Ipacketc2center_player_connect {
  22. /**
  23. * Constructs a new packetc2center_player_connect.
  24. * @param [properties] Properties to set
  25. */
  26. constructor(properties?: client2center_protocols.Ipacketc2center_player_connect);
  27. /** packetc2center_player_connect packetId. */
  28. public packetId: client2center_protocols.e_server_msg_type;
  29. /** packetc2center_player_connect connectInfo. */
  30. public connectInfo?: (common_protocol.IPlayerConnect|null);
  31. /**
  32. * Creates a new packetc2center_player_connect instance using the specified properties.
  33. * @param [properties] Properties to set
  34. * @returns packetc2center_player_connect instance
  35. */
  36. public static create(properties?: client2center_protocols.Ipacketc2center_player_connect): client2center_protocols.packetc2center_player_connect;
  37. /**
  38. * Encodes the specified packetc2center_player_connect message. Does not implicitly {@link client2center_protocols.packetc2center_player_connect.verify|verify} messages.
  39. * @param message packetc2center_player_connect message or plain object to encode
  40. * @param [writer] Writer to encode to
  41. * @returns Writer
  42. */
  43. public static encode(message: client2center_protocols.Ipacketc2center_player_connect, writer?: $protobuf.Writer): $protobuf.Writer;
  44. /**
  45. * Encodes the specified packetc2center_player_connect message, length delimited. Does not implicitly {@link client2center_protocols.packetc2center_player_connect.verify|verify} messages.
  46. * @param message packetc2center_player_connect message or plain object to encode
  47. * @param [writer] Writer to encode to
  48. * @returns Writer
  49. */
  50. public static encodeDelimited(message: client2center_protocols.Ipacketc2center_player_connect, writer?: $protobuf.Writer): $protobuf.Writer;
  51. /**
  52. * Decodes a packetc2center_player_connect message from the specified reader or buffer.
  53. * @param reader Reader or buffer to decode from
  54. * @param [length] Message length if known beforehand
  55. * @returns packetc2center_player_connect
  56. * @throws {Error} If the payload is not a reader or valid buffer
  57. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  58. */
  59. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): client2center_protocols.packetc2center_player_connect;
  60. /**
  61. * Decodes a packetc2center_player_connect message from the specified reader or buffer, length delimited.
  62. * @param reader Reader or buffer to decode from
  63. * @returns packetc2center_player_connect
  64. * @throws {Error} If the payload is not a reader or valid buffer
  65. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  66. */
  67. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): client2center_protocols.packetc2center_player_connect;
  68. /**
  69. * Verifies a packetc2center_player_connect message.
  70. * @param message Plain object to verify
  71. * @returns `null` if valid, otherwise the reason why it is not
  72. */
  73. public static verify(message: { [k: string]: any }): (string|null);
  74. /**
  75. * Creates a packetc2center_player_connect message from a plain object. Also converts values to their respective internal types.
  76. * @param object Plain object
  77. * @returns packetc2center_player_connect
  78. */
  79. public static fromObject(object: { [k: string]: any }): client2center_protocols.packetc2center_player_connect;
  80. /**
  81. * Creates a plain object from a packetc2center_player_connect message. Also converts values to other types if specified.
  82. * @param message packetc2center_player_connect
  83. * @param [options] Conversion options
  84. * @returns Plain object
  85. */
  86. public static toObject(message: client2center_protocols.packetc2center_player_connect, options?: $protobuf.IConversionOptions): { [k: string]: any };
  87. /**
  88. * Converts this packetc2center_player_connect to JSON.
  89. * @returns JSON object
  90. */
  91. public toJSON(): { [k: string]: any };
  92. /**
  93. * Gets the default type url for packetc2center_player_connect
  94. * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
  95. * @returns The default type url
  96. */
  97. public static getTypeUrl(typeUrlPrefix?: string): string;
  98. }
  99. /** Properties of a packetcenter2c_player_connect_result. */
  100. interface Ipacketcenter2c_player_connect_result {
  101. /** packetcenter2c_player_connect_result packetId */
  102. packetId?: (client2center_protocols.e_server_msg_type|null);
  103. /** packetcenter2c_player_connect_result resultInfo */
  104. resultInfo?: (common_protocol.IPlayerConnectResult|null);
  105. }
  106. /** Represents a packetcenter2c_player_connect_result. */
  107. class packetcenter2c_player_connect_result implements Ipacketcenter2c_player_connect_result {
  108. /**
  109. * Constructs a new packetcenter2c_player_connect_result.
  110. * @param [properties] Properties to set
  111. */
  112. constructor(properties?: client2center_protocols.Ipacketcenter2c_player_connect_result);
  113. /** packetcenter2c_player_connect_result packetId. */
  114. public packetId: client2center_protocols.e_server_msg_type;
  115. /** packetcenter2c_player_connect_result resultInfo. */
  116. public resultInfo?: (common_protocol.IPlayerConnectResult|null);
  117. /**
  118. * Creates a new packetcenter2c_player_connect_result instance using the specified properties.
  119. * @param [properties] Properties to set
  120. * @returns packetcenter2c_player_connect_result instance
  121. */
  122. public static create(properties?: client2center_protocols.Ipacketcenter2c_player_connect_result): client2center_protocols.packetcenter2c_player_connect_result;
  123. /**
  124. * Encodes the specified packetcenter2c_player_connect_result message. Does not implicitly {@link client2center_protocols.packetcenter2c_player_connect_result.verify|verify} messages.
  125. * @param message packetcenter2c_player_connect_result message or plain object to encode
  126. * @param [writer] Writer to encode to
  127. * @returns Writer
  128. */
  129. public static encode(message: client2center_protocols.Ipacketcenter2c_player_connect_result, writer?: $protobuf.Writer): $protobuf.Writer;
  130. /**
  131. * Encodes the specified packetcenter2c_player_connect_result message, length delimited. Does not implicitly {@link client2center_protocols.packetcenter2c_player_connect_result.verify|verify} messages.
  132. * @param message packetcenter2c_player_connect_result message or plain object to encode
  133. * @param [writer] Writer to encode to
  134. * @returns Writer
  135. */
  136. public static encodeDelimited(message: client2center_protocols.Ipacketcenter2c_player_connect_result, writer?: $protobuf.Writer): $protobuf.Writer;
  137. /**
  138. * Decodes a packetcenter2c_player_connect_result message from the specified reader or buffer.
  139. * @param reader Reader or buffer to decode from
  140. * @param [length] Message length if known beforehand
  141. * @returns packetcenter2c_player_connect_result
  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 decode(reader: ($protobuf.Reader|Uint8Array), length?: number): client2center_protocols.packetcenter2c_player_connect_result;
  146. /**
  147. * Decodes a packetcenter2c_player_connect_result message from the specified reader or buffer, length delimited.
  148. * @param reader Reader or buffer to decode from
  149. * @returns packetcenter2c_player_connect_result
  150. * @throws {Error} If the payload is not a reader or valid buffer
  151. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  152. */
  153. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): client2center_protocols.packetcenter2c_player_connect_result;
  154. /**
  155. * Verifies a packetcenter2c_player_connect_result message.
  156. * @param message Plain object to verify
  157. * @returns `null` if valid, otherwise the reason why it is not
  158. */
  159. public static verify(message: { [k: string]: any }): (string|null);
  160. /**
  161. * Creates a packetcenter2c_player_connect_result message from a plain object. Also converts values to their respective internal types.
  162. * @param object Plain object
  163. * @returns packetcenter2c_player_connect_result
  164. */
  165. public static fromObject(object: { [k: string]: any }): client2center_protocols.packetcenter2c_player_connect_result;
  166. /**
  167. * Creates a plain object from a packetcenter2c_player_connect_result message. Also converts values to other types if specified.
  168. * @param message packetcenter2c_player_connect_result
  169. * @param [options] Conversion options
  170. * @returns Plain object
  171. */
  172. public static toObject(message: client2center_protocols.packetcenter2c_player_connect_result, options?: $protobuf.IConversionOptions): { [k: string]: any };
  173. /**
  174. * Converts this packetcenter2c_player_connect_result to JSON.
  175. * @returns JSON object
  176. */
  177. public toJSON(): { [k: string]: any };
  178. /**
  179. * Gets the default type url for packetcenter2c_player_connect_result
  180. * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
  181. * @returns The default type url
  182. */
  183. public static getTypeUrl(typeUrlPrefix?: string): string;
  184. }
  185. }
  186. /** Namespace msg_type_def. */
  187. export namespace msg_type_def {
  188. /** e_msg_result_def enum. */
  189. enum e_msg_result_def {
  190. e_rmt_unknow = 0,
  191. e_rmt_success = 1,
  192. e_rmt_fail = 2,
  193. e_rmt_change_gate = 3,
  194. e_rmt_connect_full = 4,
  195. e_rmt_player_max = 5,
  196. e_rmt_has_dial_lottery = 6,
  197. e_rmt_error_nickname = 7,
  198. e_rmt_same_nickname = 8,
  199. e_rmt_length_beyond_range = 9,
  200. e_rmt_gold_not_enough = 10,
  201. e_rmt_ticket_not_enough = 11,
  202. e_rmt_room_full = 12,
  203. e_rmt_vip_under = 13,
  204. e_rmt_player_level_under = 14,
  205. e_rmt_turret_level_under = 15,
  206. e_rmt_friend_full = 16,
  207. e_rmt_exists_friend = 17,
  208. e_rmt_player_not_exists = 18,
  209. e_rmt_runout_count = 19,
  210. e_rmt_time_not_arrive = 20,
  211. e_rmt_bet_index_error = 21,
  212. e_rmt_outof_bet_limit = 22,
  213. e_rmt_no_find_table = 23,
  214. e_rmt_pwd_not_same = 24,
  215. e_rmt_format_invalid = 25,
  216. e_rmt_need_set_pwd = 26,
  217. e_rmt_pwd_error = 27,
  218. e_rmt_not_find_item = 28,
  219. e_rmt_friend_offline = 29,
  220. e_rmt_not_in_game = 30,
  221. e_rmt_cant_buyitem = 31,
  222. e_rmt_cannot_add_self = 32,
  223. e_rmt_chat_too_often = 33,
  224. e_rmt_exp_not_enough = 34,
  225. e_rmt_level_max = 35,
  226. e_rmt_cannot_collect = 36,
  227. e_rmt_has_bind_phone = 37,
  228. e_rmt_code_error = 38,
  229. e_rmt_beyond_limit = 39,
  230. e_rmt_not_bind_phone = 40,
  231. e_rmt_cannot_sendto_self = 41,
  232. e_rmt_room_notopen = 42,
  233. e_rmt_bet_full = 43,
  234. e_rmt_game_begun = 44,
  235. e_rmt_banker_not_bet = 45,
  236. e_rmt_banker_is_full = 46,
  237. e_rmt_can_not_leave = 47,
  238. e_rmt_has_receive_reward = 48,
  239. e_rmt_not_recharge = 49,
  240. e_rmt_custom_head_freezing = 50,
  241. e_rmt_now_banker_first = 51,
  242. e_rmt_has_in_banker_list = 52,
  243. e_rmt_now_is_banker = 53,
  244. e_rmt_is_not_banker = 54,
  245. e_rmt_haven_apply_leave = 55,
  246. e_rmt_banker_not_enough = 56,
  247. e_rmt_banker_betgold_is_full = 57,
  248. e_rmt_other_betgold_is_full = 58,
  249. e_rmt_error_game_state = 59,
  250. e_rmt_box_not_exist = 60,
  251. e_rmt_box_has_opened = 61,
  252. e_rmt_thank_you_not_enough = 62,
  253. e_rmt_now_is_you = 63,
  254. e_rmt_banker_protect = 64,
  255. e_rmt_snatch_is_you = 65,
  256. e_rmt_snatch_is_low = 66,
  257. e_rmt_last_speaker_not_finish = 67,
  258. e_rmt_speaker_beyond_max_count = 68,
  259. e_rmt_roping_over = 69,
  260. e_rmt_activity_outofdate = 70,
  261. e_rmt_activity_not_satisfy_cond = 71,
  262. e_rmt_time_over = 72,
  263. e_rmt_not_follow = 73,
  264. e_rmt_not_follow_roping = 74,
  265. e_rmt_chip_not_enough = 75,
  266. e_rmt_month_card_out_date = 76,
  267. e_rmt_not_follow_prize_claw = 77,
  268. e_rmt_box_lottery_has_finish = 78,
  269. e_rmt_is_game_item = 79,
  270. e_rmt_dragon_ball_not_enough = 80,
  271. e_rmt_entrance_ticket_not_enough = 81,
  272. e_rmt_match_not_start = 82,
  273. e_rmt_match_will_end = 83,
  274. e_rmt_boss_cant_use_item = 84,
  275. e_rmt_lucky_not_enough = 85,
  276. e_rmt_item_not_enough = 86,
  277. e_rmt_uptype_error = 87,
  278. e_rmt_uplevel_fail = 88,
  279. e_rmt_not_open_function = 89,
  280. e_rmt_finish = 90,
  281. e_rmt_not_in_lobby = 91,
  282. e_rmt_not_find_cdkey = 92,
  283. e_rmt_has_used_cdkey = 93,
  284. e_rmt_cdkey_outofdate = 94,
  285. e_rmt_cdkey_error_overmuch = 95,
  286. e_rmt_has_received_cdkey_rewrad = 96,
  287. e_rmt_payment_only_once = 97,
  288. e_rmt_win_beyond_limit = 98,
  289. e_rmt_lose_beyond_limit = 99,
  290. e_rmt_player_betgold_limit = 100,
  291. e_rmt_rate_limit = 101,
  292. e_rmt_not_new_player = 102,
  293. e_rmt_not_friend = 103,
  294. e_rmt_abandon_qianggou = 104,
  295. e_rmt_hold_qianggou = 105,
  296. e_rmt_not_hold_qianggou = 106,
  297. e_rmt_signup_beyond_maxcount = 107,
  298. e_rmt_not_find_game_server = 108,
  299. e_rmt_game_version_error = 109,
  300. e_rmt_cding = 110,
  301. e_rmt_using = 111,
  302. e_rmt_item_can_not_usetime = 112,
  303. e_rmt_use_item_viproom = 113,
  304. e_rmt_dbchip_not_enough = 114,
  305. e_rmt_not_find_bwroom = 115,
  306. e_rmt_item_uselimit = 116,
  307. e_rmt_resign_count_limit = 117,
  308. e_rmt_diamond_not_enough = 118,
  309. e_rmt_no_buff = 119,
  310. e_rmt_can_not_find_fish = 120,
  311. e_rmt_not_signed = 121,
  312. e_rmt_not_completed = 122,
  313. e_rmt_energy_not_enought = 123,
  314. e_rmt_jackpot_not_enought = 124,
  315. e_rmt_has_bind_id_card = 125,
  316. e_rmt_number_error = 126,
  317. e_rmt_blue_level_under = 127,
  318. e_rmt_not_blue_lux = 128,
  319. e_rmt_not_blue_player = 129,
  320. e_rmt_not_blue_year = 130,
  321. e_rmt_daily_exchange_limit = 131,
  322. e_rmt_has_signed = 132
  323. }
  324. /** e_item_type_def enum. */
  325. enum e_item_type_def {
  326. e_itd_gold = 1,
  327. e_itd_diamond = 2,
  328. e_itd_ticket = 3,
  329. e_itd_count_acc = 4,
  330. e_itd_iconcustom = 5,
  331. e_itd_photoframe = 6,
  332. e_itd_auto_fire = 7,
  333. e_itd_vip = 8,
  334. e_itd_exchange = 9,
  335. e_itd_nickname = 10,
  336. e_itd_fish_item = 11,
  337. e_itd_materialstone = 12,
  338. e_itd_call = 13,
  339. e_itd_monthcard = 14,
  340. e_itd_active = 15,
  341. e_itd_turret = 16,
  342. e_itd_torpedo = 17,
  343. e_itd_dimensity = 18,
  344. e_itd_contribution = 19,
  345. e_itd_chip = 20,
  346. e_itd_material = 21,
  347. e_itd_time_acc = 22,
  348. e_itd_recharge = 23,
  349. e_itd_dimensity_discount = 24,
  350. e_itd_lottery_ticket = 25,
  351. e_itd_weekcard = 26,
  352. e_itd_half_price_violent = 27,
  353. e_itd_exchange_stone = 28,
  354. e_itd_turret_level = 29,
  355. e_itd_turret_chip = 30,
  356. e_itd_turret_gift = 31,
  357. e_itd_gift = 32,
  358. e_itd_dragon_ball_chip = 33,
  359. e_itd_give_bead = 34,
  360. e_itd_sex = 35,
  361. e_itd_createtime = 37,
  362. e_itd_used_bead = 38,
  363. e_itd_is_new_addplayer = 39,
  364. e_itd_channel = 40,
  365. e_itd_deviceid = 41,
  366. e_itd_player_level = 42,
  367. e_itd_blue_vip = 43,
  368. e_itd_gold_monthcard = 44,
  369. e_itd_diamond_monthcard = 45,
  370. e_itd_medium_grade_room = 50,
  371. e_itd_high_grade_room = 51,
  372. e_itd_crocodile_score = 52,
  373. e_itd_color_egg = 53,
  374. e_itd_torpedo_gift = 54,
  375. e_itd_activity_item = 55,
  376. e_itd_monkey_score = 56,
  377. e_itd_tomorrow_buff = 57,
  378. e_itd_energy = 58,
  379. e_itd_vip_exp = 60,
  380. e_itd_player_exp = 61,
  381. e_itd_goldingot = 62,
  382. e_itd_tombola = 63,
  383. e_itd_wing = 64,
  384. e_itd_buff = 100,
  385. e_itd_phone_card = 101,
  386. e_itd_jd_card = 102,
  387. e_itd_legendary_fish_gold = 104,
  388. e_itd_vip_point = 105,
  389. e_itd_red_packet = 106,
  390. e_itd_JD_chip = 107,
  391. e_itd_dragonball = 108,
  392. e_itd_glorycrystal = 109,
  393. e_itd_base_turret = 515,
  394. e_itd_trigger_event = 666
  395. }
  396. /** e_turret_def enum. */
  397. enum e_turret_def {
  398. e_turret_base = 1
  399. }
  400. /** e_item_id_def enum. */
  401. enum e_item_id_def {
  402. e_it_gold = 1,
  403. e_it_diamond = 2,
  404. e_it_ticket = 3,
  405. e_it_dimensity = 28,
  406. e_it_chip = 30
  407. }
  408. /** e_sex_def enum. */
  409. enum e_sex_def {
  410. sex_unknown = 0,
  411. sex_boy = 1,
  412. sex_girl = 2,
  413. sex_max = 3
  414. }
  415. /** ENotifyType enum. */
  416. enum ENotifyType {
  417. NotifyTypeSys = 200,
  418. NotifyTypePlayerSpeaker = 199,
  419. NotifyTypeWinningPrize = 198,
  420. NotifyTypeImportantConsume = 197,
  421. NotifyTypeRobot = 196
  422. }
  423. /** ENotifyShowPos enum. */
  424. enum ENotifyShowPos {
  425. pos_up = 0,
  426. pos_down = 1
  427. }
  428. /** BoxLotteryResult enum. */
  429. enum BoxLotteryResult {
  430. result_big_prize = 0,
  431. result_samll_prize = 1,
  432. result_thank_you = 2
  433. }
  434. /** RechargeType enum. */
  435. enum RechargeType {
  436. typeGold = 1,
  437. typeDiamond = 2,
  438. typeMonthCard = 3,
  439. typeNormalGift = 4,
  440. typeTurret = 5,
  441. typeLimitTimeGift = 6,
  442. typeTriggerGift = 7,
  443. typeDailyGift = 8,
  444. typeWeekCard = 9,
  445. typeVipLimitGift = 10,
  446. typeDailyTreasure = 11,
  447. typeUpToLevel = 20,
  448. typeNyGiftGoldChange = 21
  449. }
  450. }
  451. /** Namespace msg_info_def. */
  452. export namespace msg_info_def {
  453. /** Properties of a msg_gift. */
  454. interface Imsg_gift {
  455. /** msg_gift giftId */
  456. giftId?: (number|null);
  457. /** msg_gift count */
  458. count?: (number|null);
  459. }
  460. /** Represents a msg_gift. */
  461. class msg_gift implements Imsg_gift {
  462. /**
  463. * Constructs a new msg_gift.
  464. * @param [properties] Properties to set
  465. */
  466. constructor(properties?: msg_info_def.Imsg_gift);
  467. /** msg_gift giftId. */
  468. public giftId: number;
  469. /** msg_gift count. */
  470. public count: number;
  471. /**
  472. * Creates a new msg_gift instance using the specified properties.
  473. * @param [properties] Properties to set
  474. * @returns msg_gift instance
  475. */
  476. public static create(properties?: msg_info_def.Imsg_gift): msg_info_def.msg_gift;
  477. /**
  478. * Encodes the specified msg_gift message. Does not implicitly {@link msg_info_def.msg_gift.verify|verify} messages.
  479. * @param message msg_gift message or plain object to encode
  480. * @param [writer] Writer to encode to
  481. * @returns Writer
  482. */
  483. public static encode(message: msg_info_def.Imsg_gift, writer?: $protobuf.Writer): $protobuf.Writer;
  484. /**
  485. * Encodes the specified msg_gift message, length delimited. Does not implicitly {@link msg_info_def.msg_gift.verify|verify} messages.
  486. * @param message msg_gift message or plain object to encode
  487. * @param [writer] Writer to encode to
  488. * @returns Writer
  489. */
  490. public static encodeDelimited(message: msg_info_def.Imsg_gift, writer?: $protobuf.Writer): $protobuf.Writer;
  491. /**
  492. * Decodes a msg_gift message from the specified reader or buffer.
  493. * @param reader Reader or buffer to decode from
  494. * @param [length] Message length if known beforehand
  495. * @returns msg_gift
  496. * @throws {Error} If the payload is not a reader or valid buffer
  497. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  498. */
  499. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): msg_info_def.msg_gift;
  500. /**
  501. * Decodes a msg_gift message from the specified reader or buffer, length delimited.
  502. * @param reader Reader or buffer to decode from
  503. * @returns msg_gift
  504. * @throws {Error} If the payload is not a reader or valid buffer
  505. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  506. */
  507. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): msg_info_def.msg_gift;
  508. /**
  509. * Verifies a msg_gift message.
  510. * @param message Plain object to verify
  511. * @returns `null` if valid, otherwise the reason why it is not
  512. */
  513. public static verify(message: { [k: string]: any }): (string|null);
  514. /**
  515. * Creates a msg_gift message from a plain object. Also converts values to their respective internal types.
  516. * @param object Plain object
  517. * @returns msg_gift
  518. */
  519. public static fromObject(object: { [k: string]: any }): msg_info_def.msg_gift;
  520. /**
  521. * Creates a plain object from a msg_gift message. Also converts values to other types if specified.
  522. * @param message msg_gift
  523. * @param [options] Conversion options
  524. * @returns Plain object
  525. */
  526. public static toObject(message: msg_info_def.msg_gift, options?: $protobuf.IConversionOptions): { [k: string]: any };
  527. /**
  528. * Converts this msg_gift to JSON.
  529. * @returns JSON object
  530. */
  531. public toJSON(): { [k: string]: any };
  532. /**
  533. * Gets the default type url for msg_gift
  534. * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
  535. * @returns The default type url
  536. */
  537. public static getTypeUrl(typeUrlPrefix?: string): string;
  538. }
  539. /** Properties of an ActivityItemInfo. */
  540. interface IActivityItemInfo {
  541. /** ActivityItemInfo activityId */
  542. activityId?: (number|null);
  543. /** ActivityItemInfo itemId */
  544. itemId?: (number|null);
  545. /** ActivityItemInfo count */
  546. count?: (number|null);
  547. }
  548. /** Represents an ActivityItemInfo. */
  549. class ActivityItemInfo implements IActivityItemInfo {
  550. /**
  551. * Constructs a new ActivityItemInfo.
  552. * @param [properties] Properties to set
  553. */
  554. constructor(properties?: msg_info_def.IActivityItemInfo);
  555. /** ActivityItemInfo activityId. */
  556. public activityId: number;
  557. /** ActivityItemInfo itemId. */
  558. public itemId: number;
  559. /** ActivityItemInfo count. */
  560. public count: number;
  561. /**
  562. * Creates a new ActivityItemInfo instance using the specified properties.
  563. * @param [properties] Properties to set
  564. * @returns ActivityItemInfo instance
  565. */
  566. public static create(properties?: msg_info_def.IActivityItemInfo): msg_info_def.ActivityItemInfo;
  567. /**
  568. * Encodes the specified ActivityItemInfo message. Does not implicitly {@link msg_info_def.ActivityItemInfo.verify|verify} messages.
  569. * @param message ActivityItemInfo message or plain object to encode
  570. * @param [writer] Writer to encode to
  571. * @returns Writer
  572. */
  573. public static encode(message: msg_info_def.IActivityItemInfo, writer?: $protobuf.Writer): $protobuf.Writer;
  574. /**
  575. * Encodes the specified ActivityItemInfo message, length delimited. Does not implicitly {@link msg_info_def.ActivityItemInfo.verify|verify} messages.
  576. * @param message ActivityItemInfo message or plain object to encode
  577. * @param [writer] Writer to encode to
  578. * @returns Writer
  579. */
  580. public static encodeDelimited(message: msg_info_def.IActivityItemInfo, writer?: $protobuf.Writer): $protobuf.Writer;
  581. /**
  582. * Decodes an ActivityItemInfo message from the specified reader or buffer.
  583. * @param reader Reader or buffer to decode from
  584. * @param [length] Message length if known beforehand
  585. * @returns ActivityItemInfo
  586. * @throws {Error} If the payload is not a reader or valid buffer
  587. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  588. */
  589. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): msg_info_def.ActivityItemInfo;
  590. /**
  591. * Decodes an ActivityItemInfo message from the specified reader or buffer, length delimited.
  592. * @param reader Reader or buffer to decode from
  593. * @returns ActivityItemInfo
  594. * @throws {Error} If the payload is not a reader or valid buffer
  595. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  596. */
  597. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): msg_info_def.ActivityItemInfo;
  598. /**
  599. * Verifies an ActivityItemInfo message.
  600. * @param message Plain object to verify
  601. * @returns `null` if valid, otherwise the reason why it is not
  602. */
  603. public static verify(message: { [k: string]: any }): (string|null);
  604. /**
  605. * Creates an ActivityItemInfo message from a plain object. Also converts values to their respective internal types.
  606. * @param object Plain object
  607. * @returns ActivityItemInfo
  608. */
  609. public static fromObject(object: { [k: string]: any }): msg_info_def.ActivityItemInfo;
  610. /**
  611. * Creates a plain object from an ActivityItemInfo message. Also converts values to other types if specified.
  612. * @param message ActivityItemInfo
  613. * @param [options] Conversion options
  614. * @returns Plain object
  615. */
  616. public static toObject(message: msg_info_def.ActivityItemInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
  617. /**
  618. * Converts this ActivityItemInfo to JSON.
  619. * @returns JSON object
  620. */
  621. public toJSON(): { [k: string]: any };
  622. /**
  623. * Gets the default type url for ActivityItemInfo
  624. * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
  625. * @returns The default type url
  626. */
  627. public static getTypeUrl(typeUrlPrefix?: string): string;
  628. }
  629. /** Properties of an ItemInfo. */
  630. interface IItemInfo {
  631. /** ItemInfo itemId */
  632. itemId?: (number|null);
  633. /** ItemInfo count */
  634. count?: (number|null);
  635. }
  636. /** Represents an ItemInfo. */
  637. class ItemInfo implements IItemInfo {
  638. /**
  639. * Constructs a new ItemInfo.
  640. * @param [properties] Properties to set
  641. */
  642. constructor(properties?: msg_info_def.IItemInfo);
  643. /** ItemInfo itemId. */
  644. public itemId: number;
  645. /** ItemInfo count. */
  646. public count: number;
  647. /**
  648. * Creates a new ItemInfo instance using the specified properties.
  649. * @param [properties] Properties to set
  650. * @returns ItemInfo instance
  651. */
  652. public static create(properties?: msg_info_def.IItemInfo): msg_info_def.ItemInfo;
  653. /**
  654. * Encodes the specified ItemInfo message. Does not implicitly {@link msg_info_def.ItemInfo.verify|verify} messages.
  655. * @param message ItemInfo message or plain object to encode
  656. * @param [writer] Writer to encode to
  657. * @returns Writer
  658. */
  659. public static encode(message: msg_info_def.IItemInfo, writer?: $protobuf.Writer): $protobuf.Writer;
  660. /**
  661. * Encodes the specified ItemInfo message, length delimited. Does not implicitly {@link msg_info_def.ItemInfo.verify|verify} messages.
  662. * @param message ItemInfo message or plain object to encode
  663. * @param [writer] Writer to encode to
  664. * @returns Writer
  665. */
  666. public static encodeDelimited(message: msg_info_def.IItemInfo, writer?: $protobuf.Writer): $protobuf.Writer;
  667. /**
  668. * Decodes an ItemInfo message from the specified reader or buffer.
  669. * @param reader Reader or buffer to decode from
  670. * @param [length] Message length if known beforehand
  671. * @returns ItemInfo
  672. * @throws {Error} If the payload is not a reader or valid buffer
  673. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  674. */
  675. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): msg_info_def.ItemInfo;
  676. /**
  677. * Decodes an ItemInfo message from the specified reader or buffer, length delimited.
  678. * @param reader Reader or buffer to decode from
  679. * @returns ItemInfo
  680. * @throws {Error} If the payload is not a reader or valid buffer
  681. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  682. */
  683. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): msg_info_def.ItemInfo;
  684. /**
  685. * Verifies an ItemInfo message.
  686. * @param message Plain object to verify
  687. * @returns `null` if valid, otherwise the reason why it is not
  688. */
  689. public static verify(message: { [k: string]: any }): (string|null);
  690. /**
  691. * Creates an ItemInfo message from a plain object. Also converts values to their respective internal types.
  692. * @param object Plain object
  693. * @returns ItemInfo
  694. */
  695. public static fromObject(object: { [k: string]: any }): msg_info_def.ItemInfo;
  696. /**
  697. * Creates a plain object from an ItemInfo message. Also converts values to other types if specified.
  698. * @param message ItemInfo
  699. * @param [options] Conversion options
  700. * @returns Plain object
  701. */
  702. public static toObject(message: msg_info_def.ItemInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
  703. /**
  704. * Converts this ItemInfo to JSON.
  705. * @returns JSON object
  706. */
  707. public toJSON(): { [k: string]: any };
  708. /**
  709. * Gets the default type url for ItemInfo
  710. * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
  711. * @returns The default type url
  712. */
  713. public static getTypeUrl(typeUrlPrefix?: string): string;
  714. }
  715. /** Properties of a msg_quest_info. */
  716. interface Imsg_quest_info {
  717. /** msg_quest_info questid */
  718. questid?: (number|null);
  719. /** msg_quest_info count */
  720. count?: (number|null);
  721. /** msg_quest_info received */
  722. received?: (number|null);
  723. /** msg_quest_info combinationQuests */
  724. combinationQuests?: (number[]|null);
  725. /** msg_quest_info endTime */
  726. endTime?: (number|null);
  727. /** msg_quest_info param */
  728. param?: (number|null);
  729. }
  730. /** Represents a msg_quest_info. */
  731. class msg_quest_info implements Imsg_quest_info {
  732. /**
  733. * Constructs a new msg_quest_info.
  734. * @param [properties] Properties to set
  735. */
  736. constructor(properties?: msg_info_def.Imsg_quest_info);
  737. /** msg_quest_info questid. */
  738. public questid: number;
  739. /** msg_quest_info count. */
  740. public count: number;
  741. /** msg_quest_info received. */
  742. public received: number;
  743. /** msg_quest_info combinationQuests. */
  744. public combinationQuests: number[];
  745. /** msg_quest_info endTime. */
  746. public endTime: number;
  747. /** msg_quest_info param. */
  748. public param: number;
  749. /**
  750. * Creates a new msg_quest_info instance using the specified properties.
  751. * @param [properties] Properties to set
  752. * @returns msg_quest_info instance
  753. */
  754. public static create(properties?: msg_info_def.Imsg_quest_info): msg_info_def.msg_quest_info;
  755. /**
  756. * Encodes the specified msg_quest_info message. Does not implicitly {@link msg_info_def.msg_quest_info.verify|verify} messages.
  757. * @param message msg_quest_info message or plain object to encode
  758. * @param [writer] Writer to encode to
  759. * @returns Writer
  760. */
  761. public static encode(message: msg_info_def.Imsg_quest_info, writer?: $protobuf.Writer): $protobuf.Writer;
  762. /**
  763. * Encodes the specified msg_quest_info message, length delimited. Does not implicitly {@link msg_info_def.msg_quest_info.verify|verify} messages.
  764. * @param message msg_quest_info message or plain object to encode
  765. * @param [writer] Writer to encode to
  766. * @returns Writer
  767. */
  768. public static encodeDelimited(message: msg_info_def.Imsg_quest_info, writer?: $protobuf.Writer): $protobuf.Writer;
  769. /**
  770. * Decodes a msg_quest_info message from the specified reader or buffer.
  771. * @param reader Reader or buffer to decode from
  772. * @param [length] Message length if known beforehand
  773. * @returns msg_quest_info
  774. * @throws {Error} If the payload is not a reader or valid buffer
  775. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  776. */
  777. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): msg_info_def.msg_quest_info;
  778. /**
  779. * Decodes a msg_quest_info message from the specified reader or buffer, length delimited.
  780. * @param reader Reader or buffer to decode from
  781. * @returns msg_quest_info
  782. * @throws {Error} If the payload is not a reader or valid buffer
  783. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  784. */
  785. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): msg_info_def.msg_quest_info;
  786. /**
  787. * Verifies a msg_quest_info message.
  788. * @param message Plain object to verify
  789. * @returns `null` if valid, otherwise the reason why it is not
  790. */
  791. public static verify(message: { [k: string]: any }): (string|null);
  792. /**
  793. * Creates a msg_quest_info message from a plain object. Also converts values to their respective internal types.
  794. * @param object Plain object
  795. * @returns msg_quest_info
  796. */
  797. public static fromObject(object: { [k: string]: any }): msg_info_def.msg_quest_info;
  798. /**
  799. * Creates a plain object from a msg_quest_info message. Also converts values to other types if specified.
  800. * @param message msg_quest_info
  801. * @param [options] Conversion options
  802. * @returns Plain object
  803. */
  804. public static toObject(message: msg_info_def.msg_quest_info, options?: $protobuf.IConversionOptions): { [k: string]: any };
  805. /**
  806. * Converts this msg_quest_info to JSON.
  807. * @returns JSON object
  808. */
  809. public toJSON(): { [k: string]: any };
  810. /**
  811. * Gets the default type url for msg_quest_info
  812. * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
  813. * @returns The default type url
  814. */
  815. public static getTypeUrl(typeUrlPrefix?: string): string;
  816. }
  817. /** Properties of a ServiceInfo. */
  818. interface IServiceInfo {
  819. /** ServiceInfo infoType */
  820. infoType?: (number|null);
  821. /** ServiceInfo key */
  822. key?: (string|null);
  823. /** ServiceInfo value */
  824. value?: (string|null);
  825. }
  826. /** Represents a ServiceInfo. */
  827. class ServiceInfo implements IServiceInfo {
  828. /**
  829. * Constructs a new ServiceInfo.
  830. * @param [properties] Properties to set
  831. */
  832. constructor(properties?: msg_info_def.IServiceInfo);
  833. /** ServiceInfo infoType. */
  834. public infoType: number;
  835. /** ServiceInfo key. */
  836. public key: string;
  837. /** ServiceInfo value. */
  838. public value: string;
  839. /**
  840. * Creates a new ServiceInfo instance using the specified properties.
  841. * @param [properties] Properties to set
  842. * @returns ServiceInfo instance
  843. */
  844. public static create(properties?: msg_info_def.IServiceInfo): msg_info_def.ServiceInfo;
  845. /**
  846. * Encodes the specified ServiceInfo message. Does not implicitly {@link msg_info_def.ServiceInfo.verify|verify} messages.
  847. * @param message ServiceInfo message or plain object to encode
  848. * @param [writer] Writer to encode to
  849. * @returns Writer
  850. */
  851. public static encode(message: msg_info_def.IServiceInfo, writer?: $protobuf.Writer): $protobuf.Writer;
  852. /**
  853. * Encodes the specified ServiceInfo message, length delimited. Does not implicitly {@link msg_info_def.ServiceInfo.verify|verify} messages.
  854. * @param message ServiceInfo message or plain object to encode
  855. * @param [writer] Writer to encode to
  856. * @returns Writer
  857. */
  858. public static encodeDelimited(message: msg_info_def.IServiceInfo, writer?: $protobuf.Writer): $protobuf.Writer;
  859. /**
  860. * Decodes a ServiceInfo message from the specified reader or buffer.
  861. * @param reader Reader or buffer to decode from
  862. * @param [length] Message length if known beforehand
  863. * @returns ServiceInfo
  864. * @throws {Error} If the payload is not a reader or valid buffer
  865. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  866. */
  867. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): msg_info_def.ServiceInfo;
  868. /**
  869. * Decodes a ServiceInfo message from the specified reader or buffer, length delimited.
  870. * @param reader Reader or buffer to decode from
  871. * @returns ServiceInfo
  872. * @throws {Error} If the payload is not a reader or valid buffer
  873. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  874. */
  875. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): msg_info_def.ServiceInfo;
  876. /**
  877. * Verifies a ServiceInfo message.
  878. * @param message Plain object to verify
  879. * @returns `null` if valid, otherwise the reason why it is not
  880. */
  881. public static verify(message: { [k: string]: any }): (string|null);
  882. /**
  883. * Creates a ServiceInfo message from a plain object. Also converts values to their respective internal types.
  884. * @param object Plain object
  885. * @returns ServiceInfo
  886. */
  887. public static fromObject(object: { [k: string]: any }): msg_info_def.ServiceInfo;
  888. /**
  889. * Creates a plain object from a ServiceInfo message. Also converts values to other types if specified.
  890. * @param message ServiceInfo
  891. * @param [options] Conversion options
  892. * @returns Plain object
  893. */
  894. public static toObject(message: msg_info_def.ServiceInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
  895. /**
  896. * Converts this ServiceInfo to JSON.
  897. * @returns JSON object
  898. */
  899. public toJSON(): { [k: string]: any };
  900. /**
  901. * Gets the default type url for ServiceInfo
  902. * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
  903. * @returns The default type url
  904. */
  905. public static getTypeUrl(typeUrlPrefix?: string): string;
  906. }
  907. /** Properties of a BoxInfo. */
  908. interface IBoxInfo {
  909. /** BoxInfo isOpen */
  910. isOpen?: (boolean|null);
  911. /** BoxInfo containGold */
  912. containGold?: (number|null);
  913. }
  914. /** Represents a BoxInfo. */
  915. class BoxInfo implements IBoxInfo {
  916. /**
  917. * Constructs a new BoxInfo.
  918. * @param [properties] Properties to set
  919. */
  920. constructor(properties?: msg_info_def.IBoxInfo);
  921. /** BoxInfo isOpen. */
  922. public isOpen: boolean;
  923. /** BoxInfo containGold. */
  924. public containGold: number;
  925. /**
  926. * Creates a new BoxInfo instance using the specified properties.
  927. * @param [properties] Properties to set
  928. * @returns BoxInfo instance
  929. */
  930. public static create(properties?: msg_info_def.IBoxInfo): msg_info_def.BoxInfo;
  931. /**
  932. * Encodes the specified BoxInfo message. Does not implicitly {@link msg_info_def.BoxInfo.verify|verify} messages.
  933. * @param message BoxInfo message or plain object to encode
  934. * @param [writer] Writer to encode to
  935. * @returns Writer
  936. */
  937. public static encode(message: msg_info_def.IBoxInfo, writer?: $protobuf.Writer): $protobuf.Writer;
  938. /**
  939. * Encodes the specified BoxInfo message, length delimited. Does not implicitly {@link msg_info_def.BoxInfo.verify|verify} messages.
  940. * @param message BoxInfo message or plain object to encode
  941. * @param [writer] Writer to encode to
  942. * @returns Writer
  943. */
  944. public static encodeDelimited(message: msg_info_def.IBoxInfo, writer?: $protobuf.Writer): $protobuf.Writer;
  945. /**
  946. * Decodes a BoxInfo message from the specified reader or buffer.
  947. * @param reader Reader or buffer to decode from
  948. * @param [length] Message length if known beforehand
  949. * @returns BoxInfo
  950. * @throws {Error} If the payload is not a reader or valid buffer
  951. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  952. */
  953. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): msg_info_def.BoxInfo;
  954. /**
  955. * Decodes a BoxInfo message from the specified reader or buffer, length delimited.
  956. * @param reader Reader or buffer to decode from
  957. * @returns BoxInfo
  958. * @throws {Error} If the payload is not a reader or valid buffer
  959. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  960. */
  961. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): msg_info_def.BoxInfo;
  962. /**
  963. * Verifies a BoxInfo message.
  964. * @param message Plain object to verify
  965. * @returns `null` if valid, otherwise the reason why it is not
  966. */
  967. public static verify(message: { [k: string]: any }): (string|null);
  968. /**
  969. * Creates a BoxInfo message from a plain object. Also converts values to their respective internal types.
  970. * @param object Plain object
  971. * @returns BoxInfo
  972. */
  973. public static fromObject(object: { [k: string]: any }): msg_info_def.BoxInfo;
  974. /**
  975. * Creates a plain object from a BoxInfo message. Also converts values to other types if specified.
  976. * @param message BoxInfo
  977. * @param [options] Conversion options
  978. * @returns Plain object
  979. */
  980. public static toObject(message: msg_info_def.BoxInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
  981. /**
  982. * Converts this BoxInfo to JSON.
  983. * @returns JSON object
  984. */
  985. public toJSON(): { [k: string]: any };
  986. /**
  987. * Gets the default type url for BoxInfo
  988. * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
  989. * @returns The default type url
  990. */
  991. public static getTypeUrl(typeUrlPrefix?: string): string;
  992. }
  993. /** Properties of an ActivityReceiveInfo. */
  994. interface IActivityReceiveInfo {
  995. /** ActivityReceiveInfo activityId */
  996. activityId?: (number|null);
  997. /** ActivityReceiveInfo isReceive */
  998. isReceive?: (boolean|null);
  999. /** ActivityReceiveInfo isFinish */
  1000. isFinish?: (boolean|null);
  1001. }
  1002. /** Represents an ActivityReceiveInfo. */
  1003. class ActivityReceiveInfo implements IActivityReceiveInfo {
  1004. /**
  1005. * Constructs a new ActivityReceiveInfo.
  1006. * @param [properties] Properties to set
  1007. */
  1008. constructor(properties?: msg_info_def.IActivityReceiveInfo);
  1009. /** ActivityReceiveInfo activityId. */
  1010. public activityId: number;
  1011. /** ActivityReceiveInfo isReceive. */
  1012. public isReceive: boolean;
  1013. /** ActivityReceiveInfo isFinish. */
  1014. public isFinish: boolean;
  1015. /**
  1016. * Creates a new ActivityReceiveInfo instance using the specified properties.
  1017. * @param [properties] Properties to set
  1018. * @returns ActivityReceiveInfo instance
  1019. */
  1020. public static create(properties?: msg_info_def.IActivityReceiveInfo): msg_info_def.ActivityReceiveInfo;
  1021. /**
  1022. * Encodes the specified ActivityReceiveInfo message. Does not implicitly {@link msg_info_def.ActivityReceiveInfo.verify|verify} messages.
  1023. * @param message ActivityReceiveInfo message or plain object to encode
  1024. * @param [writer] Writer to encode to
  1025. * @returns Writer
  1026. */
  1027. public static encode(message: msg_info_def.IActivityReceiveInfo, writer?: $protobuf.Writer): $protobuf.Writer;
  1028. /**
  1029. * Encodes the specified ActivityReceiveInfo message, length delimited. Does not implicitly {@link msg_info_def.ActivityReceiveInfo.verify|verify} messages.
  1030. * @param message ActivityReceiveInfo message or plain object to encode
  1031. * @param [writer] Writer to encode to
  1032. * @returns Writer
  1033. */
  1034. public static encodeDelimited(message: msg_info_def.IActivityReceiveInfo, writer?: $protobuf.Writer): $protobuf.Writer;
  1035. /**
  1036. * Decodes an ActivityReceiveInfo message from the specified reader or buffer.
  1037. * @param reader Reader or buffer to decode from
  1038. * @param [length] Message length if known beforehand
  1039. * @returns ActivityReceiveInfo
  1040. * @throws {Error} If the payload is not a reader or valid buffer
  1041. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1042. */
  1043. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): msg_info_def.ActivityReceiveInfo;
  1044. /**
  1045. * Decodes an ActivityReceiveInfo message from the specified reader or buffer, length delimited.
  1046. * @param reader Reader or buffer to decode from
  1047. * @returns ActivityReceiveInfo
  1048. * @throws {Error} If the payload is not a reader or valid buffer
  1049. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1050. */
  1051. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): msg_info_def.ActivityReceiveInfo;
  1052. /**
  1053. * Verifies an ActivityReceiveInfo message.
  1054. * @param message Plain object to verify
  1055. * @returns `null` if valid, otherwise the reason why it is not
  1056. */
  1057. public static verify(message: { [k: string]: any }): (string|null);
  1058. /**
  1059. * Creates an ActivityReceiveInfo message from a plain object. Also converts values to their respective internal types.
  1060. * @param object Plain object
  1061. * @returns ActivityReceiveInfo
  1062. */
  1063. public static fromObject(object: { [k: string]: any }): msg_info_def.ActivityReceiveInfo;
  1064. /**
  1065. * Creates a plain object from an ActivityReceiveInfo message. Also converts values to other types if specified.
  1066. * @param message ActivityReceiveInfo
  1067. * @param [options] Conversion options
  1068. * @returns Plain object
  1069. */
  1070. public static toObject(message: msg_info_def.ActivityReceiveInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1071. /**
  1072. * Converts this ActivityReceiveInfo to JSON.
  1073. * @returns JSON object
  1074. */
  1075. public toJSON(): { [k: string]: any };
  1076. /**
  1077. * Gets the default type url for ActivityReceiveInfo
  1078. * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
  1079. * @returns The default type url
  1080. */
  1081. public static getTypeUrl(typeUrlPrefix?: string): string;
  1082. }
  1083. /** Properties of a GiftInfo. */
  1084. interface IGiftInfo {
  1085. /** GiftInfo giftId */
  1086. giftId?: (number|null);
  1087. /** GiftInfo count */
  1088. count?: (number|null);
  1089. /** GiftInfo endTime */
  1090. endTime?: (number|null);
  1091. }
  1092. /** Represents a GiftInfo. */
  1093. class GiftInfo implements IGiftInfo {
  1094. /**
  1095. * Constructs a new GiftInfo.
  1096. * @param [properties] Properties to set
  1097. */
  1098. constructor(properties?: msg_info_def.IGiftInfo);
  1099. /** GiftInfo giftId. */
  1100. public giftId: number;
  1101. /** GiftInfo count. */
  1102. public count: number;
  1103. /** GiftInfo endTime. */
  1104. public endTime: number;
  1105. /**
  1106. * Creates a new GiftInfo instance using the specified properties.
  1107. * @param [properties] Properties to set
  1108. * @returns GiftInfo instance
  1109. */
  1110. public static create(properties?: msg_info_def.IGiftInfo): msg_info_def.GiftInfo;
  1111. /**
  1112. * Encodes the specified GiftInfo message. Does not implicitly {@link msg_info_def.GiftInfo.verify|verify} messages.
  1113. * @param message GiftInfo message or plain object to encode
  1114. * @param [writer] Writer to encode to
  1115. * @returns Writer
  1116. */
  1117. public static encode(message: msg_info_def.IGiftInfo, writer?: $protobuf.Writer): $protobuf.Writer;
  1118. /**
  1119. * Encodes the specified GiftInfo message, length delimited. Does not implicitly {@link msg_info_def.GiftInfo.verify|verify} messages.
  1120. * @param message GiftInfo message or plain object to encode
  1121. * @param [writer] Writer to encode to
  1122. * @returns Writer
  1123. */
  1124. public static encodeDelimited(message: msg_info_def.IGiftInfo, writer?: $protobuf.Writer): $protobuf.Writer;
  1125. /**
  1126. * Decodes a GiftInfo message from the specified reader or buffer.
  1127. * @param reader Reader or buffer to decode from
  1128. * @param [length] Message length if known beforehand
  1129. * @returns GiftInfo
  1130. * @throws {Error} If the payload is not a reader or valid buffer
  1131. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1132. */
  1133. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): msg_info_def.GiftInfo;
  1134. /**
  1135. * Decodes a GiftInfo message from the specified reader or buffer, length delimited.
  1136. * @param reader Reader or buffer to decode from
  1137. * @returns GiftInfo
  1138. * @throws {Error} If the payload is not a reader or valid buffer
  1139. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1140. */
  1141. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): msg_info_def.GiftInfo;
  1142. /**
  1143. * Verifies a GiftInfo message.
  1144. * @param message Plain object to verify
  1145. * @returns `null` if valid, otherwise the reason why it is not
  1146. */
  1147. public static verify(message: { [k: string]: any }): (string|null);
  1148. /**
  1149. * Creates a GiftInfo message from a plain object. Also converts values to their respective internal types.
  1150. * @param object Plain object
  1151. * @returns GiftInfo
  1152. */
  1153. public static fromObject(object: { [k: string]: any }): msg_info_def.GiftInfo;
  1154. /**
  1155. * Creates a plain object from a GiftInfo message. Also converts values to other types if specified.
  1156. * @param message GiftInfo
  1157. * @param [options] Conversion options
  1158. * @returns Plain object
  1159. */
  1160. public static toObject(message: msg_info_def.GiftInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1161. /**
  1162. * Converts this GiftInfo to JSON.
  1163. * @returns JSON object
  1164. */
  1165. public toJSON(): { [k: string]: any };
  1166. /**
  1167. * Gets the default type url for GiftInfo
  1168. * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
  1169. * @returns The default type url
  1170. */
  1171. public static getTypeUrl(typeUrlPrefix?: string): string;
  1172. }
  1173. /** Properties of a PayInfo. */
  1174. interface IPayInfo {
  1175. /** PayInfo payid */
  1176. payid?: (number|null);
  1177. /** PayInfo paycount */
  1178. paycount?: (number|null);
  1179. /** PayInfo endtime */
  1180. endtime?: (number|null);
  1181. /** PayInfo canpay */
  1182. canpay?: (boolean|null);
  1183. }
  1184. /** Represents a PayInfo. */
  1185. class PayInfo implements IPayInfo {
  1186. /**
  1187. * Constructs a new PayInfo.
  1188. * @param [properties] Properties to set
  1189. */
  1190. constructor(properties?: msg_info_def.IPayInfo);
  1191. /** PayInfo payid. */
  1192. public payid: number;
  1193. /** PayInfo paycount. */
  1194. public paycount: number;
  1195. /** PayInfo endtime. */
  1196. public endtime: number;
  1197. /** PayInfo canpay. */
  1198. public canpay: boolean;
  1199. /**
  1200. * Creates a new PayInfo instance using the specified properties.
  1201. * @param [properties] Properties to set
  1202. * @returns PayInfo instance
  1203. */
  1204. public static create(properties?: msg_info_def.IPayInfo): msg_info_def.PayInfo;
  1205. /**
  1206. * Encodes the specified PayInfo message. Does not implicitly {@link msg_info_def.PayInfo.verify|verify} messages.
  1207. * @param message PayInfo message or plain object to encode
  1208. * @param [writer] Writer to encode to
  1209. * @returns Writer
  1210. */
  1211. public static encode(message: msg_info_def.IPayInfo, writer?: $protobuf.Writer): $protobuf.Writer;
  1212. /**
  1213. * Encodes the specified PayInfo message, length delimited. Does not implicitly {@link msg_info_def.PayInfo.verify|verify} messages.
  1214. * @param message PayInfo message or plain object to encode
  1215. * @param [writer] Writer to encode to
  1216. * @returns Writer
  1217. */
  1218. public static encodeDelimited(message: msg_info_def.IPayInfo, writer?: $protobuf.Writer): $protobuf.Writer;
  1219. /**
  1220. * Decodes a PayInfo message from the specified reader or buffer.
  1221. * @param reader Reader or buffer to decode from
  1222. * @param [length] Message length if known beforehand
  1223. * @returns PayInfo
  1224. * @throws {Error} If the payload is not a reader or valid buffer
  1225. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1226. */
  1227. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): msg_info_def.PayInfo;
  1228. /**
  1229. * Decodes a PayInfo message from the specified reader or buffer, length delimited.
  1230. * @param reader Reader or buffer to decode from
  1231. * @returns PayInfo
  1232. * @throws {Error} If the payload is not a reader or valid buffer
  1233. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1234. */
  1235. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): msg_info_def.PayInfo;
  1236. /**
  1237. * Verifies a PayInfo message.
  1238. * @param message Plain object to verify
  1239. * @returns `null` if valid, otherwise the reason why it is not
  1240. */
  1241. public static verify(message: { [k: string]: any }): (string|null);
  1242. /**
  1243. * Creates a PayInfo message from a plain object. Also converts values to their respective internal types.
  1244. * @param object Plain object
  1245. * @returns PayInfo
  1246. */
  1247. public static fromObject(object: { [k: string]: any }): msg_info_def.PayInfo;
  1248. /**
  1249. * Creates a plain object from a PayInfo message. Also converts values to other types if specified.
  1250. * @param message PayInfo
  1251. * @param [options] Conversion options
  1252. * @returns Plain object
  1253. */
  1254. public static toObject(message: msg_info_def.PayInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1255. /**
  1256. * Converts this PayInfo to JSON.
  1257. * @returns JSON object
  1258. */
  1259. public toJSON(): { [k: string]: any };
  1260. /**
  1261. * Gets the default type url for PayInfo
  1262. * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
  1263. * @returns The default type url
  1264. */
  1265. public static getTypeUrl(typeUrlPrefix?: string): string;
  1266. }
  1267. /** Properties of a SailCeremonyInfo. */
  1268. interface ISailCeremonyInfo {
  1269. /** SailCeremonyInfo endTime */
  1270. endTime?: (number|null);
  1271. /** SailCeremonyInfo signCheck */
  1272. signCheck?: (number[]|null);
  1273. /** SailCeremonyInfo totalSignCheck */
  1274. totalSignCheck?: (number[]|null);
  1275. /** SailCeremonyInfo vipCheck */
  1276. vipCheck?: (number[]|null);
  1277. /** SailCeremonyInfo achieveLvCheck */
  1278. achieveLvCheck?: (number[]|null);
  1279. /** SailCeremonyInfo piggyBankFishGold */
  1280. piggyBankFishGold?: (number|null);
  1281. /** SailCeremonyInfo piggyBankOnlineGold */
  1282. piggyBankOnlineGold?: (number|null);
  1283. /** SailCeremonyInfo curPiggyBankGold */
  1284. curPiggyBankGold?: (number|null);
  1285. /** SailCeremonyInfo topAchievementPoints */
  1286. topAchievementPoints?: (number|null);
  1287. /** SailCeremonyInfo achievementPoints */
  1288. achievementPoints?: (number|null);
  1289. /** SailCeremonyInfo achievementLv */
  1290. achievementLv?: (number|null);
  1291. /** SailCeremonyInfo canRecvMysteryBox */
  1292. canRecvMysteryBox?: (boolean|null);
  1293. }
  1294. /** Represents a SailCeremonyInfo. */
  1295. class SailCeremonyInfo implements ISailCeremonyInfo {
  1296. /**
  1297. * Constructs a new SailCeremonyInfo.
  1298. * @param [properties] Properties to set
  1299. */
  1300. constructor(properties?: msg_info_def.ISailCeremonyInfo);
  1301. /** SailCeremonyInfo endTime. */
  1302. public endTime: number;
  1303. /** SailCeremonyInfo signCheck. */
  1304. public signCheck: number[];
  1305. /** SailCeremonyInfo totalSignCheck. */
  1306. public totalSignCheck: number[];
  1307. /** SailCeremonyInfo vipCheck. */
  1308. public vipCheck: number[];
  1309. /** SailCeremonyInfo achieveLvCheck. */
  1310. public achieveLvCheck: number[];
  1311. /** SailCeremonyInfo piggyBankFishGold. */
  1312. public piggyBankFishGold: number;
  1313. /** SailCeremonyInfo piggyBankOnlineGold. */
  1314. public piggyBankOnlineGold: number;
  1315. /** SailCeremonyInfo curPiggyBankGold. */
  1316. public curPiggyBankGold: number;
  1317. /** SailCeremonyInfo topAchievementPoints. */
  1318. public topAchievementPoints: number;
  1319. /** SailCeremonyInfo achievementPoints. */
  1320. public achievementPoints: number;
  1321. /** SailCeremonyInfo achievementLv. */
  1322. public achievementLv: number;
  1323. /** SailCeremonyInfo canRecvMysteryBox. */
  1324. public canRecvMysteryBox: boolean;
  1325. /**
  1326. * Creates a new SailCeremonyInfo instance using the specified properties.
  1327. * @param [properties] Properties to set
  1328. * @returns SailCeremonyInfo instance
  1329. */
  1330. public static create(properties?: msg_info_def.ISailCeremonyInfo): msg_info_def.SailCeremonyInfo;
  1331. /**
  1332. * Encodes the specified SailCeremonyInfo message. Does not implicitly {@link msg_info_def.SailCeremonyInfo.verify|verify} messages.
  1333. * @param message SailCeremonyInfo message or plain object to encode
  1334. * @param [writer] Writer to encode to
  1335. * @returns Writer
  1336. */
  1337. public static encode(message: msg_info_def.ISailCeremonyInfo, writer?: $protobuf.Writer): $protobuf.Writer;
  1338. /**
  1339. * Encodes the specified SailCeremonyInfo message, length delimited. Does not implicitly {@link msg_info_def.SailCeremonyInfo.verify|verify} messages.
  1340. * @param message SailCeremonyInfo message or plain object to encode
  1341. * @param [writer] Writer to encode to
  1342. * @returns Writer
  1343. */
  1344. public static encodeDelimited(message: msg_info_def.ISailCeremonyInfo, writer?: $protobuf.Writer): $protobuf.Writer;
  1345. /**
  1346. * Decodes a SailCeremonyInfo message from the specified reader or buffer.
  1347. * @param reader Reader or buffer to decode from
  1348. * @param [length] Message length if known beforehand
  1349. * @returns SailCeremonyInfo
  1350. * @throws {Error} If the payload is not a reader or valid buffer
  1351. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1352. */
  1353. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): msg_info_def.SailCeremonyInfo;
  1354. /**
  1355. * Decodes a SailCeremonyInfo message from the specified reader or buffer, length delimited.
  1356. * @param reader Reader or buffer to decode from
  1357. * @returns SailCeremonyInfo
  1358. * @throws {Error} If the payload is not a reader or valid buffer
  1359. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1360. */
  1361. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): msg_info_def.SailCeremonyInfo;
  1362. /**
  1363. * Verifies a SailCeremonyInfo message.
  1364. * @param message Plain object to verify
  1365. * @returns `null` if valid, otherwise the reason why it is not
  1366. */
  1367. public static verify(message: { [k: string]: any }): (string|null);
  1368. /**
  1369. * Creates a SailCeremonyInfo message from a plain object. Also converts values to their respective internal types.
  1370. * @param object Plain object
  1371. * @returns SailCeremonyInfo
  1372. */
  1373. public static fromObject(object: { [k: string]: any }): msg_info_def.SailCeremonyInfo;
  1374. /**
  1375. * Creates a plain object from a SailCeremonyInfo message. Also converts values to other types if specified.
  1376. * @param message SailCeremonyInfo
  1377. * @param [options] Conversion options
  1378. * @returns Plain object
  1379. */
  1380. public static toObject(message: msg_info_def.SailCeremonyInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1381. /**
  1382. * Converts this SailCeremonyInfo to JSON.
  1383. * @returns JSON object
  1384. */
  1385. public toJSON(): { [k: string]: any };
  1386. /**
  1387. * Gets the default type url for SailCeremonyInfo
  1388. * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
  1389. * @returns The default type url
  1390. */
  1391. public static getTypeUrl(typeUrlPrefix?: string): string;
  1392. }
  1393. /** Properties of a msg_account_info. */
  1394. interface Imsg_account_info {
  1395. /** msg_account_info aid */
  1396. aid?: (number|null);
  1397. /** msg_account_info nickname */
  1398. nickname?: (string|null);
  1399. /** msg_account_info gold */
  1400. gold?: (number|Long|null);
  1401. /** msg_account_info diamond */
  1402. diamond?: (number|null);
  1403. /** msg_account_info ticket */
  1404. ticket?: (number|null);
  1405. /** msg_account_info chip */
  1406. chip?: (number|null);
  1407. /** msg_account_info redPacket */
  1408. redPacket?: (number|null);
  1409. /** msg_account_info goldingot */
  1410. goldingot?: (number|null);
  1411. /** msg_account_info tombola */
  1412. tombola?: (number|null);
  1413. /** msg_account_info viplvl */
  1414. viplvl?: (number|null);
  1415. /** msg_account_info vipexp */
  1416. vipexp?: (number|Long|null);
  1417. /** msg_account_info headId */
  1418. headId?: (number|null);
  1419. /** msg_account_info frameId */
  1420. frameId?: (number|null);
  1421. /** msg_account_info sex */
  1422. sex?: (number|null);
  1423. /** msg_account_info platform */
  1424. platform?: (string|null);
  1425. /** msg_account_info playerlvl */
  1426. playerlvl?: (number|null);
  1427. /** msg_account_info turretlvl */
  1428. turretlvl?: (number|null);
  1429. /** msg_account_info monthCardRemainSecondTime */
  1430. monthCardRemainSecondTime?: (number|null);
  1431. /** msg_account_info goldMonthCardRemainSecondTime */
  1432. goldMonthCardRemainSecondTime?: (number|null);
  1433. /** msg_account_info diamondMonthCardRemainSecondTime */
  1434. diamondMonthCardRemainSecondTime?: (number|null);
  1435. /** msg_account_info hasReceiveRechargeReward */
  1436. hasReceiveRechargeReward?: (boolean|null);
  1437. /** msg_account_info curRecharge */
  1438. curRecharge?: (number|null);
  1439. /** msg_account_info todayRecharge */
  1440. todayRecharge?: (number|null);
  1441. /** msg_account_info createTime */
  1442. createTime?: (number|null);
  1443. /** msg_account_info monthCardTime */
  1444. monthCardTime?: (number|null);
  1445. /** msg_account_info goldMonthCardTime */
  1446. goldMonthCardTime?: (number|null);
  1447. /** msg_account_info diamondMonthCardTime */
  1448. diamondMonthCardTime?: (number|null);
  1449. /** msg_account_info dailyActive */
  1450. dailyActive?: (number|null);
  1451. /** msg_account_info weeklyActive */
  1452. weeklyActive?: (number|null);
  1453. /** msg_account_info hasGetDailyActiveBox */
  1454. hasGetDailyActiveBox?: (number[]|null);
  1455. /** msg_account_info hasGetWeeklyActiveBox */
  1456. hasGetWeeklyActiveBox?: (number[]|null);
  1457. /** msg_account_info hasReceiveMonthCardReward */
  1458. hasReceiveMonthCardReward?: (boolean|null);
  1459. /** msg_account_info hasReceiveGoldMonthCardReward */
  1460. hasReceiveGoldMonthCardReward?: (boolean|null);
  1461. /** msg_account_info hasReceiveDiamondMonthCardReward */
  1462. hasReceiveDiamondMonthCardReward?: (boolean|null);
  1463. /** msg_account_info collected */
  1464. collected?: (number|null);
  1465. /** msg_account_info payinfos */
  1466. payinfos?: (msg_info_def.IPayInfo[]|null);
  1467. /** msg_account_info newGuildHasFinishStep */
  1468. newGuildHasFinishStep?: (number[]|null);
  1469. /** msg_account_info todayAirdropCount */
  1470. todayAirdropCount?: (number|null);
  1471. /** msg_account_info todayAirdropErrorCount */
  1472. todayAirdropErrorCount?: (number|null);
  1473. /** msg_account_info serviceInfos */
  1474. serviceInfos?: (msg_info_def.IServiceInfo[]|null);
  1475. /** msg_account_info giftinfos */
  1476. giftinfos?: (msg_info_def.IGiftInfo[]|null);
  1477. /** msg_account_info blueVipLvl */
  1478. blueVipLvl?: (number|null);
  1479. /** msg_account_info hasReciveVIPMoney */
  1480. hasReciveVIPMoney?: (boolean|null);
  1481. /** msg_account_info onlineRewardIndex */
  1482. onlineRewardIndex?: (number|null);
  1483. /** msg_account_info onlineRewardTime */
  1484. onlineRewardTime?: (number|null);
  1485. /** msg_account_info onlineRewardBuff */
  1486. onlineRewardBuff?: (number|null);
  1487. /** msg_account_info isBindMobilePhone */
  1488. isBindMobilePhone?: (boolean|null);
  1489. /** msg_account_info isVIPBindMobilePhone */
  1490. isVIPBindMobilePhone?: (boolean|null);
  1491. /** msg_account_info updateNicknameCount */
  1492. updateNicknameCount?: (number|null);
  1493. /** msg_account_info vipRewardCheck */
  1494. vipRewardCheck?: (boolean[]|null);
  1495. /** msg_account_info vipPoint */
  1496. vipPoint?: (number|null);
  1497. /** msg_account_info diamondPayinfos */
  1498. diamondPayinfos?: (msg_info_def.IPayInfo[]|null);
  1499. /** msg_account_info SevenDayRechargeCurDay */
  1500. SevenDayRechargeCurDay?: (number|null);
  1501. /** msg_account_info SevenDayRechargeTicket */
  1502. SevenDayRechargeTicket?: (number|null);
  1503. /** msg_account_info SevenDayRechargeEndTime */
  1504. SevenDayRechargeEndTime?: (number|null);
  1505. /** msg_account_info SevenDayRechargeLeftSeconds */
  1506. SevenDayRechargeLeftSeconds?: (number|null);
  1507. /** msg_account_info RedPacketEndTime */
  1508. RedPacketEndTime?: (number|null);
  1509. /** msg_account_info weekCardRemainSecondTime */
  1510. weekCardRemainSecondTime?: (number|null);
  1511. /** msg_account_info weekCardTime */
  1512. weekCardTime?: (number|null);
  1513. /** msg_account_info hasReceiveWeekCardReward */
  1514. hasReceiveWeekCardReward?: (boolean|null);
  1515. /** msg_account_info dailyGrowGiftLottery */
  1516. dailyGrowGiftLottery?: (number|null);
  1517. /** msg_account_info isVertifyIdCard */
  1518. isVertifyIdCard?: (boolean|null);
  1519. /** msg_account_info dailyExchangeTicket */
  1520. dailyExchangeTicket?: (number|null);
  1521. /** msg_account_info sailInfo */
  1522. sailInfo?: (msg_info_def.ISailCeremonyInfo|null);
  1523. /** msg_account_info returnBenifitEndTime */
  1524. returnBenifitEndTime?: (number|null);
  1525. /** msg_account_info returnBenifitRecharged */
  1526. returnBenifitRecharged?: (number|null);
  1527. /** msg_account_info returnBenifitRechargedCheck */
  1528. returnBenifitRechargedCheck?: (number[]|null);
  1529. /** msg_account_info returnBenifitLoginDay */
  1530. returnBenifitLoginDay?: (number|null);
  1531. /** msg_account_info returnBenifitCanLogin */
  1532. returnBenifitCanLogin?: (boolean|null);
  1533. /** msg_account_info abysmFishingKingEndTime */
  1534. abysmFishingKingEndTime?: (number|null);
  1535. /** msg_account_info abysmFishingKingSignCount */
  1536. abysmFishingKingSignCount?: (number|null);
  1537. /** msg_account_info abysmFishingKingRechared */
  1538. abysmFishingKingRechared?: (number|null);
  1539. /** msg_account_info abysmFishingKingCanSign */
  1540. abysmFishingKingCanSign?: (boolean|null);
  1541. /** msg_account_info JDChip */
  1542. JDChip?: (number|null);
  1543. /** msg_account_info DragonBall */
  1544. DragonBall?: (number|null);
  1545. /** msg_account_info GloryCrystal */
  1546. GloryCrystal?: (number|null);
  1547. /** msg_account_info DragonballLotteryLuckyValue */
  1548. DragonballLotteryLuckyValue?: (number|null);
  1549. }
  1550. /** Represents a msg_account_info. */
  1551. class msg_account_info implements Imsg_account_info {
  1552. /**
  1553. * Constructs a new msg_account_info.
  1554. * @param [properties] Properties to set
  1555. */
  1556. constructor(properties?: msg_info_def.Imsg_account_info);
  1557. /** msg_account_info aid. */
  1558. public aid: number;
  1559. /** msg_account_info nickname. */
  1560. public nickname: string;
  1561. /** msg_account_info gold. */
  1562. public gold: (number|Long);
  1563. /** msg_account_info diamond. */
  1564. public diamond: number;
  1565. /** msg_account_info ticket. */
  1566. public ticket: number;
  1567. /** msg_account_info chip. */
  1568. public chip: number;
  1569. /** msg_account_info redPacket. */
  1570. public redPacket: number;
  1571. /** msg_account_info goldingot. */
  1572. public goldingot: number;
  1573. /** msg_account_info tombola. */
  1574. public tombola: number;
  1575. /** msg_account_info viplvl. */
  1576. public viplvl: number;
  1577. /** msg_account_info vipexp. */
  1578. public vipexp: (number|Long);
  1579. /** msg_account_info headId. */
  1580. public headId: number;
  1581. /** msg_account_info frameId. */
  1582. public frameId: number;
  1583. /** msg_account_info sex. */
  1584. public sex: number;
  1585. /** msg_account_info platform. */
  1586. public platform: string;
  1587. /** msg_account_info playerlvl. */
  1588. public playerlvl: number;
  1589. /** msg_account_info turretlvl. */
  1590. public turretlvl: number;
  1591. /** msg_account_info monthCardRemainSecondTime. */
  1592. public monthCardRemainSecondTime: number;
  1593. /** msg_account_info goldMonthCardRemainSecondTime. */
  1594. public goldMonthCardRemainSecondTime: number;
  1595. /** msg_account_info diamondMonthCardRemainSecondTime. */
  1596. public diamondMonthCardRemainSecondTime: number;
  1597. /** msg_account_info hasReceiveRechargeReward. */
  1598. public hasReceiveRechargeReward: boolean;
  1599. /** msg_account_info curRecharge. */
  1600. public curRecharge: number;
  1601. /** msg_account_info todayRecharge. */
  1602. public todayRecharge: number;
  1603. /** msg_account_info createTime. */
  1604. public createTime: number;
  1605. /** msg_account_info monthCardTime. */
  1606. public monthCardTime: number;
  1607. /** msg_account_info goldMonthCardTime. */
  1608. public goldMonthCardTime: number;
  1609. /** msg_account_info diamondMonthCardTime. */
  1610. public diamondMonthCardTime: number;
  1611. /** msg_account_info dailyActive. */
  1612. public dailyActive: number;
  1613. /** msg_account_info weeklyActive. */
  1614. public weeklyActive: number;
  1615. /** msg_account_info hasGetDailyActiveBox. */
  1616. public hasGetDailyActiveBox: number[];
  1617. /** msg_account_info hasGetWeeklyActiveBox. */
  1618. public hasGetWeeklyActiveBox: number[];
  1619. /** msg_account_info hasReceiveMonthCardReward. */
  1620. public hasReceiveMonthCardReward: boolean;
  1621. /** msg_account_info hasReceiveGoldMonthCardReward. */
  1622. public hasReceiveGoldMonthCardReward: boolean;
  1623. /** msg_account_info hasReceiveDiamondMonthCardReward. */
  1624. public hasReceiveDiamondMonthCardReward: boolean;
  1625. /** msg_account_info collected. */
  1626. public collected: number;
  1627. /** msg_account_info payinfos. */
  1628. public payinfos: msg_info_def.IPayInfo[];
  1629. /** msg_account_info newGuildHasFinishStep. */
  1630. public newGuildHasFinishStep: number[];
  1631. /** msg_account_info todayAirdropCount. */
  1632. public todayAirdropCount: number;
  1633. /** msg_account_info todayAirdropErrorCount. */
  1634. public todayAirdropErrorCount: number;
  1635. /** msg_account_info serviceInfos. */
  1636. public serviceInfos: msg_info_def.IServiceInfo[];
  1637. /** msg_account_info giftinfos. */
  1638. public giftinfos: msg_info_def.IGiftInfo[];
  1639. /** msg_account_info blueVipLvl. */
  1640. public blueVipLvl: number;
  1641. /** msg_account_info hasReciveVIPMoney. */
  1642. public hasReciveVIPMoney: boolean;
  1643. /** msg_account_info onlineRewardIndex. */
  1644. public onlineRewardIndex: number;
  1645. /** msg_account_info onlineRewardTime. */
  1646. public onlineRewardTime: number;
  1647. /** msg_account_info onlineRewardBuff. */
  1648. public onlineRewardBuff: number;
  1649. /** msg_account_info isBindMobilePhone. */
  1650. public isBindMobilePhone: boolean;
  1651. /** msg_account_info isVIPBindMobilePhone. */
  1652. public isVIPBindMobilePhone: boolean;
  1653. /** msg_account_info updateNicknameCount. */
  1654. public updateNicknameCount: number;
  1655. /** msg_account_info vipRewardCheck. */
  1656. public vipRewardCheck: boolean[];
  1657. /** msg_account_info vipPoint. */
  1658. public vipPoint: number;
  1659. /** msg_account_info diamondPayinfos. */
  1660. public diamondPayinfos: msg_info_def.IPayInfo[];
  1661. /** msg_account_info SevenDayRechargeCurDay. */
  1662. public SevenDayRechargeCurDay: number;
  1663. /** msg_account_info SevenDayRechargeTicket. */
  1664. public SevenDayRechargeTicket: number;
  1665. /** msg_account_info SevenDayRechargeEndTime. */
  1666. public SevenDayRechargeEndTime: number;
  1667. /** msg_account_info SevenDayRechargeLeftSeconds. */
  1668. public SevenDayRechargeLeftSeconds: number;
  1669. /** msg_account_info RedPacketEndTime. */
  1670. public RedPacketEndTime: number;
  1671. /** msg_account_info weekCardRemainSecondTime. */
  1672. public weekCardRemainSecondTime: number;
  1673. /** msg_account_info weekCardTime. */
  1674. public weekCardTime: number;
  1675. /** msg_account_info hasReceiveWeekCardReward. */
  1676. public hasReceiveWeekCardReward: boolean;
  1677. /** msg_account_info dailyGrowGiftLottery. */
  1678. public dailyGrowGiftLottery: number;
  1679. /** msg_account_info isVertifyIdCard. */
  1680. public isVertifyIdCard: boolean;
  1681. /** msg_account_info dailyExchangeTicket. */
  1682. public dailyExchangeTicket: number;
  1683. /** msg_account_info sailInfo. */
  1684. public sailInfo?: (msg_info_def.ISailCeremonyInfo|null);
  1685. /** msg_account_info returnBenifitEndTime. */
  1686. public returnBenifitEndTime: number;
  1687. /** msg_account_info returnBenifitRecharged. */
  1688. public returnBenifitRecharged: number;
  1689. /** msg_account_info returnBenifitRechargedCheck. */
  1690. public returnBenifitRechargedCheck: number[];
  1691. /** msg_account_info returnBenifitLoginDay. */
  1692. public returnBenifitLoginDay: number;
  1693. /** msg_account_info returnBenifitCanLogin. */
  1694. public returnBenifitCanLogin: boolean;
  1695. /** msg_account_info abysmFishingKingEndTime. */
  1696. public abysmFishingKingEndTime: number;
  1697. /** msg_account_info abysmFishingKingSignCount. */
  1698. public abysmFishingKingSignCount: number;
  1699. /** msg_account_info abysmFishingKingRechared. */
  1700. public abysmFishingKingRechared: number;
  1701. /** msg_account_info abysmFishingKingCanSign. */
  1702. public abysmFishingKingCanSign: boolean;
  1703. /** msg_account_info JDChip. */
  1704. public JDChip: number;
  1705. /** msg_account_info DragonBall. */
  1706. public DragonBall: number;
  1707. /** msg_account_info GloryCrystal. */
  1708. public GloryCrystal: number;
  1709. /** msg_account_info DragonballLotteryLuckyValue. */
  1710. public DragonballLotteryLuckyValue: number;
  1711. /**
  1712. * Creates a new msg_account_info instance using the specified properties.
  1713. * @param [properties] Properties to set
  1714. * @returns msg_account_info instance
  1715. */
  1716. public static create(properties?: msg_info_def.Imsg_account_info): msg_info_def.msg_account_info;
  1717. /**
  1718. * Encodes the specified msg_account_info message. Does not implicitly {@link msg_info_def.msg_account_info.verify|verify} messages.
  1719. * @param message msg_account_info message or plain object to encode
  1720. * @param [writer] Writer to encode to
  1721. * @returns Writer
  1722. */
  1723. public static encode(message: msg_info_def.Imsg_account_info, writer?: $protobuf.Writer): $protobuf.Writer;
  1724. /**
  1725. * Encodes the specified msg_account_info message, length delimited. Does not implicitly {@link msg_info_def.msg_account_info.verify|verify} messages.
  1726. * @param message msg_account_info message or plain object to encode
  1727. * @param [writer] Writer to encode to
  1728. * @returns Writer
  1729. */
  1730. public static encodeDelimited(message: msg_info_def.Imsg_account_info, writer?: $protobuf.Writer): $protobuf.Writer;
  1731. /**
  1732. * Decodes a msg_account_info message from the specified reader or buffer.
  1733. * @param reader Reader or buffer to decode from
  1734. * @param [length] Message length if known beforehand
  1735. * @returns msg_account_info
  1736. * @throws {Error} If the payload is not a reader or valid buffer
  1737. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1738. */
  1739. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): msg_info_def.msg_account_info;
  1740. /**
  1741. * Decodes a msg_account_info message from the specified reader or buffer, length delimited.
  1742. * @param reader Reader or buffer to decode from
  1743. * @returns msg_account_info
  1744. * @throws {Error} If the payload is not a reader or valid buffer
  1745. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1746. */
  1747. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): msg_info_def.msg_account_info;
  1748. /**
  1749. * Verifies a msg_account_info message.
  1750. * @param message Plain object to verify
  1751. * @returns `null` if valid, otherwise the reason why it is not
  1752. */
  1753. public static verify(message: { [k: string]: any }): (string|null);
  1754. /**
  1755. * Creates a msg_account_info message from a plain object. Also converts values to their respective internal types.
  1756. * @param object Plain object
  1757. * @returns msg_account_info
  1758. */
  1759. public static fromObject(object: { [k: string]: any }): msg_info_def.msg_account_info;
  1760. /**
  1761. * Creates a plain object from a msg_account_info message. Also converts values to other types if specified.
  1762. * @param message msg_account_info
  1763. * @param [options] Conversion options
  1764. * @returns Plain object
  1765. */
  1766. public static toObject(message: msg_info_def.msg_account_info, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1767. /**
  1768. * Converts this msg_account_info to JSON.
  1769. * @returns JSON object
  1770. */
  1771. public toJSON(): { [k: string]: any };
  1772. /**
  1773. * Gets the default type url for msg_account_info
  1774. * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
  1775. * @returns The default type url
  1776. */
  1777. public static getTypeUrl(typeUrlPrefix?: string): string;
  1778. }
  1779. /** Properties of a PlayerIntProp. */
  1780. interface IPlayerIntProp {
  1781. /** PlayerIntProp propType */
  1782. propType?: (number|null);
  1783. /** PlayerIntProp val */
  1784. val?: (number|null);
  1785. }
  1786. /** Represents a PlayerIntProp. */
  1787. class PlayerIntProp implements IPlayerIntProp {
  1788. /**
  1789. * Constructs a new PlayerIntProp.
  1790. * @param [properties] Properties to set
  1791. */
  1792. constructor(properties?: msg_info_def.IPlayerIntProp);
  1793. /** PlayerIntProp propType. */
  1794. public propType: number;
  1795. /** PlayerIntProp val. */
  1796. public val: number;
  1797. /**
  1798. * Creates a new PlayerIntProp instance using the specified properties.
  1799. * @param [properties] Properties to set
  1800. * @returns PlayerIntProp instance
  1801. */
  1802. public static create(properties?: msg_info_def.IPlayerIntProp): msg_info_def.PlayerIntProp;
  1803. /**
  1804. * Encodes the specified PlayerIntProp message. Does not implicitly {@link msg_info_def.PlayerIntProp.verify|verify} messages.
  1805. * @param message PlayerIntProp message or plain object to encode
  1806. * @param [writer] Writer to encode to
  1807. * @returns Writer
  1808. */
  1809. public static encode(message: msg_info_def.IPlayerIntProp, writer?: $protobuf.Writer): $protobuf.Writer;
  1810. /**
  1811. * Encodes the specified PlayerIntProp message, length delimited. Does not implicitly {@link msg_info_def.PlayerIntProp.verify|verify} messages.
  1812. * @param message PlayerIntProp message or plain object to encode
  1813. * @param [writer] Writer to encode to
  1814. * @returns Writer
  1815. */
  1816. public static encodeDelimited(message: msg_info_def.IPlayerIntProp, writer?: $protobuf.Writer): $protobuf.Writer;
  1817. /**
  1818. * Decodes a PlayerIntProp message from the specified reader or buffer.
  1819. * @param reader Reader or buffer to decode from
  1820. * @param [length] Message length if known beforehand
  1821. * @returns PlayerIntProp
  1822. * @throws {Error} If the payload is not a reader or valid buffer
  1823. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1824. */
  1825. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): msg_info_def.PlayerIntProp;
  1826. /**
  1827. * Decodes a PlayerIntProp message from the specified reader or buffer, length delimited.
  1828. * @param reader Reader or buffer to decode from
  1829. * @returns PlayerIntProp
  1830. * @throws {Error} If the payload is not a reader or valid buffer
  1831. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1832. */
  1833. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): msg_info_def.PlayerIntProp;
  1834. /**
  1835. * Verifies a PlayerIntProp message.
  1836. * @param message Plain object to verify
  1837. * @returns `null` if valid, otherwise the reason why it is not
  1838. */
  1839. public static verify(message: { [k: string]: any }): (string|null);
  1840. /**
  1841. * Creates a PlayerIntProp message from a plain object. Also converts values to their respective internal types.
  1842. * @param object Plain object
  1843. * @returns PlayerIntProp
  1844. */
  1845. public static fromObject(object: { [k: string]: any }): msg_info_def.PlayerIntProp;
  1846. /**
  1847. * Creates a plain object from a PlayerIntProp message. Also converts values to other types if specified.
  1848. * @param message PlayerIntProp
  1849. * @param [options] Conversion options
  1850. * @returns Plain object
  1851. */
  1852. public static toObject(message: msg_info_def.PlayerIntProp, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1853. /**
  1854. * Converts this PlayerIntProp to JSON.
  1855. * @returns JSON object
  1856. */
  1857. public toJSON(): { [k: string]: any };
  1858. /**
  1859. * Gets the default type url for PlayerIntProp
  1860. * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
  1861. * @returns The default type url
  1862. */
  1863. public static getTypeUrl(typeUrlPrefix?: string): string;
  1864. }
  1865. }
  1866. /** Namespace common_protocol. */
  1867. export namespace common_protocol {
  1868. /** Properties of a PlayerConnect. */
  1869. interface IPlayerConnect {
  1870. /** PlayerConnect account */
  1871. account?: (string|null);
  1872. /** PlayerConnect token */
  1873. token?: (string|null);
  1874. /** PlayerConnect sign */
  1875. sign?: (string|null);
  1876. /** PlayerConnect platform */
  1877. platform?: (string|null);
  1878. /** PlayerConnect payPlatform */
  1879. payPlatform?: (string|null);
  1880. /** PlayerConnect channel */
  1881. channel?: (string|null);
  1882. }
  1883. /** Represents a PlayerConnect. */
  1884. class PlayerConnect implements IPlayerConnect {
  1885. /**
  1886. * Constructs a new PlayerConnect.
  1887. * @param [properties] Properties to set
  1888. */
  1889. constructor(properties?: common_protocol.IPlayerConnect);
  1890. /** PlayerConnect account. */
  1891. public account: string;
  1892. /** PlayerConnect token. */
  1893. public token: string;
  1894. /** PlayerConnect sign. */
  1895. public sign: string;
  1896. /** PlayerConnect platform. */
  1897. public platform: string;
  1898. /** PlayerConnect payPlatform. */
  1899. public payPlatform: string;
  1900. /** PlayerConnect channel. */
  1901. public channel: string;
  1902. /**
  1903. * Creates a new PlayerConnect instance using the specified properties.
  1904. * @param [properties] Properties to set
  1905. * @returns PlayerConnect instance
  1906. */
  1907. public static create(properties?: common_protocol.IPlayerConnect): common_protocol.PlayerConnect;
  1908. /**
  1909. * Encodes the specified PlayerConnect message. Does not implicitly {@link common_protocol.PlayerConnect.verify|verify} messages.
  1910. * @param message PlayerConnect message or plain object to encode
  1911. * @param [writer] Writer to encode to
  1912. * @returns Writer
  1913. */
  1914. public static encode(message: common_protocol.IPlayerConnect, writer?: $protobuf.Writer): $protobuf.Writer;
  1915. /**
  1916. * Encodes the specified PlayerConnect message, length delimited. Does not implicitly {@link common_protocol.PlayerConnect.verify|verify} messages.
  1917. * @param message PlayerConnect message or plain object to encode
  1918. * @param [writer] Writer to encode to
  1919. * @returns Writer
  1920. */
  1921. public static encodeDelimited(message: common_protocol.IPlayerConnect, writer?: $protobuf.Writer): $protobuf.Writer;
  1922. /**
  1923. * Decodes a PlayerConnect message from the specified reader or buffer.
  1924. * @param reader Reader or buffer to decode from
  1925. * @param [length] Message length if known beforehand
  1926. * @returns PlayerConnect
  1927. * @throws {Error} If the payload is not a reader or valid buffer
  1928. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1929. */
  1930. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): common_protocol.PlayerConnect;
  1931. /**
  1932. * Decodes a PlayerConnect message from the specified reader or buffer, length delimited.
  1933. * @param reader Reader or buffer to decode from
  1934. * @returns PlayerConnect
  1935. * @throws {Error} If the payload is not a reader or valid buffer
  1936. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  1937. */
  1938. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): common_protocol.PlayerConnect;
  1939. /**
  1940. * Verifies a PlayerConnect message.
  1941. * @param message Plain object to verify
  1942. * @returns `null` if valid, otherwise the reason why it is not
  1943. */
  1944. public static verify(message: { [k: string]: any }): (string|null);
  1945. /**
  1946. * Creates a PlayerConnect message from a plain object. Also converts values to their respective internal types.
  1947. * @param object Plain object
  1948. * @returns PlayerConnect
  1949. */
  1950. public static fromObject(object: { [k: string]: any }): common_protocol.PlayerConnect;
  1951. /**
  1952. * Creates a plain object from a PlayerConnect message. Also converts values to other types if specified.
  1953. * @param message PlayerConnect
  1954. * @param [options] Conversion options
  1955. * @returns Plain object
  1956. */
  1957. public static toObject(message: common_protocol.PlayerConnect, options?: $protobuf.IConversionOptions): { [k: string]: any };
  1958. /**
  1959. * Converts this PlayerConnect to JSON.
  1960. * @returns JSON object
  1961. */
  1962. public toJSON(): { [k: string]: any };
  1963. /**
  1964. * Gets the default type url for PlayerConnect
  1965. * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
  1966. * @returns The default type url
  1967. */
  1968. public static getTypeUrl(typeUrlPrefix?: string): string;
  1969. }
  1970. /** Properties of a PlayerConnectResult. */
  1971. interface IPlayerConnectResult {
  1972. /** PlayerConnectResult servertime */
  1973. servertime?: (number|null);
  1974. /** PlayerConnectResult gaming */
  1975. gaming?: (number|null);
  1976. /** PlayerConnectResult ver */
  1977. ver?: (string|null);
  1978. /** PlayerConnectResult result */
  1979. result?: (number|null);
  1980. }
  1981. /** Represents a PlayerConnectResult. */
  1982. class PlayerConnectResult implements IPlayerConnectResult {
  1983. /**
  1984. * Constructs a new PlayerConnectResult.
  1985. * @param [properties] Properties to set
  1986. */
  1987. constructor(properties?: common_protocol.IPlayerConnectResult);
  1988. /** PlayerConnectResult servertime. */
  1989. public servertime: number;
  1990. /** PlayerConnectResult gaming. */
  1991. public gaming: number;
  1992. /** PlayerConnectResult ver. */
  1993. public ver: string;
  1994. /** PlayerConnectResult result. */
  1995. public result: number;
  1996. /**
  1997. * Creates a new PlayerConnectResult instance using the specified properties.
  1998. * @param [properties] Properties to set
  1999. * @returns PlayerConnectResult instance
  2000. */
  2001. public static create(properties?: common_protocol.IPlayerConnectResult): common_protocol.PlayerConnectResult;
  2002. /**
  2003. * Encodes the specified PlayerConnectResult message. Does not implicitly {@link common_protocol.PlayerConnectResult.verify|verify} messages.
  2004. * @param message PlayerConnectResult message or plain object to encode
  2005. * @param [writer] Writer to encode to
  2006. * @returns Writer
  2007. */
  2008. public static encode(message: common_protocol.IPlayerConnectResult, writer?: $protobuf.Writer): $protobuf.Writer;
  2009. /**
  2010. * Encodes the specified PlayerConnectResult message, length delimited. Does not implicitly {@link common_protocol.PlayerConnectResult.verify|verify} messages.
  2011. * @param message PlayerConnectResult message or plain object to encode
  2012. * @param [writer] Writer to encode to
  2013. * @returns Writer
  2014. */
  2015. public static encodeDelimited(message: common_protocol.IPlayerConnectResult, writer?: $protobuf.Writer): $protobuf.Writer;
  2016. /**
  2017. * Decodes a PlayerConnectResult message from the specified reader or buffer.
  2018. * @param reader Reader or buffer to decode from
  2019. * @param [length] Message length if known beforehand
  2020. * @returns PlayerConnectResult
  2021. * @throws {Error} If the payload is not a reader or valid buffer
  2022. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2023. */
  2024. public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): common_protocol.PlayerConnectResult;
  2025. /**
  2026. * Decodes a PlayerConnectResult message from the specified reader or buffer, length delimited.
  2027. * @param reader Reader or buffer to decode from
  2028. * @returns PlayerConnectResult
  2029. * @throws {Error} If the payload is not a reader or valid buffer
  2030. * @throws {$protobuf.util.ProtocolError} If required fields are missing
  2031. */
  2032. public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): common_protocol.PlayerConnectResult;
  2033. /**
  2034. * Verifies a PlayerConnectResult message.
  2035. * @param message Plain object to verify
  2036. * @returns `null` if valid, otherwise the reason why it is not
  2037. */
  2038. public static verify(message: { [k: string]: any }): (string|null);
  2039. /**
  2040. * Creates a PlayerConnectResult message from a plain object. Also converts values to their respective internal types.
  2041. * @param object Plain object
  2042. * @returns PlayerConnectResult
  2043. */
  2044. public static fromObject(object: { [k: string]: any }): common_protocol.PlayerConnectResult;
  2045. /**
  2046. * Creates a plain object from a PlayerConnectResult message. Also converts values to other types if specified.
  2047. * @param message PlayerConnectResult
  2048. * @param [options] Conversion options
  2049. * @returns Plain object
  2050. */
  2051. public static toObject(message: common_protocol.PlayerConnectResult, options?: $protobuf.IConversionOptions): { [k: string]: any };
  2052. /**
  2053. * Converts this PlayerConnectResult to JSON.
  2054. * @returns JSON object
  2055. */
  2056. public toJSON(): { [k: string]: any };
  2057. /**
  2058. * Gets the default type url for PlayerConnectResult
  2059. * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
  2060. * @returns The default type url
  2061. */
  2062. public static getTypeUrl(typeUrlPrefix?: string): string;
  2063. }
  2064. }