protected override void ReadLine(BinaryReader reader) { GuildChallegeTable.RowData rowData = new GuildChallegeTable.RowData(); base.Read <int>(reader, ref rowData.GuildRank, CVSReader.intParse); this.columnno = 0; base.Read <int>(reader, ref rowData.Mantime, CVSReader.intParse); this.columnno = 1; base.ReadSeqList <int>(reader, ref rowData.Reward, CVSReader.intParse); this.columnno = 2; this.Table.Add(rowData); this.columnno = -1; }
protected override bool OnLine(string[] Fields) { GuildChallegeTable.RowData rowData = new GuildChallegeTable.RowData(); if (!base.Parse(Fields[this.ColMap[0]], ref rowData.GuildRank)) { return(false); } if (!base.Parse(Fields[this.ColMap[1]], ref rowData.Mantime)) { return(false); } if (!base.Parse <int>(Fields[this.ColMap[2]], ref rowData.Reward, CVSReader.intParse, "2I")) { return(false); } this.Table.Add(rowData); return(true); }