ORK Framework  2.27.1
API Documentation
ORKFramework.QuestLayout Class Reference
Inheritance diagram for ORKFramework.QuestLayout:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

void GetContent (Combatant combatant, Quest quest, ref string tmpTitle, ref string tmpText)
 
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
 
virtual void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...
 

Public Attributes

bool useTitle = false
 
string [] title
 
string [] text = ArrayHelper.CreateArray(ORK.Languages.Count, "%n\n%d\n\nTasks\n%tac\n\nRewards\n%ral")
 
bool rewardSepLine = true
 
string rewardSeparator = ", "
 
string [] rewardText = ArrayHelper.CreateArray(ORK.Languages.Count, "%n (%)")
 
bool useItemReward = false
 
string [] itemRewardText
 
bool taskSepLine = true
 
string taskSeparator = ", "
 
string [] taskText = ArrayHelper.CreateArray(ORK.Languages.Count, "%n")
 
bool useInactive = false
 
string [] inactiveText
 
bool useFinished = false
 
string [] finishedText
 
bool useFailed = false
 
string [] failedText
 
bool reqSepLine = true
 
string reqSeparator = ", "
 
string [] reqText = ArrayHelper.CreateArray(ORK.Languages.Count, "%n %/%m")
 

Protected Member Functions

string GetTaskListText (List< QuestTask > tasks)
 
string GetRequirementListText (QuestTask task)
 
string GetRewardListText (Combatant combatant, QuestReward reward, bool addExp, bool addItem)