mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-03 10:14:06 +02:00
schema fixes
This commit is contained in:
parent
93b51bff70
commit
2d3708d027
9 changed files with 10516 additions and 12308 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue