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

Method GetValueAny

Code/CryEngine/CryScriptSystem/ScriptTable.cpp:192–203  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

190
191//////////////////////////////////////////////////////////////////////////
192bool CScriptTable::GetValueAny(const char* sKey, ScriptAnyValue& any, bool bChain)
193{
194 CHECK_STACK(L);
195 int top = lua_gettop(L);
196 if (!bChain)
197 PushRef();
198 lua_pushstring(L, sKey);
199 lua_gettable(L, -2);
200 bool res = m_pSS->PopAny(any);
201 lua_settop(L, top);
202 return res;
203}
204
205//////////////////////////////////////////////////////////////////////////
206void CScriptTable::SetAtAny(int nIndex, const ScriptAnyValue& any)

Callers 15

AddSynchedTableMethod · 0.80
DoResolveScriptTableMethod · 0.80
OnActivateMethod · 0.80
GetColorAnyValueMethod · 0.80
ReadScriptValueMethod · 0.80
ShouldSkipValueMethod · 0.80
WriteTableMethod · 0.80
HaveValueMethod · 0.80
ReuseTableMethod · 0.80
ValueMethod · 0.80
BeginGroupMethod · 0.80

Calls 1

PopAnyMethod · 0.80

Tested by

no test coverage detected