Clan War Member
data class ClanWarMember(val tag: String, val name: String, val mapPosition: Int, val townhallLevel: Int, val opponentAttacks: Int, val bestOpponentAttack: ClanWarAttack, val attacks: List<ClanWarAttack>?)
Represents the ClanWarMember model of the Clash of Clans API. The ClanWarMember data class stores information about a member's participation in a clan war.
Constructors
Link copied to clipboard
constructor(tag: String, name: String, mapPosition: Int, townhallLevel: Int, opponentAttacks: Int, bestOpponentAttack: ClanWarAttack, attacks: List<ClanWarAttack>?)
Properties
Link copied to clipboard
A list of attacks made by the clan war member during the war.
Link copied to clipboard
The best attack made by an opponent on the member's base.
Link copied to clipboard
The map position of the clan war member's base in the war.
Link copied to clipboard
The number of attacks made by the opponent on the member's base.
Link copied to clipboard
The town hall level of the clan war member's base.