pub struct PetInfo {Show 27 fields
pub pet_id: LegacyId,
pub name: String,
pub level: i32,
pub max_level: i32,
pub experience: i32,
pub experience_required_to_level: i32,
pub energy: i32,
pub max_energy: i32,
pub nutrition: i32,
pub max_nutrition: i32,
pub respect: i32,
pub owner_id: LegacyId,
pub age: i32,
pub owner_name: String,
pub breed_id: i32,
pub has_free_saddle: bool,
pub is_riding: bool,
pub skill_tresholds: Vec<i32>,
pub access_rights: i32,
pub can_breed: bool,
pub can_harvest: bool,
pub can_revive: bool,
pub rarity_level: i32,
pub max_well_being_seconds: i32,
pub remaining_well_bein_seconds: i32,
pub remaining_growing_seconds: i32,
pub has_breeding_permission: bool,
}
Fields§
§pet_id: LegacyId
§name: String
§level: i32
§max_level: i32
§experience: i32
§experience_required_to_level: i32
§energy: i32
§max_energy: i32
§nutrition: i32
§max_nutrition: i32
§respect: i32
§owner_id: LegacyId
§age: i32
§owner_name: String
§breed_id: i32
§has_free_saddle: bool
§is_riding: bool
§skill_tresholds: Vec<i32>
§access_rights: i32
§can_breed: bool
§can_harvest: bool
§can_revive: bool
§rarity_level: i32
§max_well_being_seconds: i32
§remaining_well_bein_seconds: i32
§remaining_growing_seconds: i32
§has_breeding_permission: bool
Trait Implementations§
Source§impl BaseParser for PetInfo
impl BaseParser for PetInfo
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 PacketVariable for PetInfo
impl PacketVariable for PetInfo
impl StructuralPartialEq for PetInfo
Auto Trait Implementations§
impl Freeze for PetInfo
impl RefUnwindSafe for PetInfo
impl Send for PetInfo
impl Sync for PetInfo
impl Unpin for PetInfo
impl UnwindSafe for PetInfo
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