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

Method acceptInvitation

source/game/StarTeamClient.cpp:71–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71void TeamClient::acceptInvitation(Uuid const& inviterUuid) {
72 JsonObject request;
73 request["inviterUuid"] = inviterUuid.hex();
74 request["inviteeUuid"] = m_clientContext->playerUuid().hex();
75 invokeRemote("team.acceptInvitation", request, [this](Json) { forceUpdate(); });
76}
77
78Maybe<Uuid> TeamClient::currentTeam() const {
79 return m_teamUuid;

Callers

nothing calls this directly

Calls 2

hexMethod · 0.80
playerUuidMethod · 0.80

Tested by

no test coverage detected