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

Method SetNullAt

CryScriptSystem/ScriptObject.cpp:628–636  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

626}
627
628void CScriptObject::SetNullAt(int nIdx)
629{
630 _GUARD_STACK(m_pLS);
631 if (!_GET_THIS())
632 return;
633
634 lua_pushnil(m_pLS);
635 lua_rawseti(m_pLS, - 2, nIdx);
636}
637
638int CScriptObject::Count()
639{

Callers 2

LoadPropertiesFunction · 0.80
GetPlayersMethod · 0.80

Calls 2

lua_pushnilFunction · 0.85
lua_rawsetiFunction · 0.85

Tested by

no test coverage detected