You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rb benoit.gadreau #jira UE-153497 #preflight https://horde.devtools.epicgames.com/job/6294be4e2e34c2e487b13394 [CL 20434781 by Helge Mathee in ue5-main branch]
23 lines
825 B
C++
23 lines
825 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "DataInterfaceGraph_EdGraph.h"
|
|
#include "DataInterfaceGraph_EditorData.h"
|
|
#include "DataInterfaceUncookedOnlyUtils.h"
|
|
|
|
void UDataInterfaceGraph_EdGraph::Initialize(UDataInterfaceGraph_EditorData* InEditorData)
|
|
{
|
|
InEditorData->ModifiedEvent.RemoveAll(this);
|
|
InEditorData->ModifiedEvent.AddUObject(this, &UDataInterfaceGraph_EdGraph::HandleModifiedEvent);
|
|
InEditorData->VMCompiledEvent.RemoveAll(this);
|
|
InEditorData->VMCompiledEvent.AddUObject(this, &UDataInterfaceGraph_EdGraph::HandleVMCompiledEvent);
|
|
}
|
|
|
|
FRigVMClient* UDataInterfaceGraph_EdGraph::GetRigVMClient() const
|
|
{
|
|
if (const UDataInterfaceGraph_EditorData* EditorData = GetTypedOuter<UDataInterfaceGraph_EditorData>())
|
|
{
|
|
return (FRigVMClient*)EditorData->GetRigVMClient();
|
|
}
|
|
return nullptr;
|
|
}
|