Struct pso2packetlib::protocol::party::NewPartySettingsPacket
source · pub struct NewPartySettingsPacket {
pub name: String,
pub password: String,
pub comments: String,
pub questname: String,
pub min_level: u8,
pub max_level: u8,
pub playstyle: u8,
pub flags: PartyFlags,
pub unk: u64,
}Expand description
(0x0E, 0x0C) Set Party Settings.
(C -> S) Sent when the player sets party settings.
Respond with: crate::protocol::Packet::PartySettings
Fields§
§name: StringName of the party.
password: StringParty password.
comments: StringParty comments.
questname: StringAccepted quest name.
min_level: u8Minimum acceptable level.
max_level: u8Maximum acceptable level.
playstyle: u8Party playstyle.
flags: PartyFlagsParty flags.
unk: u64Trait Implementations§
source§impl Clone for NewPartySettingsPacket
impl Clone for NewPartySettingsPacket
source§fn clone(&self) -> NewPartySettingsPacket
fn clone(&self) -> NewPartySettingsPacket
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 NewPartySettingsPacket
impl Debug for NewPartySettingsPacket
source§impl Default for NewPartySettingsPacket
impl Default for NewPartySettingsPacket
source§fn default() -> NewPartySettingsPacket
fn default() -> NewPartySettingsPacket
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NewPartySettingsPacketwhere
NewPartySettingsPacket: Default,
impl<'de> Deserialize<'de> for NewPartySettingsPacketwhere
NewPartySettingsPacket: 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 NewPartySettingsPacket
impl PacketReadWrite for NewPartySettingsPacket
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 NewPartySettingsPacket
impl PartialEq for NewPartySettingsPacket
source§fn eq(&self, other: &NewPartySettingsPacket) -> bool
fn eq(&self, other: &NewPartySettingsPacket) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for NewPartySettingsPacket
impl Serialize for NewPartySettingsPacket
impl StructuralPartialEq for NewPartySettingsPacket
Auto Trait Implementations§
impl Freeze for NewPartySettingsPacket
impl RefUnwindSafe for NewPartySettingsPacket
impl Send for NewPartySettingsPacket
impl Sync for NewPartySettingsPacket
impl Unpin for NewPartySettingsPacket
impl UnwindSafe for NewPartySettingsPacket
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)