-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDialog.h
More file actions
47 lines (34 loc) · 869 Bytes
/
Copy pathDialog.h
File metadata and controls
47 lines (34 loc) · 869 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "UObject/NoExportTypes.h"
#include "DialogInstruction.h"
#include "Dialog.generated.h"
/**
*
*/
UCLASS()
class RPG_CPP_API UDialog : public UObject
{
GENERATED_BODY()
// id
UPROPERTY()
FString identifier;
// dialog content
UPROPERTY()
TArray<UDialogInstruction*> instructions;
// line to display in widget
UPROPERTY()
FString title_line;
public:
UDialog();
UDialog(FString id, TArray<UDialogInstruction*>& in_instructions, FString in_title_line);
~UDialog();
void setIdentifier(FString id);
void setInstructions(TArray<UDialogInstruction*>& in_instructions);
void setTitleLine(FString line);
FString getIdentifier();
TArray<UDialogInstruction*>& getInstructions();
FString getTitleLine();
void start();
};