Files
Erupe/network/mhfpacket/msg_mhf_server_command.go
2022-07-29 03:25:23 +10:00

28 lines
752 B
Go

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