-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathQuest.h
More file actions
45 lines (34 loc) · 711 Bytes
/
Copy pathQuest.h
File metadata and controls
45 lines (34 loc) · 711 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
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "QuestSubpart.h"
/**
*
*/
class RPG_CPP_API Quest
{
bool permanent;
bool ambient;
bool initiative;
TArray<QuestSubpart> subparts;
QuestSubpart current_subpart;
uint32 subpart_index;
FString identifier;
uint32 id;
enum QS_STATUS
{
QS_STATUS_INACTIVE = 0,
QS_STATUC_ACTIVE = 1,
QS_STATUS_COMPLETED = 2,
QS_STATUS_FAILED = 3,
};
QS_STATUS status;
public:
Quest();
~Quest();
Quest(bool qPermanent, bool qAmbient, bool bInitiative, TArray<QuestSubpart>& qSubparts);
void completeSubpart();
void completeQuest();
// maybe
// TArray questRewardss
};