Skip to main content

flatland_client_lib/
lib.rs

1//! Shared gameplay session state for TUI, bots, and third-party clients.
2
3mod bot;
4mod character_sheet;
5mod connect;
6pub mod currency;
7mod game;
8pub mod harvest_debug;
9pub mod navigation;
10mod remote;
11mod session;
12mod settings;
13mod use_world;
14
15pub use bot::{BotClient, BotConfig, BotStats};
16pub use character_sheet::{
17    build_character_sheet, format_pool_xp, format_progress_pct, format_xp_band,
18    format_xp_band_compact, format_xp_delta, format_xp_value, AttributeRow, CharacterSheet,
19    PoolRow, SheetSync, SkillRow,
20};
21pub use connect::{connect, connect_tcp, default_server_addr, ConnectOptions};
22pub use flatland_protocol::AuthCredential;
23pub use game::{
24    body_slot_label, ContextLine, GameClient, GameState, InventoryBrowserLine, InventoryRow,
25    InventoryRowView, InventorySection, MoveOption, MoveOptionKind, MovePicker, NearbyContainer,
26    RotationEditorMode, RotationEditorState, ShopTab, CONTAINER_RANGE_M,
27};
28pub use harvest_debug::{verbose as harvest_debug_verbose, TARGET as HARVEST_LOG_TARGET};
29pub use navigation::AutoNavigator;
30pub use remote::RemoteSession;
31pub use session::{PlayConnection, SessionEvent};
32pub use settings::{load_client_settings, ClientKeyBindings, ClientSettings};
33pub use use_world::{UseWorldCandidate, UseWorldKind, UseWorldProbe, USE_WORLD_NEARBY_SCAN_M};