Class: CapitalRaidSeason
Represents a Capital Raid Season.
Constructors
constructor
• new CapitalRaidSeason(client, data)
Parameters
| Name | Type |
|---|---|
client | Client |
data | APICapitalRaidSeason |
Defined in
struct/CapitalRaidSeason.ts:83
Properties
state
• state: "ended" | "ongoing"
The state of the raid season.
Defined in
struct/CapitalRaidSeason.ts:45
startTime
• startTime: Date
The start time of the raid season.
Defined in
struct/CapitalRaidSeason.ts:48
endTime
• endTime: Date
The end time of the raid season.
Defined in
struct/CapitalRaidSeason.ts:51
capitalTotalLoot
• capitalTotalLoot: number
The total loot collected from the capital.
Defined in
struct/CapitalRaidSeason.ts:54
raidsCompleted
• raidsCompleted: number
The number of raids completed.
Defined in
struct/CapitalRaidSeason.ts:57
totalAttacks
• totalAttacks: number
The total number of attacks.
Defined in
struct/CapitalRaidSeason.ts:60
enemyDistrictsDestroyed
• enemyDistrictsDestroyed: number
The number of enemy districts destroyed.
Defined in
struct/CapitalRaidSeason.ts:63
offensiveReward
• offensiveReward: number
The offensive reward.
Defined in
struct/CapitalRaidSeason.ts:66
defensiveReward
• defensiveReward: number
The defensive reward.
Defined in
struct/CapitalRaidSeason.ts:69
members
• members: APICapitalRaidSeasonMember[]
The members of the raid season.
Defined in
struct/CapitalRaidSeason.ts:72
attackLog
• attackLog: APICapitalRaidSeasonAttackLog[]
The attack log of the raid season.
Defined in
struct/CapitalRaidSeason.ts:75
defenseLog
• defenseLog: APICapitalRaidSeasonDefenseLog[]
The defense log of the raid season.
Defined in
struct/CapitalRaidSeason.ts:78
Methods
fetchMembers
▸ fetchMembers(options?): Promise<Player[]>
Get Player info for every Player in the clan.
Parameters
| Name | Type |
|---|---|
options? | OverrideOptions |
Returns
Promise<Player[]>