msg_mys.json 35 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216
  1. {
  2. "package": "vip.metadev.module.battle.protobuf",
  3. "syntax": "proto2",
  4. "options": {
  5. "java_outer_classname": "EnterStoryRequestProto",
  6. "java_multiple_files": false
  7. },
  8. "messages": [
  9. {
  10. "name": "CommonRequest",
  11. "syntax": "proto2",
  12. "fields": [
  13. {
  14. "rule": "required",
  15. "type": "string",
  16. "name": "session_id",
  17. "id": 1
  18. },
  19. {
  20. "rule": "optional",
  21. "type": "string",
  22. "name": "token",
  23. "id": 2
  24. },
  25. {
  26. "rule": "optional",
  27. "type": "string",
  28. "name": "client_version",
  29. "id": 3
  30. },
  31. {
  32. "rule": "optional",
  33. "type": "string",
  34. "name": "device_info",
  35. "id": 4
  36. },
  37. {
  38. "rule": "optional",
  39. "type": "string",
  40. "name": "data",
  41. "id": 5
  42. }
  43. ]
  44. },
  45. {
  46. "name": "CommonResponse",
  47. "syntax": "proto2",
  48. "fields": [
  49. {
  50. "rule": "optional",
  51. "type": "WsMessageType",
  52. "name": "message_type",
  53. "id": 1
  54. },
  55. {
  56. "rule": "optional",
  57. "type": "string",
  58. "name": "message_id",
  59. "id": 2
  60. },
  61. {
  62. "rule": "optional",
  63. "type": "string",
  64. "name": "session_id",
  65. "id": 3
  66. },
  67. {
  68. "rule": "optional",
  69. "type": "string",
  70. "name": "code",
  71. "id": 4
  72. },
  73. {
  74. "rule": "optional",
  75. "type": "string",
  76. "name": "msg",
  77. "id": 5
  78. },
  79. {
  80. "rule": "optional",
  81. "type": "string",
  82. "name": "data",
  83. "id": 6
  84. }
  85. ]
  86. },
  87. {
  88. "name": "BattleProgressRequest",
  89. "syntax": "proto2",
  90. "fields": [
  91. {
  92. "rule": "optional",
  93. "type": "WsMessageType",
  94. "name": "message_id",
  95. "id": 1,
  96. "options": {
  97. "default": "BATTLE_PROGRESS_UPDATE"
  98. }
  99. },
  100. {
  101. "rule": "repeated",
  102. "type": "MonsterVo",
  103. "name": "monsters",
  104. "id": 2
  105. },
  106. {
  107. "rule": "optional",
  108. "type": "bool",
  109. "name": "battle_over",
  110. "id": 3,
  111. "options": {
  112. "default": false
  113. }
  114. },
  115. {
  116. "rule": "optional",
  117. "type": "int32",
  118. "name": "map_id",
  119. "id": 7,
  120. "options": {
  121. "default": 1001
  122. }
  123. },
  124. {
  125. "rule": "repeated",
  126. "type": "CommonRequest",
  127. "name": "envelope",
  128. "id": 8
  129. }
  130. ]
  131. },
  132. {
  133. "name": "MonsterVo",
  134. "syntax": "proto2",
  135. "fields": [
  136. {
  137. "rule": "optional",
  138. "type": "int32",
  139. "name": "monsterId",
  140. "id": 1
  141. },
  142. {
  143. "rule": "optional",
  144. "type": "int32",
  145. "name": "type",
  146. "id": 2
  147. },
  148. {
  149. "rule": "optional",
  150. "type": "bool",
  151. "name": "isKill",
  152. "id": 3,
  153. "options": {
  154. "default": false
  155. }
  156. },
  157. {
  158. "rule": "optional",
  159. "type": "bool",
  160. "name": "is_fish_scheme",
  161. "id": 4,
  162. "options": {
  163. "default": false
  164. }
  165. },
  166. {
  167. "rule": "optional",
  168. "type": "int32",
  169. "name": "fish_group_id",
  170. "id": 5,
  171. "options": {
  172. "default": 1
  173. }
  174. },
  175. {
  176. "rule": "optional",
  177. "type": "bool",
  178. "name": "is_violent",
  179. "id": 6,
  180. "options": {
  181. "default": false
  182. }
  183. }
  184. ]
  185. },
  186. {
  187. "name": "BattleResponse",
  188. "syntax": "proto2",
  189. "fields": [
  190. {
  191. "rule": "optional",
  192. "type": "int32",
  193. "name": "new_balance",
  194. "id": 1,
  195. "options": {
  196. "default": 0
  197. }
  198. }
  199. ]
  200. },
  201. {
  202. "name": "BattleProgressResponse",
  203. "syntax": "proto2",
  204. "fields": [
  205. {
  206. "rule": "optional",
  207. "type": "int64",
  208. "name": "gold_balance",
  209. "id": 1,
  210. "options": {
  211. "default": 0
  212. }
  213. },
  214. {
  215. "rule": "optional",
  216. "type": "int64",
  217. "name": "unclaimed_magic_guide_stone_balance",
  218. "id": 2,
  219. "options": {
  220. "default": 0
  221. }
  222. },
  223. {
  224. "rule": "optional",
  225. "type": "int64",
  226. "name": "magic_guide_stone_balance",
  227. "id": 3,
  228. "options": {
  229. "default": 0
  230. }
  231. },
  232. {
  233. "rule": "optional",
  234. "type": "int64",
  235. "name": "magic_guide_balance",
  236. "id": 4,
  237. "options": {
  238. "default": 0
  239. }
  240. },
  241. {
  242. "rule": "optional",
  243. "type": "int64",
  244. "name": "magic_array_id",
  245. "id": 5,
  246. "options": {
  247. "default": 1001
  248. }
  249. },
  250. {
  251. "rule": "optional",
  252. "type": "string",
  253. "name": "map_id",
  254. "id": 6,
  255. "options": {
  256. "default": "1001"
  257. }
  258. },
  259. {
  260. "rule": "optional",
  261. "type": "int64",
  262. "name": "total_award_magic_guide_stone_balance",
  263. "id": 7,
  264. "options": {
  265. "default": 0
  266. }
  267. },
  268. {
  269. "rule": "optional",
  270. "type": "int64",
  271. "name": "current_boss_treasure_chest_reward",
  272. "id": 8,
  273. "options": {
  274. "default": 0
  275. }
  276. }
  277. ]
  278. },
  279. {
  280. "name": "ChooseMagicRequest",
  281. "syntax": "proto2",
  282. "fields": [
  283. {
  284. "rule": "optional",
  285. "type": "WsMessageType",
  286. "name": "message_id",
  287. "id": 1,
  288. "options": {
  289. "default": "CHOOSE_MAGIC_ARRAY"
  290. }
  291. },
  292. {
  293. "rule": "required",
  294. "type": "int64",
  295. "name": "magic_array_id",
  296. "id": 2
  297. },
  298. {
  299. "rule": "repeated",
  300. "type": "CommonRequest",
  301. "name": "envelope",
  302. "id": 3
  303. }
  304. ]
  305. },
  306. {
  307. "name": "EnterGameRequest",
  308. "syntax": "proto2",
  309. "fields": [
  310. {
  311. "rule": "optional",
  312. "type": "WsMessageType",
  313. "name": "message_id",
  314. "id": 1,
  315. "options": {
  316. "default": "ENTER_GAME"
  317. }
  318. },
  319. {
  320. "rule": "required",
  321. "type": "string",
  322. "name": "game_mode",
  323. "id": 2
  324. },
  325. {
  326. "rule": "repeated",
  327. "type": "CommonRequest",
  328. "name": "envelope",
  329. "id": 3
  330. }
  331. ]
  332. },
  333. {
  334. "name": "EnterGameResponse",
  335. "syntax": "proto2",
  336. "fields": [
  337. {
  338. "rule": "optional",
  339. "type": "int64",
  340. "name": "player_id",
  341. "id": 1,
  342. "options": {
  343. "default": 0
  344. }
  345. },
  346. {
  347. "rule": "optional",
  348. "type": "int32",
  349. "name": "vip_level",
  350. "id": 2,
  351. "options": {
  352. "default": 1
  353. }
  354. },
  355. {
  356. "rule": "optional",
  357. "type": "int64",
  358. "name": "gold_balance",
  359. "id": 3,
  360. "options": {
  361. "default": 0
  362. }
  363. },
  364. {
  365. "rule": "optional",
  366. "type": "int64",
  367. "name": "magic_guide_stone_balance",
  368. "id": 4,
  369. "options": {
  370. "default": 0
  371. }
  372. },
  373. {
  374. "rule": "optional",
  375. "type": "int64",
  376. "name": "magic_guide_balance",
  377. "id": 5,
  378. "options": {
  379. "default": 0
  380. }
  381. },
  382. {
  383. "rule": "optional",
  384. "type": "int64",
  385. "name": "not_receive_guide_stone_balance",
  386. "id": 6,
  387. "options": {
  388. "default": 0
  389. }
  390. },
  391. {
  392. "rule": "repeated",
  393. "type": "int64",
  394. "name": "magic_ids",
  395. "id": 7
  396. },
  397. {
  398. "rule": "optional",
  399. "type": "int64",
  400. "name": "map_id",
  401. "id": 8,
  402. "options": {
  403. "default": 0
  404. }
  405. }
  406. ]
  407. },
  408. {
  409. "name": "MailListRequestMessage",
  410. "syntax": "proto2",
  411. "fields": [
  412. {
  413. "rule": "optional",
  414. "type": "WsMessageType",
  415. "name": "message_id",
  416. "id": 1,
  417. "options": {
  418. "default": "MAIL_LIST_REQUEST"
  419. }
  420. },
  421. {
  422. "rule": "optional",
  423. "type": "int32",
  424. "name": "status",
  425. "id": 2
  426. },
  427. {
  428. "rule": "optional",
  429. "type": "int32",
  430. "name": "pageNum",
  431. "id": 3
  432. },
  433. {
  434. "rule": "optional",
  435. "type": "int32",
  436. "name": "pageSize",
  437. "id": 4
  438. },
  439. {
  440. "rule": "optional",
  441. "type": "CommonRequest",
  442. "name": "envelope",
  443. "id": 10
  444. }
  445. ]
  446. },
  447. {
  448. "name": "MailListResponse",
  449. "syntax": "proto2",
  450. "fields": [
  451. {
  452. "rule": "optional",
  453. "type": "WsMessageType",
  454. "name": "message_id",
  455. "id": 1,
  456. "options": {
  457. "default": "MAIL_LIST_REQUEST"
  458. }
  459. },
  460. {
  461. "rule": "optional",
  462. "type": "int32",
  463. "name": "total",
  464. "id": 2
  465. },
  466. {
  467. "rule": "required",
  468. "type": "PlayerMailList",
  469. "name": "mail_list",
  470. "id": 3
  471. },
  472. {
  473. "rule": "optional",
  474. "type": "CommonRequest",
  475. "name": "envelope",
  476. "id": 10
  477. }
  478. ]
  479. },
  480. {
  481. "name": "PlayerMailList",
  482. "syntax": "proto2",
  483. "fields": [
  484. {
  485. "rule": "optional",
  486. "type": "string",
  487. "name": "title",
  488. "id": 1
  489. },
  490. {
  491. "rule": "optional",
  492. "type": "string",
  493. "name": "content",
  494. "id": 2
  495. },
  496. {
  497. "rule": "optional",
  498. "type": "int32",
  499. "name": "mail_type",
  500. "id": 3
  501. },
  502. {
  503. "rule": "optional",
  504. "type": "int32",
  505. "name": "status",
  506. "id": 4
  507. },
  508. {
  509. "rule": "optional",
  510. "type": "int32",
  511. "name": "hasAttachment",
  512. "id": 5
  513. },
  514. {
  515. "rule": "repeated",
  516. "type": "ItemVo",
  517. "name": "items",
  518. "id": 6
  519. },
  520. {
  521. "rule": "optional",
  522. "type": "int32",
  523. "name": "is_claimed",
  524. "id": 7
  525. },
  526. {
  527. "rule": "optional",
  528. "type": "string",
  529. "name": "create_time",
  530. "id": 8
  531. }
  532. ]
  533. },
  534. {
  535. "name": "ItemVo",
  536. "syntax": "proto2",
  537. "fields": [
  538. {
  539. "rule": "optional",
  540. "type": "int64",
  541. "name": "item_id",
  542. "id": 1
  543. },
  544. {
  545. "rule": "optional",
  546. "type": "int64",
  547. "name": "quantity",
  548. "id": 2
  549. }
  550. ]
  551. },
  552. {
  553. "name": "MailClaimRequestMessage",
  554. "syntax": "proto2",
  555. "fields": [
  556. {
  557. "rule": "optional",
  558. "type": "WsMessageType",
  559. "name": "message_id",
  560. "id": 1,
  561. "options": {
  562. "default": "MAIL_CLAIM_REQUEST"
  563. }
  564. },
  565. {
  566. "rule": "optional",
  567. "type": "int64",
  568. "name": "mailIds",
  569. "id": 2
  570. },
  571. {
  572. "rule": "optional",
  573. "type": "CommonRequest",
  574. "name": "envelope",
  575. "id": 10
  576. }
  577. ]
  578. },
  579. {
  580. "name": "MailClaimResponse",
  581. "syntax": "proto2",
  582. "fields": [
  583. {
  584. "rule": "repeated",
  585. "type": "ItemVo",
  586. "name": "items",
  587. "id": 1
  588. }
  589. ]
  590. },
  591. {
  592. "name": "MailReadRequestMessage",
  593. "syntax": "proto2",
  594. "fields": [
  595. {
  596. "rule": "optional",
  597. "type": "WsMessageType",
  598. "name": "message_id",
  599. "id": 1,
  600. "options": {
  601. "default": "MAIL_READ_REQUEST"
  602. }
  603. },
  604. {
  605. "rule": "repeated",
  606. "type": "int64",
  607. "name": "mailIds",
  608. "id": 2
  609. },
  610. {
  611. "rule": "optional",
  612. "type": "CommonRequest",
  613. "name": "envelope",
  614. "id": 10
  615. }
  616. ]
  617. },
  618. {
  619. "name": "MailDeleteRequestMessage",
  620. "syntax": "proto2",
  621. "fields": [
  622. {
  623. "rule": "optional",
  624. "type": "WsMessageType",
  625. "name": "message_id",
  626. "id": 1,
  627. "options": {
  628. "default": "MAIL_DELETE_REQUEST"
  629. }
  630. },
  631. {
  632. "rule": "required",
  633. "type": "int64",
  634. "name": "mailIds",
  635. "id": 2
  636. },
  637. {
  638. "rule": "optional",
  639. "type": "CommonRequest",
  640. "name": "envelope",
  641. "id": 10
  642. }
  643. ]
  644. },
  645. {
  646. "name": "UpgradeMagicRequest",
  647. "syntax": "proto2",
  648. "fields": [
  649. {
  650. "rule": "optional",
  651. "type": "WsMessageType",
  652. "name": "message_id",
  653. "id": 1,
  654. "options": {
  655. "default": "UPGRADE_MAGIC_ARRAY"
  656. }
  657. },
  658. {
  659. "rule": "required",
  660. "type": "int64",
  661. "name": "magic_array_id",
  662. "id": 2
  663. },
  664. {
  665. "rule": "repeated",
  666. "type": "CommonRequest",
  667. "name": "envelope",
  668. "id": 3
  669. }
  670. ]
  671. },
  672. {
  673. "name": "UpgradeMagicResponse",
  674. "syntax": "proto2",
  675. "fields": [
  676. {
  677. "rule": "optional",
  678. "type": "int32",
  679. "name": "lockAward",
  680. "id": 1,
  681. "options": {
  682. "default": 0
  683. }
  684. },
  685. {
  686. "rule": "optional",
  687. "type": "int64",
  688. "name": "magicArrayId",
  689. "id": 2,
  690. "options": {
  691. "default": 0
  692. }
  693. }
  694. ]
  695. },
  696. {
  697. "name": "IndexDataRequest",
  698. "syntax": "proto2",
  699. "fields": [
  700. {
  701. "rule": "optional",
  702. "type": "WsMessageType",
  703. "name": "message_id",
  704. "id": 1,
  705. "options": {
  706. "default": "INDEX_DATA"
  707. }
  708. },
  709. {
  710. "rule": "repeated",
  711. "type": "CommonRequest",
  712. "name": "envelope",
  713. "id": 2
  714. }
  715. ]
  716. },
  717. {
  718. "name": "IndexPageDataResponse",
  719. "syntax": "proto2",
  720. "fields": [
  721. {
  722. "rule": "repeated",
  723. "type": "UnclaimedMagicStoneEntry",
  724. "name": "unclaimed_magic_stone_map",
  725. "id": 1
  726. },
  727. {
  728. "rule": "optional",
  729. "type": "StoryEntry",
  730. "name": "storyEntry",
  731. "id": 2
  732. },
  733. {
  734. "rule": "optional",
  735. "type": "int32",
  736. "name": "maxMagicArrayLevel",
  737. "id": 3
  738. },
  739. {
  740. "rule": "repeated",
  741. "type": "int64",
  742. "name": "collected_story_ids",
  743. "id": 4
  744. }
  745. ]
  746. },
  747. {
  748. "name": "UnclaimedMagicStoneEntry",
  749. "syntax": "proto2",
  750. "fields": [
  751. {
  752. "rule": "optional",
  753. "type": "string",
  754. "name": "key",
  755. "id": 1
  756. },
  757. {
  758. "rule": "optional",
  759. "type": "int64",
  760. "name": "value",
  761. "id": 2
  762. }
  763. ]
  764. },
  765. {
  766. "name": "StoryEntry",
  767. "syntax": "proto2",
  768. "fields": [
  769. {
  770. "rule": "optional",
  771. "type": "string",
  772. "name": "story_id",
  773. "id": 1
  774. },
  775. {
  776. "rule": "optional",
  777. "type": "bool",
  778. "name": "success",
  779. "id": 2,
  780. "options": {
  781. "default": false
  782. }
  783. },
  784. {
  785. "rule": "optional",
  786. "type": "int32",
  787. "name": "story_ticket",
  788. "id": 3
  789. }
  790. ]
  791. },
  792. {
  793. "name": "DailyTaskRequest",
  794. "syntax": "proto2",
  795. "fields": [
  796. {
  797. "rule": "optional",
  798. "type": "WsMessageType",
  799. "name": "message_id",
  800. "id": 1,
  801. "options": {
  802. "default": "DAILY_TASK_INDEX"
  803. }
  804. },
  805. {
  806. "rule": "repeated",
  807. "type": "CommonRequest",
  808. "name": "envelope",
  809. "id": 2
  810. }
  811. ]
  812. },
  813. {
  814. "name": "DailyTaskResponse",
  815. "syntax": "proto2",
  816. "fields": [
  817. {
  818. "rule": "optional",
  819. "type": "StoryTicketTask",
  820. "name": "story_ticket_task",
  821. "id": 1
  822. },
  823. {
  824. "rule": "optional",
  825. "type": "VipTask",
  826. "name": "vip_task",
  827. "id": 2
  828. },
  829. {
  830. "rule": "optional",
  831. "type": "RechargeTask",
  832. "name": "recharge_task",
  833. "id": 3
  834. }
  835. ]
  836. },
  837. {
  838. "name": "StoryTicketTask",
  839. "syntax": "proto2",
  840. "fields": [
  841. {
  842. "rule": "repeated",
  843. "type": "int64",
  844. "name": "task_ids",
  845. "id": 1
  846. },
  847. {
  848. "rule": "optional",
  849. "type": "int64",
  850. "name": "current_coin_cost",
  851. "id": 2
  852. }
  853. ]
  854. },
  855. {
  856. "name": "VipTask",
  857. "syntax": "proto2",
  858. "fields": [
  859. {
  860. "rule": "repeated",
  861. "type": "int64",
  862. "name": "task_ids",
  863. "id": 1
  864. },
  865. {
  866. "rule": "optional",
  867. "type": "int64",
  868. "name": "award_magic_stone",
  869. "id": 2
  870. }
  871. ]
  872. },
  873. {
  874. "name": "RechargeTask",
  875. "syntax": "proto2",
  876. "fields": [
  877. {
  878. "rule": "repeated",
  879. "type": "int64",
  880. "name": "task_ids",
  881. "id": 1
  882. },
  883. {
  884. "rule": "optional",
  885. "type": "int64",
  886. "name": "recharge_amount",
  887. "id": 2
  888. }
  889. ]
  890. },
  891. {
  892. "name": "ClaimAwardRequest",
  893. "syntax": "proto2",
  894. "fields": [
  895. {
  896. "rule": "optional",
  897. "type": "WsMessageType",
  898. "name": "message_id",
  899. "id": 1,
  900. "options": {
  901. "default": "CLAIM_AWARD"
  902. }
  903. },
  904. {
  905. "rule": "repeated",
  906. "type": "ClaimAwardDto",
  907. "name": "task_list",
  908. "id": 2
  909. },
  910. {
  911. "rule": "repeated",
  912. "type": "CommonRequest",
  913. "name": "envelope",
  914. "id": 3
  915. }
  916. ]
  917. },
  918. {
  919. "name": "ClaimAwardDto",
  920. "syntax": "proto2",
  921. "fields": [
  922. {
  923. "rule": "optional",
  924. "type": "int32",
  925. "name": "task_id",
  926. "id": 1
  927. },
  928. {
  929. "rule": "optional",
  930. "type": "int32",
  931. "name": "task_type",
  932. "id": 2
  933. }
  934. ]
  935. },
  936. {
  937. "name": "EnterStoryRequest",
  938. "syntax": "proto2",
  939. "fields": [
  940. {
  941. "rule": "optional",
  942. "type": "WsMessageType",
  943. "name": "message_id",
  944. "id": 1,
  945. "options": {
  946. "default": "ENTRY_STORY_GAME"
  947. }
  948. },
  949. {
  950. "rule": "optional",
  951. "type": "int32",
  952. "name": "story_id",
  953. "id": 2
  954. },
  955. {
  956. "rule": "optional",
  957. "type": "bool",
  958. "name": "battle_over",
  959. "id": 3,
  960. "options": {
  961. "default": false
  962. }
  963. },
  964. {
  965. "rule": "optional",
  966. "type": "bool",
  967. "name": "success",
  968. "id": 4,
  969. "options": {
  970. "default": false
  971. }
  972. },
  973. {
  974. "rule": "repeated",
  975. "type": "CommonRequest",
  976. "name": "envelope",
  977. "id": 5
  978. }
  979. ]
  980. },
  981. {
  982. "name": "EntryStoryResponse",
  983. "syntax": "proto2",
  984. "fields": [
  985. {
  986. "rule": "optional",
  987. "type": "int32",
  988. "name": "story_id",
  989. "id": 1
  990. },
  991. {
  992. "rule": "optional",
  993. "type": "int32",
  994. "name": "battle_status",
  995. "id": 2
  996. },
  997. {
  998. "rule": "repeated",
  999. "type": "StoryAwardItemVo",
  1000. "name": "story_award_items",
  1001. "id": 3
  1002. },
  1003. {
  1004. "rule": "repeated",
  1005. "type": "StoryAwardItemVo",
  1006. "name": "box_award_items",
  1007. "id": 4
  1008. }
  1009. ]
  1010. },
  1011. {
  1012. "name": "StoryAwardItemVo",
  1013. "syntax": "proto2",
  1014. "fields": [
  1015. {
  1016. "rule": "optional",
  1017. "type": "int32",
  1018. "name": "item_id",
  1019. "id": 1
  1020. },
  1021. {
  1022. "rule": "optional",
  1023. "type": "int32",
  1024. "name": "quantity",
  1025. "id": 2
  1026. }
  1027. ]
  1028. },
  1029. {
  1030. "name": "ClaimPhasedRewardRequest",
  1031. "syntax": "proto2",
  1032. "fields": [
  1033. {
  1034. "rule": "optional",
  1035. "type": "WsMessageType",
  1036. "name": "message_id",
  1037. "id": 1,
  1038. "options": {
  1039. "default": "CLAIM_PHASED_REWARD"
  1040. }
  1041. },
  1042. {
  1043. "rule": "optional",
  1044. "type": "int32",
  1045. "name": "story_id",
  1046. "id": 2
  1047. },
  1048. {
  1049. "rule": "repeated",
  1050. "type": "CommonRequest",
  1051. "name": "envelope",
  1052. "id": 3
  1053. }
  1054. ]
  1055. },
  1056. {
  1057. "name": "ClaimPhasedRewardResponse",
  1058. "syntax": "proto2",
  1059. "fields": [
  1060. {
  1061. "rule": "optional",
  1062. "type": "int32",
  1063. "name": "story_id",
  1064. "id": 1
  1065. },
  1066. {
  1067. "rule": "repeated",
  1068. "type": "StoryAwardItemVo",
  1069. "name": "items",
  1070. "id": 2
  1071. },
  1072. {
  1073. "rule": "repeated",
  1074. "type": "CommonRequest",
  1075. "name": "envelope",
  1076. "id": 3
  1077. }
  1078. ]
  1079. }
  1080. ],
  1081. "enums": [
  1082. {
  1083. "name": "WsMessageType",
  1084. "syntax": "proto2",
  1085. "values": [
  1086. {
  1087. "name": "UNKNOWN",
  1088. "id": 0
  1089. },
  1090. {
  1091. "name": "CONNECTION_ACK",
  1092. "id": 1000
  1093. },
  1094. {
  1095. "name": "HEARTBEAT",
  1096. "id": 1001
  1097. },
  1098. {
  1099. "name": "AUTHENTICATION",
  1100. "id": 1002
  1101. },
  1102. {
  1103. "name": "AUTHENTICATION_RESPONSE",
  1104. "id": 1003
  1105. },
  1106. {
  1107. "name": "ERROR",
  1108. "id": 1004
  1109. },
  1110. {
  1111. "name": "ENTER_GAME",
  1112. "id": 2000
  1113. },
  1114. {
  1115. "name": "BATTLE_PROGRESS_UPDATE",
  1116. "id": 2001
  1117. },
  1118. {
  1119. "name": "CHOOSE_MAGIC_ARRAY",
  1120. "id": 2002
  1121. },
  1122. {
  1123. "name": "UPGRADE_MAGIC_ARRAY",
  1124. "id": 2003
  1125. },
  1126. {
  1127. "name": "INDEX_DATA",
  1128. "id": 2004
  1129. },
  1130. {
  1131. "name": "BOSS_KILL_NOTIFICATION",
  1132. "id": 2005
  1133. },
  1134. {
  1135. "name": "MONSTER_KILL_NOTIFICATION",
  1136. "id": 2006
  1137. },
  1138. {
  1139. "name": "MONSTER_KILL_CAROUSEL_NOTIFICATION",
  1140. "id": 2007
  1141. },
  1142. {
  1143. "name": "ENTRY_STORY_GAME",
  1144. "id": 2008
  1145. },
  1146. {
  1147. "name": "CLAIM_PHASED_REWARD",
  1148. "id": 2009
  1149. },
  1150. {
  1151. "name": "MAIL_NOTIFICATION",
  1152. "id": 3000
  1153. },
  1154. {
  1155. "name": "MAIL_LIST_REQUEST",
  1156. "id": 3001
  1157. },
  1158. {
  1159. "name": "MAIL_DETAIL_REQUEST",
  1160. "id": 3002
  1161. },
  1162. {
  1163. "name": "MAIL_CLAIM_REQUEST",
  1164. "id": 3003
  1165. },
  1166. {
  1167. "name": "MAIL_READ_REQUEST",
  1168. "id": 3004
  1169. },
  1170. {
  1171. "name": "MAIL_DELETE_REQUEST",
  1172. "id": 3005
  1173. },
  1174. {
  1175. "name": "MAIL_UNREAD_COUNT",
  1176. "id": 3006
  1177. },
  1178. {
  1179. "name": "MAIL_STATUS_UPDATE",
  1180. "id": 3007
  1181. },
  1182. {
  1183. "name": "DAILY_TASK_INDEX",
  1184. "id": 4000
  1185. },
  1186. {
  1187. "name": "CLAIM_AWARD",
  1188. "id": 4100
  1189. }
  1190. ]
  1191. },
  1192. {
  1193. "name": "GameMode",
  1194. "syntax": "proto2",
  1195. "values": [
  1196. {
  1197. "name": "STORY_MODE",
  1198. "id": 1
  1199. },
  1200. {
  1201. "name": "ENDLESS_NOVICE",
  1202. "id": 2
  1203. },
  1204. {
  1205. "name": "ENDLESS_INTERMEDIATE",
  1206. "id": 3
  1207. },
  1208. {
  1209. "name": "ENDLESS_ADVANCED",
  1210. "id": 4
  1211. }
  1212. ]
  1213. }
  1214. ],
  1215. "isNamespace": true
  1216. }