mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-16 17:05:03 +01:00
Add MsgSysReserve203/IsUpdateGuildMsgBoard
This commit is contained in:
@@ -5,8 +5,14 @@ import (
|
||||
"github.com/Andoryuuta/byteframe"
|
||||
)
|
||||
|
||||
// TODO(Andoryuuta): Make up a name for this packet, not reserved anymore. Called "Is_update_guild_msg_board"
|
||||
|
||||
// MsgSysReserve203 represents the MSG_SYS_reserve203
|
||||
type MsgSysReserve203 struct{}
|
||||
type MsgSysReserve203 struct {
|
||||
AckHandle uint32
|
||||
Unk0 uint16 // Hardcoded 0x0000 in the binary
|
||||
Unk1 uint16 // Hardcoded 0x0500 in the binary.
|
||||
}
|
||||
|
||||
// Opcode returns the ID associated with this packet type.
|
||||
func (m *MsgSysReserve203) Opcode() network.PacketID {
|
||||
@@ -15,10 +21,13 @@ func (m *MsgSysReserve203) Opcode() network.PacketID {
|
||||
|
||||
// Parse parses the packet from binary
|
||||
func (m *MsgSysReserve203) Parse(bf *byteframe.ByteFrame) error {
|
||||
panic("Not implemented")
|
||||
m.AckHandle = bf.ReadUint32()
|
||||
m.Unk0 = bf.ReadUint16()
|
||||
m.Unk1 = bf.ReadUint16()
|
||||
return nil
|
||||
}
|
||||
|
||||
// Build builds a binary packet from the current data.
|
||||
func (m *MsgSysReserve203) Build(bf *byteframe.ByteFrame) error {
|
||||
panic("Not implemented")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user