Package-level declarations
Types
Link copied to clipboard
data class ClanWarAttack(val order: Int, val attackerTag: String, val defenderTag: String, val stars: Int, val destructionPercentage: Int, val duration: Int)
Represents the ClanWarAttack model of the Clash of Clans API. The ClanWarAttack data class stores information about an attack made during a clan war.
Link copied to clipboard
data class ClanWarLog(val items: List<ClanWarLogEntry>, val paging: Paging?) : ApiListResponse<ClanWarLogEntry>
Represents the ClanWarLog model of the Clash of Clans API.
Link copied to clipboard
data class ClanWarLogEntry(val clan: WarClan, val teamSize: Int, val attacksPerMember: Int, val opponent: WarClan, val endTime: String, val result: WarResult)
Represents the ClanWarLogEntry model of the Clash of Clans API. The ClanWarLogEntry data class stores information about a single clan war log entry.
Link copied to clipboard
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.
Link copied to clipboard