Battle Logs¶
Player battle logs and legend league group records.
Battle Log Entry¶
struct clashy.BattleLogEntry
BattleLogEntry is one player battle log entry.
Attack¶
bool json: attack
Attack reports whether the entry is an attack made by the requested player. False entries are defenses.
DestructionPercentage¶
int json: destructionPercentage
DestructionPercentage is the destruction percentage earned by the attacker.
LootedResources¶
[]Resource json: lootedResources
LootedResources contains resources actually looted.
ExtraLootedResources¶
[]Resource json: extraLootedResources
ExtraLootedResources contains bonus resources awarded by the battle.
AvailableLoot¶
[]Resource json: availableLoot
AvailableLoot contains resources that were available before the battle.
Resource¶
struct clashy.Resource
Resource is a named resource amount in a player battle log entry.
League History Entry¶
struct clashy.LeagueHistoryEntry
LeagueHistoryEntry is one historical legend-league season result.
League Tier Group¶
struct clashy.LeagueTierGroup
LeagueTierGroup contains members and battle logs for a legend league group.
AttackLogs¶
[]LeagueTierGroupBattleLogEntry json: attackLogs
AttackLogs contains attack entries for the requested player.
DefenseLogs¶
[]LeagueTierGroupBattleLogEntry json: defenseLogs
DefenseLogs contains defense entries for the requested player.
League Tier Group Member¶
struct clashy.LeagueTierGroupMember
LeagueTierGroupMember is one player in a legend league group.
LeagueTrophies¶
int json: leagueTrophies
LeagueTrophies is the player's current legend trophy count.
AttackWinCount¶
int json: attackWinCount
AttackWinCount is the player's attack win count in the group.
AttackLoseCount¶
int json: attackLoseCount
AttackLoseCount is the player's attack loss count in the group.
DefenseWinCount¶
int json: defenseWinCount
DefenseWinCount is the player's defense win count in the group.
DefenseLoseCount¶
int json: defenseLoseCount
DefenseLoseCount is the player's defense loss count in the group.
League Tier Group Battle Log Entry¶
struct clashy.LeagueTierGroupBattleLogEntry
LeagueTierGroupBattleLogEntry is one attack or defense inside a legend group.
DestructionPercentage¶
int json: destructionPercentage
DestructionPercentage is the destruction percentage earned by the attacker.