diff options
Diffstat (limited to 'proto')
| -rw-r--r-- | proto/common.proto | 5 | ||||
| -rw-r--r-- | proto/data.proto | 25 | ||||
| -rw-r--r-- | proto/human.proto | 2 |
3 files changed, 26 insertions, 6 deletions
| diff --git a/proto/common.proto b/proto/common.proto index 03ad436..e300e94 100644 --- a/proto/common.proto +++ b/proto/common.proto | |||
| @@ -7,11 +7,6 @@ message Proxy { | |||
| 7 | string path = 2; | 7 | string path = 2; |
| 8 | } | 8 | } |
| 9 | 9 | ||
| 10 | message Letter { | ||
| 11 | string key = 1; | ||
| 12 | bool double = 2; | ||
| 13 | } | ||
| 14 | |||
| 15 | enum DoorType { | 10 | enum DoorType { |
| 16 | DOOR_TYPE_UNKNOWN = 0; | 11 | DOOR_TYPE_UNKNOWN = 0; |
| 17 | 12 | ||
| diff --git a/proto/data.proto b/proto/data.proto index bd8cdc3..dd7a2a3 100644 --- a/proto/data.proto +++ b/proto/data.proto | |||
| @@ -83,6 +83,26 @@ message Port { | |||
| 83 | uint64 required_door = 6; | 83 | uint64 required_door = 6; |
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | message Letter { | ||
| 87 | uint64 id = 3; | ||
| 88 | uint64 ap_id = 5; | ||
| 89 | uint64 room_id = 4; | ||
| 90 | |||
| 91 | string key = 1; | ||
| 92 | bool double = 2; | ||
| 93 | |||
| 94 | string path = 6; | ||
| 95 | } | ||
| 96 | |||
| 97 | message Mastery { | ||
| 98 | uint64 id = 1; | ||
| 99 | uint64 ap_id = 2; | ||
| 100 | uint64 room_id = 3; | ||
| 101 | |||
| 102 | string name = 4; | ||
| 103 | string path = 5; | ||
| 104 | } | ||
| 105 | |||
| 86 | message Room { | 106 | message Room { |
| 87 | uint64 id = 1; | 107 | uint64 id = 1; |
| 88 | uint64 map_id = 8; | 108 | uint64 map_id = 8; |
| @@ -91,9 +111,10 @@ message Room { | |||
| 91 | 111 | ||
| 92 | repeated uint64 panels = 4; | 112 | repeated uint64 panels = 4; |
| 93 | repeated uint64 paintings = 5; | 113 | repeated uint64 paintings = 5; |
| 94 | repeated Letter letters = 6; | 114 | repeated uint64 letters = 6; |
| 95 | repeated uint64 ports = 7; | 115 | repeated uint64 ports = 7; |
| 96 | repeated uint64 doors = 9; | 116 | repeated uint64 doors = 9; |
| 117 | repeated uint64 masteries = 10; | ||
| 97 | } | 118 | } |
| 98 | 119 | ||
| 99 | message Map { | 120 | message Map { |
| @@ -108,6 +129,8 @@ message AllObjects { | |||
| 108 | repeated Panel panels = 3; | 129 | repeated Panel panels = 3; |
| 109 | repeated Painting paintings = 4; | 130 | repeated Painting paintings = 4; |
| 110 | repeated Port ports = 5; | 131 | repeated Port ports = 5; |
| 132 | repeated Letter letters = 9; | ||
| 133 | repeated Mastery masteries = 10; | ||
| 111 | repeated Connection connections = 6; | 134 | repeated Connection connections = 6; |
| 112 | map<string, uint64> special_ids = 8; | 135 | map<string, uint64> special_ids = 8; |
| 113 | } | 136 | } |
| diff --git a/proto/human.proto b/proto/human.proto index 88aca38..3edd984 100644 --- a/proto/human.proto +++ b/proto/human.proto | |||
| @@ -153,6 +153,7 @@ message HumanRoom { | |||
| 153 | message IdMappings { | 153 | message IdMappings { |
| 154 | message RoomIds { | 154 | message RoomIds { |
| 155 | map<string, uint64> panels = 1; | 155 | map<string, uint64> panels = 1; |
| 156 | map<string, uint64> masteries = 2; | ||
| 156 | } | 157 | } |
| 157 | 158 | ||
| 158 | message MapIds { | 159 | message MapIds { |
| @@ -162,4 +163,5 @@ message IdMappings { | |||
| 162 | 163 | ||
| 163 | map<string, MapIds> maps = 1; | 164 | map<string, MapIds> maps = 1; |
| 164 | map<string, uint64> special = 2; | 165 | map<string, uint64> special = 2; |
| 166 | map<string, uint64> letters = 3; | ||
| 165 | } | 167 | } |
