update branch, handle EnumerateOrder

This commit is contained in:
wish
2024-06-25 21:04:51 +10:00
parent fe1052a517
commit 4c485ef55a
2 changed files with 39 additions and 28 deletions

View File

@@ -10,9 +10,9 @@ import (
// MsgMhfEnumerateOrder represents the MSG_MHF_ENUMERATE_ORDER
type MsgMhfEnumerateOrder struct {
AckHandle uint32
EventID uint32
Unk1 uint32
AckHandle uint32
CupID uint32
TournamentID uint32
}
// Opcode returns the ID associated with this packet type.
@@ -23,8 +23,8 @@ func (m *MsgMhfEnumerateOrder) Opcode() network.PacketID {
// Parse parses the packet from binary
func (m *MsgMhfEnumerateOrder) Parse(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
m.AckHandle = bf.ReadUint32()
m.EventID = bf.ReadUint32()
m.Unk1 = bf.ReadUint32()
m.CupID = bf.ReadUint32()
m.TournamentID = bf.ReadUint32()
return nil
}