예제 #1
0
 protected override void ReadLine(BinaryReader reader)
 {
     HeroBattleMatch.RowData rowData = new HeroBattleMatch.RowData();
     base.ReadSeq <uint>(reader, ref rowData.PointBlock, CVSReader.uintParse);
     this.columnno = 0;
     base.Read <uint>(reader, ref rowData.ExpandTime, CVSReader.uintParse);
     this.columnno = 1;
     base.Read <uint>(reader, ref rowData.SearchTime, CVSReader.uintParse);
     this.columnno = 2;
     this.Table.Add(rowData);
     this.columnno = -1;
 }
예제 #2
0
 protected override bool OnLine(string[] Fields)
 {
     HeroBattleMatch.RowData rowData = new HeroBattleMatch.RowData();
     if (!base.Parse <uint>(Fields[this.ColMap[0]], ref rowData.PointBlock, CVSReader.uintParse, "2U"))
     {
         return(false);
     }
     if (!base.Parse(Fields[this.ColMap[1]], ref rowData.ExpandTime))
     {
         return(false);
     }
     if (!base.Parse(Fields[this.ColMap[2]], ref rowData.SearchTime))
     {
         return(false);
     }
     this.Table.Add(rowData);
     return(true);
 }