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< FBluepr... | 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_Functio... | EntryPoint | The nominal function entry point. |
TIndirectArray<... | EventGraphLocals | |
UFunction * | Function | |
TMap< FBlueprin... | GotoFixupRequestMap | Goto fixup requests (each statement (key) wants to goto the first statement attached to the exec out-pin (value)) |
TMap< UEdGraphP... | ImplicitCastMap | Contains a map of destination pins that will need an implicit cast to either a float or double. |
TIndirectArray<... | InlineGeneratedValues | |
FField *... | LastFunctionPropertyStorageLocation | |
TIndirectArray<... | LevelActorReferences | |
TArray< UEdGrap... | LinearExecutionList | Linear execution schedule. |
TMap< UEdGraphP... | LiteralHackMap | |
TIndirectArray<... | Literals | |
TIndirectArray<... | Locals | |
FCompilerResult... | MessageLog | |
uint32 | NetFlags | |
TMap< UEdGraphP... | 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) |
UBlueprintGener... | NewClass | |
TIndirectArray<... | Parameters | |
TIndirectArray<... | PersistentFrameVariableReferences | |
TIndirectArray<... | Results | |
const UEdGraphS... | 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< UEdGraphN... | StatementsPerNode | Individual execution lists for every node that generated code to be consumed by the backend. |
TIndirectArray<... | VariableReferences |
Constructors
Type | Name | Description |
---|---|---|
FKismetFunctionContext ( FCompilerResultsLog& InMessageLog, const UEdGraphSchema_K2* InSch..., UBlueprintGeneratedClass* InNe..., UBlueprint* InBlueprint ) | ||
PRAGMA_DISAB... | FKismetFunctionContext ( FCompilerResultsLog& InMessageLog, const UEdGraphSchema_K2* InSch..., UBlueprintGeneratedClass* InNe..., UBlueprint* InBlueprint, bool bInGeneratingCpp ) | Please use the version that does not include the Cpp generation flag as a parameter. |
Destructors
Type | Name | Description |
---|---|---|
~FKismetFunctionContext () |
Functions
Type | Name | Description |
---|---|---|
FBlueprintCo... | AppendStatementForNode ( UEdGraphNode* Node ) | Enqueue a statement to be executed when the specified Node is triggered |
bool | CanBeCalledByKismet () | |
void | CopyAndPrependStatements ( UEdGraphNode* Destination, UEdGraphNode* Source ) | Prepends the statements corresponding to Source to the set of statements corresponding to Dest |
FBPTerminal ... | CreateLocalTerminal ( ETerminalSpecification Spec ) | |
FBPTerminal ... | CreateLocalTerminalFromPinAutoChooseScope ( UEdGraphPin* Net, FString NewName ) | |
bool | DidNodeGenerateCode ( UEdGraphNode* Node ) | Returns true if Node generated code, and false otherwise |
bool | DoesStatementRequiresFlowStack ( const FBlueprintCompiledStatement&... ) | |
bool | EnforceConstCorrectness () | |
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) |
UBlueprint &... | GetBlueprint () | |
EKismetCompi... | GetBreakpointType () | |
uint32 | GetNetFlags () | |
UStruct *... | GetScopeFromPinType ( FEdGraphPinType& Type, UClass* SelfClass ) | Returns a UStruct scope corresponding to the pin type passed in, if one exists |
EKismetCompi... | GetWireTraceType () | |
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). |
bool | IsConstFunction () | |
bool | IsDebuggingOrInstrumentationRequired () | |
bool | IsDelegateSignature () | |
bool | IsEventGraph () | |
bool | IsInterfaceStub () | |
bool | IsValid () | |
void | MarkAsConstFunction ( bool bInEnforceConstCorrectness ) | |
void | MarkAsEventGraph () | |
void | MarkAsInterfaceStub () | |
void | MarkAsInternalOrCppUseOnly () | |
void | MarkAsNetFunction ( uint32 InFunctionFlags ) | |
FBlueprintCo... | PrependStatementForNode ( UEdGraphNode* Node ) | |
FBPTerminal ... | RegisterLiteral ( UEdGraphPin* Net ) | |
void | ResolveStatements () | The function links gotos, sorts statments, and merges adjacent ones. |
void | SetDelegateSignatureName ( FName InName ) | |
void | SetExternalNetNameMap ( FNetNameMapping* NewMap ) | |
bool | ValidatePinType ( const UEdGraphPin* Pin, const FEdGraphPinType& TestType ) | Checks to see if a pin is of the requested type |
Deprecated Functions
Type | Name | Description |
---|---|---|
bool | DoesStatementRequiresSwitch ( const FBlueprintCompiledStatement&... ) | This API is no longer in use and will be removed. |
PRAGMA_DISAB... | FKismetFunctionContext ( FCompilerResultsLog& InMessageLog, const UEdGraphSchema_K2* InSch..., UBlueprintGeneratedClass* InNe..., UBlueprint* InBlueprint, bool bInGeneratingCpp ) | Please use the version that does not include the Cpp generation flag as a parameter. |
bool | MustUseSwitchState ( const FBlueprintCompiledStatement&... ) | This API is no longer in use and will be removed. |