Native struct

FGBAHeaderViewVariableListItem#

  • Declared in "HeaderView/GBAHeaderViewVariableListItem.h"
struct FGBAHeaderViewVariableListItem : public FGBAHeaderViewListItem

A header view list item that displays a variable declaration

Methods#

  • public
    • FGBAHeaderViewVariableListItem&
    FGBAHeaderViewVariableListItem(​
    const FProperty& InVarProperty,
    const TSharedPtr<FGBAAttributeSetWizardViewModel>& InViewModel
    )
    • Create&
    static FGBAHeaderViewListItemPtr
    Create(​
    const FProperty& VarProperty,
    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
    • GetBlueprintVariableDescription&
    static FBPVariableDescription*
    GetBlueprintVariableDescription(​
    const FName& InVarPropertyName,
    const TSharedPtr<FGBAAttributeSetWizardViewModel>& InViewModel
    )
  • protected
    • FormatDelegateDeclaration&
    void
    FormatDelegateDeclaration(​
    const FMulticastDelegateProperty& DelegateProp
    )

    Formats a line declaring a delegate type and appends it to the item strings

    • GetConditionalUPropertySpecifiers&
    FString
    GetConditionalUPropertySpecifiers(​
    const FProperty& VarProperty
    ) const

    Returns a string containing the specifiers for the UPROPERTY line

    • GetOwningClassName&
    static FString
    GetOwningClassName(​
    const FProperty& VarProperty
    )

    Returns the name of the owning class

    • 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