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

Method SetGlobalToNull

CryScriptSystem/ScriptSystem.cpp:1509–1514  ·  view source on GitHub ↗

///////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

1507//////////////////////////////////////////////////////////////////////
1508//////////////////////////////////////////////////////////////////////
1509void CScriptSystem::SetGlobalToNull(const char *sKey)
1510{
1511 Validate();
1512 lua_pushnil(m_pLS);
1513 lua_setglobal(m_pLS, sKey);
1514}
1515
1516//////////////////////////////////////////////////////////////////////
1517//////////////////////////////////////////////////////////////////////

Callers 15

LoadMusicDataFromLUAMethod · 0.80
EAXPresetMgr.cppFile · 0.80
LoadMethod · 0.80
LoadFromLuaMethod · 0.80
ResetClassRegistryMethod · 0.80
SetGameTypeMethod · 0.80
ResetMethod · 0.80
CreateMethod · 0.80
ChangeGameRulesMethod · 0.80
SoftResetMethod · 0.80
ResetMethod · 0.80
~CXServerMethod · 0.80

Calls 2

lua_pushnilFunction · 0.85
lua_setglobalFunction · 0.85

Tested by

no test coverage detected