Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

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.

Parameter Type
world World
player PlayerEntity

Promise<SettledCommandResult<CommandHandle<{ player: EntityCommandField & object; }, NotLeader | PartyFull | AlreadyInParty | Self, undefined, false, false, "invite", false, false>>>