Exemplo n.º 1
0
        public Exception WriteSaveGame(string gamePath)
        {
            _game.ModifyVariables();

            var result = _game.WriteSaveGame(gamePath, true);

            return(!result?QSPGameWorld.GetLastError() : null);
        }
Exemplo n.º 2
0
        public Exception OpenGame(string gamePath)
        {
            var result = _game.LoadGameWorld(gamePath);

            return(!result?QSPGameWorld.GetLastError() : null);
        }
Exemplo n.º 3
0
        public Exception LoadSave(string savepath)
        {
            var result = _game.OpenSavedGame(savepath, true);

            return(!result?QSPGameWorld.GetLastError() : null);
        }