Beamable SDK
|
Public Member Functions | |
CloudSavingService (PlatformService platform, PlatformRequester requester, CoroutineService coroutineService) | |
Promise< Unit > | Init (int pollingIntervalSecs=10) |
Promise< Unit > | ReinitializeUserData (int pollingIntervalSecs=10) |
Promise< ManifestResponse > | EnsureRemoteManifest () |
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< ManifestResponse > | UpdateReceived |
Action< CloudSavingError > | OnError |
string | LocalCloudDataFullPath => localCloudDataPath.dataPath |
bool | isInitializing = false |
Protected Member Functions | |
override string | CreateRefreshUrl (string scope=null) |
override Promise< ManifestResponse > | ExecuteRequest (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) | |
virtual void | Reset () |
Promise< Unit > | Refresh () |
Promise< Unit > | Refresh (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 |