FGenericPlatformMisc::GetStoredValue

Get the value for the given section and key from the platform specific key->value store Note: The key->value store is user-specific, but may be used to share data between different applications for the same user

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMisc.h

Include

#include "GenericPlatform/GenericPlatformMisc.h"

Source

/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformMisc.cpp

Syntax

static bool GetStoredValue
(
    const FString & InStoreId,
    const FString & InSectionName,
    const FString & InKeyName,
    FString & OutValue
)

Remarks

Get the value for the given section and key from the platform specific key->value store Note: The key->value store is user-specific, but may be used to share data between different applications for the same user

Returns

bool true if the entry was found (and OutValue contains the result), false if not

Parameters

Parameter

Description

InStoreId

The name used to identify the store you want to use (eg, MyGame)

InSectionName

The section that this key->value pair is placed within (can contain / separators, eg UserDetails/AccountInfo)

InKeyName

The name of the key to get the value for

OutValue

The value found

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