pub struct CitizenDescription {
pub fields: BTreeMap<u32, Scalar>,
pub list: Vec<Option<String>>,
pub refs: [Option<String>; 3],
}Expand description
CitizenDescription. The class has ~60 scalar fields; they are kept keyed by their runtime
offset (as the original code reads them) with named getters for the ones whose consumers are
traced.
Original: FUN_140119dd0.
Fields§
§fields: BTreeMap<u32, Scalar>Scalar fields by runtime offset.
list: Vec<Option<String>>External references.
Original: FUN_14001c620.
refs: [Option<String>; 3]Not identified yet.
Implementations§
Source§impl CitizenDescription
impl CitizenDescription
Sourcepub fn f(&self, offset: u32) -> f32
pub fn f(&self, offset: u32) -> f32
The float at an offset of the description (0 when it is not a float).
Sourcepub fn i(&self, offset: u32) -> i32
pub fn i(&self, offset: u32) -> i32
The integer at an offset of the description (0 when it is not an integer).
Trait Implementations§
Source§impl Clone for CitizenDescription
impl Clone for CitizenDescription
Source§fn clone(&self) -> CitizenDescription
fn clone(&self) -> CitizenDescription
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 CitizenDescription
impl RefUnwindSafe for CitizenDescription
impl Send for CitizenDescription
impl Sync for CitizenDescription
impl Unpin for CitizenDescription
impl UnsafeUnpin for CitizenDescription
impl UnwindSafe for CitizenDescription
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