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

Public Member Functions

 AIBehaviourBattleMenuItem (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()
 
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.AIBehaviourBattleMenuItem.SetData ( DataObject  data)
virtual

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseTypeData.

Member Data Documentation

◆ contentLayout

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

◆ emptyPartButton

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

◆ slotContent

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