ORK Framework  2.27.1
API Documentation
ORKFramework.Menu.SubMenuItem Class Reference
Inheritance diagram for ORKFramework.Menu.SubMenuItem:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
bool CheckKey ()
bool CanUse (IShortcut shortcut, BaseMenuPart parent)
bool Use (IShortcut shortcut, BaseMenuPart parent, SubMenu subMenu, bool useAction)
- 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...

Static Public Member Functions

static SubMenuItem Create (SubMenuAction type)

Public Attributes

SubMenuAction type = SubMenuAction.Use
bool useKey = false
int keyID = 0
QuantityCall quantity
bool ownSelection = false
int selectionID = 0
AssetSource< ORKGameEventgameEvent
bool ownContent = false
TextImageDescriptionContent [] button
CustomChoiceSkin customSkin = new CustomChoiceSkin()
AssignShortcutMenu shortcutMenu

Member Function Documentation

◆ SetData()

override void ORKFramework.Menu.SubMenuItem.SetData ( DataObject  data)

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

dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.