Struct assembly_xml::obj::dest::Destructible [−][src]
pub struct Destructible {
pub armor_current: u32,
pub armor_max: u32,
pub dead: bool,
pub health_current: u32,
pub health_max: u32,
pub imagination_current: u32,
pub imagination_max: u32,
pub immunity: Option<u32>,
pub respawn_health: Option<u32>,
pub respawn_imagination: Option<u32>,
pub buff: Option<Buff>,
}
Expand description
Data for the Destructible
component
Fields
armor_current: u32
Current Armor
armor_max: u32
Maximum Armor
dead: bool
Object is Dead
health_current: u32
Health Current
health_max: u32
Maximum Health
imagination_current: u32
Current Imagination
imagination_max: u32
Maximum Imagination
immunity: Option<u32>
Immunity
respawn_health: Option<u32>
Respawn Health
respawn_imagination: Option<u32>
Respawn Imagination
buff: Option<Buff>
Buffs
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.