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.proto48
1 files changed, 47 insertions, 1 deletions
diff --git a/proto/data.proto b/proto/data.proto index 60b603b..7a1918a 100644 --- a/proto/data.proto +++ b/proto/data.proto
@@ -27,6 +27,29 @@ enum DoorType {
27 27
28 // This door is an item if gravestone shuffle is enabled, and is a location as long as panelsanity is not on. 28 // This door is an item if gravestone shuffle is enabled, and is a location as long as panelsanity is not on.
29 GRAVESTONE = 6; 29 GRAVESTONE = 6;
30
31 // This door is never a location, and is an item as long as gallery painting shuffle is on.
32 GALLERY_PAINTING = 7;
33}
34
35enum DoorGroupType {
36 DOOR_GROUP_TYPE_UNKNOWN = 0;
37
38 // These doors border a worldport. They should be grouped when connections are
39 // not shuffled.
40 CONNECTOR = 1;
41
42 // Similar to CONNECTOR, but these doors are also ordinarily opened by solving
43 // the COLOR panel in the Control Center. These should be grouped when
44 // connections are not shuffled, but are not items at all when control center
45 // colors are not shuffled.
46 COLOR_CONNECTOR = 2;
47
48 // Groups with this type become an item if cyan door behavior is set to item.
49 CYAN_DOORS = 3;
50
51 // Groups with this type always become an item if door shuffle is on.
52 SHUFFLE_GROUP = 4;
30} 53}
31 54
32enum AxisDirection { 55enum AxisDirection {
@@ -84,6 +107,8 @@ message Connection {
84 uint64 painting = 5; 107 uint64 painting = 5;
85 ProxyIdentifier panel = 6; 108 ProxyIdentifier panel = 6;
86 } 109 }
110
111 optional bool roof_access = 7;
87} 112}
88 113
89message Door { 114message Door {
@@ -100,12 +125,12 @@ message Door {
100 optional uint64 complete_at = 12; 125 optional uint64 complete_at = 12;
101 126
102 optional string control_center_color = 6; 127 optional string control_center_color = 6;
103 repeated string switches = 7;
104 repeated KeyholderAnswer keyholders = 13; 128 repeated KeyholderAnswer keyholders = 13;
105 repeated uint64 rooms = 14; 129 repeated uint64 rooms = 14;
106 repeated uint64 doors = 15; 130 repeated uint64 doors = 15;
107 repeated uint64 endings = 16; 131 repeated uint64 endings = 16;
108 optional bool double_letters = 18; 132 optional bool double_letters = 18;
133 repeated string senders = 19;
109 134
110 optional DoorType type = 8; 135 optional DoorType type = 8;
111 136
@@ -162,10 +187,12 @@ message Port {
162 187
163message KeyholderData { 188message KeyholderData {
164 optional uint64 id = 1; 189 optional uint64 id = 1;
190 optional uint64 ap_id = 6;
165 optional uint64 room_id = 2; 191 optional uint64 room_id = 2;
166 192
167 optional string name = 3; 193 optional string name = 3;
168 optional string path = 4; 194 optional string path = 4;
195 optional string key = 5;
169} 196}
170 197
171message Letter { 198message Letter {
@@ -221,7 +248,24 @@ message Map {
221 optional string display_name = 3; 248 optional string display_name = 3;
222} 249}
223 250
251message Progressive {
252 optional uint64 id = 1;
253 optional string name = 2;
254 optional uint64 ap_id = 3;
255 repeated uint64 doors = 4;
256}
257
258message DoorGroup {
259 optional uint64 id = 1;
260 optional string name = 2;
261 optional uint64 ap_id = 3;
262 optional DoorGroupType type = 4;
263 repeated uint64 doors = 5;
264}
265
224message AllObjects { 266message AllObjects {
267 optional uint64 version = 15;
268
225 repeated Map maps = 7; 269 repeated Map maps = 7;
226 repeated Room rooms = 1; 270 repeated Room rooms = 1;
227 repeated Door doors = 2; 271 repeated Door doors = 2;
@@ -233,5 +277,7 @@ message AllObjects {
233 repeated Mastery masteries = 10; 277 repeated Mastery masteries = 10;
234 repeated Ending endings = 12; 278 repeated Ending endings = 12;
235 repeated Connection connections = 6; 279 repeated Connection connections = 6;
280 repeated Progressive progressives = 13;
281 repeated DoorGroup door_groups = 14;
236 map<string, uint64> special_ids = 8; 282 map<string, uint64> special_ids = 8;
237} 283}