summaryrefslogtreecommitdiff
path: root/src/client.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-10 21:02:11 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-11 00:06:30 +0300
commit845f010511c88acd81da36d0e38b8ef12119d3e6 (patch)
treec21fa9be4372cdec8aa3f86fc90b1d6e939d824a /src/client.h
parent4a8621b8f1e3c714136e662157295edaf47c0983 (diff)
downloadmanaverse-845f010511c88acd81da36d0e38b8ef12119d3e6.tar.gz
manaverse-845f010511c88acd81da36d0e38b8ef12119d3e6.tar.bz2
manaverse-845f010511c88acd81da36d0e38b8ef12119d3e6.tar.xz
manaverse-845f010511c88acd81da36d0e38b8ef12119d3e6.zip
Add command like parameter --validate for validating client data.
Diffstat (limited to 'src/client.h')
-rw-r--r--src/client.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/client.h b/src/client.h
index f2681113a..06e362a35 100644
--- a/src/client.h
+++ b/src/client.h
@@ -130,6 +130,16 @@ class Client final : public ConfigListener,
void stateSwitchLogin1();
+ void loadData();
+
+ void unloadData();
+
+ void runValidate()
+#ifndef BAD_CILKPLUS
+ __attribute__ ((noreturn))
+#endif // BAD_CILKPLUS
+;
+
ServerInfo mCurrentServer;
Game *mGame;