FKismetFunctionContext

Windows
MacOS
Linux

References

Module

KismetCompiler

Header

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

Include

#include "KismetCompiledFunctionContext.h"

Syntax

struct FKismetFunctionContext

Variables

Name Description

Public variable

TArray< FBluepr...

 

AllGeneratedStatements

An UNORDERED listing of all statements (used for cleaning up the dynamically allocated statements)

Public variable

bool

 

bAllocatedNetNameMap

Public variable

bool

 

bCannotBeCalledFromOtherKismet

Public variable

bool

 

bCreateDebugData

Public variable

bool

 

bEnforceConstCorrectness

Public variable

bool

 

bGeneratingCpp

Skip some optimization. C++ code will be generated in this pass.

Public variable

bool

 

bIsConstFunction

Public variable

bool

 

bIsInterfaceStub

Public variable

bool

 

bIsSimpleStubGraphWithNoParams

Public variable

bool

 

bIsUbergraph

Public variable

UBlueprint *...

 

Blueprint

Blueprint source

Public variable

bool

 

bUseFlowStack

Does this function use requires FlowStack ?

Public variable

FName

 

DelegateSignatureName

Public variable

UK2Node_Functio...

 

EntryPoint

The nominal function entry point.

Public variable

TIndirectArray<...

 

EventGraphLocals

Public variable

UFunction *

 

Function

Public variable

TMap< FBlueprin...

 

GotoFixupRequestMap

Goto fixup requests (each statement (key) wants to goto the first statement attached to the exec out-pin (value))

Public variable

TIndirectArray<...

 

InlineGeneratedValues

Public variable

FField *...

 

LastFunctionPropertyStorageLocation

Public variable

TIndirectArray<...

 

LevelActorReferences

Public variable

TArray< UEdGrap...

 

LinearExecutionList

Linear execution schedule.

Public variable

TMap< UEdGraphP...

 

LiteralHackMap

Public variable

TIndirectArray<...

 

Literals

Public variable

TIndirectArray<...

 

Locals

Public variable

FCompilerResult...

 

MessageLog

Public variable

uint32

 

NetFlags

Public variable

TMap< UEdGraphP...

 

NetMap

Public variable

FNetNameMapping...

 

NetNameMap

Map from a name to the number of times it's been 'created' (same nodes create the same local variable names, so they need something appended)

Public variable

UBlueprintGener...

 

NewClass

Public variable

TIndirectArray<...

 

Parameters

Map from a net to an term (either a literal or a storage location)

Public variable

TIndirectArray<...

 

PersistentFrameVariableReferences

Public variable

TIndirectArray<...

 

Results

Public variable

const UEdGraphS...

 

Schema

Public variable

UEdGraphNode &#...

 

SourceEventFromStubGraph

If this function is an event stub, then this points to the node in the ubergraph that caused the stub to exist.

Public variable

UEdGraph *

 

SourceGraph

Public variable

TMap< UEdGraphN...

 

StatementsPerNode

Individual execution lists for every node that generated code to be consumed by the backend.

Public variable

TArray< TSet< U...

 

UnsortedSeparateExecutionGroups

Used to split uber graph into subfunctions by C++ backend.

Public variable

TIndirectArray<...

 

VariableReferences

Constructors

Name Description

Public function

FKismetFunctionContext

(
    FCompilerResultsLog& InMessageLog,
    const UEdGraphSchema_K2* InSch...,
    UBlueprintGeneratedClass* InNe...,
    UBlueprint* InBlueprint,
    bool bInGeneratingCpp
)

Destructors

Name Description

Public function

~FKismetFunctionContext()

Functions

Name Description

Public function

FBlueprintCo...

 

AppendStatementForNode

(
    UEdGraphNode* Node
)

Enqueue a statement to be executed when the specified Node is triggered

Public function Const

bool

 

CanBeCalledByKismet()

Public function

void

 

CopyAndPrependStatements

(
    UEdGraphNode* Destination,
    UEdGraphNode* Source
)

Prepends the statements corresponding to Source to the set of statements corresponding to Dest

Public function

FBPTerminal ...

 

CreateLocalTerminal

(
    ETerminalSpecification Spec
)

Public function

FBPTerminal ...

 

CreateLocalTerminalFromPinAutoChooseScope

(
    UEdGraphPin* Net,
    FString NewName
)

Public function

bool

 

DidNodeGenerateCode

(
    UEdGraphNode* Node
)

Returns true if Node generated code, and false otherwise

Public function Static

bool

 

DoesStatementRequiresFlowStack

(
    const FBlueprintCompiledStatement&...
)

Public function Static

bool

 

DoesStatementRequiresSwitch

(
    const FBlueprintCompiledStatement&...
)

Public function Const

bool

 

EnforceConstCorrectness()

Public function

UEdGraphPin ...

 

FindRequiredPinByName

(
    const UEdGraphNode* Node,
    const FName PinName,
    EEdGraphPinDirection RequiredDirect...
)

Looks for a pin of the given name, erroring if the pin is not found or if the direction doesn't match (doesn't verify the pin type)

Public function

UBlueprint &...

 

GetBlueprint()

Public function Const

EKismetCompi...

 

GetBreakpointType()

Public function Const

uint32

 

GetNetFlags()

Public function

UStruct *...

 

GetScopeFromPinType

(
    FEdGraphPinType& Type,
    UClass* SelfClass
)

Returns a UStruct scope corresponding to the pin type passed in, if one exists

Public function Const

EKismetCompi...

 

GetWireTraceType()

Public function

void

 

InsertWireTrace

(
    FBlueprintCompiledStatement* G...,
    UEdGraphPin* AssociatedExecPin
)

Makes sure an KCST_WireTraceSite is inserted before the specified statement, and associates the specified pin with the inserted wire-trace (so we can backwards engineer which pin triggered the goto).

Public function Const

bool

 

IsConstFunction()

Public function Const

bool

 

IsDebuggingOrInstrumentationRequired()

Public function

bool

 

IsDelegateSignature()

Public function Const

bool

 

IsEventGraph()

Public function Const

bool

 

IsInterfaceStub()

Public function Const

bool

 

IsValid()

Public function

void

 

MarkAsConstFunction

(
    bool bInEnforceConstCorrectness
)

Public function

void

 

MarkAsEventGraph()

Public function

void

 

MarkAsInterfaceStub()

Public function

void

 

MarkAsInternalOrCppUseOnly()

Public function

void

 

MarkAsNetFunction

(
    uint32 InFunctionFlags
)

Public function Const

bool

 

MustUseSwitchState

(
    const FBlueprintCompiledStatement&...
)

Public function

FBlueprintCo...

 

PrependStatementForNode

(
    UEdGraphNode* Node
)

Public function

FBPTerminal ...

 

RegisterLiteral

(
    UEdGraphPin* Net
)

Public function

void

 

ResolveStatements()

The function links gotos, sorts statments, and merges adjacent ones.

Public function

void

 

SetDelegateSignatureName

(
    FName InName
)

Public function

void

 

SetExternalNetNameMap

(
    FNetNameMapping* NewMap
)

Public function

bool

 

ValidatePinType

(
    const UEdGraphPin* Pin,
    const FEdGraphPinType& TestType
)

Checks to see if a pin is of the requested type

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