From fce926425e41e18b4e33d53a6739d14b8bdc9fa5 Mon Sep 17 00:00:00 2001 From: Matias Ramirez Date: Thu, 30 Nov 2023 11:04:07 -0300 Subject: [PATCH] fix(DBMonsterData): unread fields --- .../Shaiya/Monster/DBMonsterDataRecord.cs | 76 +++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/src/Parsec/Shaiya/Monster/DBMonsterDataRecord.cs b/src/Parsec/Shaiya/Monster/DBMonsterDataRecord.cs index b53f0552..cefbe1cf 100644 --- a/src/Parsec/Shaiya/Monster/DBMonsterDataRecord.cs +++ b/src/Parsec/Shaiya/Monster/DBMonsterDataRecord.cs @@ -251,6 +251,44 @@ public void Read(SBinaryReader binaryReader) Skill2 = binaryReader.ReadInt64(); Skill3 = binaryReader.ReadInt64(); Skill4 = binaryReader.ReadInt64(); + Skill5 = binaryReader.ReadInt64(); + Skill6 = binaryReader.ReadInt64(); + NormalTime = binaryReader.ReadInt64(); + NormalStep = binaryReader.ReadInt64(); + ChaseTime = binaryReader.ReadInt64(); + ChaseStep = binaryReader.ReadInt64(); + ChaseRange = binaryReader.ReadInt64(); + AttackAni1 = binaryReader.ReadInt64(); + AttackType1 = binaryReader.ReadInt64(); + AttackTime1 = binaryReader.ReadInt64(); + AttackRange1 = binaryReader.ReadInt64(); + Attack1 = binaryReader.ReadInt64(); + AttackPlus1 = binaryReader.ReadInt64(); + AttackAttrib1 = binaryReader.ReadInt64(); + AttackSpecial1 = binaryReader.ReadInt64(); + AttackOk1 = binaryReader.ReadInt64(); + AttackAni2 = binaryReader.ReadInt64(); + AttackType2 = binaryReader.ReadInt64(); + AttackTime2 = binaryReader.ReadInt64(); + AttackRange2 = binaryReader.ReadInt64(); + Attack2 = binaryReader.ReadInt64(); + AttackPlus2 = binaryReader.ReadInt64(); + AttackAttrib2 = binaryReader.ReadInt64(); + AttackSpecial2 = binaryReader.ReadInt64(); + AttackOk2 = binaryReader.ReadInt64(); + AttackAni3 = binaryReader.ReadInt64(); + AttackType3 = binaryReader.ReadInt64(); + AttackTime3 = binaryReader.ReadInt64(); + AttackRange3 = binaryReader.ReadInt64(); + Attack3 = binaryReader.ReadInt64(); + AttackPlus3 = binaryReader.ReadInt64(); + AttackAttrib3 = binaryReader.ReadInt64(); + AttackSpecial3 = binaryReader.ReadInt64(); + AttackOk3 = binaryReader.ReadInt64(); + ColorType = binaryReader.ReadInt64(); + ColorHue = binaryReader.ReadInt64(); + ColorSaturation = binaryReader.ReadInt64(); + ColorLight = binaryReader.ReadInt64(); } public void Write(SBinaryWriter binaryWriter) @@ -311,5 +349,43 @@ public void Write(SBinaryWriter binaryWriter) binaryWriter.Write(Skill2); binaryWriter.Write(Skill3); binaryWriter.Write(Skill4); + binaryWriter.Write(Skill5); + binaryWriter.Write(Skill6); + binaryWriter.Write(NormalTime); + binaryWriter.Write(NormalStep); + binaryWriter.Write(ChaseTime); + binaryWriter.Write(ChaseStep); + binaryWriter.Write(ChaseRange); + binaryWriter.Write(AttackAni1); + binaryWriter.Write(AttackType1); + binaryWriter.Write(AttackTime1); + binaryWriter.Write(AttackRange1); + binaryWriter.Write(Attack1); + binaryWriter.Write(AttackPlus1); + binaryWriter.Write(AttackAttrib1); + binaryWriter.Write(AttackSpecial1); + binaryWriter.Write(AttackOk1); + binaryWriter.Write(AttackAni2); + binaryWriter.Write(AttackType2); + binaryWriter.Write(AttackTime2); + binaryWriter.Write(AttackRange2); + binaryWriter.Write(Attack2); + binaryWriter.Write(AttackPlus2); + binaryWriter.Write(AttackAttrib2); + binaryWriter.Write(AttackSpecial2); + binaryWriter.Write(AttackOk2); + binaryWriter.Write(AttackAni3); + binaryWriter.Write(AttackType3); + binaryWriter.Write(AttackTime3); + binaryWriter.Write(AttackRange3); + binaryWriter.Write(Attack3); + binaryWriter.Write(AttackPlus3); + binaryWriter.Write(AttackAttrib3); + binaryWriter.Write(AttackSpecial3); + binaryWriter.Write(AttackOk3); + binaryWriter.Write(ColorType); + binaryWriter.Write(ColorHue); + binaryWriter.Write(ColorSaturation); + binaryWriter.Write(ColorLight); } }