mirror of
https://codeberg.org/icewind/tf-log-parser.git
synced 2026-06-03 18:24:09 +02:00
wip
This commit is contained in:
parent
9da2d2230a
commit
8a88e452ea
13 changed files with 291 additions and 284 deletions
|
|
@ -3,7 +3,7 @@ mod medic;
|
|||
mod player;
|
||||
|
||||
use crate::event::game::{RoundLengthEvent, RoundWinEvent};
|
||||
use crate::{RawEvent, RawEventType};
|
||||
use crate::{RawEvent, RawEventType, SubjectId};
|
||||
pub use game::*;
|
||||
pub use medic::*;
|
||||
use nom::bytes::complete::{tag, take_while};
|
||||
|
|
@ -46,6 +46,12 @@ impl<'a, T> GameEventErrTrait<T> for IResult<&str, T> {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct EventMeta {
|
||||
pub time: u32,
|
||||
pub subject: SubjectId,
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum GameEvent<'a> {
|
||||
ShotFired(ShotFiredEvent<'a>),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue