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