pub struct PetFigureUpdate {
pub room_index: i32,
pub pet_id: LegacyId,
pub figure_data: PetFigureData,
pub has_saddle: bool,
pub is_riding: bool,
}
Fields§
§room_index: i32
§pet_id: LegacyId
§figure_data: PetFigureData
§has_saddle: bool
§is_riding: bool
Trait Implementations§
Source§impl BaseParser for PetFigureUpdate
impl BaseParser for PetFigureUpdate
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 PetFigureUpdate
impl Clone for PetFigureUpdate
Source§fn clone(&self) -> PetFigureUpdate
fn clone(&self) -> PetFigureUpdate
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 PetFigureUpdate
impl Debug for PetFigureUpdate
Source§impl Default for PetFigureUpdate
impl Default for PetFigureUpdate
Source§fn default() -> PetFigureUpdate
fn default() -> PetFigureUpdate
Returns the “default value” for a type. Read more
Source§impl PacketVariable for PetFigureUpdate
impl PacketVariable for PetFigureUpdate
Source§impl PartialEq for PetFigureUpdate
impl PartialEq for PetFigureUpdate
impl StructuralPartialEq for PetFigureUpdate
Auto Trait Implementations§
impl Freeze for PetFigureUpdate
impl RefUnwindSafe for PetFigureUpdate
impl Send for PetFigureUpdate
impl Sync for PetFigureUpdate
impl Unpin for PetFigureUpdate
impl UnwindSafe for PetFigureUpdate
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