mirror of
https://github.com/Mezeporta/Erupe.git
synced 2026-03-27 01:53:19 +01:00
parse diva adventure dispatch
This commit is contained in:
@@ -11,9 +11,8 @@ import (
|
|||||||
// MsgSysReserve205 represents the MSG_SYS_reserve205
|
// MsgSysReserve205 represents the MSG_SYS_reserve205
|
||||||
type MsgSysReserve205 struct {
|
type MsgSysReserve205 struct {
|
||||||
AckHandle uint32
|
AckHandle uint32
|
||||||
Unk0 uint32
|
Destination uint32
|
||||||
Unk1 uint32
|
Charge uint32
|
||||||
Unk2 uint32
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Opcode returns the ID associated with this packet type.
|
// Opcode returns the ID associated with this packet type.
|
||||||
@@ -24,9 +23,9 @@ func (m *MsgSysReserve205) Opcode() network.PacketID {
|
|||||||
// Parse parses the packet from binary
|
// Parse parses the packet from binary
|
||||||
func (m *MsgSysReserve205) Parse(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
func (m *MsgSysReserve205) Parse(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||||
m.AckHandle = bf.ReadUint32()
|
m.AckHandle = bf.ReadUint32()
|
||||||
m.Unk0 = bf.ReadUint32()
|
m.Destination = bf.ReadUint32()
|
||||||
m.Unk1 = bf.ReadUint32()
|
m.Charge = bf.ReadUint32()
|
||||||
m.Unk2 = bf.ReadUint32()
|
_ = bf.ReadUint32() // CharID
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user