ORK Framework  2.27.0
API Documentation
ORKFramework.Menu.Parts.AbilityMenuPart Class Reference
Inheritance diagram for ORKFramework.Menu.Parts.AbilityMenuPart:
ORKFramework.Menu.Parts.BaseMenuPart ORKFramework.IChoice ORKFramework.ITabChoice ORKFramework.IDragOrigin ORKFramework.Menu.Parts.CoreMenuPart ORKFramework.IChoiceSimple ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
bool ShowOKButton (GUIBox origin)
 
bool ShowCancelButton (GUIBox origin)
 
bool IsOKButtonActive (GUIBox origin)
 
bool IsCancelButtonActive (GUIBox origin)
 
void CloseAfterUse ()
 
bool Tick (GUIBox origin)
 
bool UnfocusedTick (GUIBox origin)
 
bool NotControlableTick (GUIBox origin)
 
override bool ShowFirstDescription ()
 
override bool FocusFirst ()
 
override bool IsFocused ()
 
override void Refresh ()
 
override void Show (MenuScreen s)
 
override void ChangeCombatant (Combatant old)
 
override void Close (bool closeImmediately)
 
void CombatantChanged (Combatant c)
 
override void ResetSelection ()
 
void Show ()
 
void FocusGained (GUIBox origin)
 
void FocusLost (GUIBox origin)
 
void OutOfBoxClick (GUIBox origin)
 
void Closed (GUIBox origin)
 
override void CombatantChoiceClosed (bool canceled)
 
void ShowSelectedPreview ()
 
void ChoiceSelected (int index, GUIBox origin)
 
void SelectionChanged (int index, GUIBox origin)
 
void TabChanged (int index, GUIBox box)
 
void Canceled (GUIBox origin)
 
override void SubMenuClosed (bool canceled)
 
void Dropped (DragInfo drag)
 
bool DroppedOnCombatant (Combatant c, DragInfo drag)
 
bool DroppedToWorld (Vector3 position, DragInfo drag)
 
- 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 closeAfter = false
 
bool closeAfterNoReturn = false
 
bool closeAfterAll = false
 
bool useScreenCom = false
 
bool animateUse = true
 
SubMenuAction defaultAction = SubMenuAction.Use
 
AssignShortcutMenu shortcutMenu
 
AssetSource< ORKGameEventgameEvent
 
bool allTypes = true
 
bool mergeSubTypes = false
 
bool enableTypeTooltip = false
 
TypeSorter typeSorter = new TypeSorter()
 
bool setStartParentType = false
 
int startParentTypeID = 0
 
bool addAllTypeChoice = false
 
bool allTypeChoiceFirst = true
 
ContentButton allTypeButton
 
int [] availableTypeID
 
bool useTypeKeys = false
 
int nextTypeKey = 0
 
int prevTypeKey = 0
 
GUIBoxAudioType typeKeysAudioType = GUIBoxAudioType.Cursor
 
MenuTypeDisplay typeDisplay = MenuTypeDisplay.GUIBox
 
bool showEmptyTypes = false
 
bool onlyCombatantTypes = false
 
MenuBoxDisplay display = MenuBoxDisplay.Multi
 
int guiBoxID = 0
 
AddBackButton typeBackButton = new AddBackButton()
 
bool useTypeTitle = false
 
string [] typeTitle
 
bool useNewTypeContentLayout = false
 
ContentLayout typeContentLayout = new ContentLayout(ContentLayoutType.Both, ContentLayoutInfoType.None)
 
ContentLayout newTypeContentLayout = new ContentLayout(ContentLayoutType.Both, ContentLayoutInfoType.None)
 
HeaderTexts typeHeaderTexts = new HeaderTexts()
 
int guiBoxID2 = 0
 
bool startFocused = false
 
bool showAbilityPortraits = false
 
int abilityPortraitTypeID = 0
 
AddContentSorter contentSorter = new AddContentSorter()
 
bool addAttacks = false
 
bool addCounter = false
 
bool addClass = false
 
bool addActive = true
 
bool addPassive = true
 
IncludeCheckType addTemporary = IncludeCheckType.Yes
 
AddBackButton backButton = new AddBackButton()
 
bool useTitle = false
 
string [] title
 
bool enableDrag = false
 
bool enableClick = false
 
int clickCount = 2
 
bool enableTooltip = false
 
bool dragInactive = false
 
bool useNewContentLayout = false
 
ContentLayout contentLayout = new ContentLayout(ContentLayoutType.Both, ContentLayoutInfoType.Info)
 
ContentLayout newContentLayout = new ContentLayout(ContentLayoutType.Both, ContentLayoutInfoType.Info)
 
HeaderTexts headerTexts = new HeaderTexts()
 
bool allowLvlChange = false
 
int increaseKey = 0
 
int decreaseKey = 0
 
bool loopLevels = false
 
bool useSubMenu = false
 
SubMenu subMenu
 
bool displayLevelPoints = false
 
HUDWrapperPlacement hudPlacement = HUDWrapperPlacement.IgnoreContent
 
HUDLevelPoints [] levelPointsElement
 

Properties

override bool Controlable [get]
 
bool AcceptCallsSubMenu [get]
 
override bool OnScreenCombatant [get]
 
override bool IsOpened [get]
 
override bool IsClosed [get]
 
- Properties inherited from ORKFramework.Menu.Parts.BaseMenuPart
MenuScreen Screen [get, set]
 
virtual bool OnScreenCombatant [get]
 
abstract bool IsOpened [get]
 
abstract bool IsClosed [get]
 
virtual bool Controlable [get]
 

Additional Inherited Members

- Protected Attributes inherited from ORKFramework.Menu.Parts.BaseMenuPart
MenuScreen screen
 

Member Function Documentation

◆ SetData()

override void ORKFramework.Menu.Parts.AbilityMenuPart.SetData ( DataObject  data)
virtual

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.