mirror of
https://codeberg.org/icewind/tf-log-parser.git
synced 2026-06-03 18:24:09 +02:00
handle some more event types
This commit is contained in:
parent
f5957059d8
commit
3ad9ebafd7
5 changed files with 33 additions and 5 deletions
|
|
@ -26,6 +26,7 @@ impl Derivable for Events {
|
|||
Ok(
|
||||
quote_spanned!(span => impl #impl_generics #enum_ident #ty_generics #where_clause {
|
||||
pub fn parse(raw: &RawEvent<'a>) -> Result<Self, GameEventError> {
|
||||
dbg!(raw);
|
||||
Ok(match raw.ty {
|
||||
#(#variants)*
|
||||
_ => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue