further decode merc packets

This commit is contained in:
wish
2023-01-29 12:22:07 +11:00
parent 753d215211
commit 1382e99fc6
3 changed files with 15 additions and 9 deletions

View File

@@ -13,7 +13,7 @@ type MsgMhfContractMercenary struct {
AckHandle uint32
PactMercID uint32
CID uint32
Unk bool
Cancel bool
}
// Opcode returns the ID associated with this packet type.
@@ -26,7 +26,7 @@ func (m *MsgMhfContractMercenary) Parse(bf *byteframe.ByteFrame, ctx *clientctx.
m.AckHandle = bf.ReadUint32()
m.PactMercID = bf.ReadUint32()
m.CID = bf.ReadUint32()
m.Unk = bf.ReadBool()
m.Cancel = bf.ReadBool()
return nil
}