diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-05 17:30:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-06 01:18:57 +0300 |
commit | 487d3be4cc8761e5697d4fb95d85e9da8dcaa42e (patch) | |
tree | 51ad4b1a6e89fd10a5a30a951879862494264c53 /src/net/net.cpp | |
parent | e4aea077d98d37ddec91c76ca7ad359e321a7661 (diff) | |
download | plus-487d3be4cc8761e5697d4fb95d85e9da8dcaa42e.tar.gz plus-487d3be4cc8761e5697d4fb95d85e9da8dcaa42e.tar.bz2 plus-487d3be4cc8761e5697d4fb95d85e9da8dcaa42e.tar.xz plus-487d3be4cc8761e5697d4fb95d85e9da8dcaa42e.zip |
Add serverfeatures class for check is server support one or another features.
Diffstat (limited to 'src/net/net.cpp')
-rw-r--r-- | src/net/net.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/net.cpp b/src/net/net.cpp index 63a348bde..c238731a5 100644 --- a/src/net/net.cpp +++ b/src/net/net.cpp @@ -50,6 +50,7 @@ Net::SkillHandler *skillHandler = nullptr; Net::TradeHandler *tradeHandler = nullptr; Net::BeingHandler *beingHandler = nullptr; Net::BuySellHandler *buySellHandler = nullptr; +Net::ServerFeatures *serverFeatures = nullptr; Net::AdminHandler *Net::getAdminHandler() { @@ -131,6 +132,11 @@ Net::BuySellHandler *Net::getBuySellHandler() return buySellHandler; } +Net::ServerFeatures *Net::getServerFeatures() +{ + return serverFeatures; +} + namespace Net { ServerInfo::Type networkType = ServerInfo::UNKNOWN; |