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

Method Init

src/engine/shared/engine.cpp:89–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87 }
88
89 void Init() override
90 {
91 m_pConsole = Kernel()->RequestInterface<IConsole>();
92 m_pStorage = Kernel()->RequestInterface<IStorage>();
93
94 if(!m_pConsole || !m_pStorage)
95 return;
96
97 m_pConsole->Register("dbg_lognetwork", "", CFGFLAG_SERVER | CFGFLAG_CLIENT, Con_DbgLognetwork, this, "Log the network");
98 }
99
100 void AddJob(std::shared_ptr<IJob> pJob) override
101 {

Callers 1

CEngineMethod · 0.45

Calls 1

RegisterMethod · 0.45

Tested by

no test coverage detected