cg:party.invite.accept - Accept invitation to party¶
-
cg:party.invite.accept¶
This packet is used to accept the invitation to a party.
| Internal Name | cg:party.invite.accept |
| Direction | Serverbound |
| Since Version | v0.1.0 |
| Valid States | active only |
Purpose¶
Upon being invited to a party, this packet is used to inform the server on whether the client has accepted or denied the invitation.
If it accepts the invitation, the client will receive a cg:party.join packet.
Furthermore, the inviter will be informed via a cg:status.message packet,
if the invited client accepted the invitation.
Structure¶
Note that all examples shown here contain placeholder data and will have different content in actual packets.
This is the data sent by the server to the client:
{
"accepted":true,
}
accepted is a boolean declaring whether the invitation has been accepted.
See also
See the cg:party.invite packet for further information on inviting to parties.
See also
See the cg:party.join packet for further information on joining a party.