#league #legends #league-of-legends #lol #api-client #game-client #lcu-connector

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

#12 in #game-client

Download history 25/week @ 2024-03-11 16/week @ 2024-03-18 22/week @ 2024-03-25 224/week @ 2024-04-01 23/week @ 2024-04-08 386/week @ 2024-04-15 52/week @ 2024-04-22 23/week @ 2024-04-29 45/week @ 2024-05-06 63/week @ 2024-05-13 52/week @ 2024-05-20 28/week @ 2024-05-27 15/week @ 2024-06-03 17/week @ 2024-06-10 41/week @ 2024-06-17 48/week @ 2024-06-24

123 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.8–4.5MB
~83K SLoC