MCPcopy Create free account
hub / github.com/StrongPC123/Far-Cry-1-Source-Full / Create

Method Create

CryGame/ScriptObjectUI.cpp:32–44  ·  view source on GitHub ↗

-------------------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

30
31//-------------------------------------------------------------------------------------------------
32int CScriptObjectUI::Create(CUISystem *pUISystem)
33{
34 m_pUISystem = pUISystem;
35 m_pLog = pUISystem->GetISystem()->GetILog();
36
37 IScriptSystem *pScriptSystem = pUISystem->GetIScriptSystem();
38
39 pScriptSystem->SetGlobalToNull("UI");
40
41 InitGlobal(pScriptSystem, "UI", this);
42
43 return 1;
44}
45
46//-------------------------------------------------------------------------------------------------
47int CScriptObjectUI::GetScriptFunctionPtrs()

Callers

nothing calls this directly

Calls 4

GetILogMethod · 0.80
GetISystemMethod · 0.80
SetGlobalToNullMethod · 0.80
GetIScriptSystemMethod · 0.45

Tested by

no test coverage detected