ORK Framework  2.25.2
API Documentation
ORKFramework.Quest Class Reference
Inheritance diagram for ORKFramework.Quest:
ORKFramework.ISaveData ORKFramework.IContent ORKFramework.IMarkNewContent ORKFramework.IContentSimple

Public Member Functions

 Quest (int questID, bool register, bool initialChecks, bool showNotification, bool showConsole)
 
 Quest (int questID, DataObject data)
 
void InitTasks (bool register)
 
void InitialChecks (bool showNotification, bool showConsole)
 
void UnmarkID (int id)
 
bool IsStatus (QuestStatusType taskStatus)
 
bool IsInactive ()
 
bool IsActive ()
 
bool IsFinished ()
 
bool IsFailed ()
 
QuestTask GetTask (int taskID)
 
List< NavigationMarkerGetNavigationMarkers ()
 
void SetInactive (Combatant combatant, bool showNotification, bool showConsole)
 
void SetActive (Combatant combatant, bool showNotification, bool showConsole)
 
bool CheckAllTasksFinished ()
 
void SetFinished (Combatant combatant, bool showNotification, bool showConsole, bool getRewards, bool finishAllTasks, bool getTaskRewards)
 
void SetFailed (Combatant combatant, bool showNotification, bool showConsole)
 
List< QuestTaskGetTasks ()
 
List< QuestTaskGetTasks (QuestStatusType taskStatus)
 
List< QuestTaskGetTasks (bool addInactive, bool addActive, bool addFinished, bool addFailed)
 
void Register (Combatant combatant)
 
void Unregister (Combatant combatant)
 
string GetName ()
 
string GetDescription ()
 
string GetIconTextCode ()
 
Texture GetIcon ()
 
GUIContent GetContent ()
 
IContentSimple GetTypeContent ()
 
string GetInfo (Combatant c)
 
string GetText ()
 
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

bool IsNewContent [get, set]
 
QuestSetting Setting [get]
 
QuestNotificationSettings Notifications [get]
 
int ID [get]
 
int TypeID [get]
 
- Properties inherited from ORKFramework.IContent
int TypeID [get]
 
- Properties inherited from ORKFramework.IContentSimple
int ID [get]
 
- Properties inherited from ORKFramework.IMarkNewContent
bool IsNewContent [get, set]
 

Member Function Documentation

◆ LoadGame()

void ORKFramework.Quest.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.Quest.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.