Expose GameEvent's fields

This commit is contained in:
Lol3rrr
2024-09-15 13:43:30 +02:00
parent 8100b7ef21
commit 52baa392fa

View File

@@ -61,8 +61,8 @@ macro_rules! define_event {
#[derive(Debug)] #[derive(Debug)]
#[allow(dead_code)] #[allow(dead_code)]
pub struct $name { pub struct $name {
$($field: Option<$field_ty>,)* $(pub $field: Option<$field_ty>,)*
remaining: ::std::collections::HashMap<String, crate::csgo_proto::c_msg_source1_legacy_game_event::KeyT>, pub remaining: ::std::collections::HashMap<String, crate::csgo_proto::c_msg_source1_legacy_game_event::KeyT>,
} }
impl $name { impl $name {