1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//! Parsing code for each individual API endpoint.
//!
//! Each sub-module contains code for interpreting the result of calling a specific API endpoint.
pub mod login;
pub mod map_stats;
pub mod my_info;
pub mod room_overview;
pub mod room_status;
pub mod room_terrain;
pub mod recent_pvp;
pub mod leaderboard;
pub mod world_start_room;
pub mod shards;

// don't compile this endpoint template file with regular output, but still compile w/ tests to test for correctness.
#[cfg(test)]
pub mod template;

pub use self::my_info::MyInfo;
pub use self::recent_pvp::RecentPvp;
pub use self::room_overview::RoomOverview;
pub use self::room_status::RoomStatus;
pub use self::room_terrain::RoomTerrain;
pub use self::map_stats::MapStats;
pub use self::world_start_room::WorldStartRoom;
pub use self::shards::ShardInfo;