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

Method SetHost

CryGame/ScriptObjectSpectator.cpp:52–61  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

50
51//////////////////////////////////////////////////////////////////////////
52int CScriptObjectSpectator::SetHost(IFunctionHandler *pH)
53{
54 CHECK_PARAMETERS(1);
55 int host=0;
56 if(pH->GetParam(1,host))
57 {
58 m_pSpectator->m_eiHost=host;
59 }
60 return pH->EndFunction();
61}
62
63//////////////////////////////////////////////////////////////////////////
64int CScriptObjectSpectator::GetHost(IFunctionHandler *pH)

Callers

nothing calls this directly

Calls 2

EndFunctionMethod · 0.80
GetParamMethod · 0.45

Tested by

no test coverage detected