mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-04 02:24:12 +02:00
extract world boundaries
This commit is contained in:
parent
682dd17291
commit
a47336f709
2 changed files with 37 additions and 0 deletions
|
|
@ -84,6 +84,13 @@ impl PacketEntity {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
pub fn get_prop_by_name(&self, table_name: &str, name: &str) -> Option<&SendProp> {
|
||||
self.props.iter().find(|prop| {
|
||||
prop.definition.owner_table.as_str() == table_name
|
||||
&& prop.definition.name.as_str() == name
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
fn read_bit_var<T: BitReadSized<LittleEndian>>(stream: &mut Stream) -> ReadResult<T> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue