diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-08-07 17:18:47 -0400 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-08-07 17:18:47 -0400 |
| commit | c0c5431800d0306d01814e9902566c9b4fc9220b (patch) | |
| tree | 50d206c31bb7f535c3f2ca0b8d0f735c5a61f9a5 /proto | |
| parent | c9da387ede51f207825b63d9f13036a7b661d4b3 (diff) | |
| download | lingo2-archipelago-c0c5431800d0306d01814e9902566c9b4fc9220b.tar.gz lingo2-archipelago-c0c5431800d0306d01814e9902566c9b4fc9220b.tar.bz2 lingo2-archipelago-c0c5431800d0306d01814e9902566c9b4fc9220b.zip | |
Assign AP IDs to doors and panels
Diffstat (limited to 'proto')
| -rw-r--r-- | proto/data.proto | 2 | ||||
| -rw-r--r-- | proto/human.proto | 13 |
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 | ||
| 24 | message Door { | 24 | message 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 | ||
| 40 | message Panel { | 41 | message 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 | |||
| 128 | message 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 | } | ||
