Files
Erupe/network/mhfpacket/msg_sys_echo.go

28 lines
683 B
Go

package mhfpacket
import (
"errors"
"erupe-ce/network"
"erupe-ce/network/clientctx"
"erupe-ce/utils/byteframe"
)
// MsgSysEcho represents the MSG_SYS_ECHO
type MsgSysEcho struct{}
// Opcode returns the ID associated with this packet type.
func (m *MsgSysEcho) Opcode() network.PacketID {
return network.MSG_SYS_ECHO
}
// Parse parses the packet from binary
func (m *MsgSysEcho) Parse(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
return errors.New("NOT IMPLEMENTED")
}
// Build builds a binary packet from the current data.
func (m *MsgSysEcho) Build(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
return errors.New("NOT IMPLEMENTED")
}