Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BohemiaInteractive/CWR
/ PlayerOn
Method
PlayerOn
engine/Poseidon/World/WorldSetup.cpp:97–100 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
95
static bool timeJumpPreview = false;
96
97
Person* World::PlayerOn() const
98
{
99
return _playerOn;
100
}
101
void World::SwitchPlayerTo(Person* veh)
102
{
103
_playerOn = veh;
Callers
14
SetFlagOwner
Method · 0.80
QIsManual
Method · 0.80
Dammage.cpp
File · 0.80
QIsManual
Method · 0.80
SimulateUnits
Method · 0.80
IsPlayer
Method · 0.80
IsPlayerDriven
Method · 0.80
DrawDiags
Method · 0.80
AutoReload
Method · 0.80
DrawInputContextDiagnostics
Function · 0.80
UpdateUnitsInBriefing
Method · 0.80
Player
Function · 0.80
Calls
no outgoing calls
Tested by
1
TriMissionPlayerReady
Function · 0.64