Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/steamy/Dota2/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/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.