32 lines
617 B
C++
32 lines
617 B
C++
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "UObject/NoExportTypes.h"
|
|
#include "../PlayerTemp/TempCharacter.h"
|
|
#include "Quest.generated.h"
|
|
|
|
/**
|
|
*
|
|
*/
|
|
UCLASS()
|
|
class THE_TWILIGHT_ABYSS_API UQuest : public UObject
|
|
{
|
|
GENERATED_BODY()
|
|
public:
|
|
FText Title;
|
|
FText Description;
|
|
FString QuestLine;
|
|
UQuest* ParentQuest;
|
|
FJsonObject Conditions;
|
|
FJsonObject PreConditions;
|
|
|
|
//TODO: Rewards
|
|
|
|
bool CheckConditions(FJsonObject WorldState);
|
|
bool CheckPreConditions(FJsonObject WorldState);
|
|
void ApplyRewards();
|
|
//TODO: CreateQuest
|
|
};
|