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

Method DumpStates

CrySystem/ScriptObjectAnimation.cpp:179–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177
178
179int CScriptObjectAnimation::DumpStates(IFunctionHandler* pH)
180{
181 GET_ANIM_MANAGER(pAnimationManager);
182 switch (pH->GetParamCount())
183 {
184 case 0:
185 pAnimationManager->ExecScriptCommand(CASCMD_DUMP_STATES);
186 break;
187 default:
188 m_pScriptSystem->RaiseError("System.DumpStates wrong number of arguments (%d)", pH->GetParamCount());
189 return pH->EndFunctionNull();
190 }
191 return pH->EndFunction(0);
192}
193
194int CScriptObjectAnimation::ExportModels(IFunctionHandler* pH)
195{

Callers

nothing calls this directly

Calls 5

RaiseErrorMethod · 0.80
EndFunctionNullMethod · 0.80
EndFunctionMethod · 0.80
GetParamCountMethod · 0.45
ExecScriptCommandMethod · 0.45

Tested by

no test coverage detected