Struct pso2packetlib::protocol::login::CharacterMovePacket
source · pub struct CharacterMovePacket {
pub status: u32,
pub ac_price: u32,
pub unk1: u32,
pub unk2: u32,
pub unk3: u32,
pub unk4: u32,
pub unk5: u32,
}Expand description
(0x11, 0xB9) Character Ship Transfer Rights.
(S -> C) Sent in response to a request.
Respond with: crate::protocol::Packet::CharacterMove
Fields§
§status: u32§ac_price: u32§unk1: u32§unk2: u32§unk3: u32§unk4: u32§unk5: u32Trait Implementations§
source§impl Clone for CharacterMovePacket
impl Clone for CharacterMovePacket
source§fn clone(&self) -> CharacterMovePacket
fn clone(&self) -> CharacterMovePacket
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 CharacterMovePacket
impl Debug for CharacterMovePacket
source§impl Default for CharacterMovePacket
impl Default for CharacterMovePacket
source§fn default() -> CharacterMovePacket
fn default() -> CharacterMovePacket
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CharacterMovePacketwhere
CharacterMovePacket: Default,
impl<'de> Deserialize<'de> for CharacterMovePacketwhere
CharacterMovePacket: Default,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PacketReadWrite for CharacterMovePacket
impl PacketReadWrite for CharacterMovePacket
source§fn read(
reader: &mut (impl Read + Seek),
flags: &Flags,
packet_type: PacketType,
) -> Result<Self, PacketError>
fn read( reader: &mut (impl Read + Seek), flags: &Flags, packet_type: PacketType, ) -> Result<Self, PacketError>
Reads a packet from a stream.
source§fn write(&self, packet_type: PacketType) -> Result<Vec<u8>, PacketError>
fn write(&self, packet_type: PacketType) -> Result<Vec<u8>, PacketError>
Writes a packet to a Vec.
source§impl PartialEq for CharacterMovePacket
impl PartialEq for CharacterMovePacket
source§fn eq(&self, other: &CharacterMovePacket) -> bool
fn eq(&self, other: &CharacterMovePacket) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for CharacterMovePacket
impl Serialize for CharacterMovePacket
impl StructuralPartialEq for CharacterMovePacket
Auto Trait Implementations§
impl Freeze for CharacterMovePacket
impl RefUnwindSafe for CharacterMovePacket
impl Send for CharacterMovePacket
impl Sync for CharacterMovePacket
impl Unpin for CharacterMovePacket
impl UnwindSafe for CharacterMovePacket
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)