Native struct

FGBAHeaderViewFunctionListItem#

  • Declared in "HeaderView/GBAHeaderViewFunctionListItem.h"
struct FGBAHeaderViewFunctionListItem : public FGBAHeaderViewListItem

A header view list item that displays a function declaration

Methods#

  • protected
    • FGBAHeaderViewFunctionListItem&
    explicit
    FGBAHeaderViewFunctionListItem(​
    const UK2Node_FunctionEntry* FunctionEntry
    )
  • public
    • Create&
    static FGBAHeaderViewListItemPtr
    Create(​
    const UK2Node_FunctionEntry* FunctionEntry
    )

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

  • virtual void
    ExtendContextMenu(​
    FMenuBuilder& InMenuBuilder,
    TWeakObjectPtr<UObject> InAsset
    ) override
  • virtual void
    OnMouseButtonDoubleClick(​
    TWeakObjectPtr<UObject> InAsset
    ) override
  • protected
    • AppendFunctionParameters&
    void
    AppendFunctionParameters(​
    const UFunction* SignatureFunction
    )

    Adds Function parameters to the RichText and PlainText strings

    • GetConditionalUFunctionSpecifiers&
    static FString
    GetConditionalUFunctionSpecifiers(​
    const UFunction* SigFunction
    )

    Returns a string containing the specifiers for the UFUNCTION line

    • JumpToDefinition&
    void
    JumpToDefinition(​
    TWeakObjectPtr<UBlueprint> WeakBlueprint
    ) const
    • OnRenameFunctionTextCommitted&
    static void
    OnRenameFunctionTextCommitted(​
    const FText& CommittedText,
    ETextCommit::Type TextCommitType,
    TWeakObjectPtr<UBlueprint> WeakBlueprint,
    FName OldGraphName
    )
    • OnRenameParameterTextCommitted&
    void
    OnRenameParameterTextCommitted(​
    const FText& CommittedText,
    ETextCommit::Type TextCommitType,
    TWeakObjectPtr<UBlueprint> WeakBlueprint,
    FName OldGraphName,
    FName OldParamName
    ) const
    • OnVerifyRenameFunctionTextChanged&
    static bool
    OnVerifyRenameFunctionTextChanged(​
    const FText& InNewName,
    FText& OutErrorText,
    TWeakObjectPtr<UBlueprint> WeakBlueprint
    )
    • OnVerifyRenameParameterTextChanged&
    bool
    OnVerifyRenameParameterTextChanged(​
    const FText& InNewName,
    FText& OutErrorText,
    TWeakObjectPtr<UBlueprint> WeakBlueprint,
    FName OldGraphName
    ) const

Fields#

  • protected
    • GraphName&
    FName GraphName = NAME_None

    Name of the Function Graph this item represents

    • IllegalName&
    FName IllegalName = NAME_None

    None if the function name is legal C++, else the name of the function

    • IllegalParameters&
    TArray<FName> IllegalParameters

    Names of any function parameters that are not legal C++