Native class
FGBAGameplayAttributeDataDetailsRow#
class
FGBAGameplayAttributeDataDetailsRow :
public TSharedFromThis< FGBAGameplayAttributeDataDetailsRow >
Details row class, used by IPropertyTypeCustomization implementations.
Wraps and implements the logic of dealing with a single row property, for either BaseValue, MinValue, MaxValue, etc.
A float property in a given FGameplayAttributeData struct or child struct.
Internal delegates#
-
public
Methods#
-
publicexplicitFGBAGameplayAttributeDataDetailsRow(const TWeakPtr<IGBAGameplayAttributeDataDetailsBase>& InDetailsOwner,
const FText& InRowNameText,
float InInitialValue -
virtual voidCustomizeChildren(TSharedRef<IPropertyHandle> InStructPropertyHandle,
IDetailChildrenBuilder& InStructBuilder,
IPropertyTypeCustomizationUtils& InStructCustomizationUtils -
inline FOnValueChanged&
-
privatevoid
-
voidOnEndSliderMovement(float InValue
-
TOptional<float>OnGetValue() const
-
voidOnValueCommitted(float InNewValue,
ETextCommit::Type InCommitInfo -
voidSetValueWithTransaction(float InNewValue
-
publicvirtual~FGBAGameplayAttributeDataDetailsRow() = default
Fields#
-
privatebool bIsUsingSlider = false
True if the slider is being used to change the value of the property
-
TWeakPtr<IGBAGameplayAttributeDataDetailsBase> DetailsOwnerPtr
-
float LastSliderCommittedValue = 0.f
When using the slider, what was the last committed value (min value)
-
FOnValueChanged OnValueChangedDelegate
-
FText RowNameText