Native class
IGBAGameplayAttributeDataDetailsBase#
class
IGBAGameplayAttributeDataDetailsBase :
public IPropertyTypeCustomization
Details customization for FGameplayAttributeData / FGBAGameplayClampedAttributeData (Base Class).
And ability to view / set BaseValue and CurrentValue (as DefaultValue)
This is the default Base class shared by both FGameplayAttributeData and FGBAGameplayClampedAttributeData details customization classes.
Methods#
-
public
-
inline virtual voidCustomizeChildren(TSharedRef<IPropertyHandle> InStructPropertyHandle,
IDetailChildrenBuilder& InStructBuilder,
IPropertyTypeCustomizationUtils& InStructCustomizationUtils -
inline virtual voidCustomizeHeader(TSharedRef<IPropertyHandle> InStructPropertyHandle,
FDetailWidgetRow& InHeaderRow,
IPropertyTypeCustomizationUtils& InStructCustomizationUtils -
TWeakObjectPtr<UAttributeSet>GetAttributeSetBeingCustomized() const
-
TWeakObjectPtr<UBlueprint>GetBlueprintBeingCustomized() const
-
virtual FGameplayAttributeData*GetGameplayAttributeData() const = 0
-
TWeakFieldPtr<FProperty>GetPropertyBeingCustomized() const
-
virtual voidInitialize()
Setup - mainly to register SP delegates as they need to happen after construction
-
virtual voidInitializeFromStructHandle(const TSharedRef<IPropertyHandle>& InStructPropertyHandle,
IPropertyTypeCustomizationUtils& InStructCustomizationUtils -
protectedFTextGetHeaderBaseValueText() const
-
voidHandleSettingsChanged(UObject* InObject,
FPropertyChangedEvent& InPropertyChangedEvent -
static bool
-
void
-
voidOnEndSliderMovement(float InValue
-
TOptional<float>OnGetBaseValue() const
-
voidOnValueCommitted(float InNewValue,
ETextCommit::Type InCommitInfo -
voidSetValueWithTransaction(float InNewValue
-
publicvirtual
Fields#
-
protectedTWeakObjectPtr<UAttributeSet> AttributeSetBeingCustomized
The UObject we are editing
-
bool bIsUsingSlider = false
True if the slider is being used to change the value of the property
-
TWeakObjectPtr<UBlueprint> BlueprintBeingCustomized
The blueprint we are editing
-
float LastSliderCommittedValue = 0.f
When using the slider, what was the last committed value
-
TWeakFieldPtr<FProperty> PropertyBeingCustomized
Keep track of the property we are editing
-
TWeakPtr<IPropertyUtilities> PropertyUtilities
A weak reference to the property utilities used by this type customization