40 lines
1.7 KiB
Plaintext
40 lines
1.7 KiB
Plaintext
# BasicPlayer (object)
|
|
|
|
Basic player statistic information object
|
|
|
|
##Properties
|
|
+ name: `Jagernaut` (string, required) - the displayed username of the army member
|
|
+ fraction: `OPFOR` (string, required) - fraction of the player
|
|
+ kill: 5 (number, required) - sum of kills
|
|
+ friendlyFire: 0 (number, required) - sum of friendly fire kills
|
|
+ vehicleLight: 1 (number, required) - sum of light vehicle kills
|
|
+ vehicleHeavy: 1 (number, required) - sum of heavy vehicle kills
|
|
+ vehicleAir: 0 (number, required) - sum of air vehicle kills
|
|
+ death: 3 (number, required) - sum of deaths
|
|
+ respawn: 2 (number, required) - sum of respawns
|
|
+ flagTouch: 1 (number, required) - sum of flag captures
|
|
+ revive: 0 (number, required) - sum of revives
|
|
+ travelDistance: 16535 (number, optional) - sum of transport meters as passenger
|
|
+ driverDistance: 1250 (number, optional) - sum of transport meters as pilot/driver
|
|
|
|
|
|
# WarPlayer (BasicPlayer)
|
|
A player campaign statistics object
|
|
|
|
## Properties
|
|
+ _id: `5ab68d42f547ed304064e5f7` (string, required) - unique id of the army member
|
|
+ warId: `5abf65ae3fc5fa349ffd5ca3` (string, required) - war in which this player took part
|
|
+ steamUUID: 76561192214911200 (number, optional) - unique ID for STEAM platform account
|
|
+ performance: `5abf65ae3fc5fa349ffd5cs2` (string, optional) - id of corresponding performance log entry
|
|
+ timestamp: `2018-02-24T01:01:25.825Z` - the entity creation timestamp
|
|
+ updatedAt: `2018-02-24T01:01:25.825Z` - the version timestamp
|
|
+ __v: 0 (number, required) - the version number of the object
|
|
|
|
|
|
# HighscorePlayer (BasicPlayer)
|
|
A player object as returned for the highscore arrays
|
|
|
|
## Properties
|
|
+ warId: War (War, required) - war in which this player took part
|
|
+ num: 1
|