league-client-connector

Rust implementation of lcu-connector. Retrieves lockfile information to access League of Legends API Client

3 releases

0.1.2 Sep 1, 2020
0.1.1 Aug 28, 2020
0.1.0 Aug 22, 2020
Download history 49/week @ 2024-07-20 36/week @ 2024-07-27 67/week @ 2024-08-03 45/week @ 2024-08-10 82/week @ 2024-08-17 43/week @ 2024-08-24 18/week @ 2024-08-31 20/week @ 2024-09-07 44/week @ 2024-09-14 82/week @ 2024-09-21 21/week @ 2024-09-28 31/week @ 2024-10-05 28/week @ 2024-10-12 91/week @ 2024-10-19 44/week @ 2024-10-26 45/week @ 2024-11-02

209 downloads per month
Used in 2 crates (via uggo-lol-client)

MIT license

10KB
128 lines

league_client_connector

Rust implementation for lcu-connector minus the file watching mechanism. This crate needs the League Client to be opened, in order to get the installation path for League of Legends so the lockfile can be retrieved correctly.

Note that every time the League Client is opened, it creates a new lockfile so a watcher or some refresh mechanism needs to be implemented to use correctly in an application.

The contents of the lockfile are parsed and presented in a readable format so a connection to the Game Client API can be established.

Roadmap

  • Read lockfile
  • Error handling
  • Documentation
  • File watcher?

lib.rs:

league_client_connector

Rust implementation for lcu-connector minus the file watching mechanism. This crate needs the League Client to be opened, in order to get the installation path for League of Legends so the lockfile can be retrieved correctly.

Note that every time the League Client is opened, it creates a new lockfile so a watcher or some refresh mechanism needs to be implemented to use correctly in an application.

The contents of the lockfile are parsed and presented in a readable format so a connection to the Game Client API can be established.

Dependencies

~2.9–4.5MB
~83K SLoC