CloudOnce v2.7.5
Unified Game Services API
CloudOnce.Internal.CloudOnceEvents Class Reference

Public Member Functions

void RaiseOnInitializeComplete ()
 Raises the OnInitializeComplete event.
 
void RaiseOnSignedInChanged (bool isSignedIn)
 Raises the OnSignedInChanged event.
 
void RaiseOnSignInFailed ()
 Raises the OnSignInFailed event.
 
void RaiseOnPlayerImageDownloaded (Texture2D playerImage)
 Raises the OnPlayerImageDownloaded event.
 
void RaiseOnCloudSaveComplete (bool success)
 Raises the OnCloudSaveComplete event. More...
 
void RaiseOnCloudLoadComplete (bool success)
 Raises the OnCloudLoadComplete event. More...
 
void RaiseOnNewCloudValues (string[] changedKeys)
 Raises the OnNewCloudValues event. More...
 

Events

UnityAction OnInitializeComplete
 Raised once the current platforms Initialize method is done.
 
UnityAction< bool > OnSignedInChanged
 Raised after player signed in status changed. Parameter indicates whether the player was signed in or out.
 
UnityAction OnSignInFailed
 Raised after an unsuccessful sign in attempt.
 
UnityAction< Texture2D > OnPlayerImageDownloaded
 Raised if the currently signed in player's profile picture is successfully downloaded.
 
UnityAction< bool > OnCloudSaveComplete
 Raised after an attempt has been made to save cloud data. Parameter indicates success.
 
UnityAction< bool > OnCloudLoadComplete
 Raised after an attempt has been made to load cloud data. Parameter indicates success.
 
UnityAction< string[]> OnNewCloudValues
 Raised if local data is changed as a result of loading cloud data. Returns a string array of the changed internal IDs.
 

Member Function Documentation

◆ RaiseOnCloudLoadComplete()

void CloudOnce.Internal.CloudOnceEvents.RaiseOnCloudLoadComplete ( bool  success)
inline

Raises the OnCloudLoadComplete event.

Parameters
successIf the load was successful or not.

◆ RaiseOnCloudSaveComplete()

void CloudOnce.Internal.CloudOnceEvents.RaiseOnCloudSaveComplete ( bool  success)
inline

Raises the OnCloudSaveComplete event.

Parameters
successIf the save was successful or not.

◆ RaiseOnNewCloudValues()

void CloudOnce.Internal.CloudOnceEvents.RaiseOnNewCloudValues ( string[]  changedKeys)
inline

Raises the OnNewCloudValues event.

Parameters
changedKeysA string array of the changed internal IDs.

The documentation for this class was generated from the following file: