Snapshot Metadata

The SnapshotMetadata struct is designed to mimic the SnapshotMetadata provided by the Google Play Services SDK for the Snapshots service. It contains various additional pieces of information about a snapshot.

The read and write fields of the SnapshotMetadata struct are Description, PlayedTime and ProgressValue. These values can be changed during save and conflict resolution actions. The PlayedTime and ProgressValue fields can work with the provided Conflict Resolution Policies RESOLUTION_POLICY_LONGEST_PLAYTIME and RESOLUTION_POLICY_HIGHEST_PROGRESS respectively.

The read only fields of the SnapshotMetadata struct are SnapshotID, UniqueName, Title, LastModifiedTimestamp and DeviceName. These values cannot be changed, with the exception of LastModifiedTimestamp and DeviceName which automatically get updated when overwriting a Snapshot with the Saving a Game blueprint node.

By using the Fetch Games blueprint node, developers can easily retrieve and store information about their game's snapshots, and use it to build a better gaming experience for their users.

Field Type Description
Description FString A brief description of the saved game data.
Defined when Saving a Game.
PlayedTime int64 A value indicating how long the player has played with this Snapshot.
Used with Resolution Policy RESOLUTION_POLICY_LONGEST_PLAYTIME.
Defined when Saving a Game.
ProgressValue int64 A value indicating how far the player has progressed with this Snapshot.
Used with Resolution Policy RESOLUTION_POLICY_HIGHEST_PROGRESS.
Defined when Saving a Game.
SnapshotID FString The players Google Drive ID for the Snapshot.
UniqueName FString The Slot Name of the Snapshot.
Title FString The Slot Name of the Snapshot.
LastModifiedTimestamp int64 The date and time when the snapshot was last modified represented in unix time.
DeviceName FString The model of the device used when creating the Snapshot.