Loading a Game

This is an asynchronous function which allows you to load a game from a Snapshot stored in Google Play Services.

The parameters include the name of the slot to load from and a conflict resolution policy to be used.
Once the asynchronous operation has completed, one of two delegates will be called to handle the success and failure situations.

1

Slot Name

The slot name is a string that uniquely identifies the slot to be loaded. A slot represents a specific point in time that the game was saved.

2

Conflict Resolution Policy

The Resolution Policy to be used when there is a conflict between the locally saved snapshot and the snapshot stored on the server. This policy determines which snapshot will be used and how the conflict will be resolved behind the scenes.

3

On Game Data Retrieved

A delegate with a Snapshot parameter containing both the UObject* and SnapshotMetadata.
The UObject* must be cast to the appropriate object which it was saved as and the metadata can be used later when Saving the Game to update the PlayedTime and ProgressValue's appropriately. You can simply click and drag this pin to create a custom event.

4

On Failure

A delegate that will be called if there is an error during the snapshot load operation. The delegate will produce an Snapshot Error type for the developer to handle appropriately. You can simply click and drag this pin to create a custom event.