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