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

Method CreateObject

CryScriptSystem/ScriptSystem.cpp:795–808  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

793//////////////////////////////////////////////////////////////////////
794//////////////////////////////////////////////////////////////////////
795IScriptObject *CScriptSystem::CreateObject()
796{
797 BEGIN_CHECK_STACK
798 CScriptObject *pObj = CreateScriptObject();
799 if (!pObj->Create(this))
800 {
801 pObj->Release();
802 END_CHECK_STACK
803 return NULL;
804 };
805 //pObj->SetThis(pThis);
806 END_CHECK_STACK
807 return pObj;
808}
809
810
811//////////////////////////////////////////////////////////////////////

Callers 15

_SmartScriptObjectMethod · 0.45
CreateMethod · 0.45
InitMethod · 0.45
RegisterFunctionMethod · 0.45
InitializeTemplateMethod · 0.45
InitializeTemplateMethod · 0.45
CheckCollisionsMethod · 0.45
OnCollideMethod · 0.45
InitializeTemplateMethod · 0.45
CreateMethod · 0.45
CreateMethod · 0.45

Calls 2

CreateMethod · 0.45
ReleaseMethod · 0.45

Tested by

no test coverage detected