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

Method BeginIteration

Code/CryEngine/CryScriptSystem/ScriptTable.cpp:593–605  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

591
592//////////////////////////////////////////////////////////////////////////
593IScriptTable::Iterator CScriptTable::BeginIteration(bool resolvePrototypeTableAsWell)
594{
595 Iterator iter;
596 iter.nKey = -1;
597 iter.sKey = NULL;
598 iter.internal.resolvePrototypeTableAsWell = resolvePrototypeTableAsWell;
599 iter.internal.nStackMarker1 = lua_gettop(L) + 1;
600 iter.internal.nStackMarker2 = 0;
601
602 PushRef();
603 lua_pushnil(L);
604 return iter;
605}
606
607//////////////////////////////////////////////////////////////////////////
608bool CScriptTable::MoveNext(Iterator& iter)

Callers 15

operator()Method · 0.80
BuildDispatchTableMethod · 0.80
BuildSynchTableMethod · 0.80
ValidateDispatchTableMethod · 0.80
AddSynchedTableMethod · 0.80
SaveLuaToXMLFunction · 0.80
WriteTableMethod · 0.80
IsVectorMethod · 0.80
WriteTableMethod · 0.80
IsVectorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected