mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-04 02:24:12 +02:00
reduce the size of the generated code
This commit is contained in:
parent
3281b16661
commit
b761a0aa1a
5 changed files with 1319 additions and 4261 deletions
|
|
@ -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>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue