pub struct Die {
pub client_death: bool,
pub spawn_loot: bool,
pub death_type: LuVarWString<u32>,
pub direction_relative_angle_xz: f32,
pub direction_relative_angle_y: f32,
pub direction_relative_force: f32,
pub kill_type: KillType,
pub killer_id: ObjId,
pub loot_owner_id: ObjId,
}Fields
client_death: boolspawn_loot: booldeath_type: LuVarWString<u32>direction_relative_angle_xz: f32direction_relative_angle_y: f32direction_relative_force: f32kill_type: KillTypekiller_id: ObjIdloot_owner_id: ObjIdTrait Implementations
sourceimpl<__READER: Read> Deserialize<LittleEndian, __READER> for Die
impl<__READER: Read> Deserialize<LittleEndian, __READER> for Die
sourcefn deserialize(reader: &mut __READER) -> Result<Self>
fn deserialize(reader: &mut __READER) -> Result<Self>
Deserializes the type by reading from the reader.
sourceimpl From<Die> for GameMessage
impl From<Die> for GameMessage
impl StructuralPartialEq for Die
Auto Trait Implementations
impl RefUnwindSafe for Die
impl Send for Die
impl Sync for Die
impl Unpin for Die
impl UnwindSafe for Die
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more