MCPcopy Create free account
hub / github.com/ddnet/ddnet / SetGameServer

Method SetGameServer

src/game/server/gameworld.cpp:41–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41void CGameWorld::SetGameServer(CGameContext *pGameServer)
42{
43 m_pGameServer = pGameServer;
44 m_pConfig = m_pGameServer->Config();
45 m_pServer = m_pGameServer->Server();
46}
47
48void CGameWorld::Init(CCollision *pCollision, CTuningParams *pTuningList)
49{

Callers 1

OnInitMethod · 0.45

Calls 2

ConfigMethod · 0.45
ServerMethod · 0.45

Tested by

no test coverage detected