Class: Location
Represents a Clash of Clans Location.
Constructors
constructor
• new Location(data
)
Parameters
Name | Type |
---|---|
data | APILocation |
Defined in
Properties
id
• id: number
The location Id.
Defined in
name
• name: string
The location name.
Defined in
localizedName
• localizedName: null
| string
A localized name of the location.
Defined in
isCountry
• isCountry: boolean
Indicates whether the location is a country.
Defined in
countryCode
• countryCode: null
| string
The country code of the location.