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

Method EndCall

CryScriptSystem/ScriptSystem.cpp:1283–1298  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1281//////////////////////////////////////////////////////////////////////
1282//////////////////////////////////////////////////////////////////////
1283void CScriptSystem::EndCall()
1284{
1285 Validate();
1286
1287 if(m_nTempArg==-1)
1288 return;
1289#ifdef USE_RAW_CALL
1290 int nRes = lua_call(m_pLS, m_nTempArg, 0);
1291 if (nRes)
1292 FormatAndRaiseError(nRes);
1293#else
1294 lua_rawcall(m_pLS, m_nTempArg, 0);
1295#endif
1296
1297 Validate();
1298}
1299
1300//////////////////////////////////////////////////////////////////////
1301//////////////////////////////////////////////////////////////////////

Callers 15

ASEQuery_wantrulesFunction · 0.45
ASEQuery_wantplayersFunction · 0.45
Client_LoginSuccessMethod · 0.45
Client_LoginFailMethod · 0.45
Client_GameServerMethod · 0.45
Client_MOTDMethod · 0.45

Calls 8

lua_callFunction · 0.85
lua_rawcallFunction · 0.85
lua_gettopFunction · 0.85
lua_isnumberFunction · 0.85
lua_tonumberFunction · 0.85
lua_isstringFunction · 0.85
lua_tostringFunction · 0.85
AttachMethod · 0.45

Tested by

no test coverage detected