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