C# Library for Counter-Strike: Global Offensive Game State Integration
There are some processed values such as round timers/bomb timers. Always run the application with adminitrator rights, when debugging, run Visual Studio as administrator.
Get started:
- Add: http://pastebin.com/4MwDZ9Um to "Counter-Strike Global Offensive\csgo\cfg\gamestate_integration_test.cfg"
- Add: using CSGSI;
- Download Newtonsoft.Json from NuGet
- For event handeler:
CSGOSharp.NewGameState += new CSGOSharp.NewGameStateHandler(onNewgameState);
private void onNewgameState() { }
- To start: CSGOSharp.Start();
- To stop: CSGOSharp.Stop();
See http://pastebin.com/d6hsmV89 for all variables/objects in this library.
Credit to https://github.com/rakijah/CSGSI for GSIListener class.