pub struct PetStatusUpdate {
pub room_index: i32,
pub pet_id: LegacyId,
pub can_breed: bool,
pub can_harvest: bool,
pub can_revive: bool,
pub has_breeding_permission: bool,
}
Fields§
§room_index: i32
§pet_id: LegacyId
§can_breed: bool
§can_harvest: bool
§can_revive: bool
§has_breeding_permission: bool
Trait Implementations§
source§impl BaseParser for PetStatusUpdate
impl BaseParser for PetStatusUpdate
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 PetStatusUpdate
impl Clone for PetStatusUpdate
source§fn clone(&self) -> PetStatusUpdate
fn clone(&self) -> PetStatusUpdate
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 PetStatusUpdate
impl Debug for PetStatusUpdate
source§impl Default for PetStatusUpdate
impl Default for PetStatusUpdate
source§fn default() -> PetStatusUpdate
fn default() -> PetStatusUpdate
Returns the “default value” for a type. Read more
source§impl PacketVariable for PetStatusUpdate
impl PacketVariable for PetStatusUpdate
source§impl PartialEq<PetStatusUpdate> for PetStatusUpdate
impl PartialEq<PetStatusUpdate> for PetStatusUpdate
source§fn eq(&self, other: &PetStatusUpdate) -> bool
fn eq(&self, other: &PetStatusUpdate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PetStatusUpdate
Auto Trait Implementations§
impl RefUnwindSafe for PetStatusUpdate
impl Send for PetStatusUpdate
impl Sync for PetStatusUpdate
impl Unpin for PetStatusUpdate
impl UnwindSafe for PetStatusUpdate
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