flatland-client-lib 0.2.14

Flatland3 remote game client library (TCP session, bots, game state)
Documentation
//! Shared gameplay session state for TUI, bots, and third-party clients.

mod assets;
mod bot;
mod character_sheet;
mod client_config;
mod connect;
pub mod currency;
mod game;
mod worker_route_editor;
pub mod harvest_debug;
pub mod navigation;
mod remote;
mod session;
mod settings;
mod use_world;

pub use assets::{
    assets_index_url, build_bundle_index, firebase_download_url, firebase_object_path,
    needs_asset_sync, read_local_state, read_repo_publish_rev, resolve_sprites_dir, sync_assets,
    AssetBundleIndex, AssetFileEntry, AssetSyncKind, AssetSyncOptions, AssetSyncResult,
    LocalAssetState, DEFAULT_FIREBASE_BUCKET,
};
pub use bot::{BotClient, BotConfig, BotStats};
pub use character_sheet::{
    build_character_sheet, format_pool_xp, format_progress_pct, format_xp_band,
    format_xp_band_compact, format_xp_delta, format_xp_value, AttributeRow, CharacterSheet,
    PoolRow, SheetSync, SkillRow,
};
pub use client_config::{
    default_api_base_url, default_game_server_addr, ClientConfig, GfxWindowPrefs,
    DEFAULT_API_PORT, DEFAULT_GAME_PORT,
};
pub use connect::{connect, connect_tcp, default_server_addr, ConnectOptions};
pub use flatland_protocol::AuthCredential;
pub use game::{
    body_slot_label, worker_error_is_transient, CharacterSheetTab, ContextLine, GameClient,
    GameState, InventoryBrowserLine, InventoryRow, InventoryRowView, InventorySection, LedgerPeriod,
    MoveOption, MoveOptionKind, MovePicker, NearbyContainer, RotationEditorMode,
    RotationEditorState, ShopTab, WorkerGiveOption, WorkerGivePicker, WorkerGiveTargetOption,
    WorkerGiveTargetPicker,
    WorkerTakePicker, WorkerTeachOption, WorkerTeachPicker, CONTAINER_RANGE_M, WORKER_GIVE_RANGE_M,
};
pub use worker_route_editor::{
    node_candidates, owned_container_candidates, owned_container_candidates_with_occupants,
    owned_lodging_container_ids, owned_lodging_container_ids_with_occupants,
    owned_storage_template_ids, pick_lodging_container_at, pick_resource_node_at,
    pick_storage_container_at, pick_trade_npc_at, route_item_template_candidates,
    summarize_contents, trade_npc_candidates, worker_craft_blueprint_ids, ContainerCandidate,
    NodeCandidate, RouteEditorClick, RouteEditorSheet, TradeNpcCandidate, WithdrawLineDraft,
    WithdrawLineMode, WorkerRouteEditorState, WorkerRouteStop, WorkerRouteWaypoint,
    WorkerRouteWithdrawItem, ADD_MENU, WAYPOINT_MENU,
};
pub use harvest_debug::{verbose as harvest_debug_verbose, TARGET as HARVEST_LOG_TARGET};
pub use navigation::AutoNavigator;
pub use remote::RemoteSession;
pub use session::{PlayConnection, SessionEvent};
pub use settings::{load_client_settings, ClientKeyBindings, ClientSettings};
pub use use_world::{UseWorldCandidate, UseWorldKind, UseWorldProbe, USE_WORLD_NEARBY_SCAN_M};