UMagicLeapSecureStorage::GetSecureSaveGame

Retrieves a [USaveGame](API\Runtime\Engine\GameFramework\USaveGame) object associated with the specified key.

Windows
MacOS
Linux

References

Module

MagicLeapSecureStorage

Header

/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeapSecureStorage/Public/MagicLeapSecureStorage.h

Include

#include "MagicLeapSecureStorage.h"

Source

/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeapSecureStorage/Private/MagicLeapSecureStorage.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable,
          Meta=(DeprecatedFunction, DeprecationMessage="This function has been replaced by `UGameplayStatics::SaveGameToSlot()`"),
          Category="SecureStorage|MagicLeap")
static bool GetSecureSaveGame
(
    const FString & Key,
    USaveGame *& ObjectToRetrieve
)

Remarks

Retrieves a USaveGame object associated with the specified key.

Returns

True if the key was found and output parameter was successfully populated with the data, false otherwise.

Parameters

Parameter

Description

Key

The string key to look for.

ObjectToRetrieve

Reference to a USaveGame object that will be populated with the serialized data.

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