You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rnx #rb none #ROBOMERGE-SOURCE: CL 10869241 via CL 10869527 via CL 10869904 #ROBOMERGE-BOT: (v613-10869866) [CL 10870586 by ryan durand in Main branch]
35 lines
1.0 KiB
C++
35 lines
1.0 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Engine/Blueprint.h" // for FBPVariableDescription
|
|
#include "UObject/ObjectMacros.h"
|
|
#include "Textures/SlateIcon.h"
|
|
#include "K2Node.h"
|
|
#include "K2Node_MakeVariable.generated.h"
|
|
|
|
class FBlueprintActionDatabaseRegistrar;
|
|
class UEdGraphPin;
|
|
|
|
UCLASS(MinimalAPI)
|
|
class UK2Node_MakeVariable : public UK2Node
|
|
{
|
|
GENERATED_UCLASS_BODY()
|
|
|
|
private:
|
|
UPROPERTY()
|
|
FBPVariableDescription VariableType;
|
|
|
|
public:
|
|
void SetupVariable(const FBPVariableDescription& InVariableType, UEdGraphPin* TargetInputPin, FKismetCompilerContext& CompilerContext, UFunction* Scope, const FProperty* Property );
|
|
|
|
// UK2Node interface
|
|
virtual bool IsNodePure() const override { return true; }
|
|
virtual class FNodeHandlingFunctor* CreateNodeHandler(class FKismetCompilerContext& CompilerContext) const override;
|
|
// End of UK2Node interface
|
|
|
|
UEdGraphPin* GetOutputPin() const;
|
|
const FBPVariableDescription& GetVariableType() const { return VariableType; }
|
|
};
|