ORK Framework  2.34.0
API Documentation
ORKFramework.QuestSetting Class Reference
Inheritance diagram for ORKFramework.QuestSetting:
ORKFramework.BaseLanguageData ORKFramework.IContent ORKFramework.IPortraitContent ORKFramework.BaseIndexData ORKFramework.IContentSimple ORKFramework.IContentSimple ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

 QuestSetting (string name)
 
override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
bool CheckRequirements (Combatant combatant)
 
int GetBuyPrice (Combatant user, VariableHandler localVariables, SelectedDataHandler selectedData)
 
override string GetIconTextCode ()
 
IContentSimple GetTypeContent ()
 
string GetInfo (Combatant c)
 
IPortrait GetPortrait (int typeID)
 
override GUIContent GetContent ()
 
override Texture GetIcon ()
 
- Public Member Functions inherited from ORKFramework.BaseLanguageData
 BaseLanguageData (string name)
 
void SetLanguageName (string name)
 
virtual string GetName ()
 
virtual string GetShortName ()
 
virtual string GetDescription ()
 
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
 
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...
 

Public Attributes

int questTypeID = 0
 
FloatValue buyPriceValue = new FloatValue(50)
 
int [] addLogText = new int[0]
 
int [] finishLogText = new int[0]
 
int [] failLogText = new int[0]
 
SimpleCombatantRequirement requirement = new SimpleCombatantRequirement()
 
QuestCondition questRequirement = new QuestCondition()
 
bool useUnavailableIcon = false
 
IconInfo [] unavailableIcon
 
bool useInactiveIcon = false
 
IconInfo [] inactiveIcon
 
bool useActiveIcon = false
 
IconInfo [] activeIcon
 
bool useFinishedIcon = false
 
IconInfo [] finishedIcon
 
bool useFailedIcon = false
 
IconInfo [] failedIcon
 
string [] text = ArrayHelper.CreateArray(ORK.Languages.Count, "")
 
QuestReward reward = new QuestReward()
 
TypeImagePortrait [] portrait = new TypeImagePortrait[0]
 
bool ownLayout = false
 
QuestLayout layout
 
bool ownNotifications = false
 
QuestNotificationSettings notifications
 
bool ownConsoleAdd = false
 
ConsoleTextLearning addQuest
 
bool ownConsoleRemove = false
 
ConsoleTextLearning removeQuest
 
bool ownConsoleInactivate = false
 
ConsoleTextLearning inactivateQuest
 
bool ownConsoleActivate = false
 
ConsoleTextLearning activateQuest
 
bool ownConsoleFinish = false
 
ConsoleTextLearning finishQuest
 
bool ownConsoleFail = false
 
ConsoleTextLearning failQuest
 
- Public Attributes inherited from ORKFramework.BaseLanguageData
LanguageContent [] languageInfo
 

Properties

int TypeID [get]
 
int ItemTypeID [get]
 
- Properties inherited from ORKFramework.BaseLanguageData
virtual int ID [get]
 
- Properties inherited from ORKFramework.BaseIndexData
virtual int RealID [get, set]
 
- Properties inherited from ORKFramework.IContentSimple
int ID [get]
 
- Properties inherited from ORKFramework.IContent
int TypeID [get]
 

Additional Inherited Members

- Protected Attributes inherited from ORKFramework.BaseIndexData
int realID = 0
 

Member Function Documentation

◆ SetData()

override void ORKFramework.QuestSetting.SetData ( DataObject  data)
virtual

Sets the variables of the class using a ORKFramework.DataObject.

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.