Members
attributes :Object
Attributes of the Player
Properties:
Name | Type | Description |
---|---|---|
attributes.isCurrentSeason |
boolean
|
Indicates if the season is active |
attributes.shardId |
boolean
|
Indicates if the season is not active |
Type:
-
Object
full :boolean
If the season contains full data, like it's attributes
Type:
-
boolean
Methods
getPlayerSeason(player, shardopt) → {Promise.<PlayerSeason>}
Get a player season object
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
player |
string
|
Player
|
The player of the player season | ||
shard |
string
|
<optional> |
player.attributes.shardId|this.defaultShard | The server shard to send the request to |
Returns:
- Type:
-
Promise.<PlayerSeason>