public IGCSVLine SaveAsGCSV(IGCSVHeader header) { IGCSVLine line = new GCSVLine(header); this.Save(line); return line; }
public UnitBattleResultData(GCSVLine line) { Load(line); }
public UnitData(GCSVLine line) { Load(line); }
public OrganizationBattleResultData(GCSVLine line) { Load(line); }
public PreviousCommanderData(GCSVLine line) { Load(line); }
/// <summary> /// Adds the line to the list, and adds it to the index. /// </summary> public new void Add(GCSVLine line) { base.Add(line); if (!m_index.ContainsKey(line[m_indexKey])) m_index.Add(line[m_indexKey], base.Count - 1); }
/// <summary> /// Copy this GCSVLine to a new format with the given header. /// Will fill the empty slots with the default values from /// the given header. /// </summary> public GCSVLine ChangeHeader(IGCSVHeader newHeader) { GCSVLine newLine = new GCSVLine(newHeader); foreach (var column in newHeader.Keys) { string key = column; if (this.m_header.ContainsKey(key)) newLine[key] = this[key]; else newLine[key] = ""; } return newLine; }
public CommanderData(GCSVLine line) { Load(line); }
public OrganizationTurnData(GCSVLine line) { Load(line); }
public CommanderBattleResultData(GCSVLine line) { Load(line); }