Skip to content

Commit

Permalink
New types.
Browse files Browse the repository at this point in the history
  • Loading branch information
abenea committed Feb 7, 2024
1 parent b2dcad4 commit 7cc4233
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cs2-demo/src/entity/send_tables.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pub struct ValueField {
}
#[derive(Clone)]
pub struct ArrayField {
pub size: u16,
pub(super) size: u16,
decoder: Decoder,
pub(super) element: Box<Field>,
}
Expand Down Expand Up @@ -347,6 +347,7 @@ fn make_decoder(
| "Color"
| "CPlayerSlot"
| "CSWeaponMode"
| "CSWeaponState_t"
| "CSPlayerBlockingUseAction_t"
| "CSPlayerState"
| "CUtlStringToken"
Expand Down Expand Up @@ -379,6 +380,7 @@ fn make_decoder(
| "ValueRemapperMomentumType_t"
| "ValueRemapperInputType_t"
| "ValueRemapperOutputType_t"
| "WeaponAttackType_t"
| "WeaponState_t"
| "WorldGroupId_t" => Rc::clone(&cache.unsigned),
"bool" => Rc::clone(&cache.bool),
Expand Down

0 comments on commit 7cc4233

Please sign in to comment.