コード例 #1
0
 protected override void ReadLine(BinaryReader reader)
 {
     PkRankTable.RowData rowData = new PkRankTable.RowData();
     base.ReadSeq <uint>(reader, ref rowData.rank, CVSReader.uintParse);
     this.columnno = 0;
     base.ReadSeqList <uint>(reader, ref rowData.reward, CVSReader.uintParse);
     this.columnno = 1;
     this.Table.Add(rowData);
     this.columnno = -1;
 }
コード例 #2
0
 protected override bool OnLine(string[] Fields)
 {
     PkRankTable.RowData rowData = new PkRankTable.RowData();
     if (!base.Parse <uint>(Fields[this.ColMap[0]], ref rowData.rank, CVSReader.uintParse, "2U"))
     {
         return(false);
     }
     if (!base.Parse <uint>(Fields[this.ColMap[1]], ref rowData.reward, CVSReader.uintParse, "2U"))
     {
         return(false);
     }
     this.Table.Add(rowData);
     return(true);
 }