mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-13 15:34:38 +01:00
change getRaviSemaphore scope & handle RegisterEvent
This commit is contained in:
@@ -11,7 +11,7 @@ import (
|
||||
// MsgMhfReleaseEvent represents the MSG_MHF_RELEASE_EVENT
|
||||
type MsgMhfReleaseEvent struct {
|
||||
AckHandle uint32
|
||||
Unk0 uint32
|
||||
RaviID uint32
|
||||
Unk1 uint32
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ func (m *MsgMhfReleaseEvent) Opcode() network.PacketID {
|
||||
// Parse parses the packet from binary
|
||||
func (m *MsgMhfReleaseEvent) Parse(bf *byteframe.ByteFrame, ctx *clientctx.ClientContext) error {
|
||||
m.AckHandle = bf.ReadUint32()
|
||||
m.Unk0 = bf.ReadUint32()
|
||||
m.RaviID = bf.ReadUint32()
|
||||
m.Unk1 = bf.ReadUint32()
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user