Files
UnrealEngineUWP/Engine/Source/Editor/BlueprintGraph/Classes/K2Node_LocalVariable.h
ryan durand 627baf970a Updating copyright for Engine Editor.
#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]
2019-12-26 15:33:43 -05:00

50 lines
1.7 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "K2Node_TemporaryVariable.h"
#include "Kismet2/Kismet2NameValidators.h"
#include "K2Node_LocalVariable.generated.h"
class FBlueprintActionDatabaseRegistrar;
UCLASS(MinimalAPI, deprecated)
class UDEPRECATED_K2Node_LocalVariable : public UK2Node_TemporaryVariable
{
GENERATED_UCLASS_BODY()
/** If this is not an override, allow user to specify a name for the function created by this entry point */
UPROPERTY()
FName CustomVariableName;
/** The local variable's assigned tooltip */
UPROPERTY()
FText VariableTooltip;
//~ Begin UEdGraphNode Interface.
virtual FText GetTooltipText() const override;
virtual FText GetNodeTitle(ENodeTitleType::Type TitleType) const override;
virtual void OnRenameNode(const FString& NewName) override;
virtual TSharedPtr<class INameValidatorInterface> MakeNameValidator() const override;
virtual void PostPlacedNewNode() override;
virtual void PostPasteNode() override;
virtual bool IsCompatibleWithGraph(const UEdGraph* TargetGraph) const override;
virtual void ReconstructNode() override;
//~ End UEdGraphNode Interface.
//~ Begin UK2Node Interface.
virtual bool NodeCausesStructuralBlueprintChange() const override { return true; }
virtual bool ShouldShowNodeProperties() const override { return true; }
virtual void GetMenuActions(FBlueprintActionDatabaseRegistrar& ActionRegistrar) const override {}
//~ End UK2Node Interface.
/**
* Assigns the local variable a type
*
* @param InVariableType The type to assign this local variable to
*/
BLUEPRINTGRAPH_API void ChangeVariableType(const FEdGraphPinType& InVariableType);
};