FDataRegistryResolverScope

Scope object to set a temporary resolver, or register a global one

Windows
MacOS
Linux

References

Module

DataRegistry

Header

/Engine/Plugins/Runtime/DataRegistry/Source/DataRegistry/Public/DataRegistryTypes.h

Include

#include "DataRegistryTypes.h"

Syntax

struct FDataRegistryResolverScope

Remarks

Scope object to set a temporary resolver, or register a global one

Constructors

Name Description

Public function

FDataRegistryResolverScope

(
    const TSharedPtr< FDataRegistryReso...
)

Creates a temporary resolver scope, will use the passed in resolver until scope returns.

Destructors

Name Description

Public function

~FDataRegistryResolverScope()

Clears scope

Functions

Name Description

Public function Static

bool

 

IsStackVolatile()

Returns true if there are any volatile resolvers on the stack

Public function Static

void

 

RegisterGlobalResolver

(
    const TSharedPtr< FDataRegistryReso...
)

Static function to register a global scope

Public function Static

TSharedPtr< ...

 

ResolveIdToName

(
    FName& OutResolvedName,
    const FDataRegistryId& ItemId,
    const UDataRegistry* Registry,
    const UDataRegistrySource* Reg...
)

Use the stack to resolve an ID, will return the resolver used if found

Public function Static

void

 

UnregisterGlobalResolver

(
    const TSharedPtr< FDataRegistryReso...
)

Unregister a global scope, must have been registered already

Constants

Name

Description

ResolverStack

Global and temporary resolver stack, will go from last added back to 0.

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