ClanChannelDelta

class ClanChannelDelta : OutgoingGameMessage

Clan channel delta is a packet used to transmit partial updates to an existing clan channel. This prevents sending a full update for everything as that can get rather wasteful.

Constructors

Link copied to clipboard
constructor(clanType: Int, key: Long, updateNum: Long, events: List<ClanChannelDelta.Event>)

Types

Link copied to clipboard

Clan channel delta adduser event is used to add a new user into the clan.

Link copied to clipboard

Clan channel delta delete user event is used to delete an existing member from the clan.

Link copied to clipboard
sealed interface Event
Link copied to clipboard

Clan channel delta update base settings event is used to modify the base settings of a clan.

Link copied to clipboard

Clan channel delta update user details event is used to modify the details of a user in the clan.

Link copied to clipboard

Clan channel delta update user details v2 event is used to modify the details of a user in the clan. Note that this class is identical to the UpdateUserDetailsEvent, with the only exception being that more bandwidth is used to transmit this update, as there are multiple unused properties being sent on-top.

Properties

Link copied to clipboard
open override val category: ServerProtCategory
Link copied to clipboard

the 64-bit hash of the clan

Link copied to clipboard

the type of the clan the player is in

Link copied to clipboard

the list of channel delta events to perform in this update

Link copied to clipboard

the update counter/timestamp for the clan. The exact behaviours behind this are not known, but the value appears to be an epoch time millis, with each minor change resulting in the value incrementing by +1; e.g. each member joining seems to increment the value by 1.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun estimateSize(): Int
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String