Skip to content

Commit

Permalink
New: temporarily dump Subtype2F payload in order to investigate it
Browse files Browse the repository at this point in the history
  • Loading branch information
eigenein committed Apr 30, 2023
1 parent 632f178 commit 9d60108
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/models/data/entity_method.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use crate::result::Result;
#[derive(Debug, Serialize)]
pub enum EntityMethod {
/// TODO: team composition.
Subtype2F,
Subtype2F(#[serde_as(as = "serde_with::hex::Hex")] Vec<u8>),

/// Default variant when subtype is not known.
Unknown {
Expand All @@ -28,7 +28,7 @@ impl EntityMethod {
let sub_type = reader.read_u32::<LittleEndian>()?;

let this = match sub_type {
0x2F => Self::Subtype2F,
0x2F => Self::Subtype2F(payload),
_ => Self::Unknown { sub_type, payload },
};
Ok(this)
Expand Down

0 comments on commit 9d60108

Please sign in to comment.