GooglePlayGames. BasicApi. SavedGame. SavedGameMetadataUpdate. Builder
A builder for constructing instances of SavedGameMetadataUpdate.
Summary
Public functions |
|
---|---|
Build()
|
Builds a new SavedGameMetadataUpdate instance with the configured updates.
|
WithUpdatedDescription(string description)
|
Sets the description to be updated in the saved game metadata.
|
WithUpdatedPlayedTime(TimeSpan newPlayedTime)
|
Sets the played time to be updated in the saved game metadata.
|
WithUpdatedPngCoverImage(byte[] newPngCoverImage)
|
Sets the PNG cover image to be updated in the saved game metadata.
|
Public functions
Build
SavedGameMetadataUpdate GooglePlayGames::BasicApi::SavedGame::SavedGameMetadataUpdate::Builder::Build()
Builds a new SavedGameMetadataUpdate instance with the configured updates.
Details | |
---|---|
Returns |
A new instance of SavedGameMetadataUpdate.
|
WithUpdatedDescription
Builder GooglePlayGames::BasicApi::SavedGame::SavedGameMetadataUpdate::Builder::WithUpdatedDescription( string description )
Sets the description to be updated in the saved game metadata.
Details | |||
---|---|---|---|
Parameters |
|
||
Returns |
The builder with the updated description.
|
WithUpdatedPlayedTime
Builder GooglePlayGames::BasicApi::SavedGame::SavedGameMetadataUpdate::Builder::WithUpdatedPlayedTime( TimeSpan newPlayedTime )
Sets the played time to be updated in the saved game metadata.
Details | |||
---|---|---|---|
Parameters |
|
||
Exceptions |
|
||
Returns |
The builder with the updated played time.
|
WithUpdatedPngCoverImage
Builder GooglePlayGames::BasicApi::SavedGame::SavedGameMetadataUpdate::Builder::WithUpdatedPngCoverImage( byte[] newPngCoverImage )
Sets the PNG cover image to be updated in the saved game metadata.
Details | |||
---|---|---|---|
Parameters |
|
||
Returns |
The builder with the updated cover image.
|