New update: server to client packet.
Name: Update ClanChat Participant
Number: 32
Purpose: Updates (adds or removes) 1 participant to/from the list of clan chat participants.
Data Sent: participantLong, participantWorld, participantRank
How to send:
Add/Update a clanChat participant:
Code:
bldr.putLong(participantLong);
bldr.putShort(participantWorld);
bldr.put(participantRank);
Remove participant from clanChat:
Code:
participantLong |= 0x8000000000000000L;
bldr.putLong(participantLong);
bldr.putShort(participantWorld);
bldr.put(participant.getRank().toByte());
Remarks: To remove a participant from the list, you need to add a flag (0x8000000000000000L) to the participantLong (the name of the participant in long format).
You can combine both add/update and remove by making the flag addition optional:
Code:
if(!add)
participantLong |= 0x8000000000000000L;
For updating or clearing the whole list, see packet 56: Update ClanChat List
-------------------------------------------------------------------