pub struct RawMaterialDescription {
pub sprite_sheet: Option<String>,
pub string_table: Option<String>,
pub name: String,
pub name_small: String,
pub value_40: i32,
pub value_44: i32,
pub size: i32,
pub value_4c: i32,
pub flags: u32,
pub value_50: f32,
pub value_54: i32,
pub flag_58: bool,
}Expand description
RawMaterialDescription: a storable resource.
Original: FUN_14012e9f0.
Fields§
§sprite_sheet: Option<String>The icon’s sprite sheet.
string_table: Option<String>The string table.
name: StringThe name’s key (Log).
name_small: StringThe short name’s key (LogSmall).
value_40: i32Not identified yet.
value_44: i32Not identified yet.
size: i32Storage units per item.
Original: FUN_140132250.
value_4c: i32Not identified yet.
flags: u32The category flags (food, fuel, clothing and so on), which the game maps to its stock table.
Original: mapped by FUN_14008f3a0.
value_50: f32Not identified yet.
value_54: i32Not identified yet.
flag_58: boolNot identified yet.
Trait Implementations§
Source§impl Clone for RawMaterialDescription
impl Clone for RawMaterialDescription
Source§fn clone(&self) -> RawMaterialDescription
fn clone(&self) -> RawMaterialDescription
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 RawMaterialDescription
impl RefUnwindSafe for RawMaterialDescription
impl Send for RawMaterialDescription
impl Sync for RawMaterialDescription
impl Unpin for RawMaterialDescription
impl UnsafeUnpin for RawMaterialDescription
impl UnwindSafe for RawMaterialDescription
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