sendPartyInvite
sendPartyInvite(
world,player):Promise<SettledCommandResult<CommandHandle<{player:EntityCommandField&object; },NotLeader|PartyFull|AlreadyInParty|Self,undefined,false,false,"invite",false,false>>>
Asks the room to invite player to this page’s player’s party, made
as the player sends the player’s first invite.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
player |
PlayerEntity |
Returns
Section titled “Returns”Promise<SettledCommandResult<CommandHandle<{ player: EntityCommandField & object; }, NotLeader | PartyFull | AlreadyInParty | Self, undefined, false, false, "invite", false, false>>>