Board

Board.Save.BoardSaveGameManager

BoardSaveGameManager.LoadSaveGame(string) Method

Loads and returns a saved game’s payload.

public static System.Threading.Tasks.Task<byte[]> LoadSaveGame(string saveId);

Parameters

saveId System.String

The unique identifier for the saved game to load.

Returns

System.Threading.Tasks.Task<System.Byte[]>
The task object representing the asynchronous operation, returning the payload bytes.

Exceptions

System.ArgumentNullException
saveId is null or empty.

System.InvalidOperationException
The load save game operation fails.

Remarks

Loading a save game automatically activates the players associated with the save game, replacing missing profiles with guest players. Therefore, expect to receive an event for the players to be updated when the save game is loaded.