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

Method NetSessionEnum

engine/Poseidon/Network/NetTransportNetEnum.cpp:42–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40void setEnum(NetSessionEnum* _en);
41
42NetSessionEnum::NetSessionEnum() : LockInit(_cs, "NetSessionEnum::_cs", true)
43{
44 _running = false;
45 magicApp = 0;
46 setEnum(this);
47#ifdef NET_LOG_SESSION_ENUM
48 NetLog("Peer(%u): creating NetSessionEnum instance", NetTpInternal::getClientPeer()->getPeerId());
49#endif
50}
51
52NetSessionEnum::~NetSessionEnum()
53{

Callers

nothing calls this directly

Calls 3

setEnumFunction · 0.85
getClientPeerFunction · 0.85
getPeerIdMethod · 0.80

Tested by

no test coverage detected