unreal.DataRegistryType

class unreal.DataRegistryType(name: Name = 'None')

Bases: StructBase

Wrapper struct to represent a global data registry, represented as an FName internally and implicitly convertible back and forth. This exists so the blueprint API can understand it’s not a normal FName.

C++ Source:

  • Plugin: DataRegistry

  • Module: DataRegistry

  • File: DataRegistryId.h

Editor Properties: (see get_editor_property/set_editor_property)

  • name (Name): [Read-Write] Name: The FName representing this type

__bool__() bool

Returns true if this is a non-empty type, does not check if it is currently registered

__eq__(other: object) bool

Overloads:

  • DataRegistryType Returns true if the values are equal (A == B)

__ne__(other: object) bool

Overloads:

  • DataRegistryType Returns true if the values are not equal (A != B)

is_valid() bool

Returns true if this is a non-empty type, does not check if it is currently registered

Return type:

bool

property name: Name

[Read-Write] Name: The FName representing this type

Type:

(Name)

to_string() str

Converts a Data Registry Type to a string. The other direction is not provided because it cannot be validated

Return type:

str