Beispiel #1
0
 protected override void ReadLine(BinaryReader reader)
 {
     CharacterAttributesList.RowData rowData = new CharacterAttributesList.RowData();
     base.Read <uint>(reader, ref rowData.AttributeID, CVSReader.uintParse);
     this.columnno = 0;
     base.Read <string>(reader, ref rowData.Section, CVSReader.stringParse);
     this.columnno = 1;
     this.Table.Add(rowData);
     this.columnno = -1;
 }
Beispiel #2
0
 protected override bool OnLine(string[] Fields)
 {
     CharacterAttributesList.RowData rowData = new CharacterAttributesList.RowData();
     if (!base.Parse(Fields[this.ColMap[0]], ref rowData.AttributeID))
     {
         return(false);
     }
     if (!base.Parse(Fields[this.ColMap[1]], ref rowData.Section))
     {
         return(false);
     }
     this.Table.Add(rowData);
     return(true);
 }