- summary: You are in a party: its id, type, leader, members and pending guests.
- area: Game.Party
You are in a party: its id, type, leader, members and pending guests.
Kind event · Area Game.Party
The character is now in a party: it created one by inviting someone, or accepted an invitation. The server also sends it on login while the character is in a party.
WHAT TO DO WHEN YOU RECEIVE IT
1. Remember PartyJoinEvent.party_id: every later party message names its party by
this id; ignore the ones naming another party.
2. PartyJoinEvent.party_type says whether it is a normal party
(PartyType.PARTY_TYPE_CLASSICAL) or an arena team (PartyType.PARTY_TYPE_ARENA);
the client keeps the two in separate lists.
3. Replace the member list with PartyJoinEvent.members (Character records) and the
pending invitations with PartyJoinEvent.guests (PartyGuest records).
4. PartyJoinEvent.leader_id is the leader's character id;
PartyJoinEvent.max_participants the size limit; PartyJoinEvent.restricted whether
the party is restricted; PartyJoinEvent.party_name its name (may be empty).
5. SEND NOTHING BACK.
PartyJoinEvent.dungeon (a PartyJoinEvent.Dungeon: an int32 and an optional int64) is
not in beta's message; the client copies it into its party state, but what it holds is not
named yet. A second extra record is the obfuscator's padding and is never read: ignore it.
When you may send it
- Requires
context_readyinferred
Related messages
- Arrives after
PartyInvitationRequest - Arrives after
PartyInvitationAcceptRequest
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | max_participants | int32 | The maximum number of members. | never |
| 2 | party_id | int32 | The party's id. Later party messages name the party by it. | never |
| 3 | party_type | PartyType | Normal party or arena team. A PartyType. | never |
| 4 | restricted | bool | Whether the party is restricted. | never |
| 5 | dungeon | Dungeon | Dungeon details attached to the party, when it has any. A PartyJoinEvent.Dungeon. Named after its type, which the type-name table spells; beta's message has no such field. | never |
| 6 | leader_id | int64 | The leader's character id. | never |
| 7 | party_name | string | The party's name; may be empty. | never |
| 9 | guests | repeated PartyGuest | The players invited and not answered yet. Elements are PartyGuest. | never |
| 10 | members | repeated Character | The members. Elements are Character. | never |