pub struct XSprite {Show 55 fields
pub reference: i32,
pub state: u8,
pub busy: u32,
pub tx_id: u32,
pub rx_id: u32,
pub command: u8,
pub trigger_on: bool,
pub trigger_off: bool,
pub wave: u8,
pub busy_time: u32,
pub wait_time: u32,
pub rest_state: bool,
pub interruptable: bool,
pub respawn_pending: u8,
pub launch_team: bool,
pub drop_msg: u8,
pub decoupled: bool,
pub trigger_once: bool,
pub is_triggered: bool,
pub key: u8,
pub push: bool,
pub vector: bool,
pub impact: bool,
pub pickup: bool,
pub touch: bool,
pub sight: bool,
pub proximity: bool,
pub launch_skill: u8,
pub launch_single: bool,
pub launch_bloodbath: bool,
pub launch_coop: bool,
pub dude_lockout: bool,
pub data1: i32,
pub data2: i32,
pub data3: i32,
pub goal_ang: u32,
pub dodge_dir: i32,
pub locked: bool,
pub medium: u8,
pub respawn: u8,
pub data4: u32,
pub lock_msg: u8,
pub health: u32,
pub dude_deaf: bool,
pub dude_ambush: bool,
pub dude_guard: bool,
pub dude_flag4: bool,
pub target: i32,
pub target_x: i32,
pub target_y: i32,
pub target_z: i32,
pub burn_time: u32,
pub burn_source: i32,
pub height: u32,
pub state_timer: u32,
}Fields§
§reference: i32§state: u8§busy: u32§tx_id: u32§rx_id: u32§command: u8§trigger_on: bool§trigger_off: bool§wave: u8§busy_time: u32§wait_time: u32§rest_state: bool§interruptable: bool§respawn_pending: u8§launch_team: bool§drop_msg: u8§decoupled: bool§trigger_once: bool§is_triggered: bool§key: u8§push: bool§vector: bool§impact: bool§pickup: bool§touch: bool§sight: bool§proximity: bool§launch_skill: u8Bit per difficulty level (1..=5): sprite is excluded on that skill.
launch_single: bool§launch_bloodbath: bool§launch_coop: bool§dude_lockout: bool§data1: i32§data2: i32§data3: i32§goal_ang: u32§dodge_dir: i32§locked: bool§medium: u8§respawn: u8§data4: u32§lock_msg: u8§health: u32§dude_deaf: bool§dude_ambush: bool§dude_guard: bool§dude_flag4: bool§target: i32§target_x: i32§target_y: i32§target_z: i32§burn_time: u32§burn_source: i32§height: u32§state_timer: u32Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for XSprite
impl<'de> Deserialize<'de> for XSprite
Source§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
Auto Trait Implementations§
impl Freeze for XSprite
impl RefUnwindSafe for XSprite
impl Send for XSprite
impl Sync for XSprite
impl Unpin for XSprite
impl UnsafeUnpin for XSprite
impl UnwindSafe for XSprite
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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