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

Method GetBackground

CryGame/ScriptObjectUI.cpp:980–987  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

978
979//-------------------------------------------------------------------------------------------------
980int CScriptObjectUI::GetBackground(IFunctionHandler *pH)
981{
982 CHECK_SCRIPT_FUNCTION_PARAMCOUNT(m_pScriptSystem, "UI", GetBackground, 0);
983
984 USER_DATA pUserData = m_pScriptSystem->CreateUserData((int)m_pUISystem->GetBackground(), USER_DATA_TEXTURE);
985
986 return pH->EndFunction(pUserData);
987}
988
989//-------------------------------------------------------------------------------------------------
990int CScriptObjectUI::SetBackgroundColor(IFunctionHandler *pH)

Callers

nothing calls this directly

Calls 2

CreateUserDataMethod · 0.80
EndFunctionMethod · 0.80

Tested by

no test coverage detected