fix Warehouse packet parsing

This commit is contained in:
wish
2024-02-21 02:09:42 +11:00
parent e80a03dcc7
commit b969c53f3a
2 changed files with 7 additions and 4 deletions

View File

@@ -25,7 +25,8 @@ func (m *MsgMhfEnumerateWarehouse) Parse(bf *byteframe.ByteFrame, ctx *clientctx
m.AckHandle = bf.ReadUint32()
m.BoxType = bf.ReadUint8()
m.BoxIndex = bf.ReadUint8()
bf.ReadBytes(2) // Zeroed
bf.ReadUint8() // Zeroed
bf.ReadUint8() // Zeroed
return nil
}