CNetMsgSpawnGroupLoad

Struct CNetMsgSpawnGroupLoad 

Source
pub struct CNetMsgSpawnGroupLoad {
Show 20 fields pub worldname: Option<String>, pub entitylumpname: Option<String>, pub entityfiltername: Option<String>, pub spawngrouphandle: Option<u32>, pub spawngroupownerhandle: Option<u32>, pub world_offset_pos: Option<CMsgVector>, pub world_offset_angle: Option<CMsgQAngle>, pub spawngroupmanifest: Option<Vec<u8>>, pub flags: Option<u32>, pub tickcount: Option<i32>, pub manifestincomplete: Option<bool>, pub localnamefixup: Option<String>, pub parentnamefixup: Option<String>, pub manifestloadpriority: Option<i32>, pub worldgroupid: Option<u32>, pub creationsequence: Option<u32>, pub savegamefilename: Option<String>, pub spawngroupparenthandle: Option<u32>, pub leveltransition: Option<bool>, pub worldgroupname: Option<String>,
}

Fields§

§worldname: Option<String>§entitylumpname: Option<String>§entityfiltername: Option<String>§spawngrouphandle: Option<u32>§spawngroupownerhandle: Option<u32>§world_offset_pos: Option<CMsgVector>§world_offset_angle: Option<CMsgQAngle>§spawngroupmanifest: Option<Vec<u8>>§flags: Option<u32>§tickcount: Option<i32>§manifestincomplete: Option<bool>§localnamefixup: Option<String>§parentnamefixup: Option<String>§manifestloadpriority: Option<i32>§worldgroupid: Option<u32>§creationsequence: Option<u32>§savegamefilename: Option<String>§spawngroupparenthandle: Option<u32>§leveltransition: Option<bool>§worldgroupname: Option<String>

Implementations§

Source§

impl CNetMsgSpawnGroupLoad

Source

pub fn worldname(&self) -> &str

Returns the value of worldname, or the default value if worldname is unset.

Source

pub fn entitylumpname(&self) -> &str

Returns the value of entitylumpname, or the default value if entitylumpname is unset.

Source

pub fn entityfiltername(&self) -> &str

Returns the value of entityfiltername, or the default value if entityfiltername is unset.

Source

pub fn spawngrouphandle(&self) -> u32

Returns the value of spawngrouphandle, or the default value if spawngrouphandle is unset.

Source

pub fn spawngroupownerhandle(&self) -> u32

Returns the value of spawngroupownerhandle, or the default value if spawngroupownerhandle is unset.

Source

pub fn spawngroupmanifest(&self) -> &[u8]

Returns the value of spawngroupmanifest, or the default value if spawngroupmanifest is unset.

Source

pub fn flags(&self) -> u32

Returns the value of flags, or the default value if flags is unset.

Source

pub fn tickcount(&self) -> i32

Returns the value of tickcount, or the default value if tickcount is unset.

Source

pub fn manifestincomplete(&self) -> bool

Returns the value of manifestincomplete, or the default value if manifestincomplete is unset.

Source

pub fn localnamefixup(&self) -> &str

Returns the value of localnamefixup, or the default value if localnamefixup is unset.

Source

pub fn parentnamefixup(&self) -> &str

Returns the value of parentnamefixup, or the default value if parentnamefixup is unset.

Source

pub fn manifestloadpriority(&self) -> i32

Returns the value of manifestloadpriority, or the default value if manifestloadpriority is unset.

Source

pub fn worldgroupid(&self) -> u32

Returns the value of worldgroupid, or the default value if worldgroupid is unset.

Source

pub fn creationsequence(&self) -> u32

Returns the value of creationsequence, or the default value if creationsequence is unset.

Source

pub fn savegamefilename(&self) -> &str

Returns the value of savegamefilename, or the default value if savegamefilename is unset.

Source

pub fn spawngroupparenthandle(&self) -> u32

Returns the value of spawngroupparenthandle, or the default value if spawngroupparenthandle is unset.

Source

pub fn leveltransition(&self) -> bool

Returns the value of leveltransition, or the default value if leveltransition is unset.

Source

pub fn worldgroupname(&self) -> &str

Returns the value of worldgroupname, or the default value if worldgroupname is unset.

Trait Implementations§

Source§

impl Clone for CNetMsgSpawnGroupLoad

Source§

fn clone(&self) -> CNetMsgSpawnGroupLoad

Returns a duplicate of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CNetMsgSpawnGroupLoad

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for CNetMsgSpawnGroupLoad

Source§

fn default() -> CNetMsgSpawnGroupLoad

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for CNetMsgSpawnGroupLoad

Source§

fn deserialize<__D>( __deserializer: __D, ) -> Result<CNetMsgSpawnGroupLoad, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Message for CNetMsgSpawnGroupLoad

Source§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
Source§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
Source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where Self: Sized,

Encodes the message to a buffer. Read more
Source§

fn encode_to_vec(&self) -> Vec<u8>
where Self: Sized,

Encodes the message to a newly allocated buffer.
Source§

fn encode_length_delimited( &self, buf: &mut impl BufMut, ) -> Result<(), EncodeError>
where Self: Sized,

Encodes the message with a length-delimiter to a buffer. Read more
Source§

fn encode_length_delimited_to_vec(&self) -> Vec<u8>
where Self: Sized,

Encodes the message with a length-delimiter to a newly allocated buffer.
Source§

fn decode(buf: impl Buf) -> Result<Self, DecodeError>
where Self: Default,

Decodes an instance of the message from a buffer. Read more
Source§

fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>
where Self: Default,

Decodes a length-delimited instance of the message from the buffer.
Source§

fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes an instance of the message from a buffer, and merges it into self. Read more
Source§

fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes a length-delimited instance of the message from buffer, and merges it into self.
Source§

impl PartialEq for CNetMsgSpawnGroupLoad

Source§

fn eq(&self, other: &CNetMsgSpawnGroupLoad) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for CNetMsgSpawnGroupLoad

Source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for CNetMsgSpawnGroupLoad

Auto Trait Implementations§

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CloneToUninit for T
where T: Clone,

§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,