-
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome!
Have a look at the side menu to see the available Wiki pages.
This is a JVM library that aims to make working with Dota 2's Game State Integration simple. Game State Integration (GSI) is a feature built into Dota 2 that allows us to ask Dota to periodically send us information on the current game state. You can find more information on Valve's Developer Wiki for CS:GO - the same applies to Dota 2.
In the simplest terms, the library starts up a local server which listens for game state information from the Dota 2 client. It then deserializes this JSON data into type-safe objects for developers to work with.
Why use a library for this? The JSON data that Dota sends can vary significantly in structure, which makes simple parsing very tricky. Specifically, the structure is different when the Dota client is playing a match compared to when it is spectating a match. This library aims to remove this worry from the developer, and simply exposes type-safe objects to work with.
Feedback on the library is always welcomed and appreciated! Whether it's bug reports, suggestions, or even just questions, please let me know by creating an issue or discussion on this GitHub repository.