CreateParty(maxSize, joinCode) | int = 4, bool = true | void | |
JoinByCode(joinCode) | string | void | |
AcceptInvite(inviteId) | string | void | |
LeaveParty() | (none) | void | Removes the player from the party. If the player is the leader, the SDK moves the leadership to another member. |
InvitePlayer(playerId) | string | void | Any member can call this method. |
SetReady(ready) | bool | void | |
KickMember(memberId) | string | void | Only the leader can call this method. |
TransferLeadership(memberId) | string | void | Only the leader can call this method. |
StartMatchmaking(queueName) | string | void | Only the leader can call this method. The queue comes from the dashboard. |
CancelMatchmaking() | (none) | void | Only the leader can call this method. |
IsInParty() | (none) | bool | |
IsLeader() | (none) | bool | |
IsMatchmaking() | (none) | bool | |
GetCurrentParty() | (none) | Party? | Returns null for a player that is not in a party. |
GetMembers() | (none) | List<PartyMember> | |
GetMatchmakingTicket() | (none) | MatchmakingTicket? | Returns null for a player that is not in matchmaking. |
GetState() | (none) | PartyState | |
Refresh() | (none) | void | Reads the latest data from the server. |
AddListener(listener) | Action | void | Calls the listener on each change of the state. |
RemoveListener(listener) | Action | void | Deletes the listener. |