Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 public SaveWindowSplitElement(LoadSaveInfo info, WindowBuilderSplit w) : base(info, w)
 {
 }
Exemplo n.º 3
0
 public LoadWindowSplitElement(LoadSaveInfo info, WindowBuilderSplit w) : base(info.name, "file")
 {
     this.info = info;
     this.w    = w;
 }