G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
UQuestSubsystem Class Reference

Public Member Functions

Functions
TArray< UQuest > GetAllQuestsInState (EQuestState State) const
 Returns all existing quests of the game that are in the given state.
TArray< UQuest > GetChildQuests (TSubclassOf< UQuest > QuestClass) const
 Given a class, returns the child quests of that quest's class.
UQuest GetParentQuest (TSubclassOf< UQuest > QuestClass) const
 Given a class, returns the parent quest of that quest's class.
UQuest GetQuestByClass (TSubclassOf< UQuest > QuestClass) const
 Given a class, returns the quest instance to that class.
TArray< UQuest > GetAllQuests () const
 Returns all existing quests of the game.

Static Public Member Functions

Static Functions
static UQuestSubsystem Get ()
static UClass StaticClass ()

Public Attributes

QuestSubsystem
TArray< UQuest > TickingQuestsWhenInStateRunning
 Quests that need ticking updates.
TArray< UQuest > TickingQuestsWhenInStateAvailable
 Quests that need ticking updates.
const TArray< UQuest > AllQuests
 All quests that belong to all stories.
TArray< UQuest > TickingQuestsWhenInStateNone
 Quests that need ticking updates.
Variables
FSomeQuestStateChangedDelegate OnQuestSucceeded
FSomeQuestStateChangedDelegate OnQuestAvailable
FSomeQuestStateChangedDelegate OnQuestFailed
FSomeQuestStateChangedDelegate OnQuestStarted

Member Function Documentation

◆ Get()

UQuestSubsystem Get ( )
static

◆ GetAllQuests()

TArray< UQuest > GetAllQuests ( ) const

Returns all existing quests of the game.

◆ GetAllQuestsInState()

TArray< UQuest > GetAllQuestsInState ( EQuestState State) const

Returns all existing quests of the game that are in the given state.

◆ GetChildQuests()

TArray< UQuest > GetChildQuests ( TSubclassOf< UQuest > QuestClass) const

Given a class, returns the child quests of that quest's class.

◆ GetParentQuest()

UQuest GetParentQuest ( TSubclassOf< UQuest > QuestClass) const

Given a class, returns the parent quest of that quest's class.

◆ GetQuestByClass()

UQuest GetQuestByClass ( TSubclassOf< UQuest > QuestClass) const

Given a class, returns the quest instance to that class.

◆ StaticClass()

UClass StaticClass ( )
static

Member Data Documentation

◆ AllQuests

const TArray<UQuest> AllQuests

All quests that belong to all stories.

◆ OnQuestAvailable

◆ OnQuestFailed

◆ OnQuestStarted

◆ OnQuestSucceeded

◆ TickingQuestsWhenInStateAvailable

TArray<UQuest> TickingQuestsWhenInStateAvailable

Quests that need ticking updates.

◆ TickingQuestsWhenInStateNone

TArray<UQuest> TickingQuestsWhenInStateNone

Quests that need ticking updates.

◆ TickingQuestsWhenInStateRunning

TArray<UQuest> TickingQuestsWhenInStateRunning

Quests that need ticking updates.