BoardSaveGameManager.CreateSaveGame(byte[],BoardSaveGameMetadataChange) - Board Docs
Board
Board.Save. BoardSaveGameManager
BoardSaveGameManager.CreateSaveGame(byte[], BoardSaveGameMetadataChange) Method
Creates a saved game with the specified payload and metadata, returning the metadata for the saved game.
public static System.Threading.Tasks.Task<Board.Save.BoardSaveGameMetadata> CreateSaveGame(byte[] payload, Board.Save.BoardSaveGameMetadataChange metadataChange);
Parameters
payload System.Byte []
The save game payload (serialized game state).
metadataChange BoardSaveGameMetadataChange
The metadata for the save game.
Returns
System.Threading.Tasks.Task< BoardSaveGameMetadata >
The task object representing the asynchronous operation.
Exceptions
System.ArgumentNullException
payload or metadataChange is null.
Remarks
The save game is automatically associated with players.