Enumerations
This section lists all enumerations used throughout the PloxTools: Google Play Games Services plugin. These enums mirror concepts and constants defined by the official Google Play Games Services APIs and provide a clear, type-safe way to work with achievements, leaderboards, and saved games in Unreal Engine.
The enumerations are shared consistently across Blueprint and C++ APIs and are used for configuration, querying, conflict resolution, and error handling.
Achievements
EGooglePlayAchievementState
Represents the current visibility and completion state of a Google Play achievement.
| Name | Description |
|---|---|
| Hidden | The achievement is hidden and not visible to the player. |
| Revealed | The achievement is visible but not yet completed. |
| Unlocked | The achievement has been fully unlocked. |
EGooglePlayAchievementType
Defines the type of a Google Play achievement.
| Name | Description |
|---|---|
| Standard | A one-time achievement that can be unlocked once. |
| Incremental | An achievement that requires multiple incremental steps to complete. |
Leaderboards
EGooglePlayLeaderboardCollection
Defines which leaderboard collection is used when querying scores.
| Name | Description |
|---|---|
| Default | The default leaderboard collection defined by Google Play. |
| Public | A public leaderboard including all players. |
| Friends | A leaderboard restricted to the player’s friends. |
EGooglePlayLeaderboardTimeSpan
Defines the time range used when querying leaderboard scores.
| Name | Description |
|---|---|
| Default | The default time span defined by Google Play. |
| Daily | Scores recorded for the current day. |
| Weekly | Scores recorded for the current week. |
| AllTime | Scores recorded across the entire lifetime of the leaderboard. |
EGooglePlayLeaderboardScoreOrder
Defines how leaderboard scores are ordered.
| Name | Description |
|---|---|
| LargerIsBetter | Higher score values represent better results. |
| SmallerIsBetter | Lower score values represent better results. |
Saved Games
EGooglePlaySavedGameResolveStrategy
Defines how a saved game conflict should be resolved when using manual conflict handling.
| Name | Description |
|---|---|
| UseLocal | Use the local saved game data. |
| UseRemote | Use the remote cloud saved game data. |
| UseCustom | Use custom data provided by the developer. |
EGooglePlaySavedGameConflictPolicy
Defines automatic conflict resolution policies provided by Google Play.
| Name | Description |
|---|---|
| Manual | Conflicts must be resolved manually by the developer. |
| LongestPlaytime | Selects the snapshot with the longest recorded playtime. |
| LastKnownGood | Selects the last known good snapshot. |
| MostRecentlyModified | Selects the most recently modified snapshot. |
| HighestProgress | Selects the snapshot with the highest progress value. |
EGooglePlaySavedGameError
Enumerates possible errors returned by Google Play Saved Games operations.
| Name | Description |
|---|---|
| SelectSnapshotFailed | Failed to select a snapshot. |
| OpenSnapshotFailed | Failed to open a snapshot. |
| CommitSnapshotFailed | Failed to commit snapshot changes. |
| ReadSnapshotFailed | Failed to read snapshot data. |
| DeleteSnapshotFailed | Failed to delete a snapshot. |
| LoadSnapshotFailed | Failed to load the snapshots list. |
| ResolveConflictFailed | Failed to resolve a snapshot conflict. |
| NotSignedIn | The user is not signed in to Google Play Games. |
| Unknown | An unknown or unspecified error occurred. |