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

Method Add

engine/Poseidon/Network/NetTransportNet.cpp:38–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36
37using namespace Poseidon;
38namespace Poseidon
39{
40
41int NetSessionDescriptions::Add()
42{
43 if (_size >= MAX_SESSIONS)
44 {
45 return -1;
46 }
47 return _size++;
48}

Callers 4

ctrlReceiveFunction · 0.45
enumReceiveFunction · 0.45
finishDestroyPlayerMethod · 0.45
GetTransmitTargetsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected