Expose GameEvent's fields
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user