mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-14 16:04:38 +01:00
fix EnumerateOrder & TournamentEvent struct
This commit is contained in:
@@ -10,9 +10,9 @@ import (
|
||||
|
||||
// MsgMhfEnumerateOrder represents the MSG_MHF_ENUMERATE_ORDER
|
||||
type MsgMhfEnumerateOrder struct {
|
||||
AckHandle uint32
|
||||
CupID uint32
|
||||
TournamentID uint32
|
||||
AckHandle uint32
|
||||
EventID uint32
|
||||
ClanID 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.CupID = bf.ReadUint32()
|
||||
m.TournamentID = bf.ReadUint32()
|
||||
m.EventID = bf.ReadUint32()
|
||||
m.ClanID = bf.ReadUint32()
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user