MCPcopy 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

95static bool timeJumpPreview = false;
96
97Person* World::PlayerOn() const
98{
99 return _playerOn;
100}
101void World::SwitchPlayerTo(Person* veh)
102{
103 _playerOn = veh;

Callers 14

SetFlagOwnerMethod · 0.80
QIsManualMethod · 0.80
Dammage.cppFile · 0.80
QIsManualMethod · 0.80
SimulateUnitsMethod · 0.80
IsPlayerMethod · 0.80
IsPlayerDrivenMethod · 0.80
DrawDiagsMethod · 0.80
AutoReloadMethod · 0.80
UpdateUnitsInBriefingMethod · 0.80
PlayerFunction · 0.80

Calls

no outgoing calls

Tested by 1

TriMissionPlayerReadyFunction · 0.64