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