ClanMember

data class ClanMember(val league: League, val builderBaseLeague: SimpleLeague, val playerHouse: PlayerHouse, val tag: String, val name: String, val role: ClanMemberRole, val townHallLevel: Int, val expLevel: Int, val clanRank: Int, val previousClanRank: Int, val donations: Int, val donationsReceived: Int, val trophies: Int, val builderBaseTrophies: Int)

Represents the ClanMember model of the Clash of Clans API.

Constructors

Link copied to clipboard
constructor(league: League, builderBaseLeague: SimpleLeague, playerHouse: PlayerHouse, tag: String, name: String, role: ClanMemberRole, townHallLevel: Int, expLevel: Int, clanRank: Int, previousClanRank: Int, donations: Int, donationsReceived: Int, trophies: Int, builderBaseTrophies: Int)

Properties

Link copied to clipboard

The league information of the clan member in the builder base village.

Link copied to clipboard

The number of trophies earned by the clan member in the builder base village.

Link copied to clipboard

The rank of the clan member within the clan.

Link copied to clipboard

The number of troops donated by the clan member.

Link copied to clipboard

The number of troops received by the clan member from other clan members.

Link copied to clipboard

The experience level of the clan member.

Link copied to clipboard

The league information of the clan member in the main village.

Link copied to clipboard

The name of the clan member.

Link copied to clipboard

The player house information of the clan member.

Link copied to clipboard

The previous rank of the clan member within the clan.

Link copied to clipboard

The role of the clan member within the clan.

Link copied to clipboard
val tag: String

The tag of the clan member.

Link copied to clipboard

The town hall level of the clan member.

Link copied to clipboard

The number of trophies earned by the clan member in the main village.