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 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 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 for PetStatusUpdate
impl PartialEq for PetStatusUpdate
impl StructuralPartialEq for PetStatusUpdate
Auto Trait Implementations§
impl Freeze for PetStatusUpdate
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