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