Sein Attribute Resolver
C++ type · FSeinAttributeResolver
#include "Attributes/SeinAttributeResolver.h"
Reflection over the fields modifiers address. A field path names a property of a component struct or an ability class, then optionally a member of a struct field after a dot, an array element as [n] and a map entry as [key]; Instanced Struct fields are walked into. Names match the property name or, for Blueprint-authored structs, the name the designer typed, the same way in editor and cooked builds.
C++ members (12)
static bool ResolveField(const UStruct* Container, void* Memory, const FString& Path, FField& Out);Resolve Path in Container’s memory. False when a name, index or key doesn’t exist.static bool ResolveField(const UStruct* Container, const void* Memory, const FString& Path, const FProperty*& OutProperty, const void*& OutValue);static bool FindFieldProperty(const UStruct* Container, const FString& Path, const FProperty*& OutProperty, FString& OutError);The property Path ends on, found by name alone: indices and keys aren’t checked. Authoring checks and the editor use it. False with a reason when a name doesn’t exist.static bool IsNumber(const FProperty* Property);Fixed Point and integer fields (not enums) are numbers.static FFixedPoint ReadNumber(const FProperty* Property, const void* Value);static void WriteNumber(const FProperty* Property, void* Value, FFixedPoint Number);Integer fields round to the nearest whole number, halves away from zero, clamped to their range.static FString ExportValue(const FProperty* Property, const void* Value);The value as text with every member written, so importing it restores the value exactly.static bool ImportValue(const FProperty* Property, void* Value, const FString& Text);static bool IsSameValue(const FProperty* Property, const void* Value, const FString& Text);Whether Value equals the value Text holds. Maps and sets compare by contents in any order, so a value restored from a save compares equal to the one saved; strings compare case-sensitively.static bool IsInsidePath(const FString& Inner, const FString& Outer);Whether path Inner names a field inside path Outer, such as “Slots[0].Range” inside “Slots”.static FFixedPoint ResolveNumber(FFixedPoint Base, TConstArrayView<FStackedModifier> Modifiers);static void ClearPropertyCache();Clear the property-name cache during a terminal reset.