ORK Framework  2.25.2
API Documentation
ORKFramework.HUDElement Class Reference
Inheritance diagram for ORKFramework.HUDElement:
ORKFramework.CoreHUDElement ORKFramework.BaseData ORKFramework.IBaseData ORKFramework.HUDInteraction ORKFramework.HUDLevelPoints ORKFramework.HUDQuest ORKFramework.HUDResearchItem ORKFramework.HUDStatus ORKFramework.HUDText ORKFramework.HUDTooltip

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
virtual void CreateLabels (GUIBox box, out List< BaseLabel > label, Rect displayBounds, Combatant combatant)
 
virtual void CreateLabelsEditor (GUIBox box, out List< BaseLabel > label, Rect displayBounds, Combatant combatant)
 
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 box = false
 
bool noFlash = false
 
bool outsideBounds = false
 
HUDElementBounds bounds = new HUDElementBounds()
 
bool showBackground = false
 
DisplayImage bg
 
bool expandBoundsBG = false
 

Member Function Documentation

◆ SetData()

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

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.

Reimplemented in ORKFramework.HUDStatus, ORKFramework.HUDText, ORKFramework.HUDTooltip, ORKFramework.HUDLevelPoints, and ORKFramework.HUDResearchItem.