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

28 lines
717 B
Go

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