MCPcopy Create free account
hub / github.com/GlobedGD/globed2 / create

Method create

src/ui/notification/InviteNotification.cpp:110–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110InviteNotification* InviteNotification::create(const msg::InvitedMessage& msg) {
111 auto ret = new InviteNotification;
112 if (ret->init(msg)) {
113 ret->autorelease();
114 return ret;
115 }
116
117 delete ret;
118 return nullptr;
119}
120
121}

Callers

nothing calls this directly

Calls 1

initMethod · 0.45

Tested by

no test coverage detected