FGenericPlatformMisc::SetStoredValues

Set the value for the given section and key in the platform specific key->value store

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 SetStoredValues
(
    const FString & InStoreId,
    const FString & InSectionName,
    const TMap< FString, FString > & InKeyValues
)

Remarks

Set the value for the given section and key in the platform specific key->value store

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 value was set correctly, 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)

InKeyValues

The mapping of key->value pairs to set

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