pub struct CreateParticle {
pub particle_name_index: Option<u64>,
pub attach_type: Option<i32>,
pub entity_handle: Option<u32>,
pub entity_handle_for_modifiers: Option<u32>,
pub apply_voice_ban_rules: Option<bool>,
pub team_behavior: Option<i32>,
pub control_point_configuration: Option<String>,
pub cluster: Option<bool>,
pub endcap_time: Option<f32>,
pub aggregation_position: Option<CMsgVector>,
}Fields§
§particle_name_index: Option<u64>§attach_type: Option<i32>§entity_handle: Option<u32>§entity_handle_for_modifiers: Option<u32>§apply_voice_ban_rules: Option<bool>§team_behavior: Option<i32>§control_point_configuration: Option<String>§cluster: Option<bool>§endcap_time: Option<f32>§aggregation_position: Option<CMsgVector>Implementations§
Source§impl CreateParticle
impl CreateParticle
Sourcepub fn particle_name_index(&self) -> u64
pub fn particle_name_index(&self) -> u64
Returns the value of particle_name_index, or the default value if particle_name_index is unset.
Sourcepub fn attach_type(&self) -> i32
pub fn attach_type(&self) -> i32
Returns the value of attach_type, or the default value if attach_type is unset.
Sourcepub fn entity_handle(&self) -> u32
pub fn entity_handle(&self) -> u32
Returns the value of entity_handle, or the default value if entity_handle is unset.
Sourcepub fn entity_handle_for_modifiers(&self) -> u32
pub fn entity_handle_for_modifiers(&self) -> u32
Returns the value of entity_handle_for_modifiers, or the default value if entity_handle_for_modifiers is unset.
Sourcepub fn apply_voice_ban_rules(&self) -> bool
pub fn apply_voice_ban_rules(&self) -> bool
Returns the value of apply_voice_ban_rules, or the default value if apply_voice_ban_rules is unset.
Sourcepub fn team_behavior(&self) -> i32
pub fn team_behavior(&self) -> i32
Returns the value of team_behavior, or the default value if team_behavior is unset.
Sourcepub fn control_point_configuration(&self) -> &str
pub fn control_point_configuration(&self) -> &str
Returns the value of control_point_configuration, or the default value if control_point_configuration is unset.
Sourcepub fn cluster(&self) -> bool
pub fn cluster(&self) -> bool
Returns the value of cluster, or the default value if cluster is unset.
Sourcepub fn endcap_time(&self) -> f32
pub fn endcap_time(&self) -> f32
Returns the value of endcap_time, or the default value if endcap_time is unset.
Trait Implementations§
Source§impl Clone for CreateParticle
impl Clone for CreateParticle
Source§fn clone(&self) -> CreateParticle
fn clone(&self) -> CreateParticle
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CreateParticle
impl Debug for CreateParticle
Source§impl Default for CreateParticle
impl Default for CreateParticle
Source§fn default() -> CreateParticle
fn default() -> CreateParticle
Source§impl<'de> Deserialize<'de> for CreateParticle
impl<'de> Deserialize<'de> for CreateParticle
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CreateParticle, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CreateParticle, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl Message for CreateParticle
impl Message for CreateParticle
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.