aboutsummaryrefslogtreecommitdiff
path: root/src/server/world/constants.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-03-22 17:45:35 +0000
committerFuwn <[email protected]>2021-03-22 17:45:35 +0000
commit13edb02ff4be35fa9a30e783d4a1e8bed323e0f2 (patch)
tree628865084867c3f2c5449f7682a6e833dd998004 /src/server/world/constants.rs
parentfix: Only send to one client not all for certain commands (diff)
downloadwhirl-13edb02ff4be35fa9a30e783d4a1e8bed323e0f2.tar.xz
whirl-13edb02ff4be35fa9a30e783d4a1e8bed323e0f2.zip
etc: ...
Diffstat (limited to 'src/server/world/constants.rs')
-rw-r--r--src/server/world/constants.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/server/world/constants.rs b/src/server/world/constants.rs
new file mode 100644
index 0000000..10c9439
--- /dev/null
+++ b/src/server/world/constants.rs
@@ -0,0 +1,13 @@
+use std::collections::HashMap;
+
+pub static ROOM_IDS: phf::Map<&'static str, &'static i32> = phf::phf_map! {
+"ChatElevator<dimension-1>" => &4,
+"IconViewRoom1Enter<dimension-1>" => &3,
+"ChatHall<dimension-1>" => &9,
+"IconViewRoom1<dimension-1>" => &12,
+"IconViewRoom1g<dimension-1>" => &27230,
+"ReceptionView1<dimension-1>" => &6,
+"ReceptionView2<dimension-1>" => &5,
+"Reception<dimension-1>" => &1,
+"staircase1<dimension-1>" => &11,
+};