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.proto13
1 files changed, 10 insertions, 3 deletions
diff --git a/proto/data.proto b/proto/data.proto index 71c3aeb..b3b6e6b 100644 --- a/proto/data.proto +++ b/proto/data.proto
@@ -1,5 +1,7 @@
1edition = "2023"; 1edition = "2023";
2 2
3import "common.proto";
4
3package com.fourisland.lingo2_archipelago; 5package com.fourisland.lingo2_archipelago;
4 6
5message ProxyIdentifier { 7message ProxyIdentifier {
@@ -8,11 +10,9 @@ message ProxyIdentifier {
8} 10}
9 11
10message Connection { 12message Connection {
11 uint64 id = 7;
12
13 uint64 from_room = 1; 13 uint64 from_room = 1;
14 uint64 to_room = 2; 14 uint64 to_room = 2;
15 repeated uint64 required_door = 3; 15 uint64 required_door = 3;
16 16
17 oneof trigger { 17 oneof trigger {
18 uint64 port = 4; 18 uint64 port = 4;
@@ -82,6 +82,7 @@ message Port {
82 82
83message Room { 83message Room {
84 uint64 id = 1; 84 uint64 id = 1;
85 uint64 map_id = 8;
85 string name = 2; 86 string name = 2;
86 string display_name = 3; 87 string display_name = 3;
87 88
@@ -91,7 +92,13 @@ message Room {
91 repeated uint64 ports = 7; 92 repeated uint64 ports = 7;
92} 93}
93 94
95message Map {
96 uint64 id = 1;
97 string name = 2;
98}
99
94message AllObjects { 100message AllObjects {
101 repeated Map maps = 7;
95 repeated Room rooms = 1; 102 repeated Room rooms = 1;
96 repeated Door doors = 2; 103 repeated Door doors = 2;
97 repeated Panel panels = 3; 104 repeated Panel panels = 3;