UK2Node_CustomEvent

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

BlueprintGraph

Header

/Engine/Source/Editor/BlueprintGraph/Classes/K2Node_CustomEvent.h

Include

#include "K2Node_CustomEvent.h"

Syntax

class UK2Node_CustomEvent : public UK2Node_Event

Variables

Name Description

Public variable

bool

 

bCallInEditor

Specifies that the event can be triggered in Editor

Public variable

bool

 

bIsDeprecated

Specifies that usage of this event has been deprecated

Public variable

FString

 

DeprecationMessage

Optional message to display when the event is deprecated

Constructors

Name Description

Public function

UK2Node_CustomEvent

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Static

UK2Node_Cust...

 

CreateFromFunction

(
    FVector2D GraphPosition,
    UEdGraph* ParentGraph,
    const FString& Name,
    const UFunction* Function,
    bool bSelectNewNode
)

Public function Const

uint32

 

GetNetFlags()

If a CustomEvent overrides another CustomEvent, then it inherits the super's net flags.

Public function

FKismetUserD...

 

GetUserDefinedMetaData()

Public function Const

bool

 

IsOverride()

Discernible from the base UK2Node_Event's bOverrideFunction field.

Public function

void

 

RenameCustomEventCloseToName

(
    int32 StartIndex
)

Rename this custom event to have unique name.

Public function

void

 

SetDelegateSignature

(
    const UFunction* DelegateSigna...
)

Updates the Signature of this event.

Overridden from UK2Node_Event

Overridden from UK2Node_EditablePinBase

Name Description

Public function Virtual

bool

 

CanCreateUserDefinedPin

(
    const FEdGraphPinType& InPinType,
    EEdGraphPinDirection InDesiredDirec...,
    FText& OutErrorMessage
)

Queries if a user defined pin of the passed type can be constructed on this node.

Public function Virtual

UEdGraphPin ...

 

CreatePinFromUserDefinition

(
    const TSharedPtr< FUserPinInfo > Ne...
)

Creates a new pin on the node from the specified user pin info.

Public function Virtual Const

bool

 

IsEditable()

Public function Virtual

bool

 

ModifyUserDefinedPinDefaultValue

(
    TSharedPtr< FUserPinInfo > PinInfo,
    const FString& NewDefaultValue
)

Modifies the default value of an existing pin on the node, this will update both the UserPinInfo and the linked editor pin

Public function Virtual Const

bool

 

ShouldUseConstRefParams()

Should this node require 'const' for pass-by-reference parameters?

Overridden from UK2Node

Name Description

Public function Virtual

void

 

FixupPinStringDataReferences

(
    FArchive* SavingArchive
)

Fixes up structure/soft object ref pins, on both save and load

Public function Virtual Const

void

 

GetMenuActions

Replacement for GetMenuEntries().

Public function Virtual Const

bool

 

NodeCausesStructuralBlueprintChange()

Return true if adding/removing this node requires calling MarkBlueprintAsStructurallyModified on the Blueprint

Overridden from UEdGraphNode

Name Description

Public function Virtual Const

void

 

AddSearchMetaDataInfo

(
    TArray< struct FSearchTagDataPair >...
)

Add's node data to the search metadata, override to collect more data that may be desirable to search for

Public function Virtual

void

 

AutowireNewNode

(
    UEdGraphPin* FromPin
)

Autowire a newly created node.

Public function Virtual Const

FEdGraphNode...

 

GetDeprecationResponse

(
    EEdGraphNodeDeprecationType Depreca...
)

Returns the response to use when reporting a deprecation.

Public function Virtual Const

FString

 

GetDocumentationExcerptName()

Returns the name of the excerpt to display from the specified external documentation link for the graph node Default behavior is to return the class name (including prefix)

Public function Virtual Const

FString

 

GetDocumentationLink()

Returns the link used for external documentation for the graph node

Public function Virtual Const

FSlateIcon

 

GetIconAndTint

(
    FLinearColor& OutColor
)

Public function Virtual Const

FText

 

GetKeywords()

Returns the keywords that should be used when searching for this node

Public function Virtual Const

FText

 

GetNodeTitle

(
    ENodeTitleType::Type TitleType
)

Gets the name of this node, shown in title bar

Public function Virtual Const

FText

 

GetTooltipText()

Gets the tooltip to display when over the node

Public function Virtual Const

bool

 

HasDeprecatedReference()

Returns true if this node references a deprecated type or member.

Public function Virtual Const

TSharedPtr< ...

 

MakeNameValidator()

Create a name validator for this node

Public function Virtual

void

 

OnRenameNode

(
    const FString& NewName
)

Called when this node is being renamed after a successful name validation

Public function Virtual

void

 

ReconstructNode()

Refresh the connectors on a node, preserving as many connections as it can.

Public function Virtual Const

void

 

ValidateNodeDuringCompilation

(
    FCompilerResultsLog& MessageLog
)

Gives each visual node a chance to do final validation before it's node is harvested for use at runtime.

Overridden from UObject

Name Description

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

Handles reading, writing, and reference collecting using FArchive.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss