ORK Framework  2.24.0
API Documentation
ORKFramework.ContentQuestionChoice Class Reference
Inheritance diagram for ORKFramework.ContentQuestionChoice:
ORKFramework.BaseData ORKFramework.IChoice ORKFramework.IBaseData ORKFramework.IChoiceSimple

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
bool Tick (GUIBox origin)
 
bool UnfocusedTick (GUIBox origin)
 
bool NotControlableTick (GUIBox origin)
 
bool ShowOKButton (GUIBox origin)
 
bool ShowCancelButton (GUIBox origin)
 
bool IsOKButtonActive (GUIBox origin)
 
bool IsCancelButtonActive (GUIBox origin)
 
void Show (IContentSimple content, QuestionClosed parent, Combatant combatant)
 
void Show ()
 
void FocusGained (GUIBox origin)
 
void FocusLost (GUIBox origin)
 
void OutOfBoxClick (GUIBox origin)
 
void Closed (GUIBox origin)
 
void ChoiceSelected (int index, GUIBox origin)
 
void SelectionChanged (int index, GUIBox origin)
 
void Canceled (GUIBox origin)
 
- 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 guiBoxID = 0
 
bool useTitle = false
 
string[] title
 
string[] message = ArrayHelper.CreateArray(ORK.Languages.Count, "")
 
YesNoChoiceButtons choiceSettings = new YesNoChoiceButtons()
 

Member Function Documentation

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

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.