mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-03 10:14:06 +02:00
keep baselineprops seperate and add some tracing
This commit is contained in:
parent
e678a35654
commit
24e83957d5
8 changed files with 213 additions and 40 deletions
|
|
@ -57,15 +57,14 @@ impl EntityDump {
|
|||
tick,
|
||||
server_class: classes[usize::from(entity.server_class)].name.clone(),
|
||||
id: entity.entity_index,
|
||||
pvs: entity.pvs.into(),
|
||||
props: entity
|
||||
.props
|
||||
.into_iter()
|
||||
.into_props()
|
||||
.map(|prop| {
|
||||
let (table_name, prop_name) = &prop_names[&prop.identifier];
|
||||
(format!("{}.{}", table_name, prop_name), prop.value)
|
||||
})
|
||||
.collect(),
|
||||
pvs: entity.pvs.into(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue