GooglePlayGames. BasicApi. SavedGame. IConflictResolver
An interface that allows developers to resolve metadata conflicts that may be encountered while opening saved games.
Summary
Public functions |
|
---|---|
ChooseMetadata(ISavedGameMetadata chosenMetadata)
|
void
Resolves the conflict by choosing the passed metadata to be canonical.
|
ResolveConflict(ISavedGameMetadata chosenMetadata, SavedGameMetadataUpdate metadataUpdate, byte[] updatedData)
|
void
Resolves the conflict and updates the data.
|
Public functions
ChooseMetadata
void ChooseMetadata( ISavedGameMetadata chosenMetadata )
Resolves the conflict by choosing the passed metadata to be canonical.
The passed metadata must be one of the two instances passed as parameters into ConflictCallback - this instance will be kept as the cannonical value in the cloud.
Details | |||
---|---|---|---|
Parameters |
|
ResolveConflict
void ResolveConflict( ISavedGameMetadata chosenMetadata, SavedGameMetadataUpdate metadataUpdate, byte[] updatedData )
Resolves the conflict and updates the data.
Details | |||||||
---|---|---|---|---|---|---|---|
Parameters |
|