event rework wip

This commit is contained in:
Robin Appelman 2021-08-07 23:25:36 +02:00
commit b2d169601c
10 changed files with 240 additions and 63 deletions

View file

@ -1,15 +1,8 @@
use main_error::MainError;
use serde::Serialize;
use std::collections::HashMap;
use std::env::args;
use std::fs;
use std::io::stdout;
use tf_log_parser::module::{
ChatHandler, ChatMessage, EventHandler, HealSpreadHandler, InvalidHealEvent,
};
use tf_log_parser::{
parse, parse_with_handler, LogHandler, RawEvent, RawEventType, SteamId3, SubjectId, SubjectMap,
};
use tf_log_parser::parse;
fn main() -> Result<(), MainError> {
let path = args().skip(1).next().expect("No path provided");