mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-04 02:24:12 +02:00
sendprop writing
This commit is contained in:
parent
208ab1240d
commit
bfd6d8caf9
3 changed files with 382 additions and 24 deletions
|
|
@ -34,6 +34,9 @@ impl<'a> BitRead<'a, LittleEndian> for TempEntitiesMessage<'a> {
|
|||
|
||||
impl BitWrite<LittleEndian> for TempEntitiesMessage<'_> {
|
||||
fn write(&self, stream: &mut BitWriteStream<LittleEndian>) -> ReadResult<()> {
|
||||
if !self.entities.is_empty() {
|
||||
todo!();
|
||||
}
|
||||
self.count.write(stream)?;
|
||||
write_var_int(self.data.bit_len() as u32, stream)?;
|
||||
self.data.write(stream)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue