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

Method GetParam

CryScriptSystem/FunctionHandler.cpp:61–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59
60#if defined(WIN64) || defined(LINUX64)
61bool CFunctionHandler::GetParam(int nIdx,INT_PTR &n) //AMD Port
62{
63 int nRealIdx=nIdx+1;
64 if(!lua_isnumber(m_pLS,nRealIdx))return false;
65 n=(int)lua_tonumber(m_pLS,nRealIdx);
66 return true;
67}
68#endif
69
70bool CFunctionHandler::GetParam(int nIdx,int &n)

Callers 15

Client_LoginMethod · 0.45
Client_JoinGameServerMethod · 0.45
Client_CreateAccountMethod · 0.45
Client_SetCDKeyMethod · 0.45
LoadSoundMethod · 0.45
Load3DSoundMethod · 0.45
SetEaxEnvironmentMethod · 0.45
LoadStreamSoundMethod · 0.45
PlaySoundMethod · 0.45
SetSoundVolumeMethod · 0.45
SetSoundLoopMethod · 0.45

Calls 7

lua_isnumberFunction · 0.85
lua_tonumberFunction · 0.85
lua_tostringFunction · 0.85
lua_pushvalueFunction · 0.85
lua_refFunction · 0.85
lua_touserdataFunction · 0.85
AttachMethod · 0.45

Tested by 1

SetHostMethod · 0.36