ORK Framework  2.22.0
API Documentation
ORKFramework.HUDTooltip Class Reference
Inheritance diagram for ORKFramework.HUDTooltip:
ORKFramework.HUDElement ORKFramework.CoreHUDElement 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 CreateLabels (GUIBox box, out List< BaseLabel > label, Rect displayBounds, Combatant combatant)
 
override void CreateLabelsEditor (GUIBox box, out List< BaseLabel > label, Rect displayBounds, Combatant combatant)
 
- Public Member Functions inherited from ORKFramework.HUDElement
virtual bool CheckClick (Combatant owner, Vector2 position, float releasedAfter, ref bool clickConsumed)
 
- 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 useBar = false
 
HUDShortcutValueType barType = HUDShortcutValueType.LevelPoints
 
ValueBar bar
 
string noEffectTimeText = ""
 
bool useTooltipVariables = false
 
TextHUD infoText = new TextHUD()
 
bool useRequirements = false
 
TooltipRequirement requirement
 
- Public Attributes inherited from ORKFramework.HUDElement
bool box = false
 
bool noFlash = false
 
bool outsideBounds = false
 
HUDElementBounds bounds = new HUDElementBounds()
 
bool showBackground = false
 
DisplayImage bg
 
bool expandBoundsBG = false
 

Member Function Documentation

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

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.HUDElement.