Struct pso2packetlib::protocol::emergency::SpawnEmergencyPacket
source · pub struct SpawnEmergencyPacket {Show 23 fields
pub object: ObjectHeader,
pub trial_id: AsciiString,
pub unk1: Vec<u8>,
pub unk2: AsciiString,
pub unk3: Vec<Unk1502_1>,
pub unk4: AsciiString,
pub unk5: Vec<Unk1502_1>,
pub fail_conds: Vec<EmergencyCondition>,
pub pass_conds: Vec<EmergencyCondition>,
pub unk8: u32,
pub unk9: u32,
pub unk10: AsciiString,
pub unk11: Vec<Unk1502_1>,
pub unk12: AsciiString,
pub unk13: Vec<Unk1502_1>,
pub unk14: u32,
pub unk15: Vec<u8>,
pub unk16: u32,
pub unk17: u32,
pub unk18: AsciiString,
pub unk19: Vec<Unk1502_1>,
pub unk20: Vec<Unk1502_3>,
pub unk21: u32,
}Expand description
(0x15, 0x02) Start Emergency (broadcast).
(S -> C) Sent when an emergency trial has started.
Fields§
§object: ObjectHeaderEmergency object.
trial_id: AsciiStringTrial string ID.
unk1: Vec<u8>§unk2: AsciiString§unk3: Vec<Unk1502_1>§unk4: AsciiString§unk5: Vec<Unk1502_1>§fail_conds: Vec<EmergencyCondition>Trial fail conditions.
pass_conds: Vec<EmergencyCondition>Trial pass conditions.
unk8: u32§unk9: u32§unk10: AsciiString§unk11: Vec<Unk1502_1>§unk12: AsciiString§unk13: Vec<Unk1502_1>§unk14: u32§unk15: Vec<u8>§unk16: u32§unk17: u32§unk18: AsciiString§unk19: Vec<Unk1502_1>§unk20: Vec<Unk1502_3>§unk21: u32Trait Implementations§
source§impl Clone for SpawnEmergencyPacket
impl Clone for SpawnEmergencyPacket
source§fn clone(&self) -> SpawnEmergencyPacket
fn clone(&self) -> SpawnEmergencyPacket
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 SpawnEmergencyPacket
impl Debug for SpawnEmergencyPacket
source§impl Default for SpawnEmergencyPacket
impl Default for SpawnEmergencyPacket
source§fn default() -> SpawnEmergencyPacket
fn default() -> SpawnEmergencyPacket
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SpawnEmergencyPacketwhere
SpawnEmergencyPacket: Default,
impl<'de> Deserialize<'de> for SpawnEmergencyPacketwhere
SpawnEmergencyPacket: 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 SpawnEmergencyPacket
impl PacketReadWrite for SpawnEmergencyPacket
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 SpawnEmergencyPacket
impl PartialEq for SpawnEmergencyPacket
source§fn eq(&self, other: &SpawnEmergencyPacket) -> bool
fn eq(&self, other: &SpawnEmergencyPacket) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for SpawnEmergencyPacket
impl Serialize for SpawnEmergencyPacket
impl StructuralPartialEq for SpawnEmergencyPacket
Auto Trait Implementations§
impl Freeze for SpawnEmergencyPacket
impl RefUnwindSafe for SpawnEmergencyPacket
impl Send for SpawnEmergencyPacket
impl Sync for SpawnEmergencyPacket
impl Unpin for SpawnEmergencyPacket
impl UnwindSafe for SpawnEmergencyPacket
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)