Enum pso2packetlib::protocol::questlist::PartyType
source · #[repr(u8)]pub enum PartyType {
Solo = 0,
SingleParty = 1,
MultiParty = 2,
}Expand description
Amount of parties that can join a quest.
Variants§
Solo = 0
Only one player can join.
SingleParty = 1
Only one party can join (up to 4 players).
MultiParty = 2
Multiple parties can join (up to 12 players).
Trait Implementations§
source§impl<'de> Deserialize<'de> for PartyType
impl<'de> Deserialize<'de> for PartyType
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 HelperReadWrite for PartyType
impl HelperReadWrite for PartyType
source§fn read(
reader: &mut (impl Read + Seek),
packet_type: PacketType,
xor: u32,
sub: u32,
) -> Result<Self, PacketError>
fn read( reader: &mut (impl Read + Seek), packet_type: PacketType, xor: u32, sub: u32, ) -> Result<Self, PacketError>
Reads data from a stream.
source§fn write(
&self,
writer: &mut impl Write,
packet_type: PacketType,
xor: u32,
sub: u32,
) -> Result<(), PacketError>
fn write( &self, writer: &mut impl Write, packet_type: PacketType, xor: u32, sub: u32, ) -> Result<(), PacketError>
Writes data to a stream.
source§impl PartialEq for PartyType
impl PartialEq for PartyType
impl Copy for PartyType
impl StructuralPartialEq for PartyType
Auto Trait Implementations§
impl Freeze for PartyType
impl RefUnwindSafe for PartyType
impl Send for PartyType
impl Sync for PartyType
impl Unpin for PartyType
impl UnwindSafe for PartyType
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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)