ORK Framework  2.25.2
API Documentation
ORKFramework.QuestHandler Class Reference
Inheritance diagram for ORKFramework.QuestHandler:
ORKFramework.ISaveData

Public Member Functions

void Clear ()
 
void FireChanged ()
 
void MarkDataChanged (bool fireChanged)
 
void CheckDataChanged ()
 
void FireTaskFinished (int taskID)
 
void PlayerChanged (Combatant newPlayer, Combatant oldPlayer)
 
void RegisterAfterLoad (Combatant player)
 
bool HasQuest (int questID)
 
bool HasQuests ()
 
bool HasQuests (QuestStatusType status)
 
bool HasNotEndedQuests ()
 
bool HasEndedQuests ()
 
Quest GetQuest (int questID)
 
QuestTask GetTask (int taskID)
 
void AddQuest (int questID, bool showNotification, bool showConsole)
 
void RemoveQuest (int questID, bool showConsole)
 
void QuestActivated (int questID, bool showNotification, bool showConsole)
 
void QuestInactivated (int questID)
 
bool HasNewTypes (bool checkParent, List< int > types)
 
bool HasNewQuests (bool checkParent, int typeID)
 
List< int > GetTypes (int parentType, bool addInactive, bool addActive, bool addFinished, bool addFailed)
 
bool HasType (bool checkParent, int typeID, bool addInactive, bool addActive, bool addFinished, bool addFailed)
 
List< QuestGetQuestsByType (bool checkParent, int typeID, bool addInactive, bool addActive, bool addFinished, bool addFailed)
 
void GetQuestsByType (bool checkParent, int typeID, bool addInactive, bool addActive, bool addFinished, bool addFailed, ref List< Quest > list)
 
Texture GetQuestIcon (int questID)
 
Texture GetTaskIcon (int taskID)
 
void ResetNavigationMarkers ()
 
DataObject SaveGame ()
 Used to save the data - you need to add the data to a ORKFramework.DataObject. More...
 
void LoadGame (DataObject data)
 Used to load the data - you need to get the data from the ORKFramework.DataObject. More...
 

Properties

Notify Changed
 
QuestTaskFinished TaskFinished
 

Member Function Documentation

◆ LoadGame()

void ORKFramework.QuestHandler.LoadGame ( DataObject  data)

Used to load the data - you need to get the data from the ORKFramework.DataObject.

Parameters
dataA ORKFramework.DataObject containing the data.

Implements ORKFramework.ISaveData.

◆ SaveGame()

DataObject ORKFramework.QuestHandler.SaveGame ( )

Used to save the data - you need to add the data to a ORKFramework.DataObject.

Returns
A ORKFramework.DataObject containing the data.

Implements ORKFramework.ISaveData.