Space Plunder
Loading...
Searching...
No Matches
QuestDataBPLib.h
Go to the documentation of this file.
1// Fill out your copyright notice in the Description page of Project Settings.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "Data/BaseData.h"
7#include "Kismet/BlueprintFunctionLibrary.h"
8#include "QuestDataBPLib.generated.h"
9
11struct FQuestObjectives;
12struct FQuestInfo;
13struct FQuestID;
17UCLASS()
18class QUESTSYSTEM_API UQuestDataBPLib : public UBlueprintFunctionLibrary
19{
20 GENERATED_BODY()
21
22 UFUNCTION(BlueprintCallable, Category="Quest System|Data", meta=(WorldContext="WorldContextObject"))
23 static void SavePlayerQuestTimes(const UObject* WorldContextObject, UPARAM(ref) FPlayerQuestStatus& PlayerQuestStatus);
24
26 UFUNCTION(BlueprintCallable, Category="Quest System|Data", meta=(WorldContext="WorldContextObject"))
27 static float SaveQuestTime(const UObject* WorldContextObject, UPARAM(ref) FQuestInfo& QuestInfo);
29 UFUNCTION(BlueprintCallable, Category="Quest System|Data", meta=(WorldContext="WorldContextObject"))
30 static float SaveObjectiveTime(const UObject* WorldContextObject, UPARAM(ref) FQuestObjectives& ObjectiveInfo);
31
32 UFUNCTION(BlueprintCallable, Category="Quest System|Data")
33 static void AddObjectiveProgress(UPARAM(ref) FQuestObjectives& ObjectiveInfo, const int32 Amount);
34 UFUNCTION(BlueprintCallable, Category="Quest System|Data")
35 static void AddObjectiveFailProgress(UPARAM(ref) FQuestObjectives& ObjectiveInfo, const int32 Amount);
36
37
38 //~~ Getters ~~//
39
40 UFUNCTION(BlueprintCallable, Category="Quest System|Data")
41 static float GetQuestElapsedTime(const FQuestInfo& QuestInfo);
42 UFUNCTION(BlueprintCallable, Category="Quest System|Data")
43 static float GetQuestStartTime(const FQuestInfo& QuestInfo);
44 UFUNCTION(BlueprintCallable, Category="Quest System|Data")
45 static float GetObjectiveElapsedTime(const FQuestObjectives& ObjectiveInfo);
46 UFUNCTION(BlueprintCallable, Category="Quest System|Data")
47 static float GetObjectiveStartTime(const FQuestObjectives& ObjectiveInfo);
48
49 UFUNCTION(BlueprintCallable, Category="Quest System|Data", meta=(WorldContext="WorldContextObject"))
50 static bool GetQuestDidCompleteInTime(const UObject* WorldContextObject, UPARAM(ref) FQuestInfo& QuestInfo);
51 UFUNCTION(BlueprintCallable, Category="Quest System|Data", meta=(WorldContext="WorldContextObject"))
52 static bool GetObjectiveDidCompleteInTime(const UObject* WorldContextObject, UPARAM(ref) FQuestObjectives& ObjectiveInfo);
53
54
55 UFUNCTION(BlueprintCallable, Category="Quest System|Data")
56 static FUniqueID GetQuestUniqueID(const FQuestInfo& QuestInfo);
57 UFUNCTION(BlueprintCallable, Category="Quest System|Data")
58 static FUniqueID GetObjectiveUniqueID(const FQuestObjectives& ObjectiveInfo);
59
60
62 UFUNCTION(BlueprintCallable, Category="Quest System|Data")
63 static int32 GetQuestObjectiveRefNum(UPARAM(ref) FQuestInfo& QuestInfo);
64
65
66
67 UFUNCTION(BlueprintCallable, Category="Quest System|Data")
68 static int32 GetPlayerLevel(const FPlayerQuestStatus& PlayerQuestStatus);
70 UFUNCTION(BlueprintCallable, Category="Quest System|Data")
71 static void CheckAllObjectivesValid(UPARAM(ref) FPlayerQuestStatus& PlayerQuestStatus);
72
73
74
75};
76
UCLASS(Blueprintable, BlueprintType, ClassGroup=(BucciGames), meta=(BlueprintSpawnableComponent)) class CHATSYSTEM_API UChatSystemComponent
Definition ChatSystemComponent.h:13
Definition QuestDataBPLib.h:19
Definition QuestData.h:1117
Definition QuestData.h:798
Definition QuestData.h:361
Definition BaseData.h:253