IKismetCompilerInterface

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

IModuleInterface

IKismetCompilerInterface

References

Module

KismetCompiler

Header

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

Include

#include "KismetCompilerModule.h"

Syntax

class IKismetCompilerInterface : public IModuleInterface

Functions

Name Description

Public function

void

 

CompileStructure

(
    UUserDefinedStruct* Struct,
    FCompilerResultsLog& Results
)

Compiles a user defined structure.

Public function Const

void

 

GetBlueprintTypesForClass

(
    UClass* ParentClass,
    UClass*& OutBlueprintClass,
    UClass*& OutBlueprintGenerated...
)

Get the blueprint class and generated blueprint class for a particular class type.

Public function

TArray< IBlu...

 

GetCompilers()

Gets a list of all compilers for blueprints. You can register new compilers through this list.

Public function

void

 

RecoverCorruptedBlueprint

(
    UBlueprint* Blueprint
)

Attempts to recover a corrupted blueprint package.

Public function

void

 

RefreshVariables

(
    UBlueprint* Blueprint
)

Synchronizes Blueprint's GeneratedClass's properties with the NewVariable declarations in the blueprint Used on load to ensure that all properties are present for instances.

Public function

void

 

RemoveBlueprintGeneratedClasses

(
    UBlueprint* Blueprint
)

Clears the blueprint's generated classes, and consigns them to oblivion

Deprecated Functions

Name Description

Public function Virtual

void

 

GenerateCppCodeForEnum

(
    UUserDefinedEnum* UDEnum,
    const FCompilerNativizationOptions ...,
    FString& OutHeaderCode,
    FString& OutCPPCode
)

This API is no longer required. Any overrides should be removed.

Public function Virtual

void

 

GenerateCppCodeForStruct

(
    UUserDefinedStruct* UDStruct,
    const FCompilerNativizationOptions ...,
    FString& OutHeaderCode,
    FString& OutCPPCode
)

This API is no longer required. Any overrides should be removed.

Public function Virtual

FString

 

GenerateCppWrapper

(
    UBlueprintGeneratedClass* BPGC,
    const FCompilerNativizationOptions ...
)

This API is no longer required. Any overrides should be removed.