ORK Framework  2.25.2
API Documentation
ORKFramework.BattleMenuItem Class Reference
Inheritance diagram for ORKFramework.BattleMenuItem:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
override void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...
 
void AddToMenu (ref List< BMItem > list, Combatant owner, BattleMenu bm)
 
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
 

Public Attributes

BMItemType type = BMItemType.Attack
 
BaseBattleMenuItem settings = new AttackBattleMenuItem()
 

Member Function Documentation

◆ EditorAutoSetup()

override void ORKFramework.BattleMenuItem.EditorAutoSetup ( string  fieldName)
virtual

Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute.

Parameters
fieldNameThe name of the field the function is called for.

Reimplemented from ORKFramework.BaseData.

◆ SetData()

override void ORKFramework.BattleMenuItem.SetData ( DataObject  data)
virtual

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.