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

handle older prefetch messages

This commit is contained in:
Robin Appelman 2025-04-29 21:14:55 +02:00
commit 442c4963f6
4 changed files with 48 additions and 7 deletions

View file

@ -112,13 +112,6 @@ pub struct EntityMessage<'a> {
pub data: Stream<'a>,
}
#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
#[derive(BitRead, BitWrite, Debug, PartialEq, Serialize, Deserialize, Clone)]
pub struct PreFetchMessage {
#[size = 14]
pub index: u16,
}
#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
#[derive(BitRead, BitWrite, Debug, PartialEq, Serialize, Deserialize, Clone)]
#[endianness = "LittleEndian"]