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

stringtables

This commit is contained in:
Robin Appelman 2019-03-01 01:47:37 +01:00
commit cd552319ac
17 changed files with 250 additions and 43 deletions

View file

@ -24,10 +24,7 @@ pub struct SendPropDefinition {
}
impl SendPropDefinition {
pub fn read(
stream: &mut Stream,
owner_table_name: String,
) -> Result<Self> {
pub fn read(stream: &mut Stream, owner_table_name: String) -> Result<Self> {
let prop_type = SendPropType::read(stream)?;
let name = stream.read_string(None)?;
let flags = SendPropFlags::read(stream)?;