mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-15 08:25:09 +01:00
28 lines
663 B
Go
28 lines
663 B
Go
package mhfpacket
|
|
|
|
import (
|
|
"github.com/Andoryuuta/Erupe/network"
|
|
"github.com/Andoryuuta/byteframe"
|
|
)
|
|
|
|
// MsgSysReserve18B represents the MSG_SYS_reserve18B
|
|
type MsgSysReserve18B struct {
|
|
AckHandle uint32
|
|
}
|
|
|
|
// Opcode returns the ID associated with this packet type.
|
|
func (m *MsgSysReserve18B) Opcode() network.PacketID {
|
|
return network.MSG_SYS_reserve18B
|
|
}
|
|
|
|
// Parse parses the packet from binary
|
|
func (m *MsgSysReserve18B) Parse(bf *byteframe.ByteFrame) error {
|
|
m.AckHandle = bf.ReadUint32()
|
|
return nil
|
|
}
|
|
|
|
// Build builds a binary packet from the current data.
|
|
func (m *MsgSysReserve18B) Build(bf *byteframe.ByteFrame) error {
|
|
panic("Not implemented")
|
|
}
|