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

28 lines
744 B
Go

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