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

Method GetCurrentPtr

CryScriptSystem/ScriptObject.cpp:1256–1264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1254
1255
1256bool CScriptObject::GetCurrentPtr(const void * &pObj)
1257{
1258 if(m_nIterationCounter==-1)
1259 return false;
1260
1261 pObj=lua_topointer(m_pLS, - 1);
1262
1263 return pObj!=0;
1264}
1265
1266
1267bool CScriptObject::GetCurrent(IScriptObject *pObj)

Callers 3

Debug_Full_recursiveMethod · 0.80
Debug_ElementsMethod · 0.80

Calls 1

lua_topointerFunction · 0.85

Tested by

no test coverage detected