You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
[REVIEW] [at]editor-ui-systems #rb daren.cheng [FYI] editor-ui-systems #tests PIE, cooked, validation [CL 35836548 by daren cheng in ue5-main branch]
63 lines
1.3 KiB
C++
63 lines
1.3 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "EdGraphSchema_K2.h"
|
|
|
|
#include "MVVMConversionFunctionGraphSchema.generated.h"
|
|
|
|
/**
|
|
* Schema for conversion functions, adds pin metadata needed on connections for MVVM
|
|
*/
|
|
UCLASS()
|
|
class UMVVMConversionFunctionGraphSchema : public UEdGraphSchema_K2
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
virtual bool TryCreateConnection(UEdGraphPin* A, UEdGraphPin* B) const override;
|
|
virtual const FPinConnectionResponse CanCreateConnection(const UEdGraphPin* A, const UEdGraphPin* B) const override;
|
|
};
|
|
|
|
/**
|
|
* Schema used to test if a node is async or not
|
|
*
|
|
* Note: Keep in private header.
|
|
*/
|
|
UCLASS(Hidden, HideDropDown)
|
|
class UMVVMFakeTestUbergraphSchema : public UEdGraphSchema_K2
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
virtual EGraphType GetGraphType(const UEdGraph* TestEdGraph) const override;
|
|
};
|
|
|
|
/**
|
|
* Graph used to test if a node is async or not
|
|
*
|
|
* Note: Keep in private header.
|
|
*/
|
|
UCLASS(Hidden, HideDropDown)
|
|
class UMVVMFakeTestUbergraph : public UEdGraph
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
UMVVMFakeTestUbergraph();
|
|
};
|
|
|
|
/**
|
|
* Graph used to test if a node is async or not
|
|
*
|
|
* Note: Keep in private header.
|
|
*/
|
|
UCLASS(Hidden, HideDropDown)
|
|
class UMVVMFakeTestFunctiongraph : public UEdGraph
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
UMVVMFakeTestFunctiongraph();
|
|
};
|