about summary refs log tree commit diff stats
path: root/proto/data.proto
diff options
context:
space:
mode:
Diffstat (limited to 'proto/data.proto')
-rw-r--r--proto/data.proto23
1 files changed, 23 insertions, 0 deletions
diff --git a/proto/data.proto b/proto/data.proto index 855c28c..84d14ef 100644 --- a/proto/data.proto +++ b/proto/data.proto
@@ -29,6 +29,20 @@ enum DoorType {
29 GRAVESTONE = 6; 29 GRAVESTONE = 6;
30} 30}
31 31
32enum DoorGroupType {
33 DOOR_GROUP_TYPE_UNKNOWN = 0;
34
35 // These doors border a worldport. They should be grouped when connections are
36 // not shuffled.
37 CONNECTOR = 1;
38
39 // Similar to CONNECTOR, but these doors are also ordinarily opened by solving
40 // the COLOR panel in the Control Center. These should be grouped when
41 // connections are not shuffled, but are not items at all when control center
42 // colors are not shuffled.
43 COLOR_CONNECTOR = 2;
44}
45
32enum AxisDirection { 46enum AxisDirection {
33 AXIS_DIRECTION_UNKNOWN = 0; 47 AXIS_DIRECTION_UNKNOWN = 0;
34 48
@@ -232,6 +246,14 @@ message Progressive {
232 repeated uint64 doors = 4; 246 repeated uint64 doors = 4;
233} 247}
234 248
249message DoorGroup {
250 optional uint64 id = 1;
251 optional string name = 2;
252 optional uint64 ap_id = 3;
253 optional DoorGroupType type = 4;
254 repeated uint64 doors = 5;
255}
256
235message AllObjects { 257message AllObjects {
236 repeated Map maps = 7; 258 repeated Map maps = 7;
237 repeated Room rooms = 1; 259 repeated Room rooms = 1;
@@ -245,5 +267,6 @@ message AllObjects {
245 repeated Ending endings = 12; 267 repeated Ending endings = 12;
246 repeated Connection connections = 6; 268 repeated Connection connections = 6;
247 repeated Progressive progressives = 13; 269 repeated Progressive progressives = 13;
270 repeated DoorGroup door_groups = 14;
248 map<string, uint64> special_ids = 8; 271 map<string, uint64> special_ids = 8;
249} 272}