ORK Framework  2.27.1
API Documentation
ORKFramework.ShortcutHUD Class Reference
Inheritance diagram for ORKFramework.ShortcutHUD:
ORKFramework.BaseData ORKFramework.IDragOrigin ORKFramework.IBaseData

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
void CreateLabels (GUIBox box, out List< BaseLabel > label, Combatant combatant, Rect bounds)
DragInfo GetDrag (GUIBox box, Combatant owner, IShortcut shortcut, int index)
bool CheckShortcutClick (ShortcutHUDWrapper wrapper, GUIBox boxOrigin)
void DropCell (Combatant owner, DragInfo drag, int index)
void Dropped (DragInfo drag)
bool DroppedOnCombatant (Combatant c, DragInfo drag)
bool DroppedToWorld (Vector3 position, DragInfo drag)
Vector2 GetCellSize (float width, float height)
- 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 isGroupShortcut = false
int listIndex = -1
int startIndex = 0
bool enableTooltip = false
bool enableDrag = false
bool noOuterAssign = false
ShortcutInnerAssignType innerAssign = ShortcutInnerAssignType.Keep
bool removeOnWorldDrop = false
AssetSource< AudioClip > removeClip
float removeVolume = 1
ShortcutHUDClickUseType clickUseType = ShortcutHUDClickUseType.None
int clickCount = 2
bool useGroupTarget = false
bool useIndividualTarget = false
bool useAutoTarget = false
bool autoTargetOnly = false
bool useClickUse = false
ShortcutSlot assignSlot
bool assignSlotSwap = false
ChoiceButtonMode cellMode = ChoiceButtonMode.List
int rows = 1
int columns = 5
ColumnFill columnFill = ColumnFill.Vertical
Vector2 spacing = new Vector2(5, 5)
bool setCellSize = false
float circleRadius = 100
float circleDegree = 360.0f
float circleFirstOffset = 0
bool circleInverse = false
TextAnchor circleSlotAnchor = TextAnchor.MiddleCenter
Vector2 circlePosition = new Vector2(100, 100)
int circleSlotCount = 10
ShortcutPositionSetting [] cellPosition
Vector2 cellSize = new Vector2(50, 50)
bool ownSlotLayouts = false
ShortcutSlotLayout slotLayout

Member Function Documentation

◆ SetData()

override void ORKFramework.ShortcutHUD.SetData ( DataObject  data)

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

dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.