Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
37
using namespace Poseidon;
38
namespace Poseidon
39
{
40
41
int NetSessionDescriptions::Add()
42
{
43
if (_size >= MAX_SESSIONS)
44
{
45
return -1;
46
}
47
return _size++;
48
}
Callers
4
ctrlReceive
Function · 0.45
enumReceive
Function · 0.45
finishDestroyPlayer
Method · 0.45
GetTransmitTargets
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected