pub struct StoredCombatProfile {Show 19 fields
pub combat_target_instance_id: Option<String>,
pub in_combat: bool,
pub last_combat_tick: u64,
pub last_attack_tick: u64,
pub cooldowns_until_tick: BTreeMap<String, u64>,
pub auto_attack_enabled: bool,
pub mainhand_template_id: Option<String>,
pub mainhand_instance_id: Option<Uuid>,
pub offhand_template_id: Option<String>,
pub offhand_instance_id: Option<Uuid>,
pub worn: Vec<(BodySlot, ItemStack)>,
pub rotation_presets: Vec<RotationPreset>,
pub target_slots: Vec<StoredTargetSlot>,
pub known_blueprint_ids: Vec<String>,
pub keychain: Vec<ItemStack>,
pub known_abilities: Vec<KnownAbility>,
pub hotbar: Vec<Option<String>>,
pub abilities_schema_version: u32,
pub bank_balance_copper: u64,
}Fields§
§combat_target_instance_id: Option<String>Wildlife instance_id (e.g. meadow-rabbits-0), stable across worker restarts.
in_combat: bool§last_combat_tick: u64§last_attack_tick: u64§cooldowns_until_tick: BTreeMap<String, u64>§auto_attack_enabled: bool§mainhand_template_id: Option<String>Equipped mainhand weapon template id (plans/26 §C2b).
mainhand_instance_id: Option<Uuid>Specific mainhand instance (bindings / unique gear).
offhand_template_id: Option<String>Equipped offhand (shield / dual-wield). Cleared when mainhand is two-handed.
offhand_instance_id: Option<Uuid>Specific offhand instance.
worn: Vec<(BodySlot, ItemStack)>Equipped body-slot items (backpack, belt, armor, jewelry), nested contents included
(e.g. pouches clipped onto a worn belt). At most one entry per BodySlot.
rotation_presets: Vec<RotationPreset>Player-authored rotation library (plans/26 §C3).
target_slots: Vec<StoredTargetSlot>Per-target slot state (T1/T2).
known_blueprint_ids: Vec<String>Discovered craft recipe ids (plans/09 §C2 hybrid discovery).
keychain: Vec<ItemStack>Keys stowed on the keychain (not counted toward carry mass).
known_abilities: Vec<KnownAbility>Learned combat abilities (skill books / temporary grants). Empty on load → default unarmed.
hotbar: Vec<Option<String>>Hotbar slots 1–9 (None / missing = unbound). Empty on load → slot 1 = unarmed.
abilities_schema_version: u32Bump when combat ability progression model changes. 0 = pre–skill-book open kit.
bank_balance_copper: u64Secure bank ledger balance in copper (plans/08 §8). Persists with combat profile.
Trait Implementations§
Source§impl Clone for StoredCombatProfile
impl Clone for StoredCombatProfile
Source§fn clone(&self) -> StoredCombatProfile
fn clone(&self) -> StoredCombatProfile
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more