MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / open

Method open

source/frontend/StarTeamBar.cpp:289–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287}
288
289void TeamInvitation::open(Uuid const& inviterUuid, String const& inviterName) {
290 if (active())
291 return;
292 m_inviterUuid = inviterUuid;
293 fetchChild<LabelWidget>("inviterName")->setText(inviterName);
294 Pane::show();
295}
296
297void TeamInvitation::ok() {
298 m_owner->acceptInvitation(m_inviterUuid);

Callers 2

updateMethod · 0.45
showMemberMenuMethod · 0.45

Calls 5

singletonClass · 0.85
assetsMethod · 0.80
membersMethod · 0.80
teamClientMethod · 0.80
setTextMethod · 0.45

Tested by

no test coverage detected