UCloudStorageBase::ParseDocumentAsObject

Once a document has been read in, use this to return a string representing the entire document.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/CloudStorageBase.h

Include

#include "Engine/CloudStorageBase.h"

Source

/Engine/Source/Runtime/Engine/Private/ScriptPlatformInterface.cpp

Syntax

virtual UObject * ParseDocumentAsObject
(
    int32 Index,
    TSubclassOf< class UObject > ObjectClass,
    int32 ExpectedVersion,
    bool bIsForConflict
)

Remarks

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.

Returns

The object deserialized from the document. It will be none if anything went wrongs.

Parameters

Parameter

Description

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss