record-daemon: refactor client.rs
This commit is contained in:
@@ -5,12 +5,21 @@
|
||||
|
||||
mod auth;
|
||||
mod client;
|
||||
mod endpoints;
|
||||
mod events;
|
||||
mod mappings;
|
||||
mod metadata;
|
||||
mod state;
|
||||
mod tls;
|
||||
mod websocket;
|
||||
|
||||
pub use auth::{LockfileCredentials, LockfileWatcher};
|
||||
pub use client::{
|
||||
champion_id_to_name, spell_id_to_name, GameEndMetadata, GameflowPhase, LqpClient,
|
||||
PreGameMetadata,
|
||||
pub use client::LqpClient;
|
||||
pub use endpoints::{
|
||||
ALL_RUNE_PAGES, CHAMPION_SELECT, CHAMPION_SELECT_LOCAL_PLAYER, CHAMPION_SUMMARY,
|
||||
GAMEFLOW_PHASE, GAME_STATS, LIVE_CLIENT_DATA, LIVE_CLIENT_DATA_ACTIVE_PLAYER,
|
||||
LIVE_CLIENT_DATA_PLAYER_LIST, MATCH_HISTORY, RUNE_PAGES, SESSION, SUBSCRIBE_ENDPOINTS,
|
||||
SUMMONER,
|
||||
};
|
||||
pub use events::{
|
||||
ChampSelectStartInfo, ChampionPickInfo, DeathEvent, EventData, GameEndInfo, GameEvent,
|
||||
@@ -18,3 +27,7 @@ pub use events::{
|
||||
ObjectiveEvent, ObjectiveType, PlayerChampionSelection, PlayerGameMetadata, PlayerIdentity,
|
||||
QueueInfo, RunePage, RuneSlot, SummonerSpells, TeamMember,
|
||||
};
|
||||
pub use mappings::{champion_id_to_name, map_id_to_name, spell_id_to_name};
|
||||
pub use metadata::{GameEndMetadata, PreGameMetadata};
|
||||
pub use state::{ClientState, GameflowPhase};
|
||||
pub use websocket::{parse_event_from_uri, parse_websocket_message};
|
||||
|
||||
Reference in New Issue
Block a user