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