Navigation
Unreal Engine C++ API Reference > Editor > KismetCompiler
References
Module | KismetCompiler |
Header | /Engine/Source/Editor/KismetCompiler/Public/KismetCompiledFunctionContext.h |
Include | #include "KismetCompiledFunctionContext.h" |
Syntax
struct FKismetFunctionContext
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TArray< FBlueprintCompiledStatement * > | AllGeneratedStatements | An UNORDERED listing of all statements (used for cleaning up the dynamically allocated statements) |
![]() |
bool | bAllocatedNetNameMap | |
![]() |
bool | bCannotBeCalledFromOtherKismet | |
![]() |
bool | bCreateDebugData | |
![]() |
bool | bEnforceConstCorrectness | |
![]() |
bool | bIsConstFunction | |
![]() |
bool | bIsInterfaceStub | |
![]() |
bool | bIsSimpleStubGraphWithNoParams | |
![]() |
bool | bIsUbergraph | |
![]() |
UBlueprint * | Blueprint | Blueprint source |
![]() |
bool | bUseFlowStack | Does this function use requires FlowStack ? |
![]() |
FName | DelegateSignatureName | |
![]() |
UK2Node_FunctionEntry * | EntryPoint | The nominal function entry point. |
![]() |
TIndirectArray< FBPTerminal > | EventGraphLocals | |
![]() |
UFunction * | Function | |
![]() |
TMap< FBlueprintCompiledStatement *, UEdGraphPin * > | GotoFixupRequestMap | Goto fixup requests (each statement (key) wants to goto the first statement attached to the exec out-pin (value)) |
![]() |
TMap< UEdGraphPin *, UE::KismetCompiler::CastingUtils::FImplicitCastParams > | ImplicitCastMap | Contains a map of destination pins that will need an implicit cast to either a float or double. |
![]() |
TIndirectArray< FBPTerminal > | InlineGeneratedValues | |
![]() |
FField ** | LastFunctionPropertyStorageLocation | |
![]() |
TIndirectArray< FBPTerminal > | LevelActorReferences | |
![]() |
TArray< UEdGraphNode * > | LinearExecutionList | Linear execution schedule. |
![]() |
TMap< UEdGraphPin *, FBPTerminal * > | LiteralHackMap | |
![]() |
TIndirectArray< FBPTerminal > | Literals | |
![]() |
TIndirectArray< FBPTerminal > | Locals | |
![]() |
FCompilerResultsLog & | MessageLog | |
![]() |
uint32 | NetFlags | |
![]() |
TMap< UEdGraphPin *, FBPTerminal * > | NetMap | Map from a net to an term (either a literal or a storage location) |
![]() |
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) |
![]() |
UBlueprintGeneratedClass * | NewClass | |
![]() |
TIndirectArray< FBPTerminal > | Parameters | |
![]() |
TIndirectArray< FBPTerminal > | PersistentFrameVariableReferences | |
![]() |
TIndirectArray< FBPTerminal > | Results | |
![]() |
const UEdGraphSchema_K2 * | Schema | |
![]() |
UEdGraphNode * | SourceEventFromStubGraph | If this function is an event stub, then this points to the node in the ubergraph that caused the stub to exist. |
![]() |
UEdGraph * | SourceGraph | |
![]() |
TMap< UEdGraphNode *, TArray< FBlueprintCompiledStatement * > > | StatementsPerNode | Individual execution lists for every node that generated code to be consumed by the backend. |
![]() |
TIndirectArray< FBPTerminal > | VariableReferences |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FKismetFunctionContext
(
FCompilerResultsLog& InMessageLog, |
||
![]() |
PRAGMA_DISABLE_DEPRECATION_WARNINGS | FKismetFunctionContext
(
FCompilerResultsLog& InMessageLog, FKismetFunctionContext
(
FCompilerResultsLog& InMessageLog, |
Please use the version that does not include the Cpp generation flag as a parameter. |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
FBlueprintCompiledStatement & | AppendStatementForNode
(
UEdGraphNode* Node |
Enqueue a statement to be executed when the specified Node is triggered |
![]() ![]() |
bool | ||
![]() |
void | CopyAndPrependStatements
(
UEdGraphNode* Destination, |
Prepends the statements corresponding to Source to the set of statements corresponding to Dest |
![]() |
FBPTerminal * | CreateLocalTerminal
(
ETerminalSpecification Spec |
|
![]() |
FBPTerminal * | CreateLocalTerminalFromPinAutoChooseScope
(
UEdGraphPin* Net, |
|
![]() |
bool | DidNodeGenerateCode
(
UEdGraphNode* Node |
Returns true if Node generated code, and false otherwise |
![]() ![]() |
bool | DoesStatementRequiresFlowStack
(
const FBlueprintCompiledStatement* Statement |
|
![]() ![]() |
bool | ||
![]() |
UEdGraphPin * | FindRequiredPinByName
(
const UEdGraphNode* Node, |
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) |
![]() |
UBlueprint * | GetBlueprint () |
|
![]() ![]() |
EKismetCompiledStatementType | ||
![]() ![]() |
uint32 | GetNetFlags () |
|
![]() |
UStruct * | GetScopeFromPinType
(
FEdGraphPinType& Type, |
Returns a UStruct scope corresponding to the pin type passed in, if one exists |
![]() ![]() |
EKismetCompiledStatementType | ||
![]() |
void | InsertWireTrace
(
FBlueprintCompiledStatement* GotoStatement, |
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). |
![]() ![]() |
bool | ||
![]() ![]() |
bool | ||
![]() |
bool | ||
![]() ![]() |
bool | IsEventGraph () |
|
![]() ![]() |
bool | ||
![]() ![]() |
bool | IsValid () |
|
![]() |
void | MarkAsConstFunction
(
bool bInEnforceConstCorrectness |
|
![]() |
void | ||
![]() |
void | ||
![]() |
void | ||
![]() |
void | MarkAsNetFunction
(
uint32 InFunctionFlags |
|
![]() |
FBlueprintCompiledStatement & | PrependStatementForNode
(
UEdGraphNode* Node |
|
![]() |
FBPTerminal * | RegisterLiteral
(
UEdGraphPin* Net |
|
![]() |
void | The function links gotos, sorts statments, and merges adjacent ones. | |
![]() |
void | SetDelegateSignatureName
(
FName InName |
|
![]() |
void | SetExternalNetNameMap
(
FNetNameMapping* NewMap |
|
![]() |
bool | ValidatePinType
(
const UEdGraphPin* Pin, |
Checks to see if a pin is of the requested type |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | DoesStatementRequiresSwitch
(
const FBlueprintCompiledStatement* Statement |
This API is no longer in use and will be removed. |
![]() |
PRAGMA_DISABLE_DEPRECATION_WARNINGS | FKismetFunctionContext
(
FCompilerResultsLog& InMessageLog, FKismetFunctionContext
(
FCompilerResultsLog& InMessageLog, |
Please use the version that does not include the Cpp generation flag as a parameter. |
![]() ![]() |
bool | MustUseSwitchState
(
const FBlueprintCompiledStatement* ExcludeThisOne |
This API is no longer in use and will be removed. |