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

Method SetText

engine/Poseidon/UI/InGame/InGameUI.cpp:819–828  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

817 return false;
818 }
819 if (_atomic)
820 {
821 return false;
822 }
823 bool ret = false;
824 for (int i = 0; i < _items.Size(); i++)
825 {
826 MenuItem* item = _items[i];
827 if (item->_cmd == cmd)
828 {
829 item->_visible = show;
830 item->_enable = enable;
831 ret = true;

Callers 15

InitVehiclesMethod · 0.45
PreinitMethod · 0.45
InitMethod · 0.45
UpdateMethod · 0.45
UpdatePlayersMethod · 0.45
UpdatePlayerInfoMethod · 0.45
OnSimulateMethod · 0.45
OnCreateCtrlMethod · 0.45
RefreshLanguageMethod · 0.45
DisplayHintCMethod · 0.45
OnKeyDownMethod · 0.45
OnDrawMethod · 0.45

Calls 1

FindFunction · 0.85

Tested by

no test coverage detected