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.proto24
1 files changed, 22 insertions, 2 deletions
diff --git a/proto/data.proto b/proto/data.proto index bc3f669..e9cc7d7 100644 --- a/proto/data.proto +++ b/proto/data.proto
@@ -52,6 +52,13 @@ enum DoorGroupType {
52 SHUFFLE_GROUP = 4; 52 SHUFFLE_GROUP = 4;
53} 53}
54 54
55enum MapType {
56 NORMAL_MAP = 0;
57 ICARUS = 1;
58 GIFT_MAP = 2;
59 DEMO = 3;
60}
61
55enum AxisDirection { 62enum AxisDirection {
56 AXIS_DIRECTION_UNKNOWN = 0; 63 AXIS_DIRECTION_UNKNOWN = 0;
57 64
@@ -93,6 +100,12 @@ message Vec3d {
93 optional double z = 3; 100 optional double z = 3;
94} 101}
95 102
103message VersionNumber {
104 optional uint64 major = 1;
105 optional uint64 minor = 2;
106 optional uint64 patch = 3;
107}
108
96message ProxyIdentifier { 109message ProxyIdentifier {
97 optional uint64 panel = 1; 110 optional uint64 panel = 1;
98 optional string answer = 2; 111 optional string answer = 2;
@@ -117,6 +130,7 @@ message Connection {
117 optional bool roof_access = 7; 130 optional bool roof_access = 7;
118 optional bool purple_ending = 8; 131 optional bool purple_ending = 8;
119 optional bool cyan_ending = 9; 132 optional bool cyan_ending = 9;
133 optional bool vanilla_only = 10;
120} 134}
121 135
122message Door { 136message Door {
@@ -136,11 +150,13 @@ message Door {
136 repeated KeyholderAnswer keyholders = 13; 150 repeated KeyholderAnswer keyholders = 13;
137 repeated uint64 rooms = 14; 151 repeated uint64 rooms = 14;
138 repeated uint64 doors = 15; 152 repeated uint64 doors = 15;
139 repeated uint64 endings = 16; 153 optional bool white_ending = 16;
140 optional bool double_letters = 18; 154 optional bool double_letters = 18;
141 repeated string senders = 19; 155 repeated string senders = 19;
142 156
143 optional DoorType type = 8; 157 optional DoorType type = 8;
158 optional bool latch = 20;
159 optional bool legacy_location = 21;
144 160
145 optional string location_name = 17; 161 optional string location_name = 17;
146} 162}
@@ -183,9 +199,11 @@ message PaintingData {
183 199
184message Port { 200message Port {
185 optional uint64 id = 1; 201 optional uint64 id = 1;
202 optional uint64 ap_id = 11;
186 optional uint64 room_id = 2; 203 optional uint64 room_id = 2;
187 optional string name = 3; 204 optional string name = 3;
188 205
206 optional string display_name = 10;
189 optional string path = 4; 207 optional string path = 4;
190 optional Vec3d destination = 5; 208 optional Vec3d destination = 5;
191 optional double rotation = 8; 209 optional double rotation = 8;
@@ -256,6 +274,8 @@ message Map {
256 optional uint64 id = 1; 274 optional uint64 id = 1;
257 optional string name = 2; 275 optional string name = 2;
258 optional string display_name = 3; 276 optional string display_name = 3;
277 optional uint64 worldport_entrance = 4;
278 optional MapType type = 5;
259} 279}
260 280
261message Progressive { 281message Progressive {
@@ -274,7 +294,7 @@ message DoorGroup {
274} 294}
275 295
276message AllObjects { 296message AllObjects {
277 optional uint64 version = 15; 297 optional VersionNumber version = 15;
278 298
279 repeated Map maps = 7; 299 repeated Map maps = 7;
280 repeated Room rooms = 1; 300 repeated Room rooms = 1;