diff options
Diffstat (limited to 'proto')
-rw-r--r-- | proto/data.proto | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/proto/data.proto b/proto/data.proto index 274010d..fd38cfd 100644 --- a/proto/data.proto +++ b/proto/data.proto | |||
@@ -9,6 +9,11 @@ message ProxyIdentifier { | |||
9 | string answer = 2; | 9 | string answer = 2; |
10 | } | 10 | } |
11 | 11 | ||
12 | message KeyholderAnswer { | ||
13 | uint64 keyholder = 1; | ||
14 | string key = 2; | ||
15 | } | ||
16 | |||
12 | message Connection { | 17 | message Connection { |
13 | uint64 from_room = 1; | 18 | uint64 from_room = 1; |
14 | uint64 to_room = 2; | 19 | uint64 to_room = 2; |
@@ -36,6 +41,8 @@ message Door { | |||
36 | 41 | ||
37 | string control_center_color = 6; | 42 | string control_center_color = 6; |
38 | repeated string switches = 7; | 43 | repeated string switches = 7; |
44 | repeated KeyholderAnswer keyholders = 13; | ||
45 | repeated uint64 rooms = 14; | ||
39 | 46 | ||
40 | DoorType type = 8; | 47 | DoorType type = 8; |
41 | } | 48 | } |
@@ -69,6 +76,7 @@ message Painting { | |||
69 | bool move = 6; | 76 | bool move = 6; |
70 | bool enter_only = 7; | 77 | bool enter_only = 7; |
71 | bool flipped = 8; | 78 | bool flipped = 8; |
79 | bool exit_only = 11; | ||
72 | 80 | ||
73 | uint64 required_door = 5; | 81 | uint64 required_door = 5; |
74 | } | 82 | } |
@@ -84,6 +92,14 @@ message Port { | |||
84 | uint64 required_door = 6; | 92 | uint64 required_door = 6; |
85 | } | 93 | } |
86 | 94 | ||
95 | message Keyholder { | ||
96 | uint64 id = 1; | ||
97 | uint64 room_id = 2; | ||
98 | |||
99 | string name = 3; | ||
100 | string path = 4; | ||
101 | } | ||
102 | |||
87 | message Letter { | 103 | message Letter { |
88 | uint64 id = 3; | 104 | uint64 id = 3; |
89 | uint64 ap_id = 5; | 105 | uint64 ap_id = 5; |
@@ -116,6 +132,7 @@ message Room { | |||
116 | repeated uint64 ports = 7; | 132 | repeated uint64 ports = 7; |
117 | repeated uint64 doors = 9; | 133 | repeated uint64 doors = 9; |
118 | repeated uint64 masteries = 10; | 134 | repeated uint64 masteries = 10; |
135 | repeated uint64 keyholders = 11; | ||
119 | } | 136 | } |
120 | 137 | ||
121 | message Map { | 138 | message Map { |
@@ -130,6 +147,7 @@ message AllObjects { | |||
130 | repeated Panel panels = 3; | 147 | repeated Panel panels = 3; |
131 | repeated Painting paintings = 4; | 148 | repeated Painting paintings = 4; |
132 | repeated Port ports = 5; | 149 | repeated Port ports = 5; |
150 | repeated Keyholder keyholders = 11; | ||
133 | repeated Letter letters = 9; | 151 | repeated Letter letters = 9; |
134 | repeated Mastery masteries = 10; | 152 | repeated Mastery masteries = 10; |
135 | repeated Connection connections = 6; | 153 | repeated Connection connections = 6; |