mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-14 16:04:38 +01:00
fix various packet files
This commit is contained in:
@@ -8,20 +8,20 @@ import (
|
||||
"erupe-ce/common/byteframe"
|
||||
)
|
||||
|
||||
// MsgSysReserve205 represents the MSG_SYS_reserve205
|
||||
type MsgSysReserve205 struct {
|
||||
// MsgMhfRegistGuildAdventureDiva represents the MSG_MHF_REGIST_GUILD_ADVENTURE_DIVA
|
||||
type MsgMhfRegistGuildAdventureDiva struct {
|
||||
AckHandle uint32
|
||||
Destination uint32
|
||||
Charge uint32
|
||||
}
|
||||
|
||||
// Opcode returns the ID associated with this packet type.
|
||||
func (m *MsgSysReserve205) Opcode() network.PacketID {
|
||||
return network.MSG_SYS_reserve205
|
||||
func (m *MsgMhfRegistGuildAdventureDiva) Opcode() network.PacketID {
|
||||
return network.MSG_MHF_REGIST_GUILD_ADVENTURE_DIVA
|
||||
}
|
||||
|
||||
// Parse parses the packet from binary
|
||||
func (m *MsgSysReserve205) Parse(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
func (m *MsgMhfRegistGuildAdventureDiva) Parse(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
m.AckHandle = bf.ReadUint32()
|
||||
m.Destination = bf.ReadUint32()
|
||||
m.Charge = bf.ReadUint32()
|
||||
@@ -30,6 +30,6 @@ func (m *MsgSysReserve205) Parse(bf *byteframe.ByteFrame, ctx *clientctx.ClientC
|
||||
}
|
||||
|
||||
// Build builds a binary packet from the current data.
|
||||
func (m *MsgSysReserve205) Build(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
func (m *MsgMhfRegistGuildAdventureDiva) Build(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
package mhfpacket
|
||||
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"erupe-ce/network/clientctx"
|
||||
"erupe-ce/network"
|
||||
"erupe-ce/common/byteframe"
|
||||
)
|
||||
|
||||
// MsgMhfReserve010F represents the MSG_MHF_reserve010F
|
||||
type MsgMhfReserve010F struct{}
|
||||
|
||||
// Opcode returns the ID associated with this packet type.
|
||||
func (m *MsgMhfReserve010F) Opcode() network.PacketID {
|
||||
return network.MSG_MHF_reserve010F
|
||||
}
|
||||
|
||||
// Parse parses the packet from binary
|
||||
func (m *MsgMhfReserve010F) Parse(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
|
||||
// Build builds a binary packet from the current data.
|
||||
func (m *MsgMhfReserve010F) Build(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
@@ -1,27 +1,27 @@
|
||||
package mhfpacket
|
||||
|
||||
import (
|
||||
"errors"
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"erupe-ce/network/clientctx"
|
||||
"erupe-ce/network"
|
||||
"erupe-ce/common/byteframe"
|
||||
)
|
||||
|
||||
// MsgSysReserve208 represents the MSG_SYS_reserve208
|
||||
type MsgSysReserve208 struct{}
|
||||
// MsgMhfReserve10F represents the MSG_MHF_reserve10F
|
||||
type MsgMhfReserve10F struct{}
|
||||
|
||||
// Opcode returns the ID associated with this packet type.
|
||||
func (m *MsgSysReserve208) Opcode() network.PacketID {
|
||||
return network.MSG_SYS_reserve208
|
||||
func (m *MsgMhfReserve10F) Opcode() network.PacketID {
|
||||
return network.MSG_MHF_reserve10F
|
||||
}
|
||||
|
||||
// Parse parses the packet from binary
|
||||
func (m *MsgSysReserve208) Parse(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
func (m *MsgMhfReserve10F) Parse(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
|
||||
// Build builds a binary packet from the current data.
|
||||
func (m *MsgSysReserve208) Build(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
func (m *MsgMhfReserve10F) Build(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
@@ -1,27 +1,27 @@
|
||||
package mhfpacket
|
||||
|
||||
import (
|
||||
"errors"
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"erupe-ce/network/clientctx"
|
||||
"erupe-ce/network"
|
||||
"erupe-ce/common/byteframe"
|
||||
)
|
||||
|
||||
// MsgSysReserve207 represents the MSG_SYS_reserve207
|
||||
type MsgSysReserve207 struct{}
|
||||
// MsgSysReserve1A4 represents the MSG_SYS_reserve1A4
|
||||
type MsgSysReserve1A4 struct{}
|
||||
|
||||
// Opcode returns the ID associated with this packet type.
|
||||
func (m *MsgSysReserve207) Opcode() network.PacketID {
|
||||
return network.MSG_SYS_reserve207
|
||||
func (m *MsgSysReserve1A4) Opcode() network.PacketID {
|
||||
return network.MSG_SYS_reserve1A4
|
||||
}
|
||||
|
||||
// Parse parses the packet from binary
|
||||
func (m *MsgSysReserve207) Parse(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
func (m *MsgSysReserve1A4) Parse(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
|
||||
// Build builds a binary packet from the current data.
|
||||
func (m *MsgSysReserve207) Build(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
func (m *MsgSysReserve1A4) Build(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
@@ -1,27 +1,27 @@
|
||||
package mhfpacket
|
||||
|
||||
import (
|
||||
"errors"
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"erupe-ce/network/clientctx"
|
||||
"erupe-ce/network"
|
||||
"erupe-ce/common/byteframe"
|
||||
)
|
||||
|
||||
// MsgSysReserve206 represents the MSG_SYS_reserve206
|
||||
type MsgSysReserve206 struct{}
|
||||
// MsgSysReserve1A6 represents the MSG_SYS_reserve1A6
|
||||
type MsgSysReserve1A6 struct{}
|
||||
|
||||
// Opcode returns the ID associated with this packet type.
|
||||
func (m *MsgSysReserve206) Opcode() network.PacketID {
|
||||
return network.MSG_SYS_reserve206
|
||||
func (m *MsgSysReserve1A6) Opcode() network.PacketID {
|
||||
return network.MSG_SYS_reserve1A6
|
||||
}
|
||||
|
||||
// Parse parses the packet from binary
|
||||
func (m *MsgSysReserve206) Parse(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
func (m *MsgSysReserve1A6) Parse(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
|
||||
// Build builds a binary packet from the current data.
|
||||
func (m *MsgSysReserve206) Build(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
func (m *MsgSysReserve1A6) Build(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
@@ -1,27 +1,27 @@
|
||||
package mhfpacket
|
||||
|
||||
import (
|
||||
"errors"
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"erupe-ce/network/clientctx"
|
||||
"erupe-ce/network"
|
||||
"erupe-ce/common/byteframe"
|
||||
)
|
||||
|
||||
// MsgSysReserve204 represents the MSG_SYS_reserve204
|
||||
type MsgSysReserve204 struct{}
|
||||
// MsgSysReserve1A7 represents the MSG_SYS_reserve1A7
|
||||
type MsgSysReserve1A7 struct{}
|
||||
|
||||
// Opcode returns the ID associated with this packet type.
|
||||
func (m *MsgSysReserve204) Opcode() network.PacketID {
|
||||
return network.MSG_SYS_reserve204
|
||||
func (m *MsgSysReserve1A7) Opcode() network.PacketID {
|
||||
return network.MSG_SYS_reserve1A7
|
||||
}
|
||||
|
||||
// Parse parses the packet from binary
|
||||
func (m *MsgSysReserve204) Parse(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
func (m *MsgSysReserve1A7) Parse(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
|
||||
// Build builds a binary packet from the current data.
|
||||
func (m *MsgSysReserve204) Build(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
func (m *MsgSysReserve1A7) Build(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
27
Erupe/network/mhfpacket/msg_sys_reserve1a8.go
Normal file
27
Erupe/network/mhfpacket/msg_sys_reserve1a8.go
Normal file
@@ -0,0 +1,27 @@
|
||||
package mhfpacket
|
||||
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"erupe-ce/network/clientctx"
|
||||
"erupe-ce/network"
|
||||
"erupe-ce/common/byteframe"
|
||||
)
|
||||
|
||||
// MsgSysReserve1A8 represents the MSG_SYS_reserve1A8
|
||||
type MsgSysReserve1A8 struct{}
|
||||
|
||||
// Opcode returns the ID associated with this packet type.
|
||||
func (m *MsgSysReserve1A8) Opcode() network.PacketID {
|
||||
return network.MSG_SYS_reserve1A8
|
||||
}
|
||||
|
||||
// Parse parses the packet from binary
|
||||
func (m *MsgSysReserve1A8) Parse(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
|
||||
// Build builds a binary packet from the current data.
|
||||
func (m *MsgSysReserve1A8) Build(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
27
Erupe/network/mhfpacket/msg_sys_reserve1a9.go
Normal file
27
Erupe/network/mhfpacket/msg_sys_reserve1a9.go
Normal file
@@ -0,0 +1,27 @@
|
||||
package mhfpacket
|
||||
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"erupe-ce/network/clientctx"
|
||||
"erupe-ce/network"
|
||||
"erupe-ce/common/byteframe"
|
||||
)
|
||||
|
||||
// MsgSysReserve1A9 represents the MSG_SYS_reserve1A9
|
||||
type MsgSysReserve1A9 struct{}
|
||||
|
||||
// Opcode returns the ID associated with this packet type.
|
||||
func (m *MsgSysReserve1A9) Opcode() network.PacketID {
|
||||
return network.MSG_SYS_reserve1A9
|
||||
}
|
||||
|
||||
// Parse parses the packet from binary
|
||||
func (m *MsgSysReserve1A9) Parse(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
|
||||
// Build builds a binary packet from the current data.
|
||||
func (m *MsgSysReserve1A9) Build(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
27
Erupe/network/mhfpacket/msg_sys_reserve1aa.go
Normal file
27
Erupe/network/mhfpacket/msg_sys_reserve1aa.go
Normal file
@@ -0,0 +1,27 @@
|
||||
package mhfpacket
|
||||
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"erupe-ce/network/clientctx"
|
||||
"erupe-ce/network"
|
||||
"erupe-ce/common/byteframe"
|
||||
)
|
||||
|
||||
// MsgSysReserve1AA represents the MSG_SYS_reserve1AA
|
||||
type MsgSysReserve1AA struct{}
|
||||
|
||||
// Opcode returns the ID associated with this packet type.
|
||||
func (m *MsgSysReserve1AA) Opcode() network.PacketID {
|
||||
return network.MSG_SYS_reserve1AA
|
||||
}
|
||||
|
||||
// Parse parses the packet from binary
|
||||
func (m *MsgSysReserve1AA) Parse(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
|
||||
// Build builds a binary packet from the current data.
|
||||
func (m *MsgSysReserve1AA) Build(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
27
Erupe/network/mhfpacket/msg_sys_reserve1ab.go
Normal file
27
Erupe/network/mhfpacket/msg_sys_reserve1ab.go
Normal file
@@ -0,0 +1,27 @@
|
||||
package mhfpacket
|
||||
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"erupe-ce/network/clientctx"
|
||||
"erupe-ce/network"
|
||||
"erupe-ce/common/byteframe"
|
||||
)
|
||||
|
||||
// MsgSysReserve1AB represents the MSG_SYS_reserve1AB
|
||||
type MsgSysReserve1AB struct{}
|
||||
|
||||
// Opcode returns the ID associated with this packet type.
|
||||
func (m *MsgSysReserve1AB) Opcode() network.PacketID {
|
||||
return network.MSG_SYS_reserve1AB
|
||||
}
|
||||
|
||||
// Parse parses the packet from binary
|
||||
func (m *MsgSysReserve1AB) Parse(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
|
||||
// Build builds a binary packet from the current data.
|
||||
func (m *MsgSysReserve1AB) Build(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
27
Erupe/network/mhfpacket/msg_sys_reserve1ac.go
Normal file
27
Erupe/network/mhfpacket/msg_sys_reserve1ac.go
Normal file
@@ -0,0 +1,27 @@
|
||||
package mhfpacket
|
||||
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"erupe-ce/network/clientctx"
|
||||
"erupe-ce/network"
|
||||
"erupe-ce/common/byteframe"
|
||||
)
|
||||
|
||||
// MsgSysReserve1AC represents the MSG_SYS_reserve1AC
|
||||
type MsgSysReserve1AC struct{}
|
||||
|
||||
// Opcode returns the ID associated with this packet type.
|
||||
func (m *MsgSysReserve1AC) Opcode() network.PacketID {
|
||||
return network.MSG_SYS_reserve1AC
|
||||
}
|
||||
|
||||
// Parse parses the packet from binary
|
||||
func (m *MsgSysReserve1AC) Parse(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
|
||||
// Build builds a binary packet from the current data.
|
||||
func (m *MsgSysReserve1AC) Build(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
27
Erupe/network/mhfpacket/msg_sys_reserve1ad.go
Normal file
27
Erupe/network/mhfpacket/msg_sys_reserve1ad.go
Normal file
@@ -0,0 +1,27 @@
|
||||
package mhfpacket
|
||||
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"erupe-ce/network/clientctx"
|
||||
"erupe-ce/network"
|
||||
"erupe-ce/common/byteframe"
|
||||
)
|
||||
|
||||
// MsgSysReserve1AD represents the MSG_SYS_reserve1AD
|
||||
type MsgSysReserve1AD struct{}
|
||||
|
||||
// Opcode returns the ID associated with this packet type.
|
||||
func (m *MsgSysReserve1AD) Opcode() network.PacketID {
|
||||
return network.MSG_SYS_reserve1AD
|
||||
}
|
||||
|
||||
// Parse parses the packet from binary
|
||||
func (m *MsgSysReserve1AD) Parse(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
|
||||
// Build builds a binary packet from the current data.
|
||||
func (m *MsgSysReserve1AD) Build(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
27
Erupe/network/mhfpacket/msg_sys_reserve1ae.go
Normal file
27
Erupe/network/mhfpacket/msg_sys_reserve1ae.go
Normal 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")
|
||||
}
|
||||
27
Erupe/network/mhfpacket/msg_sys_reserve1af.go
Normal file
27
Erupe/network/mhfpacket/msg_sys_reserve1af.go
Normal file
@@ -0,0 +1,27 @@
|
||||
package mhfpacket
|
||||
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"erupe-ce/network/clientctx"
|
||||
"erupe-ce/network"
|
||||
"erupe-ce/common/byteframe"
|
||||
)
|
||||
|
||||
// MsgSysReserve1AF represents the MSG_SYS_reserve1AF
|
||||
type MsgSysReserve1AF struct{}
|
||||
|
||||
// Opcode returns the ID associated with this packet type.
|
||||
func (m *MsgSysReserve1AF) Opcode() network.PacketID {
|
||||
return network.MSG_SYS_reserve1AF
|
||||
}
|
||||
|
||||
// Parse parses the packet from binary
|
||||
func (m *MsgSysReserve1AF) Parse(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
|
||||
// Build builds a binary packet from the current data.
|
||||
func (m *MsgSysReserve1AF) Build(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
package mhfpacket
|
||||
@@ -1 +0,0 @@
|
||||
package mhfpacket
|
||||
@@ -1,27 +0,0 @@
|
||||
package mhfpacket
|
||||
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"erupe-ce/network/clientctx"
|
||||
"erupe-ce/network"
|
||||
"erupe-ce/common/byteframe"
|
||||
)
|
||||
|
||||
// MsgSysReserve209 represents the MSG_SYS_reserve209
|
||||
type MsgSysReserve209 struct{}
|
||||
|
||||
// Opcode returns the ID associated with this packet type.
|
||||
func (m *MsgSysReserve209) Opcode() network.PacketID {
|
||||
return network.MSG_SYS_reserve209
|
||||
}
|
||||
|
||||
// Parse parses the packet from binary
|
||||
func (m *MsgSysReserve209) Parse(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
|
||||
// Build builds a binary packet from the current data.
|
||||
func (m *MsgSysReserve209) Build(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
package mhfpacket
|
||||
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"erupe-ce/network/clientctx"
|
||||
"erupe-ce/network"
|
||||
"erupe-ce/common/byteframe"
|
||||
)
|
||||
|
||||
// MsgSysReserve20A represents the MSG_SYS_reserve20A
|
||||
type MsgSysReserve20A struct{}
|
||||
|
||||
// Opcode returns the ID associated with this packet type.
|
||||
func (m *MsgSysReserve20A) Opcode() network.PacketID {
|
||||
return network.MSG_SYS_reserve20A
|
||||
}
|
||||
|
||||
// Parse parses the packet from binary
|
||||
func (m *MsgSysReserve20A) Parse(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
|
||||
// Build builds a binary packet from the current data.
|
||||
func (m *MsgSysReserve20A) Build(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
package mhfpacket
|
||||
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"erupe-ce/network/clientctx"
|
||||
"erupe-ce/network"
|
||||
"erupe-ce/common/byteframe"
|
||||
)
|
||||
|
||||
// MsgSysReserve20B represents the MSG_SYS_reserve20B
|
||||
type MsgSysReserve20B struct{}
|
||||
|
||||
// Opcode returns the ID associated with this packet type.
|
||||
func (m *MsgSysReserve20B) Opcode() network.PacketID {
|
||||
return network.MSG_SYS_reserve20B
|
||||
}
|
||||
|
||||
// Parse parses the packet from binary
|
||||
func (m *MsgSysReserve20B) Parse(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
|
||||
// Build builds a binary packet from the current data.
|
||||
func (m *MsgSysReserve20B) Build(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
package mhfpacket
|
||||
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"erupe-ce/network/clientctx"
|
||||
"erupe-ce/network"
|
||||
"erupe-ce/common/byteframe"
|
||||
)
|
||||
|
||||
// MsgSysReserve20C represents the MSG_SYS_reserve20C
|
||||
type MsgSysReserve20C struct{}
|
||||
|
||||
// Opcode returns the ID associated with this packet type.
|
||||
func (m *MsgSysReserve20C) Opcode() network.PacketID {
|
||||
return network.MSG_SYS_reserve20C
|
||||
}
|
||||
|
||||
// Parse parses the packet from binary
|
||||
func (m *MsgSysReserve20C) Parse(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
|
||||
// Build builds a binary packet from the current data.
|
||||
func (m *MsgSysReserve20C) Build(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
package mhfpacket
|
||||
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"erupe-ce/network/clientctx"
|
||||
"erupe-ce/network"
|
||||
"erupe-ce/common/byteframe"
|
||||
)
|
||||
|
||||
// MsgSysReserve20D represents the MSG_SYS_reserve20D
|
||||
type MsgSysReserve20D struct{}
|
||||
|
||||
// Opcode returns the ID associated with this packet type.
|
||||
func (m *MsgSysReserve20D) Opcode() network.PacketID {
|
||||
return network.MSG_SYS_reserve20D
|
||||
}
|
||||
|
||||
// Parse parses the packet from binary
|
||||
func (m *MsgSysReserve20D) Parse(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
|
||||
// Build builds a binary packet from the current data.
|
||||
func (m *MsgSysReserve20D) Build(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
package mhfpacket
|
||||
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"erupe-ce/network/clientctx"
|
||||
"erupe-ce/network"
|
||||
"erupe-ce/common/byteframe"
|
||||
)
|
||||
|
||||
// MsgSysReserve20E represents the MSG_SYS_reserve20E
|
||||
type MsgSysReserve20E struct{}
|
||||
|
||||
// Opcode returns the ID associated with this packet type.
|
||||
func (m *MsgSysReserve20E) Opcode() network.PacketID {
|
||||
return network.MSG_SYS_reserve20E
|
||||
}
|
||||
|
||||
// Parse parses the packet from binary
|
||||
func (m *MsgSysReserve20E) Parse(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
|
||||
// Build builds a binary packet from the current data.
|
||||
func (m *MsgSysReserve20E) Build(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
package mhfpacket
|
||||
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"erupe-ce/network/clientctx"
|
||||
"erupe-ce/network"
|
||||
"erupe-ce/common/byteframe"
|
||||
)
|
||||
|
||||
// MsgSysReserve20F represents the MSG_SYS_reserve20F
|
||||
type MsgSysReserve20F struct{}
|
||||
|
||||
// Opcode returns the ID associated with this packet type.
|
||||
func (m *MsgSysReserve20F) Opcode() network.PacketID {
|
||||
return network.MSG_SYS_reserve20F
|
||||
}
|
||||
|
||||
// Parse parses the packet from binary
|
||||
func (m *MsgSysReserve20F) Parse(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
|
||||
// Build builds a binary packet from the current data.
|
||||
func (m *MsgSysReserve20F) Build(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
return errors.New("NOT IMPLEMENTED")
|
||||
}
|
||||
@@ -547,8 +547,8 @@ func FromOpcode(opcode network.PacketID) MHFPacket {
|
||||
return &MsgMhfLoadDecoMyset{}
|
||||
case network.MSG_MHF_SAVE_DECO_MYSET:
|
||||
return &MsgMhfSaveDecoMyset{}
|
||||
case network.MSG_MHF_reserve010F:
|
||||
return &MsgMhfReserve010F{}
|
||||
case network.MSG_MHF_reserve10F:
|
||||
return &MsgMhfReserve10F{}
|
||||
case network.MSG_MHF_LOAD_GUILD_COOKING:
|
||||
return &MsgMhfLoadGuildCooking{}
|
||||
case network.MSG_MHF_REGIST_GUILD_COOKING:
|
||||
@@ -845,30 +845,30 @@ func FromOpcode(opcode network.PacketID) MHFPacket {
|
||||
return &MsgMhfEnumerateGuildMessageBoard{}
|
||||
case network.MSG_MHF_UPDATE_GUILD_MESSAGE_BOARD:
|
||||
return &MsgMhfUpdateGuildMessageBoard{}
|
||||
case network.MSG_SYS_reserve204:
|
||||
return &MsgSysReserve204{}
|
||||
case network.MSG_SYS_reserve205:
|
||||
return &MsgSysReserve205{}
|
||||
case network.MSG_SYS_reserve206:
|
||||
return &MsgSysReserve206{}
|
||||
case network.MSG_SYS_reserve207:
|
||||
return &MsgSysReserve207{}
|
||||
case network.MSG_SYS_reserve208:
|
||||
return &MsgSysReserve208{}
|
||||
case network.MSG_SYS_reserve209:
|
||||
return &MsgSysReserve209{}
|
||||
case network.MSG_SYS_reserve20A:
|
||||
return &MsgSysReserve20A{}
|
||||
case network.MSG_SYS_reserve20B:
|
||||
return &MsgSysReserve20B{}
|
||||
case network.MSG_SYS_reserve20C:
|
||||
return &MsgSysReserve20C{}
|
||||
case network.MSG_SYS_reserve20D:
|
||||
return &MsgSysReserve20D{}
|
||||
case network.MSG_SYS_reserve20E:
|
||||
return &MsgSysReserve20E{}
|
||||
case network.MSG_SYS_reserve20F:
|
||||
return &MsgSysReserve20F{}
|
||||
case network.MSG_SYS_reserve1A4:
|
||||
return &MsgSysReserve1A4{}
|
||||
case network.MSG_MHF_REGIST_GUILD_ADVENTURE_DIVA:
|
||||
return &MsgMhfRegistGuildAdventureDiva{}
|
||||
case network.MSG_SYS_reserve1A6:
|
||||
return &MsgSysReserve1A6{}
|
||||
case network.MSG_SYS_reserve1A7:
|
||||
return &MsgSysReserve1A7{}
|
||||
case network.MSG_SYS_reserve1A8:
|
||||
return &MsgSysReserve1A8{}
|
||||
case network.MSG_SYS_reserve1A9:
|
||||
return &MsgSysReserve1A9{}
|
||||
case network.MSG_SYS_reserve1AA:
|
||||
return &MsgSysReserve1AA{}
|
||||
case network.MSG_SYS_reserve1AB:
|
||||
return &MsgSysReserve1AB{}
|
||||
case network.MSG_SYS_reserve1AC:
|
||||
return &MsgSysReserve1AC{}
|
||||
case network.MSG_SYS_reserve1AD:
|
||||
return &MsgSysReserve1AD{}
|
||||
case network.MSG_SYS_reserve1AE:
|
||||
return &MsgSysReserve1AE{}
|
||||
case network.MSG_SYS_reserve1AF:
|
||||
return &MsgSysReserve1AF{}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
@@ -276,7 +276,7 @@ const (
|
||||
MSG_MHF_ACQUIRE_FESTA_INTERMEDIATE_PRIZE
|
||||
MSG_MHF_LOAD_DECO_MYSET
|
||||
MSG_MHF_SAVE_DECO_MYSET
|
||||
MSG_MHF_reserve010F
|
||||
MSG_MHF_reserve10F
|
||||
MSG_MHF_LOAD_GUILD_COOKING
|
||||
MSG_MHF_REGIST_GUILD_COOKING
|
||||
MSG_MHF_LOAD_GUILD_ADVENTURE
|
||||
@@ -425,18 +425,18 @@ const (
|
||||
MSG_MHF_RESET_TITLE
|
||||
MSG_MHF_ENUMERATE_GUILD_MESSAGE_BOARD
|
||||
MSG_MHF_UPDATE_GUILD_MESSAGE_BOARD
|
||||
MSG_SYS_reserve204
|
||||
MSG_SYS_reserve205
|
||||
MSG_SYS_reserve206
|
||||
MSG_SYS_reserve207
|
||||
MSG_SYS_reserve208
|
||||
MSG_SYS_reserve209
|
||||
MSG_SYS_reserve20A
|
||||
MSG_SYS_reserve20B
|
||||
MSG_SYS_reserve20C
|
||||
MSG_SYS_reserve20D
|
||||
MSG_SYS_reserve20E
|
||||
MSG_SYS_reserve20F
|
||||
MSG_SYS_reserve1A4
|
||||
MSG_MHF_REGIST_GUILD_ADVENTURE_DIVA
|
||||
MSG_SYS_reserve1A6
|
||||
MSG_SYS_reserve1A7
|
||||
MSG_SYS_reserve1A8
|
||||
MSG_SYS_reserve1A9
|
||||
MSG_SYS_reserve1AA
|
||||
MSG_SYS_reserve1AB
|
||||
MSG_SYS_reserve1AC
|
||||
MSG_SYS_reserve1AD
|
||||
MSG_SYS_reserve1AE
|
||||
MSG_SYS_reserve1AF
|
||||
)
|
||||
|
||||
//revive:enable
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -82,9 +82,8 @@ func handleMsgMhfChargeGuildAdventure(s *Session, p mhfpacket.MHFPacket) {
|
||||
doAckSimpleSucceed(s, pkt.AckHandle, make([]byte, 4))
|
||||
}
|
||||
|
||||
// handleMsgMhfRegistGuildAdventureDiva
|
||||
func handleMsgSysReserve205(s *Session, p mhfpacket.MHFPacket) {
|
||||
pkt := p.(*mhfpacket.MsgSysReserve205)
|
||||
func handleMsgMhfRegistGuildAdventureDiva(s *Session, p mhfpacket.MHFPacket) {
|
||||
pkt := p.(*mhfpacket.MsgMhfRegistGuildAdventureDiva)
|
||||
guild, _ := GetGuildInfoByCharacterId(s, s.charID)
|
||||
_, err := s.server.db.Exec("INSERT INTO guild_adventures (guild_id, destination, charge, depart, return) VALUES ($1, $2, $3, $4, $5)", guild.ID, pkt.Destination, pkt.Charge, Time_Current_Adjusted().Unix(), Time_Current_Adjusted().Add(1 * time.Hour).Unix())
|
||||
if err != nil {
|
||||
|
||||
@@ -86,7 +86,7 @@ func handleMsgSysReserve7C(s *Session, p mhfpacket.MHFPacket) {}
|
||||
|
||||
func handleMsgSysReserve7E(s *Session, p mhfpacket.MHFPacket) {}
|
||||
|
||||
func handleMsgMhfReserve010F(s *Session, p mhfpacket.MHFPacket) {}
|
||||
func handleMsgMhfReserve10F(s *Session, p mhfpacket.MHFPacket) {}
|
||||
|
||||
func handleMsgSysReserve180(s *Session, p mhfpacket.MHFPacket) {}
|
||||
|
||||
@@ -98,27 +98,27 @@ func handleMsgSysReserve19E(s *Session, p mhfpacket.MHFPacket) {}
|
||||
|
||||
func handleMsgSysReserve19F(s *Session, p mhfpacket.MHFPacket) {}
|
||||
|
||||
func handleMsgSysReserve204(s *Session, p mhfpacket.MHFPacket) {}
|
||||
func handleMsgSysReserve1A4(s *Session, p mhfpacket.MHFPacket) {}
|
||||
|
||||
func handleMsgSysReserve206(s *Session, p mhfpacket.MHFPacket) {}
|
||||
func handleMsgSysReserve1A6(s *Session, p mhfpacket.MHFPacket) {}
|
||||
|
||||
func handleMsgSysReserve207(s *Session, p mhfpacket.MHFPacket) {}
|
||||
func handleMsgSysReserve1A7(s *Session, p mhfpacket.MHFPacket) {}
|
||||
|
||||
func handleMsgSysReserve208(s *Session, p mhfpacket.MHFPacket) {}
|
||||
func handleMsgSysReserve1A8(s *Session, p mhfpacket.MHFPacket) {}
|
||||
|
||||
func handleMsgSysReserve209(s *Session, p mhfpacket.MHFPacket) {}
|
||||
func handleMsgSysReserve1A9(s *Session, p mhfpacket.MHFPacket) {}
|
||||
|
||||
func handleMsgSysReserve20A(s *Session, p mhfpacket.MHFPacket) {}
|
||||
func handleMsgSysReserve1AA(s *Session, p mhfpacket.MHFPacket) {}
|
||||
|
||||
func handleMsgSysReserve20B(s *Session, p mhfpacket.MHFPacket) {}
|
||||
func handleMsgSysReserve1AB(s *Session, p mhfpacket.MHFPacket) {}
|
||||
|
||||
func handleMsgSysReserve20C(s *Session, p mhfpacket.MHFPacket) {}
|
||||
func handleMsgSysReserve1AC(s *Session, p mhfpacket.MHFPacket) {}
|
||||
|
||||
func handleMsgSysReserve20D(s *Session, p mhfpacket.MHFPacket) {}
|
||||
func handleMsgSysReserve1AD(s *Session, p mhfpacket.MHFPacket) {}
|
||||
|
||||
func handleMsgSysReserve20E(s *Session, p mhfpacket.MHFPacket) {}
|
||||
func handleMsgSysReserve1AE(s *Session, p mhfpacket.MHFPacket) {}
|
||||
|
||||
func handleMsgSysReserve20F(s *Session, p mhfpacket.MHFPacket) {}
|
||||
func handleMsgSysReserve1AF(s *Session, p mhfpacket.MHFPacket) {}
|
||||
|
||||
func handleMsgSysReserve19B(s *Session, p mhfpacket.MHFPacket) {}
|
||||
|
||||
|
||||
@@ -282,7 +282,7 @@ func init() {
|
||||
handlerTable[network.MSG_MHF_ACQUIRE_FESTA_INTERMEDIATE_PRIZE] = handleMsgMhfAcquireFestaIntermediatePrize
|
||||
handlerTable[network.MSG_MHF_LOAD_DECO_MYSET] = handleMsgMhfLoadDecoMyset
|
||||
handlerTable[network.MSG_MHF_SAVE_DECO_MYSET] = handleMsgMhfSaveDecoMyset
|
||||
handlerTable[network.MSG_MHF_reserve010F] = handleMsgMhfReserve010F
|
||||
handlerTable[network.MSG_MHF_reserve10F] = handleMsgMhfReserve10F
|
||||
handlerTable[network.MSG_MHF_LOAD_GUILD_COOKING] = handleMsgMhfLoadGuildCooking
|
||||
handlerTable[network.MSG_MHF_REGIST_GUILD_COOKING] = handleMsgMhfRegistGuildCooking
|
||||
handlerTable[network.MSG_MHF_LOAD_GUILD_ADVENTURE] = handleMsgMhfLoadGuildAdventure
|
||||
@@ -431,16 +431,16 @@ func init() {
|
||||
handlerTable[network.MSG_MHF_RESET_TITLE] = handleMsgMhfResetTitle
|
||||
handlerTable[network.MSG_MHF_ENUMERATE_GUILD_MESSAGE_BOARD] = handleMsgMhfEnumerateGuildMessageBoard
|
||||
handlerTable[network.MSG_MHF_UPDATE_GUILD_MESSAGE_BOARD] = handleMsgMhfUpdateGuildMessageBoard
|
||||
handlerTable[network.MSG_SYS_reserve204] = handleMsgSysReserve204
|
||||
handlerTable[network.MSG_SYS_reserve205] = handleMsgSysReserve205
|
||||
handlerTable[network.MSG_SYS_reserve206] = handleMsgSysReserve206
|
||||
handlerTable[network.MSG_SYS_reserve207] = handleMsgSysReserve207
|
||||
handlerTable[network.MSG_SYS_reserve208] = handleMsgSysReserve208
|
||||
handlerTable[network.MSG_SYS_reserve209] = handleMsgSysReserve209
|
||||
handlerTable[network.MSG_SYS_reserve20A] = handleMsgSysReserve20A
|
||||
handlerTable[network.MSG_SYS_reserve20B] = handleMsgSysReserve20B
|
||||
handlerTable[network.MSG_SYS_reserve20C] = handleMsgSysReserve20C
|
||||
handlerTable[network.MSG_SYS_reserve20D] = handleMsgSysReserve20D
|
||||
handlerTable[network.MSG_SYS_reserve20E] = handleMsgSysReserve20E
|
||||
handlerTable[network.MSG_SYS_reserve20F] = handleMsgSysReserve20F
|
||||
handlerTable[network.MSG_SYS_reserve1A4] = handleMsgSysReserve1A4
|
||||
handlerTable[network.MSG_MHF_REGIST_GUILD_ADVENTURE_DIVA] = handleMsgMhfRegistGuildAdventureDiva
|
||||
handlerTable[network.MSG_SYS_reserve1A6] = handleMsgSysReserve1A6
|
||||
handlerTable[network.MSG_SYS_reserve1A7] = handleMsgSysReserve1A7
|
||||
handlerTable[network.MSG_SYS_reserve1A8] = handleMsgSysReserve1A8
|
||||
handlerTable[network.MSG_SYS_reserve1A9] = handleMsgSysReserve1A9
|
||||
handlerTable[network.MSG_SYS_reserve1AA] = handleMsgSysReserve1AA
|
||||
handlerTable[network.MSG_SYS_reserve1AB] = handleMsgSysReserve1AB
|
||||
handlerTable[network.MSG_SYS_reserve1AC] = handleMsgSysReserve1AC
|
||||
handlerTable[network.MSG_SYS_reserve1AD] = handleMsgSysReserve1AD
|
||||
handlerTable[network.MSG_SYS_reserve1AE] = handleMsgSysReserve1AE
|
||||
handlerTable[network.MSG_SYS_reserve1AF] = handleMsgSysReserve1AF
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user