예제 #1
0
        public Exception WriteSaveGame(string gamePath)
        {
            _game.ModifyVariables();

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

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

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

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