Exemple #1
0
 public override Definition ParseMain(BinaryReader f, int RecNo)
 {
     var info = new SkillsoundgrpInfo();
     info = (SkillsoundgrpInfo) base.ReadFieldValue(f, info, "skill_id", "fshaman_sub");
     if (RConfig.Instance.DatVersionAsEnum >= DatVersion.Kamael)
         info = (SkillsoundgrpInfo) base.ReadFieldValue(f, info, "mkamael_sub", "fkamael_sub");
     info = (SkillsoundgrpInfo) base.ReadFieldValue(f, info, "RESERVED_sub", "fshaman_throw");
     if (RConfig.Instance.DatVersionAsEnum >= DatVersion.Kamael)
         info = (SkillsoundgrpInfo) base.ReadFieldValue(f, info, "mkamael_throw", "fkamael_throw");
     info = (SkillsoundgrpInfo) base.ReadFieldValue(f, info, "RESERVED_throw", "sound_rad");
     return info;
 }
        public override Definition ParseMain(BinaryReader f, int RecNo)
        {
            var info = new SkillsoundgrpInfo();

            info = (SkillsoundgrpInfo)base.ReadFieldValue(f, info, "skill_id", "fshaman_sub");
            if (RConfig.Instance.DatVersionAsEnum >= DatVersion.Kamael)
            {
                info = (SkillsoundgrpInfo)base.ReadFieldValue(f, info, "mkamael_sub", "fkamael_sub");
            }
            info = (SkillsoundgrpInfo)base.ReadFieldValue(f, info, "RESERVED_sub", "fshaman_throw");
            if (RConfig.Instance.DatVersionAsEnum >= DatVersion.Kamael)
            {
                info = (SkillsoundgrpInfo)base.ReadFieldValue(f, info, "mkamael_throw", "fkamael_throw");
            }
            info = (SkillsoundgrpInfo)base.ReadFieldValue(f, info, "RESERVED_throw", "sound_rad");
            return(info);
        }