pub struct CNetMsgTick {
pub tick: Option<u32>,
pub host_computationtime: Option<u32>,
pub host_computationtime_std_deviation: Option<u32>,
pub legacy_host_loss: Option<u32>,
pub host_unfiltered_frametime: Option<u32>,
pub hltv_replay_flags: Option<u32>,
pub expected_long_tick: Option<u32>,
pub expected_long_tick_reason: Option<String>,
pub host_frame_dropped_pct_x10: Option<u32>,
pub host_frame_irregular_arrival_pct_x10: Option<u32>,
}Fields§
§tick: Option<u32>§host_computationtime: Option<u32>§host_computationtime_std_deviation: Option<u32>§legacy_host_loss: Option<u32>§host_unfiltered_frametime: Option<u32>§hltv_replay_flags: Option<u32>§expected_long_tick: Option<u32>§expected_long_tick_reason: Option<String>§host_frame_dropped_pct_x10: Option<u32>§host_frame_irregular_arrival_pct_x10: Option<u32>Implementations§
Source§impl CNetMsgTick
impl CNetMsgTick
Sourcepub fn host_computationtime(&self) -> u32
pub fn host_computationtime(&self) -> u32
Returns the value of host_computationtime, or the default value if host_computationtime is unset.
Sourcepub fn host_computationtime_std_deviation(&self) -> u32
pub fn host_computationtime_std_deviation(&self) -> u32
Returns the value of host_computationtime_std_deviation, or the default value if host_computationtime_std_deviation is unset.
Sourcepub fn legacy_host_loss(&self) -> u32
pub fn legacy_host_loss(&self) -> u32
Returns the value of legacy_host_loss, or the default value if legacy_host_loss is unset.
Sourcepub fn host_unfiltered_frametime(&self) -> u32
pub fn host_unfiltered_frametime(&self) -> u32
Returns the value of host_unfiltered_frametime, or the default value if host_unfiltered_frametime is unset.
Sourcepub fn hltv_replay_flags(&self) -> u32
pub fn hltv_replay_flags(&self) -> u32
Returns the value of hltv_replay_flags, or the default value if hltv_replay_flags is unset.
Sourcepub fn expected_long_tick(&self) -> u32
pub fn expected_long_tick(&self) -> u32
Returns the value of expected_long_tick, or the default value if expected_long_tick is unset.
Sourcepub fn expected_long_tick_reason(&self) -> &str
pub fn expected_long_tick_reason(&self) -> &str
Returns the value of expected_long_tick_reason, or the default value if expected_long_tick_reason is unset.
Sourcepub fn host_frame_dropped_pct_x10(&self) -> u32
pub fn host_frame_dropped_pct_x10(&self) -> u32
Returns the value of host_frame_dropped_pct_x10, or the default value if host_frame_dropped_pct_x10 is unset.
Sourcepub fn host_frame_irregular_arrival_pct_x10(&self) -> u32
pub fn host_frame_irregular_arrival_pct_x10(&self) -> u32
Returns the value of host_frame_irregular_arrival_pct_x10, or the default value if host_frame_irregular_arrival_pct_x10 is unset.
Trait Implementations§
Source§impl Clone for CNetMsgTick
impl Clone for CNetMsgTick
Source§fn clone(&self) -> CNetMsgTick
fn clone(&self) -> CNetMsgTick
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CNetMsgTick
impl Debug for CNetMsgTick
Source§impl Default for CNetMsgTick
impl Default for CNetMsgTick
Source§fn default() -> CNetMsgTick
fn default() -> CNetMsgTick
Source§impl<'de> Deserialize<'de> for CNetMsgTick
impl<'de> Deserialize<'de> for CNetMsgTick
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CNetMsgTick, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CNetMsgTick, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl Hash for CNetMsgTick
impl Hash for CNetMsgTick
Source§impl Message for CNetMsgTick
impl Message for CNetMsgTick
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.Source§impl PartialEq for CNetMsgTick
impl PartialEq for CNetMsgTick
Source§impl Serialize for CNetMsgTick
impl Serialize for CNetMsgTick
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl Eq for CNetMsgTick
impl StructuralPartialEq for CNetMsgTick
Auto Trait Implementations§
impl Freeze for CNetMsgTick
impl RefUnwindSafe for CNetMsgTick
impl Send for CNetMsgTick
impl Sync for CNetMsgTick
impl Unpin for CNetMsgTick
impl UnwindSafe for CNetMsgTick
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.