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

Method GetParamUDVal

CryScriptSystem/FunctionHandler.cpp:163–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162
163bool CFunctionHandler::GetParamUDVal(int nIdx,USER_DATA &val,int &cookie) //AMD Port
164{
165 USER_DATA_CHUNK *udc=(USER_DATA_CHUNK *)lua_touserdata(m_pLS,nIdx+1);
166 if(!udc)
167 return false;
168 val=udc->nVal;
169 cookie=udc->nCookie;
170 return true;
171}
172
173ScriptVarType CFunctionHandler::GetParamType(int nIdx)
174{

Callers 15

IsPlayingMethod · 0.45
PlaySoundMethod · 0.45
SetSoundVolumeMethod · 0.45
SetSoundLoopMethod · 0.45
SetSoundFrequencyMethod · 0.45
SetSoundPitchingMethod · 0.45
StopSoundMethod · 0.45
SetSoundPositionMethod · 0.45
SetSoundSpeedMethod · 0.45
SetMinMaxDistanceMethod · 0.45
SetLoopPointsMethod · 0.45

Calls 1

lua_touserdataFunction · 0.85

Tested by

no test coverage detected