/// <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 { }; }); }
/// <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 { }; }); }
public ISN_GKSavedGameSaveResult(ISN_GKSavedGame savedGame) { m_savedGame = savedGame; }