mirror of
https://github.com/worldforge/cyphesis
synced 2026-08-13 12:26:04 -04:00
I.e. make sure that all objects have a defined life time. This requires that we actually set up and tear down the singletons.
14 lines
604 B
C++
14 lines
604 B
C++
//Add custom implementations of stubbed functions here; this file won't be rewritten when re-generating stubs.
|
|
ServerRouting * ServerRouting::m_instance = nullptr;
|
|
|
|
|
|
#ifndef STUB_ServerRouting_ServerRouting
|
|
#define STUB_ServerRouting_ServerRouting
|
|
ServerRouting::ServerRouting(BaseWorld & wrld, const std::string & ruleset, const std::string & name, const std::string & id, long intId, const std::string & lId, long lIntId)
|
|
: Router(id, intId),
|
|
m_svrRuleset(ruleset), m_svrName(name),
|
|
m_numClients(0), m_world(wrld), m_lobby(*(Lobby*)0)
|
|
{
|
|
|
|
}
|
|
#endif //STUB_ServerRouting_ServerRouting
|