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