Skip to main content

rlstatsapi/
lib.rs

1pub mod client;
2pub mod config;
3pub mod error;
4pub mod events;
5pub mod filters;
6#[cfg(feature = "python")]
7mod python_bindings;
8pub mod sos;
9
10pub use client::RocketLeagueStatsClient;
11pub use config::{
12    ClientOptions, ConnectionConfig, DEFAULT_PACKET_SEND_RATE, DEFAULT_PORT,
13    MAX_PACKET_SEND_RATE, discover_default_stats_api_ini_path,
14    prepare_connection_config,
15};
16pub use error::RlStatsError;
17pub use events::{
18    EventEnvelope, StatsEvent, parse_stats_event, parse_stats_event_value,
19    stats_event_name, stats_event_to_value,
20};
21pub use filters::{
22    EventFilter, EventKind, MatchSignal, PlayerSnapshot, PlayerTracker,
23    to_match_signal, winner_team_num,
24};
25pub use sos::{
26    SOS_VERSION, SosEnvelope, sos_version_envelope, translate_stats_event,
27};