flatland-client-lib 0.2.24

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 social;
mod use_world;

pub use assets::{
    assets_index_url, build_bundle_index, build_client_bundle_index, firebase_download_url,
    firebase_object_path, needs_asset_sync, read_local_state, read_repo_publish_rev,
    resolve_bundle_file_path, resolve_paperdoll_dir, resolve_sprites_dir, should_prefer_repo_assets,
    sync_assets, synced_rev_dir, AssetBundleIndex, AssetFileEntry, AssetSyncKind, AssetSyncOptions,
    AssetSyncResult, ClientBundleSources, 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, equip_paperdoll_rows, format_binding_mode, format_binding_ttl,
    format_status_bindings_suffix, inventory_category_group, list_label_matches, page_list_index,
    worker_error_is_transient, worker_error_is_hud_noise, worker_attention_line, BankUiMode, CharacterSheetTab, ContextLine, DEFAULT_TICK_HZ, EquipPaperdollRow,
    GameClient, GameState, GrantTargetOption, GrantTargetPicker, InventoryBrowserLine, InventoryRow,
    InventoryRowView, InventorySection, InventoryTab, LedgerPeriod, LIST_PAGE_SIZE, LoadoutHotbarChoice, MoveOption,
    MoveOptionKind, MovePicker, NearbyContainer, RotationEditorMode, RotationEditorState, ShopTab,
    StoragePickOption, StorageUiMode, 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 social::{
    contacts_from_stacks, self_chat_rgb, speaker_chat_rgb, AudioCue, ChatLogEntry, ChatThreadKind,
    PendingTradeRequest, PlayerVerbState, SocialChatState, SpeakingBubble, TradeUiState,
    WhisperContact, WhisperPouchUi,
};
pub use use_world::{UseWorldCandidate, UseWorldKind, UseWorldProbe, USE_WORLD_NEARBY_SCAN_M};