public static LoadSaveInfo UpdateSave(string file, string name) { Debug.Log($"UpdateSave {file}"); //Collect infos LoadSaveInfo s = new LoadSaveInfo(); s.date = DateTime.Now; s.name = name; s.round = S.Round().GetRoundString(); s.version = Application.version; s.file = file; ES3.Save <LoadSaveInfo>("info", s, file + "info.9n"); ES3.Save <L>("lib", L.b, file + "lib.9n"); ES3.Save <GameData>("game", GameMgmt.Get().data, file + "game.9n"); return(s); }
public SaveWindowSplitElement(LoadSaveInfo info, WindowBuilderSplit w) : base(info, w) { }
public LoadWindowSplitElement(LoadSaveInfo info, WindowBuilderSplit w) : base(info.name, "file") { this.info = info; this.w = w; }