Skip to main content

AdvMapMonster

Struct AdvMapMonster 

Source
pub struct AdvMapMonster {
Show 26 fields pub pos: Pos, pub rot: f32, pub floor: u8, pub name: Option<String>, pub combat_script: Option<String>, pub point_lights: Option<String>, pub shared: Option<FileRef>, pub is_custom_amount: bool, pub min_count: u32, pub max_count: u32, pub attack_type: String, pub move_type: String, pub does_not_grow: bool, pub message_file_ref: Option<FileRef>, pub script: Option<String>, pub resources: Resources, pub art_id: String, pub mood: String, pub courage: String, pub allow_quick_combat: bool, pub does_not_depends_on_difficulty: bool, pub additional_stacks: Option<AdditionalStacks>, pub single_monster_name: Option<FileRef>, pub multiple_monster_name: Option<FileRef>, pub race_random_group_id: u32, pub relations_override: Option<String>,
}

Fields§

§pos: Pos§rot: f32§floor: u8§name: Option<String>§combat_script: Option<String>§point_lights: Option<String>§shared: Option<FileRef>§is_custom_amount: bool§min_count: u32§max_count: u32§attack_type: String§move_type: String§does_not_grow: bool§message_file_ref: Option<FileRef>§script: Option<String>§resources: Resources§art_id: String§mood: String§courage: String§allow_quick_combat: bool§does_not_depends_on_difficulty: bool§additional_stacks: Option<AdditionalStacks>§single_monster_name: Option<FileRef>§multiple_monster_name: Option<FileRef>§race_random_group_id: u32§relations_override: Option<String>

Trait Implementations§

Source§

impl Debug for AdvMapMonster

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for AdvMapMonster

Source§

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 Homm5Type for AdvMapMonster

Source§

impl Serialize for AdvMapMonster

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.