Beamable SDK
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
Beamable.Api.CloudSaving.CloudSavingService Class Reference
Inheritance diagram for Beamable.Api.CloudSaving.CloudSavingService:
Inheritance graph
[legend]
Collaboration diagram for Beamable.Api.CloudSaving.CloudSavingService:
Collaboration graph
[legend]

Public Member Functions

 CloudSavingService (PlatformService platform, PlatformRequester requester, CoroutineService coroutineService)
 
Promise< UnitInit (int pollingIntervalSecs=10)
 
Promise< UnitReinitializeUserData (int pollingIntervalSecs=10)
 
Promise< ManifestResponseEnsureRemoteManifest ()
 
- Public Member Functions inherited from Beamable.Api.PlatformSubscribable< ManifestResponse, ManifestResponse >
PlatformSubscription< Data > Subscribe (Action< Data > callback)
 
PlatformSubscription< Data > Subscribe (string scope, Action< Data > callback)
 
Data GetLatest ()
 
Data GetLatest (string scope)
 
Promise< Data > GetCurrent (string scope="")
 
void Notify (Data data)
 
void Notify (string scope, Data data)
 

Public Attributes

Action< ManifestResponseUpdateReceived
 
Action< CloudSavingErrorOnError
 
string LocalCloudDataFullPath => localCloudDataPath.dataPath
 

Protected Member Functions

override string CreateRefreshUrl (string scope=null)
 
override Promise< ManifestResponseExecuteRequest (IBeamableRequester requester, string url)
 
override void OnRefresh (ManifestResponse data)
 
- Protected Member Functions inherited from Beamable.Api.PlatformSubscribable< ManifestResponse, ManifestResponse >
 PlatformSubscribable (IPlatformService platform, IBeamableRequester requester, string service, BeamableGetApiResource< ScopedRsp > getter=null)
 
Promise< UnitRefresh ()
 
Promise< UnitRefresh (string scope)
 
virtual Promise< ScopedRsp > ExecuteRequest (IBeamableRequester requester, string url)
 
abstract void OnRefresh (ScopedRsp data)
 
void ScheduleRefresh (long seconds, string scope)
 
void Unsubscribe (string scope, PlatformSubscription< Data > subscription)
 

Additional Inherited Members

- Protected Attributes inherited from Beamable.Api.PlatformSubscribable< ManifestResponse, ManifestResponse >
IPlatformService platform
 
IBeamableRequester requester
 
BeamableGetApiResource< ScopedRsp > getter
 

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