pub struct WiredUserMove {
pub old_x: i32,
pub old_y: i32,
pub new_x: i32,
pub new_y: i32,
pub old_z: LegacyDouble,
pub new_z: LegacyDouble,
pub user_id: LegacyId,
pub move_type: WiredUserMoveType,
pub animation_time: i32,
}
Fields§
§old_x: i32
§old_y: i32
§new_x: i32
§new_y: i32
§old_z: LegacyDouble
§new_z: LegacyDouble
§user_id: LegacyId
§move_type: WiredUserMoveType
§animation_time: i32
Trait Implementations§
Source§impl BaseParser for WiredUserMove
impl BaseParser for WiredUserMove
fn parse(packet: &mut HPacket) -> Self
fn append_to_packet(&self, packet: &mut HPacket)
fn get_direction() -> HDirection
fn get_packet_name() -> String
Source§impl Clone for WiredUserMove
impl Clone for WiredUserMove
Source§fn clone(&self) -> WiredUserMove
fn clone(&self) -> WiredUserMove
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WiredUserMove
impl Debug for WiredUserMove
Source§impl Default for WiredUserMove
impl Default for WiredUserMove
Source§fn default() -> WiredUserMove
fn default() -> WiredUserMove
Returns the “default value” for a type. Read more
Source§impl PacketVariable for WiredUserMove
impl PacketVariable for WiredUserMove
Source§impl PartialEq for WiredUserMove
impl PartialEq for WiredUserMove
impl StructuralPartialEq for WiredUserMove
Auto Trait Implementations§
impl Freeze for WiredUserMove
impl RefUnwindSafe for WiredUserMove
impl Send for WiredUserMove
impl Sync for WiredUserMove
impl Unpin for WiredUserMove
impl UnwindSafe for WiredUserMove
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