https://github.com/moddota/api
https://github.com/moddota/api
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/moddota/api
- Owner: ModDota
- Created: 2016-08-27T17:25:40.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2023-07-12T03:56:42.000Z (almost 3 years ago)
- Last Synced: 2025-03-24T19:01:40.245Z (over 1 year ago)
- Language: Lua
- Size: 1.24 MB
- Stars: 29
- Watchers: 8
- Forks: 14
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://github.com/Perryvw/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](https://github.com/Perryvw/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.