Skip to content

Commit

Permalink
fix(DBMonsterData): unread fields
Browse files Browse the repository at this point in the history
  • Loading branch information
matigramirez committed Nov 30, 2023
1 parent ac898a7 commit fce9264
Showing 1 changed file with 76 additions and 0 deletions.
76 changes: 76 additions & 0 deletions src/Parsec/Shaiya/Monster/DBMonsterDataRecord.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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);
}
}

0 comments on commit fce9264

Please sign in to comment.