ClanSettingsDelta

class ClanSettingsDelta : OutgoingGameMessage

Clan settings delta updates are used to modify a sub-set of this clan's settings.

Constructors

Link copied to clipboard
constructor(clanType: Int, owner: Long, updateNum: Int, updates: List<ClanSettingsDelta.ClanSettingsDeltaUpdate>)

Types

Link copied to clipboard

Clan owner updates are used to assign a new owner to this clan.

Link copied to clipboard

Add banned updates are used to add a member to the banned members list.

Link copied to clipboard

Older add-member update for clans.

Link copied to clipboard

Base settings updates are used to manage global clan settings, such as privileges to use various aspects of this clan.

Link copied to clipboard

Delete banned member updates are used to remove existing banned members from the list of banned users.

Link copied to clipboard

Delete member updates are used to remove members from this clan.

Link copied to clipboard

Clan name updates are used to modify the name of the clan.

Link copied to clipboard

Int setting updates are used to modify the value of an integer-based setting of this clan.

Link copied to clipboard

Long setting updates are used to modify the value of a long-based setting of this clan.

Set member extra info is used to modify extra info about a member in the clan, by modifying the provided bit range of the 32-bit integer that each member has.

Link copied to clipboard

Set member muted updates are used to mute or unmute members of this clan.

Link copied to clipboard

Set member rank update is used to modify a given clan member's privileges within the clan.

Link copied to clipboard

String setting updates are used to modify the values of string settings within the clan.

Link copied to clipboard

Varbit setting updates are used to modify a bit-range of an integer-based setting of this clan.

Link copied to clipboard
sealed interface ClanSettingsDeltaUpdate

Properties

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

the type of the clan to modify, e.g. guest or normal,

Link copied to clipboard
val owner: Long

the hash of the owner. As the value of this property is never assigned in the client, but it is compared, this property should always be assigned the value 0.

Link copied to clipboard

the number of updates this clans settings has had. If the value does not match up, the client will throw an exception!

Functions

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