Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pipe01/GlassLCU

Automatically-generating LCU API for C#
https://github.com/pipe01/GlassLCU

Last synced: about 1 month ago
JSON representation

Automatically-generating LCU API for C#

Awesome Lists containing this project

README

        

# GlassLCU
[![Build status](https://ci.appveyor.com/api/projects/status/urvum2o9ikibdv6d?svg=true)](https://ci.appveyor.com/project/pipe01/glasslcu)

Automatically-generating LCU API for C#. This uses my [LCU API Generator](https://github.com/pipe01/lcu-api-generator) for generating the classes necessary for interacting between the LCU API and C#.

To setup, simply run the `generate.ps1` script in the `GlassLCU/API/Generator` folder.

To initalise the connection, create a `LeagueClient` instance (make sure to reuse it throughout your program) and call `Init` or `BeginTryInit`, the latter being used to periodically try to connect to the client asynchronously.