Ejemplo n.º 1
0
 private void LoadData()
 {
     for (int i = 0;
          i < this._saveTitles.Count;
          i++)
     {
         Stream stream = new FileStream($"Data/{this._saveTitles[i]}{ExtensionHelper.GetExtension()}", FileMode.Open, FileAccess.Read);
         Save   save   = (Save)this._serializer.Deserialize(stream);
         this._saves.Add(save);
         stream.Close();
     }
 }
Ejemplo n.º 2
0
 public string GetPath()
 {
     return($"{PATH}{this._club.Name}{ExtensionHelper.GetExtension()}"); //CUSTOM extension
 }