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

reduce the size of the generated code

This commit is contained in:
Robin Appelman 2019-09-03 23:14:24 +02:00
commit b761a0aa1a
5 changed files with 1319 additions and 4261 deletions

View file

@ -75,6 +75,12 @@ impl From<GameEventTypeId> for usize {
}
}
impl From<GameEventTypeId> for u16 {
fn from(id: GameEventTypeId) -> Self {
id.0
}
}
#[derive(Debug)]
pub struct GameEventListMessage {
pub event_list: Vec<GameEventDefinition>,