MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / Init

Method Init

engine/Poseidon/Network/NetTransportNetEnum.cpp:69–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69bool NetSessionEnum::Init(int magic)
70{
71#ifdef NET_LOG_SESSION_ENUM
72 NetLog("Peer(%u): NetSessionEnum::Init(%d)", NetTpInternal::getClientPeer()->getPeerId(), magic);
73#endif
74 magicApp = magic;
75 setEnum(this);
76 return true;
77}
78
79void NetSessionEnum::Done()
80{

Callers

nothing calls this directly

Calls 3

getClientPeerFunction · 0.85
setEnumFunction · 0.85
getPeerIdMethod · 0.80

Tested by

no test coverage detected