Struct tf_demo_parser::demo::message::packetentities::PacketEntitiesMessage [−][src]
pub struct PacketEntitiesMessage { pub entities: Vec<PacketEntity>, pub removed_entities: Vec<EntityId>, pub max_entries: u16, pub delta: Option<NonZeroU32>, pub base_line: u8, pub updated_base_line: bool, }
Fields
entities: Vec<PacketEntity>
removed_entities: Vec<EntityId>
max_entries: u16
delta: Option<NonZeroU32>
base_line: u8
updated_base_line: bool
Implementations
pub fn read_update(
stream: &mut Stream<'_>,
send_table: &SendTable,
props: &mut Vec<SendProp>
) -> Result<()>
pub fn write_update<'a, Props: IntoIterator<Item = &'a SendProp>>(
props: Props,
stream: &mut BitWriteStream<'_, LittleEndian>,
send_table: &SendTable
) -> Result<()>
Trait Implementations
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
fn encode(
&self,
stream: &mut BitWriteStream<'_, LittleEndian>,
state: &ParserState
) -> Result<()>
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PacketEntitiesMessage
impl Send for PacketEntitiesMessage
impl Sync for PacketEntitiesMessage
impl Unpin for PacketEntitiesMessage
impl UnwindSafe for PacketEntitiesMessage
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more