1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-03 10:14:06 +02:00

propnames

This commit is contained in:
Robin Appelman 2022-04-09 18:50:47 +02:00
commit b8d3540069
9 changed files with 5643 additions and 88 deletions

View file

@ -72,8 +72,7 @@ pub fn generate_prop_names(demo: Demo) -> TokenStream {
.unwrap();
let imports = quote!(
use tf_demo_parser::demo::packet::datatable::SendTableName;
use tf_demo_parser::demo::sendprop::{SendPropIdentifier, SendPropName};
use crate::demo::sendprop::SendPropIdentifier;
);
let matches = props.into_iter().map(|prop| {