Class: FreeAgentPlayer

FreeAgentPlayer

Represents a player and their raw stats.

new FreeAgentPlayer ()

Extends

Members

displayName String inherited overrides

The class name. Minification will break this.constructor.name; this allows for readable logging even in minified code.

Methods

getCacheId ()String | undefined inherited

Returns the id used for caching. Important for classes that have multiple identifiers. Example: League is identified by its leagueId and its seasonId. This method prevents separate seasons from overriding each other's data.

Returns:
Type Description
String | undefined

getIDParams ()Object inherited

Returns an object containing all IDs used for API requests and caching for the instance.

Returns:
Type Description
Object