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

Method GetAtAny

Code/CryEngine/CryScriptSystem/ScriptTable.cpp:216–225  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

214
215//////////////////////////////////////////////////////////////////////////
216bool CScriptTable::GetAtAny(int nIndex, ScriptAnyValue& any)
217{
218 CHECK_STACK(L);
219 PushRef();
220 lua_rawgeti(L, -1, nIndex);
221 bool res = m_pSS->PopAny(any);
222 lua_pop(L, 1); // Pop table.
223
224 return res;
225}
226
227//////////////////////////////////////////////////////////////////////////
228int CScriptTable::Count()

Callers 7

WriteTableMethod · 0.80
HaveElemAtMethod · 0.80
ReadScriptMethod · 0.80
WriteTableMethod · 0.80
ReadScriptMethod · 0.80
BeginPreCachedBufferMethod · 0.80
GetRadioSoundNameFunction · 0.80

Calls 1

PopAnyMethod · 0.80

Tested by

no test coverage detected