mirror of
https://github.com/Mezeporta/Erupe.git
synced 2026-02-04 09:15:08 +01:00
parse diva adventure dispatch
This commit is contained in:
@@ -11,9 +11,8 @@ import (
|
||||
// MsgSysReserve205 represents the MSG_SYS_reserve205
|
||||
type MsgSysReserve205 struct {
|
||||
AckHandle uint32
|
||||
Unk0 uint32
|
||||
Unk1 uint32
|
||||
Unk2 uint32
|
||||
Destination uint32
|
||||
Charge uint32
|
||||
}
|
||||
|
||||
// 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
|
||||
func (m *MsgSysReserve205) Parse(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
m.AckHandle = bf.ReadUint32()
|
||||
m.Unk0 = bf.ReadUint32()
|
||||
m.Unk1 = bf.ReadUint32()
|
||||
m.Unk2 = bf.ReadUint32()
|
||||
m.Destination = bf.ReadUint32()
|
||||
m.Charge = bf.ReadUint32()
|
||||
_ = bf.ReadUint32() // CharID
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user