aboutsummaryrefslogtreecommitdiff
path: root/server/constants.py
diff options
context:
space:
mode:
authorCerapter <cerap@protonmail.com>2018-07-31 00:44:41 +0200
committerCerapter <cerap@protonmail.com>2018-07-31 00:44:41 +0200
commit374e939ac467cf98bd785442f28a4ec802f27dc6 (patch)
treeabc947115897265baa12ce81e04bdfd1e4bf9337 /server/constants.py
parentf77381864e64e0c21b8db838daa62bbab2b58dc4 (diff)
Added the tsuserver3 files necessary to support this custom client.
Diffstat (limited to 'server/constants.py')
-rw-r--r--server/constants.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/server/constants.py b/server/constants.py
new file mode 100644
index 00000000..fa07e8ee
--- /dev/null
+++ b/server/constants.py
@@ -0,0 +1,11 @@
+from enum import Enum
+
+class TargetType(Enum):
+ #possible keys: ip, OOC, id, cname, ipid, hdid
+ IP = 0
+ OOC_NAME = 1
+ ID = 2
+ CHAR_NAME = 3
+ IPID = 4
+ HDID = 5
+ ALL = 6 \ No newline at end of file