53 lines
1.8 KiB
C++
53 lines
1.8 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
#pragma once
|
|
|
|
#include "Containers/Array.h"
|
|
#include "EdGraph/EdGraphNode.h"
|
|
#include "HAL/Platform.h"
|
|
#include "Internationalization/Text.h"
|
|
#include "K2Node_MakeContainer.h"
|
|
#include "Textures/SlateIcon.h"
|
|
#include "UObject/NameTypes.h"
|
|
#include "UObject/ObjectMacros.h"
|
|
#include "UObject/UObjectGlobals.h"
|
|
|
|
#include "K2Node_MakeMap.generated.h"
|
|
|
|
class UEdGraphPin;
|
|
class UObject;
|
|
struct FLinearColor;
|
|
|
|
UCLASS()
|
|
class BLUEPRINTGRAPH_API UK2Node_MakeMap : public UK2Node_MakeContainer
|
|
{
|
|
GENERATED_UCLASS_BODY()
|
|
|
|
public:
|
|
// UEdGraphNode interface
|
|
virtual void AllocateDefaultPins() override;
|
|
virtual FText GetNodeTitle(ENodeTitleType::Type TitleType) const override;
|
|
virtual FText GetTooltipText() const override;
|
|
virtual FSlateIcon GetIconAndTint(FLinearColor& OutColor) const override;
|
|
virtual void ValidateNodeDuringCompilation(class FCompilerResultsLog& MessageLog) const override;
|
|
// End of UEdGraphNode interface
|
|
|
|
// UK2Node interface
|
|
virtual void GetNodeContextMenuActions(class UToolMenu* Menu, class UGraphNodeContextMenuContext* Context) const override;
|
|
virtual bool IncludeParentNodeContextMenu() const override { return true; }
|
|
virtual class FNodeHandlingFunctor* CreateNodeHandler(class FKismetCompilerContext& CompilerContext) const override;
|
|
virtual FText GetMenuCategory() const override;
|
|
// End of UK2Node interface
|
|
|
|
// UK2Node_MakeContainer interface
|
|
virtual FName GetOutputPinName() const override;
|
|
virtual FName GetPinName(int32 PinIndex) const override;
|
|
virtual void GetKeyAndValuePins(TArray<UEdGraphPin*>& KeyPins, TArray<UEdGraphPin*>& ValuePins) const override;
|
|
// UK2Node_MakeContainer interface
|
|
|
|
// IK2Node_AddPinInterface interface
|
|
virtual void AddInputPin() override;
|
|
// End of IK2Node_AddPinInterface interface
|
|
};
|