33 lines
803 B
C++
33 lines
803 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "K2Node_CallFunction.h"
|
|
|
|
#include "K2Node_GetJsonField.generated.h"
|
|
|
|
/** A custom node that gets a JsonObject field. */
|
|
UCLASS()
|
|
class JSONBLUEPRINTGRAPH_API UK2Node_GetJsonField
|
|
: public UK2Node_CallFunction
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
UK2Node_GetJsonField();
|
|
|
|
// //~ Begin UEdGraphNode Interface.
|
|
virtual void AllocateDefaultPins() override;
|
|
virtual FText GetTooltipText() const override;
|
|
// //~ End UEdGraphNode Interface.
|
|
|
|
//~ Begin K2Node Interface
|
|
virtual bool IsNodePure() const override;
|
|
virtual void GetMenuActions(FBlueprintActionDatabaseRegistrar& InActionRegistrar) const override;
|
|
virtual FText GetMenuCategory() const override;
|
|
//~ End K2Node Interface
|
|
|
|
protected:
|
|
void NotifyInputChanged() const;
|
|
};
|