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 copy 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<WiredUserMove> for WiredUserMove
impl PartialEq<WiredUserMove> for WiredUserMove
source§fn eq(&self, other: &WiredUserMove) -> bool
fn eq(&self, other: &WiredUserMove) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for WiredUserMove
Auto Trait Implementations§
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