You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
* Updated private files with IWYU for all plugins which had 3 or less changes made in ue5 main since last integration to fn #preflight 63bf8d8b577437afe607dc72 #rb none [CL 23659643 by henrik karlsson in ue5-main branch]
24 lines
616 B
C++
24 lines
616 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "MVVMBlueprintViewModelContext.h"
|
|
|
|
|
|
#include UE_INLINE_GENERATED_CPP_BY_NAME(MVVMBlueprintViewModelContext)
|
|
|
|
FMVVMBlueprintViewModelContext::FMVVMBlueprintViewModelContext(const UClass* InClass, FName InViewModelName)
|
|
{
|
|
if (InClass && InClass->ImplementsInterface(UNotifyFieldValueChanged::StaticClass()))
|
|
{
|
|
ViewModelContextId = FGuid::NewGuid();
|
|
NotifyFieldValueClass = const_cast<UClass*>(InClass);
|
|
ViewModelName = InViewModelName;
|
|
}
|
|
}
|
|
|
|
|
|
FText FMVVMBlueprintViewModelContext::GetDisplayName() const
|
|
{
|
|
return FText::FromName(ViewModelName);
|
|
}
|
|
|