The name of the player, clan tag included if appropriate.
Optional
clanThe clan the player is in, if the player is in a clan.
Optional
countryThe country the player is from.
Optional
duelsInformation about the player's duelling history. Wins, losses, ties, and total number of duels played.
Optional
eloThe player's elo. In the SauerTracker code on GitHub, I found what I assume to be the elo calculating function. What I interpret from this:
frags
property of
self
and opp
is for this particular game, the new elo of self
after dueling opp
is increased or decreased by the rounded result
of10 * (log(self.frags / opp.frags) + log(opp.elo / self.elo)) * (self.elo / baseElo)
Protected
fetchedTrue if the class was fetched
Optional
latestAn array of the last ten games played.
The name of the player.
Optional
onlineTrue if the player is on a server.
Optional
rankThe player's rank.
Optional
statsThe player's statistics.
Optional
totalThe total number of games this player has played.
Fetches the data from the API, filling out the current object. This should be an asynchronous function.
This object after fetching
Fetches activity data for the player
True if this object is fetched
Sets properties based on the response sent from a request
This object after setting properties
The response data from the API
Static
findFind up to 200 players matching a given query
an array of up to 200 players that match the query.
The name to match, or an empty string to not match any name.
A country abbreviation, such as CA for Canada.
Generated using TypeDoc
Class representing a player.