Class: Badge
Represents a Clash of Clans Badge.
Constructors
constructor
• new Badge(data
)
Parameters
Name | Type |
---|---|
data | APIBadge |
Defined in
Properties
url
• url: string
The default badge URL.
Defined in
large
• large: string
The large badge URL.
Defined in
medium
• medium: string
The medium badge URL.
Defined in
small
• small: string
The small badge URL.
Defined in
Accessors
fileName
• get
fileName(): string
Get unique file name of this Badge.
Returns
string
Defined in
sizes
• get
sizes(): string
[]
Sizes of this Badge.
Returns
string
[]