ORK Framework  2.22.0
API Documentation
ORKFramework.Menu.CombatantSelection Class Reference
Inheritance diagram for ORKFramework.Menu.CombatantSelection:
ORKFramework.BaseIndexData ORKFramework.IChoice ORKFramework.BaseData ORKFramework.IChoiceSimple ORKFramework.IBaseData

Public Member Functions

 CombatantSelection (string name)
 
override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
bool ShowOKButton (GUIBox origin)
 
bool ShowCancelButton (GUIBox origin)
 
bool IsOKButtonActive (GUIBox origin)
 
bool IsCancelButtonActive (GUIBox origin)
 
bool Tick (GUIBox origin)
 
bool UnfocusedTick (GUIBox origin)
 
bool NotControlableTick (GUIBox origin)
 
void Clear ()
 
void ShowMenu (MenuScreenItem item, BaseMenuPart menuOrigin)
 
void ShowUse (IShortcut shortcut, BaseMenuPart menuOrigin, bool useAction)
 
void ShowGive (IShortcut shortcut, BaseMenuPart menuOrigin, QuantityCall giveCall)
 
void ShowSelect (Combatant user, CombatantChanged callback, bool canCancel)
 
void ShowSelect (List< Combatant > combatants, CombatantChanged callback, bool canCancel)
 
void ShowSelect (List< Combatant > combatants, CombatantChanged callback, CombatantChanged selectionChangedCallback, bool canCancel)
 
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

string name = ""
 
int guiBoxID = 0
 
bool onlyBattle = true
 
bool onlyAvailable = false
 
bool showHiddenMembers = false
 
bool rememberSelection = false
 
bool autoAcceptOne = false
 
AddBackButton backButton = new AddBackButton()
 
ContentLayout backLayout = new ContentLayout(ContentLayoutType.Both, ContentLayoutInfoType.None)
 
ChoiceMessage message = new ChoiceMessage()
 
bool ownCombatantChoice = false
 
CombatantChoiceLayout combatantChoice
 

Properties

string Message [get]
 
- Properties inherited from ORKFramework.BaseIndexData
virtual int RealID [get, set]
 

Additional Inherited Members

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

Member Function Documentation

override void ORKFramework.Menu.CombatantSelection.SetData ( DataObject  data)
virtual

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.