1mod asset_backend;
4mod assets;
5mod audio;
6mod bot;
7mod character_sheet;
8mod client_config;
9mod connect;
10pub mod content_pack;
11pub mod currency;
12mod game;
13pub mod harvest_debug;
14mod los_probe;
15pub mod navigation;
16mod publish_packs;
17mod remote;
18mod session;
19mod settings;
20mod social;
21mod update;
22mod use_world;
23mod worker_route_editor;
24mod world_zones;
25
26pub use los_probe::{
27 first_los_block, has_los, BlockingCircle, BlockingRect, LosBlock, LosBlockKind, LosObstacles,
28};
29
30pub use asset_backend::{
31 mime_for_path, store_from_config, AssetBackendConfig, AssetBackendKind, AssetStore,
32 GcsAssetStore, LocalAssetStore, S3AssetStore,
33};
34pub use assets::{
35 assets_index_url, build_bundle_index, build_client_bundle_index, find_repo_audio_sfx_dir,
36 find_repo_paperdoll_dir, firebase_download_url, firebase_object_path, needs_asset_sync,
37 paperdoll_has_keyframe_animations, read_local_state, read_repo_publish_rev,
38 resolve_audio_sfx_dir, resolve_bundle_file_path, resolve_paperdoll_dir, resolve_sprites_dir,
39 should_prefer_repo_assets, sync_assets, synced_rev_dir, urlencoding_encode_path,
40 AssetBundleIndex, AssetFileEntry, AssetSyncKind, AssetSyncOptions, AssetSyncResult,
41 ClientBundleSources, LocalAssetState, ASSETS_INDEX_OBJECT, DEFAULT_FIREBASE_BUCKET,
42};
43pub use audio::sync_frame_audio;
44pub use bot::{BotClient, BotConfig, BotStats};
45pub use character_sheet::{
46 build_character_sheet, format_pool_xp, format_progress_pct, format_xp_band,
47 format_xp_band_compact, format_xp_delta, format_xp_value, AbilityMasteryRow, AttributeRow,
48 CharacterSheet, PoolRow, SheetSync, SkillRow,
49};
50pub use client_config::{
51 api_base_url_for_host, apply_host_override, default_api_base_url, default_game_server_addr,
52 host_override_active, normalize_host_input, resolve_game_host_addr, ClientConfig,
53 FloatingChatPrefs, GfxWindowPrefs, DEFAULT_API_PORT, DEFAULT_GAME_PORT,
54};
55pub use connect::{
56 connect, connect_reject_message, connect_tcp, default_server_addr,
57 is_character_busy_connect_error, ConnectOptions, CHARACTER_ALREADY_CONNECTED,
58};
59pub use content_pack::{
60 build_sim_pack_index, download_sim_pack, ensure_sim_pack_cached, resolve_sim_pack_file,
61 sim_pack_cache_dir, upload_sim_pack, SIM_PACK_ASSET_DIRS,
62};
63pub use flatland_pathfinding::PathMode;
64pub use flatland_protocol::AuthCredential;
65pub use game::{
66 body_slot_label, category_default_listable, equip_paperdoll_rows, format_binding_mode,
67 format_binding_ttl, format_status_bindings_suffix, inventory_category_group,
68 list_label_matches, npc_market_dump_unit_estimate_copper, npc_world_xy, page_list_index,
69 plot_public_label, resource_node_id_suffix, resource_node_near_action_suffix,
70 resource_node_near_display_label, resource_node_route_label, resource_node_route_label_parts,
71 worker_attention_line, worker_error_is_hud_noise, worker_error_is_transient,
72 worker_issue_fix_hint, BankUiMode, CharacterSheetTab, ClaimModeState, ContextLine,
73 EquipPaperdollRow, FarmAccessRow, GameClient, GameState, GrantTargetOption, GrantTargetPicker,
74 InventoryBrowserLine, InventoryRow, InventoryRowView, InventorySection, InventoryTab,
75 LedgerPeriod, LoadoutHotbarChoice, MarketListSourceKind, MarketUiMode, MoveOption,
76 MoveOptionKind, MovePicker, NearbyContainer, RelocateModeState, RotationEditorMode,
77 RotationEditorState, ShopTab, StoragePickOption, StorageUiMode, WorkerGiveOption,
78 WorkerGivePicker, WorkerGiveTargetOption, WorkerGiveTargetPicker, WorkerTakePicker,
79 WorkerTeachOption, WorkerTeachPicker, CONTAINER_RANGE_M, DEFAULT_TICK_HZ, LIST_PAGE_SIZE,
80 WORKER_GIVE_RANGE_M,
81};
82pub use harvest_debug::{verbose as harvest_debug_verbose, TARGET as HARVEST_LOG_TARGET};
83pub use navigation::AutoNavigator;
84pub use publish_packs::{publish_content_packs, publish_content_packs_opts, PublishPacksResult};
85pub use remote::RemoteSession;
86pub use session::{PlayConnection, SessionEvent};
87pub use settings::{load_client_settings, ClientKeyBindings, ClientSettings};
88pub use social::{
89 chat_slash_help_text, contacts_from_stacks, is_chat_slash_line, parse_chat_slash,
90 self_chat_rgb, speaker_chat_rgb, AudioCue, ChatLogEntry, ChatSlashCommand, ChatThreadKind,
91 LastWhisperPeer, PendingTradeRequest, PlayerVerbState, SocialChatState, SpeakingBubble,
92 TradeUiState, WhisperContact, WhisperPouchUi,
93};
94pub use update::{
95 apply_update, check_for_update, check_updates_enabled, cleanup_old_binaries,
96 default_latest_url, fetch_latest_manifest, is_newer, local_version, platform_tag, update_dir,
97 AppliedUpdate, Artifact, UpdateAvailable, UpdateManifest,
98};
99pub use use_world::{UseWorldCandidate, UseWorldKind, UseWorldProbe, USE_WORLD_NEARBY_SCAN_M};
100pub use worker_route_editor::{
101 harvest_picker_row_count, harvest_picker_row_matches, list_filter_row_matches, node_candidates,
102 node_candidates_stable, owned_container_candidates, owned_container_candidates_with_occupants,
103 owned_container_candidates_with_occupants_and_buildings, owned_lodging_container_ids,
104 owned_lodging_container_ids_with_occupants, owned_storage_template_ids,
105 pick_lodging_container_at, pick_resource_node_at, pick_storage_container_at, pick_trade_npc_at,
106 route_editor_lodging_anchor, route_item_template_candidates,
107 sellable_route_item_template_candidates, sell_item_picker_row_count, summarize_contents,
108 trade_npc_candidates, worker_craft_blueprint_ids, ContainerCandidate,
109 FarmPlotAction, NodeCandidate, RouteEditorClick, RouteEditorSheet, TradeNpcCandidate,
110 WithdrawLineDraft, WithdrawLineMode, WorkerRouteEditorState, WorkerRouteStop,
111 WorkerRouteWaypoint, WorkerRouteWithdrawItem, ADD_MENU, ROUTE_PICKER_DONE_ROW,
112 SELL_ITEM_TOGGLE_ROW, WAYPOINT_MENU,
113};
114pub use world_zones::{zone_friendly_label, WorldZoneChip, WorldZoneLayer};