Expand description
Shared gameplay session state for TUI, bots, and third-party clients.
Re-exports§
pub use harvest_debug::verbose as harvest_debug_verbose;pub use harvest_debug::TARGET as HARVEST_LOG_TARGET;
Modules§
- harvest_
debug - Harvest / play-loop diagnostics.
- navigation
- Client-side pathfinding and auto-navigation toward a map target.
Macros§
- harvest_
trace - Log at
infowhenverbose(), elsedebug— always usesTARGET.
Structs§
- BotClient
- BotConfig
- BotStats
- Client
KeyBindings - Client
Settings - Connect
Options - Context
Line - HUD line for the location / nearby panel.
- Game
Client - Game
State - Inventory
Row - One row in the inventory browser tree.
- Move
Option - A destination the currently-picked item could be moved to.
- Move
Picker - Active “move to…” destination picker state for the selected inventory item.
- Nearby
Container - A placed chest within
CONTAINER_RANGE_M, with its contents pre-flattened for the browser (empty when locked without the matching key). - Remote
Session - Rotation
Editor State - Local rotation editor UI state (not persisted).
Enums§
- Auth
Credential - How the client authenticates to the game gateway. Uses default serde enum encoding (postcard-compatible; not internally tagged).
- Inventory
Section - Broad section of the inventory browser a row belongs to (drives the grouped “Worn” / “On you” / “Nearby chest” headers in the UI).
- Move
Option Kind - Rotation
Editor Mode - Rotation editor overlay mode (
plans/26§C2.5). - Session
Event
Constants§
- CONTAINER_
RANGE_ M - Max distance (m) a placed chest can be browsed/moved-into from the inventory
UI. Mirrors
flatland_sim::interaction::CONTAINER_INTERACTION_RADIUS_Mso the client only ever shows chests the server will actually let you use — this is what makes a chest disappear from the menu as soon as you walk away.
Traits§
- Play
Connection - Gameplay session handle (remote TCP or in-process worker).
Functions§
- body_
slot_ label - Short display label for a body slot (
plans/08§4.1) — shared by the inventory browser section headers and the move-destination picker. - connect
- connect_
tcp - default_
server_ addr - load_
client_ settings