ORK Framework  2.25.2
API Documentation
ORKFramework.Menu.AssignShortcutMenuItem Class Reference
Inheritance diagram for ORKFramework.Menu.AssignShortcutMenuItem:
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 Use (IShortcut shortcut, bool remove2nd, BaseMenuPart parent)
 
- 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 useKey = false
 
int keyID = 0
 
ShortcutSlot slot = new ShortcutSlot()
 
LanguageInfoButton button = new LanguageInfoButton()
 

Member Function Documentation

◆ SetData()

override void ORKFramework.Menu.AssignShortcutMenuItem.SetData ( DataObject  data)
virtual

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.