mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-04 10:34:11 +02:00
some write progress
This commit is contained in:
parent
67a4ca5744
commit
9a9bcdc9df
18 changed files with 286 additions and 90 deletions
|
|
@ -1,4 +1,4 @@
|
|||
use bitbuffer::BitRead;
|
||||
use bitbuffer::{BitRead, BitWrite};
|
||||
|
||||
use crate::{ParseError, Result};
|
||||
|
||||
|
|
@ -41,7 +41,7 @@ pub struct GameEventEntry {
|
|||
pub kind: GameEventValueType,
|
||||
}
|
||||
|
||||
#[derive(BitRead, Debug, Clone, Copy, PartialEq, Display)]
|
||||
#[derive(BitRead, BitWrite, Debug, Clone, Copy, PartialEq, Display)]
|
||||
#[discriminant_bits = 3]
|
||||
pub enum GameEventValueType {
|
||||
None = 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue