UK2Node_Event

Unreal Engine C++ API Reference > Editor > BlueprintGraph

Inheritance Hierarchy

References

   
Module BlueprintGraph
Header /Engine/Source/Editor/BlueprintGraph/Classes/K2Node_Event.h
Include #include "K2Node_Event.h"

Syntax

class UK2Node_Event :  
    public [UK2Node_EditablePinBase](API\Editor\BlueprintGraph\UK2Node_EditablePinBase),  
    public [IK2Node_EventNodeInterface](API\Editor\BlueprintGraph\IK2Node_EventNodeInterface)  

Variables

Type Name Description
uint32: 1 bInternalEvent If true, this event is internal machinery, and should not be marked BlueprintCallable
uint32: 1 bOverrideFunction If true, we are actually overriding this function, not making a new event with a signature that matches
FName CustomFunctionName If this is not an override, allow user to specify a name for the function created by this entry point
FMemberReferenc... EventReference Reference for the function this event is linked to
uint32 FunctionFlags Additional function flags to apply to this function

Constructors

Type Name Description
  UK2Node_Event ( const FObjectInitializer& ObjectIn... )  

Functions

Type Name Description
bool AreEventNodesIdentical ( const UK2Node_Event* InNodeA, const UK2Node_Event* InNodeB ) Helper function to identify if two Event nodes are the same
UFunction &#... FindEventSignatureFunction ()  
void FixupEventReference ( bool bForce )  
FName GetFunctionName ()  
FText GetLocalizedNetString ( uint32 NetFlags, bool Calling ) Returns localized string describing replication settings.
bool IsCompatibleWithGraph ( const UEdGraph* TargetGraph )  
bool IsCosmeticTickEvent ()  
bool IsFunctionEntryCompatible ( const UK2Node_FunctionEntry* E... ) Checks whether the parameters for this event node are compatible with the specified function entry node
bool IsInterfaceEventNode () Checks if this event node is implementing an interface event
bool IsUsedByAuthorityOnlyDelegate ()  
void UpdateDelegatePin ( bool bSilent )  

Overridden from UK2Node

Type Name Description
FNodeHandlin... CreateNodeHandler ( FKismetCompilerContext& CompilerCo... )  
bool DrawNodeAsEntry () Return whether to draw this node as an entry
void ExpandNode ( FKismetCompilerContext& CompilerCo..., UEdGraph* SourceGraph ) Expands a node while compiling, which may add additional nodes or delete this node
FName GetCornerIcon ()  
FText GetMenuCategory () Override to provide a default category for specific node types to be listed under.
void GetNodeAttributes ( TArray< TKeyValuePair< FString, FSt... ) This function returns an arbitrary number of attributes that describe this node for analytics events
void GetRedirectPinNames ( const UEdGraphPin& Pin, TArray< FString >& RedirectPinName... ) Determines what the possible redirect pin names are
FText GetToolTipHeading ()  
bool NodeCausesStructuralBlueprintChange () Return true if adding/removing this node requires calling MarkBlueprintAsStructurallyModified on the Blueprint
void PostReconstructNode () Called at the end of ReconstructNode, allows node specific work to be performed

Overridden from UEdGraphNode

Type Name Description
void AllocateDefaultPins () Allocate default pins for a given node, based only the NodeType, which should already be filled in.
bool CanPasteHere ( const UEdGraph* TargetGraph ) Determine if this node can live in the specified graph
void FindDiffs ( UEdGraphNode* OtherNode, FDiffResults& Results ) Gives the node the option to customize how diffs are discovered within it.
FEdGraphNode... GetDeprecationResponse ( EEdGraphNodeDeprecationType Depreca... ) Returns the response to use when reporting a deprecation.
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)
FString GetDocumentationLink () Returns the link used for external documentation for the graph node
FString GetFindReferenceSearchString () Gets the search string to find references to this node
FSlateIcon GetIconAndTint ( FLinearColor& OutColor )  
UObject *... GetJumpTargetForDoubleClick () Returns the object that should be focused when double-clicking on this node (the object can be an actor, which selects it in the world, or a node/graph/pin)
FText GetKeywords () Returns the keywords that should be used when searching for this node
FText GetNodeTitle ( ENodeTitleType::Type TitleType ) Gets the name of this node, shown in title bar
FLinearColor GetNodeTitleColor () Gets the draw color of a node's title bar
FText GetTooltipText () Gets the tooltip to display when over the node
bool HasDeprecatedReference () Returns true if this node references a deprecated type or member.
bool HasExternalDependencies ( TArray< class UStruct* >*... ) Returns whether or not this node has dependencies on an external structure If OptionalOutput isn't null, it should be filled with the known dependencies objects (Classes, Structures, Functions, etc).
void PinConnectionListChanged ( UEdGraphPin* Pin ) Called when the connection list of one of the pins of this node is changed in the editor
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

Type Name Description
void PostDuplicate ( bool bDuplicateForPIE ) Called after duplication & serialization and before PostLoad.
void PostLoad () Do any object-specific cleanup required immediately after loading an object.
void Serialize ( FArchive& Ar ) Handles reading, writing, and reference collecting using FArchive.

Overridden from IK2Node_EventNodeInterface

Type Name Description
TSharedPtr< ... GetEventNodeAction ( const FText& ActionCategory )  

Constants

Name Description
DelegateOutputName  

Deprecated Variables

Type Name Description
TSubclassOf< cl... EventSignatureClass_DEPRECATED Class that the function signature is from.
FName EventSignatureName_DEPRECATED Name of function signature that this event implements

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library