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

Method Warning

CrySystem/ScriptObjectSystem.cpp:449–460  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

447
448//////////////////////////////////////////////////////////////////////////
449int CScriptObjectSystem::Warning(IFunctionHandler *pH)
450{
451 CHECK_PARAMETERS(1);
452
453 const char *sParam = "";
454 if (pH->GetParam(1,sParam))
455 {
456 m_pSystem->Warning( VALIDATOR_MODULE_SCRIPTSYSTEM,VALIDATOR_WARNING,0,NULL,"%s",sParam );
457 }
458
459 return (pH->EndFunction());
460}
461
462//////////////////////////////////////////////////////////////////////////
463int CScriptObjectSystem::Error(IFunctionHandler *pH)

Callers 3

ErrorMethod · 0.45
LoadObjectMethod · 0.45
SetWaterVolumeOffsetMethod · 0.45

Calls 2

EndFunctionMethod · 0.80
GetParamMethod · 0.45

Tested by

no test coverage detected