ORK Framework  2.34.0
API Documentation
ORKFramework.Menu.Parts.AIRulesetMenuPart Class Reference
Inheritance diagram for ORKFramework.Menu.Parts.AIRulesetMenuPart:
ORKFramework.Menu.Parts.BaseMenuPart ORKFramework.IChoice ORKFramework.IChoiceDrop ORKFramework.ITabChoice ORKFramework.IDragOrigin ORKFramework.Menu.Parts.CoreMenuPart ORKFramework.IChoiceSimple ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

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)
override bool ShowFirstDescription ()
override bool FocusFirst ()
override bool IsFocused ()
override void Refresh ()
override void Show (MenuScreen s)
override void ChangeCombatant (Combatant old)
override void Close (bool closeImmediately)
void CombatantChanged (Combatant c)
override void ResetSelection ()
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 TabChanged (int index, GUIBox box)
void Canceled (GUIBox origin)
void Dropped (DragInfo drag)
bool DroppedOnCombatant (Combatant c, DragInfo drag)
bool DroppedToWorld (Vector3 position, DragInfo drag)
void ChoiceDropped (int index, GUIBox origin, DragInfo drag, ref GUIBoxAudioType playDropAudio)
- Public Member Functions inherited from ORKFramework.Menu.Parts.BaseMenuPart
virtual void MarkRefresh ()
virtual void CombatantChoiceClosed (bool canceled)
virtual void SubMenuClosed (bool canceled)
virtual void ClearOverrides (bool refresh)
virtual bool SetOverrideType (BaseMenuPart backPart, int[] type, bool focus)
virtual bool SetOverrideDefaultAction (BaseMenuPart backPart, bool backAfterUse, MenuActionSetting defaultAction, bool focus)
- 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

bool allTypes = true
bool mergeSubTypes = false
bool enableTypeTooltip = false
TypeSorter typeSorter = new TypeSorter()
bool setStartParentType = false
int startParentTypeID = 0
bool addAllTypeChoice = false
bool allTypeChoiceFirst = true
ContentButton allTypeButton
int [] availableTypeID
bool useTypeKeys = false
int nextTypeKey = 0
int prevTypeKey = 0
GUIBoxAudioType typeKeysAudioType = GUIBoxAudioType.Cursor
MenuBoxDisplay displayType = MenuBoxDisplay.Multi
int slotBoxID = 0
bool showSlotPortraits = false
AddBackButton slotBackButton = new AddBackButton()
bool useSlotTitle = false
string [] slotTitle
TitleContentLayout slotContentLayout
TitleHeaderTexts slotHeaderTexts = new TitleHeaderTexts()
int slotIndexDisplay = 0
TextImageContent [] slotContent
ContentButton emptySlotButton = new ContentButton("Empty")
bool enableDragSlot = false
bool enableClickSlot = false
int clickCountSlot = 2
bool enableTooltipSlot = false
MenuTypeDisplay typeDisplay = MenuTypeDisplay.GUIBox
bool showEmptyTypes = false
bool activeEmptyTypes = false
MenuBoxDisplay displayRuleset = MenuBoxDisplay.Multi
int typeBoxID = 0
AddBackButton typeBackButton = new AddBackButton()
bool useTypeTitle = false
string [] typeTitle
bool useNewTypeContentLayout = false
ContentLayout typeContentLayout = new ContentLayout(ContentLayoutType.Both, ContentLayoutInfoType.None)
ContentLayout newTypeContentLayout = new ContentLayout(ContentLayoutType.Both, ContentLayoutInfoType.None)
HeaderTexts typeHeaderTexts = new HeaderTexts()
int rulesetBoxID = 0
bool showRulesetPortraits = false
int rulesetPortraitTypeID = 0
AdvancedContentSorter contentSorter = new AdvancedContentSorter()
AddBackButton rulesetBackButton = new AddBackButton()
AddUnequipButton unequipButton = new AddUnequipButton()
bool unequipBeforeBack = false
bool useTitle = false
string [] title
bool useNewContentLayout = false
ContentLayout contentLayout = new ContentLayout(ContentLayoutType.Both, ContentLayoutInfoType.Info)
ContentLayout newContentLayout = new ContentLayout(ContentLayoutType.Both, ContentLayoutInfoType.Info)
HeaderTexts headerTexts = new HeaderTexts()
bool enableDragRulesets = false
bool enableClickRulesets = false
int clickCountRulesets = 2
bool enableTooltipRulesets = false


override ORKDataType TypeDataType [get]
override bool Controlable [get]
override bool IsOpened [get]
override bool IsClosed [get]
- Properties inherited from ORKFramework.Menu.Parts.BaseMenuPart
MenuScreen Screen [get, set]
virtual bool OnScreenCombatant [get]
virtual bool ShouldRefresh [get]
abstract bool IsOpened [get]
abstract bool IsClosed [get]
virtual bool Controlable [get]
virtual ORKDataType TypeDataType [get]

Additional Inherited Members

- Protected Attributes inherited from ORKFramework.Menu.Parts.BaseMenuPart
MenuScreen screen
bool markRefresh = false

Member Function Documentation

◆ SetData()

override void ORKFramework.Menu.Parts.AIRulesetMenuPart.SetData ( DataObject  data)

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

dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.

Member Data Documentation

◆ slotContent

TextImageContent [] ORKFramework.Menu.Parts.AIRulesetMenuPart.slotContent
Initial value:
= ArrayHelper.CreateArray<TextImageContent>(ORK.Languages.Count,
new System.Type[] {typeof(string)}, new System.Object[] {"Slot %"})

◆ slotContentLayout

TitleContentLayout ORKFramework.Menu.Parts.AIRulesetMenuPart.slotContentLayout
Initial value:
= new TitleContentLayout(
ContentLayoutType.Both, ContentLayoutType.Both, ContentLayoutInfoType.None)