diff --git a/network/mhfpacket/msg_mhf_post_tiny_bin.go b/network/mhfpacket/msg_mhf_post_tiny_bin.go index 4c06a51e0..7c709d1e4 100644 --- a/network/mhfpacket/msg_mhf_post_tiny_bin.go +++ b/network/mhfpacket/msg_mhf_post_tiny_bin.go @@ -11,7 +11,10 @@ import ( // MsgMhfPostTinyBin represents the MSG_MHF_POST_TINY_BIN type MsgMhfPostTinyBin struct { AckHandle uint32 - Unk []byte + Unk0 uint16 + Unk1 uint8 + Unk2 uint8 + Data []byte } // Opcode returns the ID associated with this packet type. @@ -22,7 +25,10 @@ func (m *MsgMhfPostTinyBin) Opcode() network.PacketID { // Parse parses the packet from binary func (m *MsgMhfPostTinyBin) Parse(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error { m.AckHandle = bf.ReadUint32() - m.Unk = bf.ReadBytes(14) + m.Unk0 = bf.ReadUint16() + m.Unk1 = bf.ReadUint8() + m.Unk2 = bf.ReadUint8() + m.Data = bf.ReadBytes(uint(bf.ReadUint16())) return nil }