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

Method GetParamCount

CryScriptSystem/FunctionHandler.cpp:55–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55int CFunctionHandler::GetParamCount()
56{
57 return lua_gettop(m_pLS)-2;// -2 are "this" and "func ID"
58}
59
60#if defined(WIN64) || defined(LINUX64)
61bool CFunctionHandler::GetParam(int nIdx,INT_PTR &n) //AMD Port

Callers 15

LoadSoundMethod · 0.45
Load3DSoundMethod · 0.45
SetEaxEnvironmentMethod · 0.45
LoadStreamSoundMethod · 0.45
PlaySoundMethod · 0.45
SetMusicThemeMethod · 0.45
CreateDecalMethod · 0.45
SpawnEffectMethod · 0.45
FrameProfilerMethod · 0.45
ScanDirectoryMethod · 0.45
LoadTextureMethod · 0.45

Calls 1

lua_gettopFunction · 0.85

Tested by

no test coverage detected