Files
UnrealEngineUWP/Engine/Plugins/Runtime/ModelViewViewModel/Source/ModelViewViewModelBlueprint/Private/ViewModel/MVVMViewModelBlueprint.cpp
bob tellez 953cc7733b [Backout] - CL25027663
[FYI] Patrick.Boutot
Original CL Desc
-----------------------------------------------------------------
MVVM: Remove the specialized viewmodel editor and use the Blueprint base editor instead.
#jira UE-182297
#preflight 64381b51df20983c41604681

[CL 25035582 by bob tellez in ue5-main branch]
2023-04-13 20:30:11 -04:00

52 lines
1.3 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "ViewModel/MVVMViewModelBlueprint.h"
#include "ViewModel/MVVMViewModelBlueprintCompiler.h"
#include "ViewModel/MVVMViewModelBlueprintGeneratedClass.h"
#include UE_INLINE_GENERATED_CPP_BY_NAME(MVVMViewModelBlueprint)
TSharedPtr<FKismetCompilerContext> UMVVMViewModelBlueprint::GetCompilerForViewModelBlueprint(UBlueprint* BP, FCompilerResultsLog& InMessageLog, const FKismetCompilerOptions& InCompileOptions)
{
return TSharedPtr<FKismetCompilerContext>(new UE::MVVM::FViewModelBlueprintCompilerContext(CastChecked<UMVVMViewModelBlueprint>(BP), InMessageLog, InCompileOptions));
}
UMVVMViewModelBlueprintGeneratedClass* UMVVMViewModelBlueprint::GetViewModelBlueprintGeneratedClass() const
{
return Cast<UMVVMViewModelBlueprintGeneratedClass>(*GeneratedClass);
}
UMVVMViewModelBlueprintGeneratedClass* UMVVMViewModelBlueprint::GetViewModelBlueprintSkeletonClass() const
{
return Cast<UMVVMViewModelBlueprintGeneratedClass>(*SkeletonGeneratedClass);
}
bool UMVVMViewModelBlueprint::SupportsMacros() const
{
return false;
}
bool UMVVMViewModelBlueprint::SupportsEventGraphs() const
{
return false;
}
bool UMVVMViewModelBlueprint::SupportsDelegates() const
{
return false;
}
bool UMVVMViewModelBlueprint::SupportsAnimLayers() const
{
return false;
}