27 lines
586 B
C++
27 lines
586 B
C++
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Node/DialogueGraphNode_Base.h"
|
|
#include "SGraphNode.h"
|
|
|
|
/**
|
|
*
|
|
*/
|
|
class DIALOGUEEDITOR_API SDialogueGraphNode: public SGraphNode
|
|
{
|
|
public:
|
|
SLATE_BEGIN_ARGS(SDialogueGraphNode)
|
|
{}
|
|
SLATE_END_ARGS()
|
|
|
|
void Construct(const FArguments& InArgs, UDialogueGraphNode_Base* InNode);
|
|
FText GetDialogueText() const;
|
|
|
|
/** SGraphNode Interface */
|
|
virtual TSharedRef<SWidget> CreateNodeContentArea() override;
|
|
private:
|
|
TSharedPtr<STextBlock> DialogueText;
|
|
};
|