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

Method ShowHidePda

ogsr_engine/xrGame/UIGameSP.cpp:234–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232}
233
234void CUIGameSP::ShowHidePda(const bool show)
235{
236 if ((PdaMenu->IsShown() && !show) || (!PdaMenu->IsShown() && show))
237 {
238 m_game->StartStopMenu(PdaMenu, false);
239 if (show || MainInputReceiver() == PdaMenu)
240 HUD().GetUI()->SetMainInputReceiver(nullptr, false);
241 }
242}
243
244CChangeLevelWnd::CChangeLevelWnd()
245{

Callers 2

OnActiveItemMethod · 0.80
OnHiddenItemMethod · 0.80

Calls 4

IsShownMethod · 0.80
SetMainInputReceiverMethod · 0.80
GetUIMethod · 0.80
StartStopMenuMethod · 0.45

Tested by

no test coverage detected