pub struct CharacterSheet {Show 39 fields
pub sync: SheetSync,
pub name: String,
pub position: (f32, f32, f32),
pub inside_building: Option<String>,
pub life: String,
pub deaths: u32,
pub money: String,
pub attributes: Vec<AttributeRow>,
pub skills: Vec<SkillRow>,
pub ability_mastery: Vec<AbilityMasteryRow>,
pub derived_attack: f32,
pub derived_spell: f32,
pub derived_evasion: f32,
pub derived_carry_kg: f32,
pub derived_sight_m: f32,
pub derived_fov_deg: f32,
pub pools: Vec<PoolRow>,
pub carry_mass: f32,
pub carry_mass_max: f32,
pub encumbrance: &'static str,
pub move_speed_mps: f32,
pub move_speed_mult: f32,
pub mainhand: String,
pub offhand: String,
pub defense_summary: Option<String>,
pub worn: Vec<(String, String)>,
pub active_statuses: Vec<String>,
pub keychain_count: usize,
pub in_combat: bool,
pub auto_attack: bool,
pub blocking: bool,
pub target_slots: u8,
pub has_los: bool,
pub target_label: Option<String>,
pub weapon_ability: Option<String>,
pub rotation_summary: Option<String>,
pub learned_abilities: Vec<String>,
pub blueprint_count: usize,
pub footer_hints: Vec<String>,
}Fields§
§sync: SheetSync§name: String§position: (f32, f32, f32)§inside_building: Option<String>§life: String§deaths: u32§money: String§attributes: Vec<AttributeRow>§skills: Vec<SkillRow>§ability_mastery: Vec<AbilityMasteryRow>Per-ability mastery (use-based tiers).
derived_attack: f32§derived_spell: f32§derived_evasion: f32§derived_carry_kg: f32§derived_sight_m: f32§derived_fov_deg: f32§pools: Vec<PoolRow>§carry_mass: f32§carry_mass_max: f32§encumbrance: &'static str§move_speed_mps: f32Effective walk speed (m/s) after encumbrance and DEX.
move_speed_mult: f32Load multiplier on walk (1.0 = unencumbered).
mainhand: String§offhand: String§defense_summary: Option<String>§worn: Vec<(String, String)>§active_statuses: Vec<String>Active entity statuses (buffs/debuffs) for the character sheet.
keychain_count: usize§in_combat: bool§auto_attack: bool§blocking: bool§target_slots: u8§has_los: bool§target_label: Option<String>§weapon_ability: Option<String>§rotation_summary: Option<String>§learned_abilities: Vec<String>Learned combat abilities (friendly labels; unarmed always included after migrate).
blueprint_count: usizeImplementations§
Source§impl CharacterSheet
impl CharacterSheet
Sourcepub fn move_speed_display(&self) -> String
pub fn move_speed_display(&self) -> String
Player-facing walk speed (3.2 m/s plus load % when encumbered).
Trait Implementations§
Source§impl Clone for CharacterSheet
impl Clone for CharacterSheet
Source§fn clone(&self) -> CharacterSheet
fn clone(&self) -> CharacterSheet
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 moreAuto Trait Implementations§
impl Freeze for CharacterSheet
impl RefUnwindSafe for CharacterSheet
impl Send for CharacterSheet
impl Sync for CharacterSheet
impl Unpin for CharacterSheet
impl UnsafeUnpin for CharacterSheet
impl UnwindSafe for CharacterSheet
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