Struct mila::AssetSpec[][src]

pub struct AssetSpec {
    pub name: Option<String>,
    pub conditional1: Option<String>,
    pub conditional2: Option<String>,
    pub body_model: Option<String>,
    pub body_texture: Option<String>,
    pub head_model: Option<String>,
    pub head_texture: Option<String>,
    pub hair_model: Option<String>,
    pub hair_texture: Option<String>,
    pub outer_clothing_model: Option<String>,
    pub outer_clothing_texture: Option<String>,
    pub underwear_model: Option<String>,
    pub underwear_texture: Option<String>,
    pub mount_model: Option<String>,
    pub mount_texture: Option<String>,
    pub mount_outer_clothing_model: Option<String>,
    pub mount_outer_clothing_texture: Option<String>,
    pub weapon_model_dual: Option<String>,
    pub weapon_model: Option<String>,
    pub skeleton: Option<String>,
    pub mount_skeleton: Option<String>,
    pub accessory1_model: Option<String>,
    pub accessory1_texture: Option<String>,
    pub accessory2_model: Option<String>,
    pub accessory2_texture: Option<String>,
    pub accessory3_model: Option<String>,
    pub accessory3_texture: Option<String>,
    pub attack_animation: Option<String>,
    pub attack_animation2: Option<String>,
    pub visual_effect: Option<String>,
    pub hid: Option<String>,
    pub footstep_sound: Option<String>,
    pub clothing_sound: Option<String>,
    pub voice: Option<String>,
    pub hair_color: [u8; 4],
    pub use_hair_color: bool,
    pub skin_color: [u8; 4],
    pub use_skin_color: bool,
    pub weapon_trail_color: [u8; 4],
    pub use_weapon_trail_color: bool,
    pub model_size: f32,
    pub use_model_size: bool,
    pub head_size: f32,
    pub use_head_size: bool,
    pub pupil_y: f32,
    pub use_pupil_y: bool,
    pub unk3: u32,
    pub use_unk3: bool,
    pub unk4: u32,
    pub use_unk4: bool,
    pub unk5: u32,
    pub use_unk5: bool,
    pub unk6: u32,
    pub use_unk6: bool,
    pub on_hit_effect: u32,
    pub use_on_hit_effect: bool,
    pub unk7: u32,
    pub use_unk7: bool,
    pub unk8: u32,
    pub use_unk8: bool,
    pub unk9: u32,
    pub use_unk9: bool,
    pub unk10: u32,
    pub use_unk10: bool,
    pub unk11: u32,
    pub use_unk11: bool,
    pub unk12: u32,
    pub use_unk12: bool,
    pub unk13: u32,
    pub use_unk13: bool,
}

Fields

name: Option<String>conditional1: Option<String>conditional2: Option<String>body_model: Option<String>body_texture: Option<String>head_model: Option<String>head_texture: Option<String>hair_model: Option<String>hair_texture: Option<String>outer_clothing_model: Option<String>outer_clothing_texture: Option<String>underwear_model: Option<String>underwear_texture: Option<String>mount_model: Option<String>mount_texture: Option<String>mount_outer_clothing_model: Option<String>mount_outer_clothing_texture: Option<String>weapon_model_dual: Option<String>weapon_model: Option<String>skeleton: Option<String>mount_skeleton: Option<String>accessory1_model: Option<String>accessory1_texture: Option<String>accessory2_model: Option<String>accessory2_texture: Option<String>accessory3_model: Option<String>accessory3_texture: Option<String>attack_animation: Option<String>attack_animation2: Option<String>visual_effect: Option<String>hid: Option<String>footstep_sound: Option<String>clothing_sound: Option<String>voice: Option<String>hair_color: [u8; 4]use_hair_color: boolskin_color: [u8; 4]use_skin_color: boolweapon_trail_color: [u8; 4]use_weapon_trail_color: boolmodel_size: f32use_model_size: boolhead_size: f32use_head_size: boolpupil_y: f32use_pupil_y: boolunk3: u32use_unk3: boolunk4: u32use_unk4: boolunk5: u32use_unk5: boolunk6: u32use_unk6: boolon_hit_effect: u32use_on_hit_effect: boolunk7: u32use_unk7: boolunk8: u32use_unk8: boolunk9: u32use_unk9: boolunk10: u32use_unk10: boolunk11: u32use_unk11: boolunk12: u32use_unk12: boolunk13: u32use_unk13: bool

Implementations

impl AssetSpec[src]

pub fn new() -> Self[src]

pub fn from_stream(
    reader: &mut BinArchiveReader<'_>
) -> Result<Self, ArchiveError>
[src]

pub fn append(&self, archive: &mut BinArchive) -> Result<(), ArchiveError>[src]

Trait Implementations

impl Clone for AssetSpec[src]

impl Debug for AssetSpec[src]

impl Default for AssetSpec[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.