You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Rob asked me to back out GENERATED_*_BODY -> GENERATED_BODY change for now until the "_Validate and _Implementation auto-generation" discussion is over. #codereview Robert.Manuszewski [CL 2481343 by Jaroslaw Palczynski in Main branch]
43 lines
1.6 KiB
C++
43 lines
1.6 KiB
C++
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
#include "K2Node_TemporaryVariable.h"
|
|
#include "K2Node_LocalVariable.generated.h"
|
|
|
|
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);
|
|
}; |