Native struct

FGBAHeaderViewAttributeVariableListItem#

  • Declared in "HeaderView/Attributes/GBAHeaderViewAttributeVariableListItem.h"
struct FGBAHeaderViewAttributeVariableListItem : public FGBAHeaderViewListItem

A header view list item that displays a gameplay attribute data variable declaration

Methods#

  • public
    • FGBAHeaderViewAttributeVariableListItem&
    FGBAHeaderViewAttributeVariableListItem(​
    const FProperty& InVarProperty,
    const TSharedPtr<FGBAAttributeSetWizardViewModel>& InViewModel
    )
    • Create&
    static FGBAHeaderViewListItemPtr
    Create(​
    const FProperty& InVarProperty,
    const TSharedPtr<FGBAAttributeSetWizardViewModel>& InViewModel
    )

    Creates a list item for the Header view representing a variable declaration for the given blueprint variable

  • virtual void
    ExtendContextMenu(​
    FMenuBuilder& InMenuBuilder,
    TWeakObjectPtr<UObject> InAsset
    ) override
  • protected
    • GetConditionalUPropertySpecifiers&
    static FString
    GetConditionalUPropertySpecifiers(​
    const FProperty& VarProperty
    )

    Returns a string containing the specifiers for the UPROPERTY line

    • GetGameplayAttributeData&
    TSharedPtr<FGameplayAttributeData>
    GetGameplayAttributeData(​
    const FProperty& InProperty
    ) const
    • OnRenameTextCommitted&
    void
    OnRenameTextCommitted(​
    const FText& CommittedText,
    ETextCommit::Type TextCommitType,
    TWeakObjectPtr<UObject> WeakAsset
    ) const
    • OnVerifyRenameTextChanged&
    bool
    OnVerifyRenameTextChanged(​
    const FText& InNewName,
    FText& OutErrorText,
    TWeakObjectPtr<UObject> WeakAsset
    ) const

Fields#

  • protected
    • IllegalName&
    FName IllegalName = NAME_None

    None if the name is legal, else holds the name of the variable