MCPcopy Create free account
hub / github.com/MergHQ/CRYENGINE / SetAtAny

Method SetAtAny

Code/CryEngine/CryScriptSystem/ScriptTable.cpp:206–213  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

204
205//////////////////////////////////////////////////////////////////////////
206void CScriptTable::SetAtAny(int nIndex, const ScriptAnyValue& any)
207{
208 CHECK_STACK(L);
209 PushRef();
210 m_pSS->PushAny(any);
211 lua_rawseti(L, -2, nIndex);
212 lua_pop(L, 1); // Pop table.
213}
214
215//////////////////////////////////////////////////////////////////////////
216bool CScriptTable::GetAtAny(int nIndex, ScriptAnyValue& any)

Callers 3

ReadScriptMethod · 0.80
ReadScriptMethod · 0.80
MergeTableMethod · 0.80

Calls 1

PushAnyMethod · 0.80

Tested by

no test coverage detected