summary refs log tree commit diff stats
path: root/proto
diff options
context:
space:
mode:
Diffstat (limited to 'proto')
-rw-r--r--proto/data.proto2
-rw-r--r--proto/human.proto13
2 files changed, 15 insertions, 0 deletions
diff --git a/proto/data.proto b/proto/data.proto index 3417c4c..bea2563 100644 --- a/proto/data.proto +++ b/proto/data.proto
@@ -23,6 +23,7 @@ message Connection {
23 23
24message Door { 24message Door {
25 uint64 id = 1; 25 uint64 id = 1;
26 uint64 ap_id = 11;
26 uint64 map_id = 9; 27 uint64 map_id = 9;
27 uint64 room_id = 10; 28 uint64 room_id = 10;
28 string name = 2; 29 string name = 2;
@@ -39,6 +40,7 @@ message Door {
39 40
40message Panel { 41message Panel {
41 uint64 id = 1; 42 uint64 id = 1;
43 uint64 ap_id = 10;
42 uint64 room_id = 2; 44 uint64 room_id = 2;
43 string name = 3; 45 string name = 3;
44 46
diff --git a/proto/human.proto b/proto/human.proto index d5d03ff..1dcf2ab 100644 --- a/proto/human.proto +++ b/proto/human.proto
@@ -124,3 +124,16 @@ message HumanRoom {
124 repeated Letter letters = 5; 124 repeated Letter letters = 5;
125 repeated HumanPort ports = 6; 125 repeated HumanPort ports = 6;
126} 126}
127
128message IdMappings {
129 message RoomIds {
130 map<string, uint64> panels = 1;
131 }
132
133 message MapIds {
134 map<string, uint64> doors = 1;
135 map<string, RoomIds> rooms = 2;
136 }
137
138 map<string, MapIds> maps = 1;
139}