Files
Erupe/network/mhfpacket/msg_mhf_get_etc_points.go
Andrew Gutekanst 6a23130772 Update parsers
2019-12-27 04:41:05 +09:00

28 lines
667 B
Go

package mhfpacket
import (
"github.com/Andoryuuta/Erupe/network"
"github.com/Andoryuuta/byteframe"
)
// MsgMhfGetEtcPoints represents the MSG_MHF_GET_ETC_POINTS
type MsgMhfGetEtcPoints struct {
AckHandle uint32
}
// Opcode returns the ID associated with this packet type.
func (m *MsgMhfGetEtcPoints) Opcode() network.PacketID {
return network.MSG_MHF_GET_ETC_POINTS
}
// Parse parses the packet from binary
func (m *MsgMhfGetEtcPoints) Parse(bf *byteframe.ByteFrame) error {
m.AckHandle = bf.ReadUint32()
return nil
}
// Build builds a binary packet from the current data.
func (m *MsgMhfGetEtcPoints) Build(bf *byteframe.ByteFrame) error {
return nil
}