FNodeHandlingFunctor

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

KismetCompiler

Header

/Engine/Source/Editor/KismetCompiler/Public/KismetCompilerMisc.h

Include

#include "KismetCompilerMisc.h"

Syntax

class FNodeHandlingFunctor

Variables

Name Description

Public variable

FKismetCompiler...

 

CompilerContext

Constructors

Name Description

Public function

FNodeHandlingFunctor

(
    FKismetCompilerContext& InCompiler...
)

Destructors

Name Description

Public function Virtual

~FNodeHandlingFunctor()

Functions

Name Description

Public function Virtual

void

 

Compile

(
    FKismetFunctionContext& Context,
    UEdGraphNode* Node
)

Virtual void Validate(FKismetFunctionContext& Context, UEdGraphNode* Node) {}

Protected function

FBlueprintCo...

 

GenerateSimpleThenGoto

(
    FKismetFunctionContext& Context,
    UEdGraphNode& Node
)

Generate a goto corresponding to the then pin(s)

Protected function

FBlueprintCo...

 

GenerateSimpleThenGoto

(
    FKismetFunctionContext& Context,
    UEdGraphNode& Node,
    UEdGraphPin* ThenExecPin
)

Generate a goto on the corresponding exec pin.

Protected function Virtual

FBPTerminal ...

 

RegisterLiteral

(
    FKismetFunctionContext& Context,
    UEdGraphPin* Net
)

Helper to register literal term.

Public function Virtual

void

 

RegisterNet

(
    FKismetFunctionContext& Context,
    UEdGraphPin* Pin
)

Public function Virtual

void

 

RegisterNets

(
    FKismetFunctionContext& Context,
    UEdGraphNode* Node
)

Public function Virtual Const

bool

 

RequiresRegisterNetsBeforeScheduling()

Returns true if this kind of node needs to be handled in the first pass, prior to execution scheduling (this is only used for function entry and return nodes)

Protected function

void

 

ResolveAndRegisterScopedTerm

(
    FKismetFunctionContext& Context,
    UEdGraphPin* Net,
    TIndirectArray< FBPTerminal >& Net...
)

Helper function that verifies the variable name referenced by the net exists in the associated scope (either the class being compiled or via an object reference on the Self pin), and then creates/registers a term for that variable access.

Public function Static

void

 

SanitizeName

(
    FString& Name
)

Creates a sanitized name.

Public function Virtual

void

 

Transform

(
    FKismetFunctionContext& Context,
    UEdGraphNode* Node
)

Protected function

bool

 

ValidateAndRegisterNetIfLiteral

(
    FKismetFunctionContext& Context,
    UEdGraphPin* Net
)

If the net is a literal, it validates the default value and registers it.