mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-04 02:24:12 +02:00
update to bitstream_reader 0.7
This commit is contained in:
parent
2f32240613
commit
b7c3baee17
12 changed files with 32 additions and 66 deletions
|
|
@ -1,4 +1,4 @@
|
|||
use bitstream_reader::{BitRead, BitSkip, LittleEndian};
|
||||
use bitstream_reader::{BitRead, LittleEndian};
|
||||
|
||||
use crate::{ReadResult, Stream};
|
||||
|
||||
|
|
@ -30,8 +30,6 @@ impl BitRead<LittleEndian> for VoiceInitMessage {
|
|||
}
|
||||
}
|
||||
|
||||
impl BitSkip<LittleEndian> for VoiceInitMessage {}
|
||||
|
||||
#[derive(BitRead, Debug, Clone)]
|
||||
#[endianness = "LittleEndian"]
|
||||
pub struct VoiceDataMessage {
|
||||
|
|
@ -42,8 +40,6 @@ pub struct VoiceDataMessage {
|
|||
data: Stream,
|
||||
}
|
||||
|
||||
impl BitSkip<LittleEndian> for VoiceDataMessage {}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct ParseSoundsMessage {
|
||||
pub reliable: bool,
|
||||
|
|
@ -71,5 +67,3 @@ impl BitRead<LittleEndian> for ParseSoundsMessage {
|
|||
})
|
||||
}
|
||||
}
|
||||
|
||||
impl BitSkip<LittleEndian> for ParseSoundsMessage {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue