import { type Dota2 } from "https://deno.land/x/steamy@v0.05a/mod.ts";
const { getMatchDetails_Result } = Dota2;
Properties
List of players in the match
The server cluster the match was played upon. Used for downloading replays of matches. Can be translated to region using dota constants (https://github.com/odota/dotaconstants)
-1 - Invalid 0 - Public matchmaking 1 - Practise 2 - Tournament 3 - Tutorial 4 - Co-op with bots. 5 - Team match 6 - Solo Queue 7 - Ranked 8 - 1v1 Mid
The league that this match was a part of. A list of league IDs can be found via the GetLeagueListing method
0 - None 1 - All Pick 2 - Captain's Mode 3 - Random Draft 4 - Single Draft 5 - All Random 6 - Intro 7 - Diretide 8 - Reverse Captain's Mode 9 - The Greeviling 10 - Tutorial 11 - Mid Only 12 - Least Played 13 - New Player Pool 14 - Compendium Matchmaking 15 - Co-op vs Bots 16 - Captains Draft 18 - Ability Draft 20 - All Random Deathmatch 21 - 1v1 Mid Only 22 - Ranked Matchmaking 23 - Turbo Mode
A list of picks and bans in the match, including the order and the hero ID
0 - Source 1 1 - Source 2