pub struct EnemyActorDefinitionInput {Show 20 fields
pub id: EnemyIdx,
pub display_name: String,
pub npc_id: Option<u32>,
pub classification: Option<i32>,
pub creature_type: Option<i32>,
pub level: u16,
pub armor: f64,
pub armor_constant: f64,
pub auto_attack_dps: Option<f64>,
pub spell_damage: Option<f64>,
pub creature_aoe_avoidance_pct: f64,
pub attack_table: EnemyAttackTable,
pub health_model: HealthModel,
pub initial_transform: SpatialTransform,
pub group_id: GroupId,
pub enemy_tags: Vec<Box<str>>,
pub group_tags: Vec<Box<str>>,
pub role: EnemyRole,
pub spawn_at_s: f64,
pub starts_active: bool,
}Expand description
Values consumed when sealing an immutable enemy definition.
Fields§
§id: EnemyIdx§display_name: String§npc_id: Option<u32>§classification: Option<i32>§creature_type: Option<i32>§level: u16§armor: f64§armor_constant: f64§auto_attack_dps: Option<f64>§spell_damage: Option<f64>§creature_aoe_avoidance_pct: f64§attack_table: EnemyAttackTable§health_model: HealthModel§initial_transform: SpatialTransform§group_id: GroupId§role: EnemyRole§spawn_at_s: f64§starts_active: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for EnemyActorDefinitionInput
impl RefUnwindSafe for EnemyActorDefinitionInput
impl Send for EnemyActorDefinitionInput
impl Sync for EnemyActorDefinitionInput
impl Unpin for EnemyActorDefinitionInput
impl UnsafeUnpin for EnemyActorDefinitionInput
impl UnwindSafe for EnemyActorDefinitionInput
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more