api's People
Forkers
phundio-dota2 wouterz90 trildar lolleko shushishtok zapp-brannigan-dota enchantinggg4 elronmacbong ark120202 tshyking xphillyx withvoidwithin svant nexideapi's Issues
Get all dump/data in JSON format
Doing this will allow us to expand this project in the future more easily and allows us to host a website on this repository itself
- Server Lua dumps
- Client Lua dumps
- Panorama CSS properties
- Panorama Panel properties
- Panorama Javascript API
- Panorama Enums
- Get data into JSON
- Setup automated updates
- Panorama Events
Incorrect datatypes in dota.d.ts
- PingMinimapAtLocation(
vec3
) - SetCameraTargetPosition(
vec3
) - EnableAliMode(
offsetVal
) - CustomUIConfig():
Object
- Probably should be
any
to just kill any attempt at intellisense, its designed to be a javascript hack
- Probably should be
- GetTeamDetails
- Needs a proper return type definition
- GetLocalPlayerInfo
- Needs a proper return type definition
- GetPlayerInfo
- Needs a proper return type definition
- GetMapInfo
- Needs a proper return type definition
Dump generation
- cl_panorama_script_help_2 (Crashes the game currently)
- script_help2
- cl_script_help2
- dump_panorama_css_properties
- dump_panorama_events
function DumpObjectIndented(obj, indent)
{
var result = "";
if (indent == null) indent = "";
for (var property in obj)
{
var value = obj[property];
if (typeof value == 'string')
value = "'" + value + "'";
else if (typeof value == 'object')
{
if (value instanceof Array)
{
// Just let JS convert the Array to a string!
value = "[ " + value + " ]";
}
else
{
// Recursive dump
// (replace " " by "\t" or something else if you prefer)
var od = DumpObjectIndented(value, indent + " ");
// If you like { on the same line as the key
//value = "{\n" + od + "\n" + indent + "}";
// If you prefer { and } to be aligned
value = "\n" + indent + "{\n" + od + "\n" + indent + "}";
}
}
result += indent + "'" + property + "' : " + value + ",\n";
}
return result.replace(/,\n$/, "");
}
Hook up Source2Gen
https://github.com/praydog/Source2Gen
This would be great to track if it still works.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.