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

schema fixes

This commit is contained in:
Robin Appelman 2021-07-27 18:26:34 +02:00
commit 2d3708d027
9 changed files with 10516 additions and 12308 deletions

View file

@ -383,6 +383,7 @@ pub fn generate_game_events(demo: Demo) -> TokenStream {
#[cfg_attr(feature = "wasm", derive(schemars::JsonSchema))]
#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[serde(tag = "type")]
pub enum GameEvent {
#(#event_variants)*
Unknown(RawGameEvent),