This page refers to WildRune.LCU class. It is responsible for communication with League Client Update.
readonly bool IsConnectedRepresents whether there is an active connection to the API.
readonly GameflowPhase? CurrentGameflowPhaseRepresents current GameflowPhase fetched from GET /lol-gameflow/v1/gameflow-phase. It is updated automatically and when it changes, OnGameflowPhaseChanged is invoked. Can be null if client is not connected.
readonly Summoner? LocalSummonerRepresents currently logged summoner info fetched from GET /lol-summoner/v1/current-summoner. Updates automatically and any change invokes OnLocalSummonerInfoChanged. Can be null if client is not connected.
bool PreserveSubscriptionsdefault is true
Whether subscriptions should be preserved on disconnection. true means they stay unchanged and they will get invoked back after reconnecting; false means all of them are cleared when connection is lost no matter what caused it.
bool WriteAllEventsToConsoledefault is false
Whether all incoming WebSocket events should be printed to the console. They will be printed in raw version.
bool WriteAllEventsToTracedefault is false
Whether all incoming WebSocket events should be printed to the trace. They will be printed in raw version.
void TryConnect