ORK Framework  2.26.1
API Documentation
ORKFramework.Events.ChoiceOption Class Reference
Inheritance diagram for ORKFramework.Events.ChoiceOption:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
ChoiceContent GetContent (BaseEvent baseEvent)
 
bool Available (BaseEvent baseEvent)
 
bool CheckVariableConditions (BaseEvent baseEvent)
 
bool CheckQuestConditions ()
 
bool CheckStatusRequirements (BaseEvent baseEvent)
 
- 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 next = -1
 
ChoiceLanguageContent [] content = ArrayHelper.CreateArray<ChoiceLanguageContent>(ORK.Languages.Count)
 
bool showInactive = false
 
CustomChoiceSkin customSkin = new CustomChoiceSkin()
 
bool useCondition = false
 
EventVariableOrigin variableOrigin = new EventVariableOrigin()
 
VariableCondition condition = new VariableCondition()
 
bool useQuestCondition = false
 
QuestCondition questCondition
 
bool useStatusRequirements = false
 
EventObjectSetting statusObject
 
Needed statReqNeeded = Needed.All
 
StatusRequirement [] statusRequirement = new StatusRequirement[0]
 
bool addItem = false
 
ItemGain item = new ItemGain()
 

Member Function Documentation

◆ SetData()

override void ORKFramework.Events.ChoiceOption.SetData ( DataObject  data)
virtual

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.