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

Method PushFuncParam

CryScriptSystem/ScriptSystem.cpp:1444–1451  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1442//////////////////////////////////////////////////////////////////////
1443//////////////////////////////////////////////////////////////////////
1444void CScriptSystem::PushFuncParam(int nVal)
1445{
1446 Validate();
1447 if(m_nTempArg==-1)
1448 return;
1449 lua_pushnumber(m_pLS, (lua_Number)nVal);
1450 m_nTempArg++;
1451}
1452
1453//////////////////////////////////////////////////////////////////////
1454//////////////////////////////////////////////////////////////////////

Callers 15

ASEQuery_wantrulesFunction · 0.80
ASEQuery_wantplayersFunction · 0.80
Client_LoginSuccessMethod · 0.80
Client_LoginFailMethod · 0.80
Client_GameServerMethod · 0.80
Client_MOTDMethod · 0.80

Calls 5

lua_pushnumberFunction · 0.85
lua_pushstringFunction · 0.85
lua_pushnilFunction · 0.85
lua_xgetrefFunction · 0.85
GetRefMethod · 0.80

Tested by

no test coverage detected