unreal.DataRegistryType

class unreal.DataRegistryType(name='None')

Bases: unreal.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] The FName representing this type

__bool__()

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

__eq__(other)

Overloads:

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

__ne__(other)

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

Returns

Return type

bool

property name

[Read-Write] 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

Returns

Return type

str