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.Update>)

Types

Link copied to clipboard
class AddBannedUpdate(val hash: Long, val name: String?) : ClanSettingsDelta.Update

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

Link copied to clipboard
class AddMemberV1Update(val hash: Long, val name: String?) : ClanSettingsDelta.Update

Older add-member update for clans.

Link copied to clipboard

Newer 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

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

Link copied to clipboard
class SetIntSettingUpdate(val setting: Int, val value: Int) : ClanSettingsDelta.Update

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

Link copied to clipboard
class SetLongSettingUpdate(val setting: Int, val value: Long) : ClanSettingsDelta.Update

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

Link copied to clipboard

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
class SetStringSettingUpdate(val setting: Int, val value: String) : ClanSettingsDelta.Update

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 Update

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 clan's settings has had. If the value does not match up, the client will throw an exception!

Link copied to clipboard

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