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

Method GetPlayer

engine/Poseidon/Network/NetworkMisc.cpp:1546–1556  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1544NetworkGameState NetworkManager::GetClientServerState() const
1545{
1546 if (_client)
1547 {
1548 return _client->GetServerState();
1549 }
1550 return NGSNone;
1551}
1552
1553bool NetworkManager::WasServerPlaying() const
1554{
1555 if (_client)
1556 return _client->WasPlaying();
1557 return false;
1558}
1559

Callers 15

KilledByMethod · 0.45
TransferMsgMethod · 0.45
MagazineMethod · 0.45
TransferFaceMethod · 0.45
TransferCustomRadioMethod · 0.45
SendMsgRemoteMethod · 0.45
SendMsgQueueMethod · 0.45
OnMessageMethod · 0.45
OnPlayerDestroyMethod · 0.45
CreateIdentityMethod · 0.45
AnswerNetworkQueryFunction · 0.45
UpdateMethod · 0.45

Calls

no outgoing calls

Tested by 2

TriMpAssignSelfFunction · 0.36
TriMpAssignSelfSlotFunction · 0.36