ORK Framework  2.25.2
API Documentation
ORKFramework.HUDResearchItem Class Reference
Inheritance diagram for ORKFramework.HUDResearchItem:
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...
 
void CreateLabel (GUIBox box, out List< BaseLabel > label, Rect bounds, ResearchItem item, Combatant combatant)
 
- Public Member Functions inherited from ORKFramework.HUDElement
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

ResearchItemDisplay display = new ResearchItemDisplay()
 
- 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

◆ SetData()

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

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.HUDElement.