More tests and some other stuff
This commit is contained in:
@@ -13,4 +13,16 @@ fn main() {
|
||||
println!("Players: {:?}", output.player_info);
|
||||
println!("Events: {:?}", output.events.len());
|
||||
println!("Entity-Ticks: {:?}", output.entity_states.ticks.len());
|
||||
|
||||
for tick in output.entity_states.ticks.iter() {
|
||||
for state in tick.states.iter() {
|
||||
if state.class.as_str() != "CCSPlayerPawn" {
|
||||
continue;
|
||||
}
|
||||
|
||||
for prop in state.props.iter() {
|
||||
println!("{:?} = {:?}", prop.prop_info.prop_name, prop.value);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -90,6 +90,8 @@ impl EntityContext {
|
||||
prop_info: prop_info.clone(),
|
||||
value: result,
|
||||
});
|
||||
} else {
|
||||
println!("Missing PropInfo for {:?}", fi);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user