protected override void ReadLine(BinaryReader reader) { EnhanceMaster.RowData rowData = new EnhanceMaster.RowData(); base.Read <uint>(reader, ref rowData.ProfessionId, CVSReader.uintParse); this.columnno = 0; base.Read <uint>(reader, ref rowData.TotalEnhanceLevel, CVSReader.uintParse); this.columnno = 1; base.ReadSeqList <uint>(reader, ref rowData.Attribute, CVSReader.uintParse); this.columnno = 2; this.Table.Add(rowData); this.columnno = -1; }
protected override bool OnLine(string[] Fields) { EnhanceMaster.RowData rowData = new EnhanceMaster.RowData(); if (!base.Parse(Fields[this.ColMap[0]], ref rowData.ProfessionId)) { return(false); } if (!base.Parse(Fields[this.ColMap[1]], ref rowData.TotalEnhanceLevel)) { return(false); } if (!base.Parse <uint>(Fields[this.ColMap[2]], ref rowData.Attribute, CVSReader.uintParse, "2U")) { return(false); } this.Table.Add(rowData); return(true); }