diff --git a/Erupe/network/mhfpacket/msg_mhf_enumerate_title.go b/Erupe/network/mhfpacket/msg_mhf_enumerate_title.go index e68acf55b..136db690d 100644 --- a/Erupe/network/mhfpacket/msg_mhf_enumerate_title.go +++ b/Erupe/network/mhfpacket/msg_mhf_enumerate_title.go @@ -1,7 +1,7 @@ package mhfpacket -import ( - "errors" +import ( + "errors" "github.com/Solenataris/Erupe/network/clientctx" "github.com/Solenataris/Erupe/network" @@ -9,7 +9,10 @@ import ( ) // MsgMhfEnumerateTitle represents the MSG_MHF_ENUMERATE_TITLE -type MsgMhfEnumerateTitle struct{} +type MsgMhfEnumerateTitle struct { + AckHandle uint32 + Unk0 uint32 +} // Opcode returns the ID associated with this packet type. func (m *MsgMhfEnumerateTitle) Opcode() network.PacketID { @@ -18,7 +21,9 @@ func (m *MsgMhfEnumerateTitle) Opcode() network.PacketID { // Parse parses the packet from binary func (m *MsgMhfEnumerateTitle) Parse(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error { - return errors.New("NOT IMPLEMENTED") + m.AckHandle = bf.ReadUint32() + m.Unk0 = bf.ReadUint32() + return nil } // Build builds a binary packet from the current data.