Skip to content

ModDota/API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

May 15, 2023
570fff4 · May 15, 2023
Dec 27, 2019
Apr 9, 2022
May 15, 2023
Aug 17, 2019
Aug 29, 2016
Jan 6, 2021
Jan 6, 2021
Dec 8, 2016
Dec 8, 2016
Jan 6, 2021
Dec 8, 2016
Aug 29, 2016
Dec 27, 2019
Feb 27, 2018
Dec 10, 2016
Aug 27, 2017
Feb 18, 2018
Dec 9, 2016
Dec 9, 2016
Dec 14, 2016
Sep 23, 2017
Sep 23, 2017
Mar 2, 2019
Mar 2, 2019
Mar 2, 2019
Mar 2, 2019
Sep 23, 2017
Jan 7, 2018
Oct 1, 2017
Dec 9, 2016
Dec 8, 2016
Aug 29, 2016

Repository files navigation

API

This repository aims to document the different interfaces relevant to Dota 2 Modding. It uses these to render http://docs.moddota.com/ and provides a repository for TypeScript declarations to be used for Panorama UI or with TypescriptToLua for game code.

File Structure

/_data

Contains raw dumps from the engine

/declarations/panorama/

TypeScript declarations for Panorama.

  • dota.d.ts Declarations for interfacing with the game engine.
  • dota_enums.d.ts Declarations for enumerations used in Panorama.
  • dota_panels.d.ts Declarations for Panel interaction in Panorama.

/declarations/server/

TypeScript declarations for the lua API (see TypescriptToLua).

  • dota-api.d.ts Declarations for the Lua API.
  • dota-enums.d.ts Declarations of Lua enums.
  • dota-gameevents.d.ts Declarations of the different game events and their event contents.
  • dota-modifier-properties.d.ts Declarations for modifier properties on Lua modifiers.
  • dota-std.d.ts Lua std functions used for Dota modding.

/examples/vscript/

Example TypeScript code.