MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / ODServer

Method ODServer

source/network/ODServer.cpp:70–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68template<> ODServer* Ogre::Singleton<ODServer>::msSingleton = nullptr;
69
70ODServer::ODServer() :
71 mUniqueNumberPlayer(0),
72 mServerMode(ServerMode::ModeNone),
73 mServerState(ServerState::StateNone),
74 mGameMap(new GameMap(true)),
75 mSeatsConfigured(false),
76 mPlayerConfig(nullptr),
77 mConsoleInterface(std::bind(&ODServer::printConsoleMsg, this, std::placeholders::_1)),
78 mMasterServerGameStatusUpdateTime(0)
79{
80 ConsoleCommands::addConsoleCommands(mConsoleInterface);
81}
82
83ODServer::~ODServer()
84{

Callers

nothing calls this directly

Calls 1

addConsoleCommandsFunction · 0.85

Tested by

no test coverage detected