Files
UnrealEngineUWP/Engine/Source/Editor/BlueprintGraph/Classes/K2Node_LocalVariable.h
Thomas Sarkanen 8ba3c4c087 Merging //UE4/Dev-Main to Dev-Anim (//UE4/Dev-Anim) @ CL 4643671
#rb none
#jira none

[CL 4665410 by Thomas Sarkanen in Dev-Anim branch]
2018-12-17 06:31:16 -05:00

50 lines
1.7 KiB
C++

// Copyright 1998-2019 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);
};