Files
Erupe/network/mhfpacket/msg_sys_end.go
2020-01-19 12:52:57 -05:00

27 lines
611 B
Go

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