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

Method Init

CryCommon/IScriptSystem.h:761–761  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

759 _HScriptFunction(IScriptSystem *pSS,HSCRIPTFUNCTION hFunc){m_pScriptSystem=pSS;m_hFunc=0;}
760 ~_HScriptFunction(){ if(m_hFunc)m_pScriptSystem->ReleaseFunc(m_hFunc);m_hFunc=0; }
761 void Init(IScriptSystem *pSS,HSCRIPTFUNCTION hFunc){if(m_hFunc)m_pScriptSystem->ReleaseFunc(m_hFunc);m_hFunc=hFunc;m_pScriptSystem=pSS;}
762 operator HSCRIPTFUNCTION() const
763 {
764 return m_hFunc;

Callers

nothing calls this directly

Calls 1

ReleaseFuncMethod · 0.80

Tested by

no test coverage detected