MCPcopy Create free account
hub / github.com/Open-GD/OpenGD / create

Method create

Source/EndPortalObject.cpp:25–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23
24
25EndPortalObject* EndPortalObject::create()
26{
27 auto pRet = new (std::nothrow) EndPortalObject();
28
29 if (pRet && pRet->init())
30 {
31 pRet->autorelease();
32 return pRet;
33 }
34 AX_SAFE_DELETE(pRet);
35 return nullptr;
36}
37
38bool EndPortalObject::init()
39{

Callers

nothing calls this directly

Calls 1

initMethod · 0.45

Tested by

no test coverage detected