ORK Framework  2.26.1
API Documentation
ORKFramework.ItemCollectionChoice Class Reference
Inheritance diagram for ORKFramework.ItemCollectionChoice:
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 (ItemCollector collector, IShortcut item)
void Show ()
void FocusGained (GUIBox origin)
void FocusLost (GUIBox origin)
void OutOfBoxClick (GUIBox origin)
void Close (bool accept)
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

ItemCollectionAnimation animateBefore = new ItemCollectionAnimation()
ItemCollectionAnimation animateAfterOk = new ItemCollectionAnimation()
ItemCollectionAnimation animateAfterCancel = new ItemCollectionAnimation()
bool show = true
int guiBoxID = 0
bool autoClose = false
bool closeBlockAccept = false
float closeAfter = 3
bool useItemTitle = false
string [] itemTitle
string [] message = ArrayHelper.CreateArray(ORK.Languages.Count, "You found %n (%).")
bool useMoneyTitle = false
string [] moneyTitle
string [] messageMoney = ArrayHelper.CreateArray(ORK.Languages.Count, "You found % %n.")
bool showChoice = false
YesNoChoiceButtons choiceSettings


string?? Message [get]

Member Function Documentation

◆ SetData()

override void ORKFramework.ItemCollectionChoice.SetData ( DataObject  data)

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

dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.