MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / OnHiddenItem

Method OnHiddenItem

ogsr_engine/xrGame/PDA.cpp:579–591  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

577}
578
579void CPda::OnHiddenItem()
580{
581 if (!this_is_3d_pda || !smart_cast<CActor*>(H_Parent()))
582 return;
583
584 SwitchState(eHiding);
585
586 if (!psActorFlags.test(AF_3D_PDA))
587 return;
588
589 auto pGameSP = smart_cast<CUIGameSP*>(HUD().GetUI()->UIGame());
590 pGameSP->ShowHidePda(false);
591}
592
593CPda::~CPda()
594{

Callers

nothing calls this directly

Calls 5

H_ParentFunction · 0.85
UIGameMethod · 0.80
GetUIMethod · 0.80
ShowHidePdaMethod · 0.80
testMethod · 0.45

Tested by

no test coverage detected