ORK Framework  2.34.0
API Documentation
ORKFramework.QuestTask Class Reference
Inheritance diagram for ORKFramework.QuestTask:
ORKFramework.ISaveData ORKFramework.IContent ORKFramework.IContentSimple

Classes

class  TaskReq
 

Public Member Functions

 QuestTask (Quest quest, int taskID, bool register)
 
void InitRequirements ()
 
void InitialChecks (bool showNotification, bool showConsole)
 
bool IsStatus (QuestStatusType taskStatus)
 
bool IsInactive ()
 
bool IsActive ()
 
bool IsFinished ()
 
bool IsFailed ()
 
bool CheckActivate ()
 
void AutoActivate (bool showNotification, bool showConsole)
 
void SetActive (Combatant combatant, bool showNotification, bool showConsole)
 
void SetInactive (Combatant combatant, bool showNotification, bool showConsole)
 
bool CheckFinish ()
 
void AutoFinish (bool showNotification, bool showConsole)
 
void SetFinished (Combatant combatant, bool showNotification, bool showConsole, bool getRewards, bool checkQuest)
 
bool CheckFail ()
 
void AutoFail (bool showNotification, bool showConsole)
 
void SetFailed (Combatant combatant, bool showNotification, bool showConsole)
 
void Register (Combatant combatant)
 
void Unregister (Combatant combatant)
 
void ChangeCount (string tag, int change, FormulaOperator op)
 
string GetName ()
 
string GetShortName ()
 
string GetDescription ()
 
string GetIconTextCode ()
 
Texture GetIcon ()
 
GUIContent GetContent ()
 
IContentSimple GetTypeContent ()
 
string GetInfo (Combatant c)
 
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...
 

Public Attributes

TaskReq activateRequirements
 
TaskReq finishRequirements
 
TaskReq failRequirements
 
bool showMarker = true
 

Properties

QuestTaskSetting Setting [get]
 
int ID [get]
 
int TypeID [get]
 
- Properties inherited from ORKFramework.IContent
int TypeID [get]
 
- Properties inherited from ORKFramework.IContentSimple
int ID [get]
 

Member Function Documentation

◆ LoadGame()

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