| @ -0,0 +1,17 @@ | ||||
| #include "CSBlueprintCompiler.h" | ||||
| #include "CSCompilerContext.h" | ||||
| #include "TypeGenerator/CSBlueprint.h" | ||||
|  | ||||
| bool FCSBlueprintCompiler::CanCompile(const UBlueprint* Blueprint) | ||||
| { | ||||
| 	return Blueprint->IsA<UCSBlueprint>(); | ||||
| } | ||||
|  | ||||
| void FCSBlueprintCompiler::Compile(UBlueprint* Blueprint, const FKismetCompilerOptions& CompileOptions, FCompilerResultsLog& Results) | ||||
| { | ||||
| 	if (UCSBlueprint* CSBlueprint = CastChecked<UCSBlueprint>(Blueprint)) | ||||
| 	{ | ||||
| 		FCSCompilerContext Compiler(CSBlueprint, Results, CompileOptions); | ||||
| 		Compiler.Compile(); | ||||
| 	} | ||||
| } | ||||
		Reference in New Issue
	
	Block a user