fix various packet files

This commit is contained in:
wishu
2022-07-18 05:36:39 +10:00
parent c62ec14e07
commit 939f691d6d
29 changed files with 335 additions and 338 deletions

View File

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