1
0
Fork 0
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:
Robin Appelman 2021-07-13 20:42:59 +02:00
commit 9a9bcdc9df
18 changed files with 286 additions and 90 deletions

View file

@ -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,