Skip to main content
Deno 2 is finally here πŸŽ‰οΈ
Learn more
Module

x/steamy/Dota2/api/mod.ts>getMatchHistory_Player

Steamy is a library made to help interact with Valve's REST APIs for their various games and services by providing easy asynchronous functions to call them, along with a key manager, and type checking to boot.
Latest
interface getMatchHistory_Player
import { type getMatchHistory_Player } from "https://deno.land/x/steamy@v0.05a/Dota2/api/mod.ts";

Properties

account_id: number

32-bit account ID.

player_slot: number

A player's slot is returned via an 8-bit unsigned integer. The first bit represent the player's team, false if Radiant and true if dire. The final three bits represent the player's position in that team, from 0-4. β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ Team (false if Radiant, true if Dire). β”‚ β”Œβ”€β”¬β”€β”¬β”€β”¬β”€β”€β”€β”€β”€β”€β”€ Not used. β”‚ β”‚ β”‚ β”‚ β”‚ β”Œβ”€β”¬β”€β”¬β”€ The position of a player within their team (0-4). β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ 0 0 0 0 0 0 0 0

team_number: number
team_slot: number
hero_id: HeroID

The hero's unique ID. A list of hero IDs can be found via the GetHeroes method.