Skip to main content
Version: 2024-10-11

GameStatePlayer

The state data of a player in the game

type GameStatePlayer {
abilities: [GameAbility]
activeEffects: [GameStatePlayerEffect]
attributes: GameStateAttributes
id: String
inventory: [GameStatePlayerInventoryEntry]
meta: GameStatePlayerMeta
stats: GameStatePlayerStats
vendorId: String
}

Fields​

GameStatePlayer.abilities ● [GameAbility] list object​

Abilities of the player

GameStatePlayer.activeEffects ● [GameStatePlayerEffect] list object​

Currently active effects on the player

GameStatePlayer.attributes ● GameStateAttributes object​

Attributes of the player

GameStatePlayer.id ● String scalar​

The unique identifier of the object

GameStatePlayer.inventory ● [GameStatePlayerInventoryEntry] list object​

Inventory of the player

GameStatePlayer.meta ● GameStatePlayerMeta object​

Metadata of the player

GameStatePlayer.stats ● GameStatePlayerStats object​

Stats of the player

GameStatePlayer.vendorId ● String scalar​

The unique identifier of the player in the game (e.g. STEAMID for CS2/Dota2)

Member Of​

GameStateContestant object