Class: WarLogClan
Represents War Log Clan.
If this is called via opponent, then attackCount and expEarned will be null
.
For CWL entries name and tag are null
.
Constructors
constructor
• new WarLogClan(data
)
Parameters
Name | Type |
---|---|
data | APIWarLogClan |
Defined in
Properties
name
• name: null
| string
The clan's name. This property is null
CWL entries.
Defined in
tag
• tag: null
| string
The clan's tag. This property is null
CWL entries.
Defined in
badge
• badge: Badge
The clan's badge.
Defined in
level
• level: number
The clan's level.
Defined in
stars
• stars: number
Number of stars achieved by this clan.
Defined in
destruction
• destruction: number
The destruction achieved as a percentage.
Defined in
expEarned
• expEarned: null
| number
Total XP earned by clan this war.
This property is null
for the opponent.
Defined in
attackCount
• attackCount: null
| number
Total attacks used by this clan.
This property is null
for the opponent.
Defined in
Accessors
shareLink
• get
shareLink(): null
| string
Get clan's formatted link to open clan in-game.
Returns
null
| string