CloudStorageBase¶
Class in Engine · Engine.CloudStorageBase · native
Object › PlatformInterfaceBase › CloudStorageBase
Using it from Lua
Enums¶
ECloudStorageDelegate
CSD_KeyValueReadComplete = 0, CSD_KeyValueWriteComplete = 1, CSD_ValueChanged = 2, CSD_DocumentQueryComplete = 3, CSD_DocumentReadComplete = 4, CSD_DocumentWriteComplete = 5, CSD_DocumentConflictDetected = 6
Properties¶
| Name | Type | Notes |
|---|---|---|
bSuppressDelegateCalls | bool | |
LocalCloudFiles | array |
Functions¶
| Name | Declaration |
|---|---|
CreateCloudDocument | native event int CreateCloudDocument(string Filename) |
DeleteAllCloudDocuments | native event DeleteAllCloudDocuments() |
GetCloudDocumentName | native event string GetCloudDocumentName(int Index) |
GetNumCloudDocuments | native event int GetNumCloudDocuments(optional bool bIsForConflict) |
Init | native event Init() |
IsStillWritingFiles | native event bool IsStillWritingFiles() |
IsUsingLocalStorage | native function bool IsUsingLocalStorage() |
ParseDocumentAsBytes | native event ParseDocumentAsBytes(int Index, out array |
ParseDocumentAsObject | native event object ParseDocumentAsObject(int Index, class ObjectClass, int ExpectedVersion, optional bool bIsForConflict) |
ParseDocumentAsString | native event string ParseDocumentAsString(int Index, optional bool bIsForConflict) |
QueryForCloudDocuments | native event bool QueryForCloudDocuments() |
ReadCloudDocument | native event bool ReadCloudDocument(int Index, optional bool bIsForConflict) |
ReadKeyValue | native event bool ReadKeyValue(string KeyName, EPlatformInterfaceDataType Type, out PlatformInterfaceDelegateResult Value) |
ReadKeyValueFromLocalStore | native event bool ReadKeyValueFromLocalStore(string KeyName, EPlatformInterfaceDataType Type, out PlatformInterfaceDelegateResult Value) |
ResolveConflictWithNewestDocument | native event bool ResolveConflictWithNewestDocument() |
ResolveConflictWithVersionIndex | native event bool ResolveConflictWithVersionIndex(int Index) |
SaveDocumentWithBytes | native event bool SaveDocumentWithBytes(int Index, array |
SaveDocumentWithObject | native event bool SaveDocumentWithObject(int Index, object ObjectData, int SaveVersion) |
SaveDocumentWithString | native event bool SaveDocumentWithString(int Index, string StringData) |
UpgradeLocalStorageToCloud | native event bool UpgradeLocalStorageToCloud(CloudStorageUpgradeHelper UpgradeHelper, optional bool bForceSearchAgain) |
WaitForWritesToFinish | native event bool WaitForWritesToFinish(optional float MaxTimeSeconds) |
WriteCloudDocument | native event bool WriteCloudDocument(int Index) |
WriteKeyValue | native event bool WriteKeyValue(string KeyName, const out PlatformInterfaceData Value) |
Inherited¶
| From | Members |
|---|---|
| PlatformInterfaceBase | 1 properties, 14 functions |
| Object | 13 properties, 308 functions |