Exemple #1
0
 /// <summary>
 /// For deserialization from a binary table.
 /// </summary>
 public EO3Skill(BinaryReader reader, int skillId, Table nameTable) : base(reader, skillId, nameTable)
 {
     Game            = SkillModes.EO3;
     MaxLevel        = reader.ReadByte();
     Type            = reader.ReadByte();
     UseRequirements = new EO3UseRequirements(reader.ReadUInt16());
     TargetStatus    = new TargetStatus(reader.ReadUInt16());
     TargetType      = reader.ReadByte();
     TargetTeam      = reader.ReadByte();
     UsableLocation  = new UsableLocation(reader.ReadByte());
     ModifierStatus  = reader.ReadByte();
     ModifierType    = reader.ReadByte();
     reader.ReadByte(); // Unknown.
     ModifierElement    = new Element(reader.ReadUInt16());
     DamageElement      = new DamageElement(reader.ReadUInt16());
     InflictionStatus   = reader.ReadUInt16();
     AssociatedDisables = new Disables(reader.ReadUInt16());
     SkillFlags         = new EO3SkillFlags(reader.ReadInt32());
     DataSections       = new DataSections(reader, Game);
 }
Exemple #2
0
 /// <summary>
 /// For deserialization from a JSON file.
 /// </summary>
 public EO3Skill()
 {
     UseRequirements = new EO3UseRequirements();
     SkillFlags      = new EO3SkillFlags();
 }