You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Removed direct access to currently compiling BP class to restrict unguarded mutation. Const-corrected various accessors and overrides. Moved UObject-based compiler subsystems to 'handlers' and removed UObject dependency. Moved from set of virtual functions on subsystems/handlers to a restricted set of contexts passed to specific multicast delegates that handlers subscribe to. Removed anim class subsystems. Moved property access code to engine module (editor code is still in a plugin). Fixed nativized builds where anim BPs have nativized/non-nativized classes in the hierarchy #rb Dan.OConnor #jira none [CL 14278258 by Thomas Sarkanen in ue5-main branch]
41 lines
1.3 KiB
C++
41 lines
1.3 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "AnimBlueprintCompilerCreationContext.h"
|
|
#include "AnimBlueprintCompiler.h"
|
|
|
|
FOnStartCompilingClass& FAnimBlueprintCompilerCreationContext::OnStartCompilingClass()
|
|
{
|
|
return CompilerContext->OnStartCompilingClassDelegate;
|
|
}
|
|
|
|
FOnPreProcessAnimationNodes& FAnimBlueprintCompilerCreationContext::OnPreProcessAnimationNodes()
|
|
{
|
|
return CompilerContext->OnPreProcessAnimationNodesDelegate;
|
|
}
|
|
|
|
FOnPostProcessAnimationNodes& FAnimBlueprintCompilerCreationContext::OnPostProcessAnimationNodes()
|
|
{
|
|
return CompilerContext->OnPostProcessAnimationNodesDelegate;
|
|
}
|
|
|
|
FOnPostExpansionStep& FAnimBlueprintCompilerCreationContext::OnPostExpansionStep()
|
|
{
|
|
return CompilerContext->OnPostExpansionStepDelegate;
|
|
}
|
|
|
|
FOnFinishCompilingClass& FAnimBlueprintCompilerCreationContext::OnFinishCompilingClass()
|
|
{
|
|
return CompilerContext->OnFinishCompilingClassDelegate;
|
|
}
|
|
|
|
FOnCopyTermDefaultsToDefaultObject& FAnimBlueprintCompilerCreationContext::OnCopyTermDefaultsToDefaultObject()
|
|
{
|
|
return CompilerContext->OnCopyTermDefaultsToDefaultObjectDelegate;
|
|
}
|
|
|
|
void FAnimBlueprintCompilerCreationContext::RegisterKnownGraphSchema(TSubclassOf<UEdGraphSchema> InGraphSchemaClass)
|
|
{
|
|
CompilerContext->KnownGraphSchemas.AddUnique(InGraphSchemaClass);
|
|
}
|
|
|