Skip to content

CloudStorageBase

Class in Engine · Engine.CloudStorageBase · native

Object › PlatformInterfaceBase › CloudStorageBase

Using it from Lua
h7.find_all("CloudStorageBase")            -- live instances
h7.find_class("Engine.CloudStorageBase")   -- the class
h7.hook("Engine.CloudStorageBase.CreateCloudDocument", fn)

Enums

ECloudStorageDelegate

CSD_KeyValueReadComplete = 0, CSD_KeyValueWriteComplete = 1, CSD_ValueChanged = 2, CSD_DocumentQueryComplete = 3, CSD_DocumentReadComplete = 4, CSD_DocumentWriteComplete = 5, CSD_DocumentConflictDetected = 6

Properties

NameTypeNotes
bSuppressDelegateCallsbool
LocalCloudFilesarray

Functions

NameDeclaration
CreateCloudDocumentnative event int CreateCloudDocument(string Filename)
DeleteAllCloudDocumentsnative event DeleteAllCloudDocuments()
GetCloudDocumentNamenative event string GetCloudDocumentName(int Index)
GetNumCloudDocumentsnative event int GetNumCloudDocuments(optional bool bIsForConflict)
Initnative event Init()
IsStillWritingFilesnative event bool IsStillWritingFiles()
IsUsingLocalStoragenative function bool IsUsingLocalStorage()
ParseDocumentAsBytesnative event ParseDocumentAsBytes(int Index, out array ByteData, optional bool bIsForConflict)
ParseDocumentAsObjectnative event object ParseDocumentAsObject(int Index, class ObjectClass, int ExpectedVersion, optional bool bIsForConflict)
ParseDocumentAsStringnative event string ParseDocumentAsString(int Index, optional bool bIsForConflict)
QueryForCloudDocumentsnative event bool QueryForCloudDocuments()
ReadCloudDocumentnative event bool ReadCloudDocument(int Index, optional bool bIsForConflict)
ReadKeyValuenative event bool ReadKeyValue(string KeyName, EPlatformInterfaceDataType Type, out PlatformInterfaceDelegateResult Value)
ReadKeyValueFromLocalStorenative event bool ReadKeyValueFromLocalStore(string KeyName, EPlatformInterfaceDataType Type, out PlatformInterfaceDelegateResult Value)
ResolveConflictWithNewestDocumentnative event bool ResolveConflictWithNewestDocument()
ResolveConflictWithVersionIndexnative event bool ResolveConflictWithVersionIndex(int Index)
SaveDocumentWithBytesnative event bool SaveDocumentWithBytes(int Index, array ByteData)
SaveDocumentWithObjectnative event bool SaveDocumentWithObject(int Index, object ObjectData, int SaveVersion)
SaveDocumentWithStringnative event bool SaveDocumentWithString(int Index, string StringData)
UpgradeLocalStorageToCloudnative event bool UpgradeLocalStorageToCloud(CloudStorageUpgradeHelper UpgradeHelper, optional bool bForceSearchAgain)
WaitForWritesToFinishnative event bool WaitForWritesToFinish(optional float MaxTimeSeconds)
WriteCloudDocumentnative event bool WriteCloudDocument(int Index)
WriteKeyValuenative event bool WriteKeyValue(string KeyName, const out PlatformInterfaceData Value)

Inherited

FromMembers
PlatformInterfaceBase1 properties, 14 functions
Object13 properties, 308 functions