#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

#2 in #lol

Download history 12/week @ 2022-03-11 16/week @ 2022-03-18 5/week @ 2022-03-25 8/week @ 2022-04-01 9/week @ 2022-04-08 9/week @ 2022-04-15 11/week @ 2022-04-22 40/week @ 2022-04-29 19/week @ 2022-05-06 61/week @ 2022-05-13 23/week @ 2022-05-20 34/week @ 2022-05-27 67/week @ 2022-06-03 10/week @ 2022-06-10 17/week @ 2022-06-17 11/week @ 2022-06-24

108 downloads per month
Used in uggo

MIT license

9KB
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

~1.6–2.5MB
~64K SLoC