|
Oakfolks Gold_1.14
Oakfolks coop game
|
Quest management subsystem for tracking player progress. More...
#include <UI_Subsystem.h>


Public Member Functions | |
| virtual void | Initialize (FSubsystemCollectionBase &Collection) override |
| Initializes the quest subsystem. | |
| virtual void | Deinitialize () override |
| Cleans up the quest subsystem. | |
| void | LoadQuestLine (UQuestData *NewQuestLine) |
| Loads a new quest line and starts the first quest. | |
| void | CompleteQuest (FString Tag) |
| Progress tracking. | |
| void | ProgressQuest (FString Tag) |
| Increments progress for the current quest. | |
| FString | GetCurrentQuestDesc () |
| Gets the description of the current active quest. | |
| FString | GetCurrentQuestTag () |
| Gets the tag identifier of the current active quest. | |
| int | GetCurrentQuestAmount () |
| Gets the target amount required to complete the current quest. | |
| int | GetCurrentQuestProgress () |
| Gets the current progress towards quest completion. | |
Public Attributes | |
| FOnQuestCompleted | OnQuestCompleted |
| FOnQuestLineCompleted | OnQuestLineCompleted |
Quest management subsystem for tracking player progress.
Handles quest line loading, progress tracking, completion validation, and event broadcasting
| void UQuest_Subsystem::CompleteQuest | ( | FString | Tag | ) |
Progress tracking.
Marks a quest as completed and advances to the next quest.
Validates quest tag, finds next quest in chain, or completes the quest line
| Tag | The tag of the quest to complete |

|
overridevirtual |
Cleans up the quest subsystem.
Performs cleanup when the subsystem is destroyed
| int UQuest_Subsystem::GetCurrentQuestAmount | ( | ) |
Gets the target amount required to complete the current quest.
Returns how many actions/items are needed to complete the quest
| FString UQuest_Subsystem::GetCurrentQuestDesc | ( | ) |
Gets the description of the current active quest.
QUEST INFORMATION //////// Current quest data
Returns the descriptive text for the currently active quest
| int UQuest_Subsystem::GetCurrentQuestProgress | ( | ) |
Gets the current progress towards quest completion.
Returns how many actions/items have been completed so far
| FString UQuest_Subsystem::GetCurrentQuestTag | ( | ) |
Gets the tag identifier of the current active quest.
Returns the unique tag for the currently active quest
|
overridevirtual |
Initializes the quest subsystem.
Sets up the initial state for quest tracking and management
| Collection | The subsystem collection for dependency management |
| void UQuest_Subsystem::LoadQuestLine | ( | UQuestData * | NewQuestLine | ) |
Loads a new quest line and starts the first quest.
QUEST MANAGEMENT //////// Quest line control
Finds and activates the first quest in the chain (one with empty PreviousQuestTag)
| NewQuestLine | The quest data asset containing the quest line to load |
| void UQuest_Subsystem::ProgressQuest | ( | FString | Tag | ) |
Increments progress for the current quest.
Advances quest progress and auto-completes when target amount is reached
| Tag | The tag of the quest to progress |

| FOnQuestCompleted UQuest_Subsystem::OnQuestCompleted |
DELEGATES //////// Event broadcasting