Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UCloudStorageBase
Description
Once a document has been read in, use this to return a string representing the entire document. This should only be used if SaveDocumentWithString was used to generate the document.
| Name | ParseDocumentAsObject |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/CloudStorageBase.h |
| Include Path | #include "Engine/CloudStorageBase.h" |
| Source | /Engine/Source/Runtime/Engine/Private/ScriptPlatformInterface.cpp |
virtual UObject * ParseDocumentAsObject
(
int32 Index,
TSubclassOf < class UObject > ObjectClass,
int32 ExpectedVersion,
bool bIsForConflict
)
The object deserialized from the document. It will be none if anything went wrongs.
Parameters
| Name | Remarks |
|---|---|
| Index | index of the document to read. |
| ExpectedVersion | Version number expected to be in the save data. If this doesn't match what's there, this function will return nullptr. |
| ObjectClass | The class of the object to create. |