|
@@ -2,7 +2,7 @@
|
|
"package": "vip.metadev.module.battle.protobuf",
|
|
"package": "vip.metadev.module.battle.protobuf",
|
|
"syntax": "proto2",
|
|
"syntax": "proto2",
|
|
"options": {
|
|
"options": {
|
|
- "java_outer_classname": "DailyTaskRequestProto",
|
|
|
|
|
|
+ "java_outer_classname": "EnterStoryRequestProto",
|
|
"java_multiple_files": false
|
|
"java_multiple_files": false
|
|
},
|
|
},
|
|
"messages": [
|
|
"messages": [
|
|
@@ -836,6 +836,93 @@
|
|
"id": 2
|
|
"id": 2
|
|
}
|
|
}
|
|
]
|
|
]
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "name": "EnterStoryRequest",
|
|
|
|
+ "syntax": "proto2",
|
|
|
|
+ "fields": [
|
|
|
|
+ {
|
|
|
|
+ "rule": "optional",
|
|
|
|
+ "type": "WsMessageType",
|
|
|
|
+ "name": "message_id",
|
|
|
|
+ "id": 1,
|
|
|
|
+ "options": {
|
|
|
|
+ "default": "ENTRY_STORY_GAME"
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "rule": "optional",
|
|
|
|
+ "type": "int32",
|
|
|
|
+ "name": "story_id",
|
|
|
|
+ "id": 2
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "rule": "optional",
|
|
|
|
+ "type": "bool",
|
|
|
|
+ "name": "battle_over",
|
|
|
|
+ "id": 3,
|
|
|
|
+ "options": {
|
|
|
|
+ "default": false
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "rule": "optional",
|
|
|
|
+ "type": "bool",
|
|
|
|
+ "name": "success",
|
|
|
|
+ "id": 4,
|
|
|
|
+ "options": {
|
|
|
|
+ "default": false
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "rule": "repeated",
|
|
|
|
+ "type": "CommonRequest",
|
|
|
|
+ "name": "envelope",
|
|
|
|
+ "id": 5
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "name": "EntryStoryResponse",
|
|
|
|
+ "syntax": "proto2",
|
|
|
|
+ "fields": [
|
|
|
|
+ {
|
|
|
|
+ "rule": "optional",
|
|
|
|
+ "type": "int32",
|
|
|
|
+ "name": "story_id",
|
|
|
|
+ "id": 1
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "rule": "optional",
|
|
|
|
+ "type": "int32",
|
|
|
|
+ "name": "battle_status",
|
|
|
|
+ "id": 2
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "rule": "repeated",
|
|
|
|
+ "type": "StoryAwardItemVo",
|
|
|
|
+ "name": "story_award_items",
|
|
|
|
+ "id": 3
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "name": "StoryAwardItemVo",
|
|
|
|
+ "syntax": "proto2",
|
|
|
|
+ "fields": [
|
|
|
|
+ {
|
|
|
|
+ "rule": "optional",
|
|
|
|
+ "type": "int32",
|
|
|
|
+ "name": "item_id",
|
|
|
|
+ "id": 1
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "rule": "optional",
|
|
|
|
+ "type": "int32",
|
|
|
|
+ "name": "quantity",
|
|
|
|
+ "id": 2
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
}
|
|
}
|
|
],
|
|
],
|
|
"enums": [
|
|
"enums": [
|