Exemplo n.º 1
0
 protected override void ReadLine(BinaryReader reader)
 {
     EmblemLevelTable.RowData rowData = new EmblemLevelTable.RowData();
     base.Read <uint>(reader, ref rowData.EmblemLevel, CVSReader.uintParse);
     this.columnno = 0;
     base.Read <uint>(reader, ref rowData.EXP0, CVSReader.uintParse);
     this.columnno = 1;
     base.Read <uint>(reader, ref rowData.EXP1, CVSReader.uintParse);
     this.columnno = 2;
     base.Read <uint>(reader, ref rowData.EXP2, CVSReader.uintParse);
     this.columnno = 3;
     base.Read <uint>(reader, ref rowData.EXP3, CVSReader.uintParse);
     this.columnno = 4;
     base.Read <uint>(reader, ref rowData.EXP4, CVSReader.uintParse);
     this.columnno = 5;
     base.Read <uint>(reader, ref rowData.EXP5, CVSReader.uintParse);
     this.columnno = 6;
     base.Read <float>(reader, ref rowData.Advance, CVSReader.floatParse);
     this.columnno = 7;
     this.Table.Add(rowData);
     this.columnno = -1;
 }
Exemplo n.º 2
0
 protected override bool OnLine(string[] Fields)
 {
     EmblemLevelTable.RowData rowData = new EmblemLevelTable.RowData();
     if (!base.Parse(Fields[this.ColMap[0]], ref rowData.EmblemLevel))
     {
         return(false);
     }
     if (!base.Parse(Fields[this.ColMap[1]], ref rowData.EXP0))
     {
         return(false);
     }
     if (!base.Parse(Fields[this.ColMap[2]], ref rowData.EXP1))
     {
         return(false);
     }
     if (!base.Parse(Fields[this.ColMap[3]], ref rowData.EXP2))
     {
         return(false);
     }
     if (!base.Parse(Fields[this.ColMap[4]], ref rowData.EXP3))
     {
         return(false);
     }
     if (!base.Parse(Fields[this.ColMap[5]], ref rowData.EXP4))
     {
         return(false);
     }
     if (!base.Parse(Fields[this.ColMap[6]], ref rowData.EXP5))
     {
         return(false);
     }
     if (!base.Parse(Fields[this.ColMap[7]], ref rowData.Advance))
     {
         return(false);
     }
     this.Table.Add(rowData);
     return(true);
 }