UObject::ReloadConfig

Wrapper method for LoadConfig that is used when reloading the config data for objects at runtime which have already loaded their config data at least once.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/Object.h

Include

#include "UObject/Object.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/UObject/Obj.cpp

Syntax

void ReloadConfig
(
    UClass * ConfigClass,
    const TCHAR * Filename,
    uint32 PropagationFlags,
    class FProperty * PropertyToLoad
)

Remarks

Wrapper method for LoadConfig that is used when reloading the config data for objects at runtime which have already loaded their config data at least once. Allows the objects the receive a callback that its configuration data has been reloaded.

Parameters

Parameter

Description

Class

the class to use for determining which section of the ini to retrieve text values from

Filename

indicates the filename to load values from; if not specified, uses ConfigClass's ClassConfigName

PropagationFlags

indicates how this call to LoadConfig should be propagated; expects a bitmask of UE4::ELoadConfigPropagationFlags values.

PropertyToLoad

if specified, only the ini value for the specified property will be imported

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