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

Method GetBreakPoints

CryScriptSystem/ScriptSystem.cpp:1841–1855  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1839}
1840
1841IScriptObject *CScriptSystem::GetBreakPoints()
1842{
1843 Validate();
1844 IScriptObject *pBreakPoints=CreateObject();
1845 if(m_BreakPoint.sSourceFile.length())
1846 {
1847 IScriptObject *pBP=CreateObject();
1848 pBP->SetValue("line",m_BreakPoint.nLine);
1849 pBP->SetValue("sourcefile",m_BreakPoint.sSourceFile.c_str());
1850 pBreakPoints->PushBack(pBP);
1851 pBP->Release();
1852 Validate();
1853 }
1854 return pBreakPoints;
1855}
1856
1857void CScriptSystem::ReleaseFunc(HSCRIPTFUNCTION f)
1858{

Callers 1

OnPaintMethod · 0.80

Calls 5

PushBackMethod · 0.80
lengthMethod · 0.45
SetValueMethod · 0.45
c_strMethod · 0.45
ReleaseMethod · 0.45

Tested by

no test coverage detected