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

Method create

Source/ProfilePage.cpp:46–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44USING_NS_AX;
45
46ProfilePage* ProfilePage::create(int accountID, bool mainMenuProfile)
47{
48 ProfilePage* pRet = new ProfilePage();
49
50 if (pRet && pRet->init(accountID, mainMenuProfile))
51 {
52 pRet->autorelease();
53 return pRet;
54 }
55
56 AX_SAFE_DELETE(pRet);
57 return nullptr;
58}
59
60bool ProfilePage::init(int accountID, bool mainMenuProfile)
61{

Callers

nothing calls this directly

Calls 1

initMethod · 0.45

Tested by

no test coverage detected