ORK Framework  2.26.1
API Documentation
ORKFramework.UI.AIRulesetBattleMenuItem Class Reference
Inheritance diagram for ORKFramework.UI.AIRulesetBattleMenuItem:
ORKFramework.UI.BaseBattleMenuItem ORKFramework.BaseTypeData ORKFramework.IBaseData

Public Member Functions

 AIRulesetBattleMenuItem (DataObject data)
override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
override bool IsType (BMItemType type)
override void AddToMenu (ref List< BMItem > list, Combatant owner, BattleMenu bm, BattleMenuItem parent)
ChoiceContent GetChoiceContent (Combatant combatant, int slotIndex)
- Public Member Functions inherited from ORKFramework.BaseTypeData
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...
virtual bool IsType (string type)
 Checks if the setting is of a defindd type. More...

Public Attributes

AddUnequipButton unequipButton = new AddUnequipButton()
bool showTypes = false
bool limitAIType = false
int typeID = 0
TypeSorter typeSorter = new TypeSorter()
AddContentSorter contentSorter = new AddContentSorter()
LanguageInfo [] button = ArrayHelper.CreateArray<LanguageInfo>(ORK.Languages.Count)
TitleContentLayout contentLayout
int slotIndexDisplay = 0
LanguageContent [] slotContent
LanguageInfo [] emptyPartButton
- Public Attributes inherited from ORKFramework.UI.BaseBattleMenuItem
CustomChoiceSkin customSkin = new CustomChoiceSkin()

Additional Inherited Members

- Protected Member Functions inherited from ORKFramework.UI.BaseBattleMenuItem
override string GetTypeNamespace ()

Member Function Documentation

◆ SetData()

override void ORKFramework.UI.AIRulesetBattleMenuItem.SetData ( DataObject  data)

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

dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseTypeData.

Member Data Documentation

◆ contentLayout

TitleContentLayout ORKFramework.UI.AIRulesetBattleMenuItem.contentLayout
Initial value:
= new TitleContentLayout(
ContentLayoutType.Both, ContentLayoutType.Both, ContentLayoutInfoType.None)

◆ emptyPartButton

LanguageInfo [] ORKFramework.UI.AIRulesetBattleMenuItem.emptyPartButton
Initial value:
= ArrayHelper.CreateArray<LanguageInfo>(ORK.Languages.Count,
new System.Type[] {typeof(string)}, new System.Object[] {"Empty"})

◆ slotContent

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