pub struct StoredCombatProfile {
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 worn: Vec<(BodySlot, ItemStack)>,
pub rotation_presets: Vec<RotationPreset>,
pub target_slots: Vec<StoredTargetSlot>,
}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).
worn: Vec<(BodySlot, ItemStack)>Equipped body-slot items (backpack, belt, future armor), 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).
Trait Implementations§
Source§impl Clone for StoredCombatProfile
impl Clone for StoredCombatProfile
Source§fn clone(&self) -> StoredCombatProfile
fn clone(&self) -> StoredCombatProfile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StoredCombatProfile
impl Debug for StoredCombatProfile
Source§impl Default for StoredCombatProfile
impl Default for StoredCombatProfile
Source§impl<'de> Deserialize<'de> for StoredCombatProfilewhere
StoredCombatProfile: Default,
impl<'de> Deserialize<'de> for StoredCombatProfilewhere
StoredCombatProfile: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StoredCombatProfile
impl PartialEq for StoredCombatProfile
Source§impl Serialize for StoredCombatProfile
impl Serialize for StoredCombatProfile
impl StructuralPartialEq for StoredCombatProfile
Auto Trait Implementations§
impl Freeze for StoredCombatProfile
impl RefUnwindSafe for StoredCombatProfile
impl Send for StoredCombatProfile
impl Sync for StoredCombatProfile
impl Unpin for StoredCombatProfile
impl UnsafeUnpin for StoredCombatProfile
impl UnwindSafe for StoredCombatProfile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more