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