diff options
Diffstat (limited to 'proto')
-rw-r--r-- | proto/data.proto | 12 | ||||
-rw-r--r-- | proto/human.proto | 7 |
2 files changed, 19 insertions, 0 deletions
diff --git a/proto/data.proto b/proto/data.proto index 88e17d0..0d43168 100644 --- a/proto/data.proto +++ b/proto/data.proto | |||
@@ -158,6 +158,16 @@ message Mastery { | |||
158 | optional string path = 5; | 158 | optional string path = 5; |
159 | } | 159 | } |
160 | 160 | ||
161 | message Ending { | ||
162 | optional uint64 id = 1; | ||
163 | optional uint64 ap_id = 2; | ||
164 | optional uint64 room_id = 3; | ||
165 | |||
166 | optional string name = 4; | ||
167 | |||
168 | optional string path = 5; | ||
169 | } | ||
170 | |||
161 | message Room { | 171 | message Room { |
162 | optional uint64 id = 1; | 172 | optional uint64 id = 1; |
163 | optional uint64 map_id = 8; | 173 | optional uint64 map_id = 8; |
@@ -171,6 +181,7 @@ message Room { | |||
171 | repeated uint64 doors = 9; | 181 | repeated uint64 doors = 9; |
172 | repeated uint64 masteries = 10; | 182 | repeated uint64 masteries = 10; |
173 | repeated uint64 keyholders = 11; | 183 | repeated uint64 keyholders = 11; |
184 | repeated uint64 endings = 12; | ||
174 | } | 185 | } |
175 | 186 | ||
176 | message Map { | 187 | message Map { |
@@ -188,6 +199,7 @@ message AllObjects { | |||
188 | repeated Keyholder keyholders = 11; | 199 | repeated Keyholder keyholders = 11; |
189 | repeated Letter letters = 9; | 200 | repeated Letter letters = 9; |
190 | repeated Mastery masteries = 10; | 201 | repeated Mastery masteries = 10; |
202 | repeated Ending endings = 12; | ||
191 | repeated Connection connections = 6; | 203 | repeated Connection connections = 6; |
192 | map<string, uint64> special_ids = 8; | 204 | map<string, uint64> special_ids = 8; |
193 | } | 205 | } |
diff --git a/proto/human.proto b/proto/human.proto index 6cec66d..d52a0ad 100644 --- a/proto/human.proto +++ b/proto/human.proto | |||
@@ -151,6 +151,11 @@ message HumanMastery { | |||
151 | optional string path = 2; | 151 | optional string path = 2; |
152 | } | 152 | } |
153 | 153 | ||
154 | message HumanEnding { | ||
155 | optional string name = 1; | ||
156 | optional string path = 2; | ||
157 | } | ||
158 | |||
154 | message HumanRoom { | 159 | message HumanRoom { |
155 | optional string name = 1; | 160 | optional string name = 1; |
156 | optional string display_name = 2; | 161 | optional string display_name = 2; |
@@ -161,6 +166,7 @@ message HumanRoom { | |||
161 | repeated HumanPort ports = 6; | 166 | repeated HumanPort ports = 6; |
162 | repeated HumanKeyholder keyholders = 7; | 167 | repeated HumanKeyholder keyholders = 7; |
163 | repeated HumanMastery masteries = 8; | 168 | repeated HumanMastery masteries = 8; |
169 | repeated HumanEnding endings = 9; | ||
164 | } | 170 | } |
165 | 171 | ||
166 | message HumanMap { | 172 | message HumanMap { |
@@ -182,4 +188,5 @@ message IdMappings { | |||
182 | map<string, MapIds> maps = 1; | 188 | map<string, MapIds> maps = 1; |
183 | map<string, uint64> special = 2; | 189 | map<string, uint64> special = 2; |
184 | map<string, uint64> letters = 3; | 190 | map<string, uint64> letters = 3; |
191 | map<string, uint64> endings = 4; | ||
185 | } | 192 | } |