예제 #1
0
        /// <summary>
        /// Deletes a specific saved game.
        /// </summary>
        public static void DeleteSavedGame(ISN_GKSavedGame game, Action <SA_Result> callback)
        {
            m_onDeleteSavedGameComplete += callback;

            ISN_GKLib.API.DeleteSavedGame(game, (SA_Result result) => {
                m_onDeleteSavedGameComplete.Invoke(result);
                m_onDeleteSavedGameComplete = delegate { };
            });
        }
예제 #2
0
        /// <summary>
        /// Loads specific saved game data.
        /// </summary>
        public static void LoadGameData(ISN_GKSavedGame game, Action <ISN_GKSavedGameLoadResult> callback)
        {
            m_onLoadGameDataComplete += callback;

            ISN_GKLib.API.LoadGameData(game, (ISN_GKSavedGameLoadResult result) => {
                m_onLoadGameDataComplete.Invoke(result);
                m_onLoadGameDataComplete = delegate { };
            });
        }
예제 #3
0
 public ISN_GKSavedGameSaveResult(ISN_GKSavedGame savedGame)
 {
     m_savedGame = savedGame;
 }