Rename of variables and wip info

This commit is contained in:
stratic-dev
2024-07-31 14:23:32 +01:00
parent f70fd5e6e7
commit 93b107362c
4 changed files with 16 additions and 7 deletions

View File

@@ -20,7 +20,8 @@ type MsgMhfPostTowerInfo struct {
Unk6 int32
Unk7 int32
Block1 int32
TimeTaken int64
TimeTaken int32
CID int32
}
// Opcode returns the ID associated with this packet type.
@@ -40,7 +41,8 @@ func (m *MsgMhfPostTowerInfo) Parse(bf *byteframe.ByteFrame, ctx *clientctx.Clie
m.Unk6 = bf.ReadInt32()
m.Unk7 = bf.ReadInt32()
m.Block1 = bf.ReadInt32()
m.TimeTaken = bf.ReadInt64()
m.TimeTaken = bf.ReadInt32()
m.CID = bf.ReadInt32()
return nil
}

View File

@@ -17,7 +17,7 @@ type TerminalLogEntry struct {
Unk0 int16
Unk1 int32
Unk2 int32
Unk3 int32
CID int32
Unk4 []int32
}
@@ -48,7 +48,7 @@ func (m *MsgSysTerminalLog) Parse(bf *byteframe.ByteFrame, ctx *clientctx.Client
e.Unk0 = bf.ReadInt16()
e.Unk1 = bf.ReadInt32()
e.Unk2 = bf.ReadInt32()
e.Unk3 = bf.ReadInt32()
e.CID = bf.ReadInt32()
if _config.ErupeConfig.RealClientMode >= _config.G1 {
for j := 0; j < 4; j++ {
e.Unk4 = append(e.Unk4, bf.ReadInt32())