#league #legends #league-of-legends #lol #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

#3 in #legends

Download history 41/week @ 2023-10-21 236/week @ 2023-10-28 32/week @ 2023-11-04 33/week @ 2023-11-11 205/week @ 2023-11-18 134/week @ 2023-11-25 30/week @ 2023-12-02 29/week @ 2023-12-09 44/week @ 2023-12-16 41/week @ 2023-12-23 95/week @ 2023-12-30 37/week @ 2024-01-06 73/week @ 2024-01-13 95/week @ 2024-01-20 37/week @ 2024-01-27 29/week @ 2024-02-03

237 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

~3.5–5MB
~98K SLoC