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

Method GetValue

CryScriptSystem/ScriptObject.cpp:343–354  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

341}
342
343bool CScriptObject::GetValue(const char *sKey, int &nVal)
344{
345 BEGIN_CHECK_STACK
346 bool res = false;
347 if (!_GET_THIS())
348 return false;
349
350 res=GetValueChain(sKey,nVal);
351 lua_pop(m_pLS, 1);
352 END_CHECK_STACK
353 return res;
354}
355
356bool CScriptObject::GetValueChain(const char *sKey, HSCRIPTFUNCTION &funcVal)
357{

Callers 15

OnElementFoundMethod · 0.45
CreateParticleLineMethod · 0.45
ReadParticleTableMethod · 0.45
DrawTriStripMethod · 0.45
EnumDisplayFormatsMethod · 0.45
AttachToBoneMethod · 0.45
BindMethod · 0.45
UnbindMethod · 0.45
CreateParticleEntityMethod · 0.45
CreateLivingEntityMethod · 0.45
LoadVehicleMethod · 0.45
SetEntityPhysicParamsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected