protected override bool OnLine(string[] Fields) { GuildMineralStorage.RowData rowData = new GuildMineralStorage.RowData(); if (!base.Parse(Fields[this.ColMap[0]], ref rowData.ID)) { return(false); } if (!base.Parse(Fields[this.ColMap[1]], ref rowData.itemid)) { return(false); } if (!base.Parse(Fields[this.ColMap[2]], ref rowData.effect)) { return(false); } if (!base.Parse(Fields[this.ColMap[3]], ref rowData.self)) { return(false); } if (!base.Parse(Fields[this.ColMap[4]], ref rowData.bufficon)) { return(false); } if (!base.Parse(Fields[this.ColMap[5]], ref rowData.buffdescribe)) { return(false); } this.Table.Add(rowData); return(true); }
protected override void ReadLine(BinaryReader reader) { GuildMineralStorage.RowData rowData = new GuildMineralStorage.RowData(); base.Read <uint>(reader, ref rowData.ID, CVSReader.uintParse); this.columnno = 0; base.Read <uint>(reader, ref rowData.itemid, CVSReader.uintParse); this.columnno = 1; base.Read <string>(reader, ref rowData.effect, CVSReader.stringParse); this.columnno = 2; base.Read <uint>(reader, ref rowData.self, CVSReader.uintParse); this.columnno = 3; base.Read <string>(reader, ref rowData.bufficon, CVSReader.stringParse); this.columnno = 4; base.Read <string>(reader, ref rowData.buffdescribe, CVSReader.stringParse); this.columnno = 5; this.Table.Add(rowData); this.columnno = -1; }