Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BohemiaInteractive/CWR
/ AssignPlayer
Method
AssignPlayer
engine/Poseidon/Network/NetworkMisc.cpp:1634–1640 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1632
else
1633
{
1634
return 0;
1635
}
1636
}
1637
1638
const PlayerRole* NetworkManager::GetPlayerRole(int role) const
1639
{
1640
if (_client)
1641
{
1642
return _client->GetPlayerRole(role);
1643
}
Callers
8
UnassignPlayer
Method · 0.45
OnLBDrop
Method · 0.45
OnLButtonUp
Method · 0.45
OnButtonClicked
Method · 0.45
OnLBSelChanged
Method · 0.45
OnSimulate
Method · 0.45
TriMpAssignSelf
Function · 0.45
TriMpAssignSelfSlot
Function · 0.45
Calls
no outgoing calls
Tested by
2
TriMpAssignSelf
Function · 0.36
TriMpAssignSelfSlot
Function · 0.36