ORK Framework  2.34.0
API Documentation
ORKFramework.AbilityResearchItem Class Reference
Inheritance diagram for ORKFramework.AbilityResearchItem:
ORKFramework.BaseResearchItem ORKFramework.BaseTypeData ORKFramework.IContent ORKFramework.IPortraitContent ORKFramework.IBaseData ORKFramework.IContentSimple

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
override bool InitialFinishedCheck (Combatant combatant)
override void ResearchFinished (Combatant combatant, ORKGameEvent eventAsset)
override string GetName ()
override string GetShortName ()
override string GetDescription ()
override string GetIconTextCode ()
override Texture GetIcon ()
override GUIContent GetContent ()
override IContentSimple GetTypeContent ()
override string GetInfo (Combatant c)
override IPortrait GetPortrait (int typeID)
override StatusPreview GetPreview (ResearchItemSetting setting, Combatant combatant, PreviewSelection selectedPreview)
- Public Member Functions inherited from ORKFramework.BaseResearchItem
virtual string GetQuantityText ()
virtual string GetGenericTypeName ()
override bool IsType (string type)
 Checks if the setting is of a defindd type. More...
- Public Member Functions inherited from ORKFramework.BaseTypeData
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

AbilitySelection ability = new AbilitySelection()
bool isGroupAbility = false
bool showNotification = true
bool showConsole = true


virtual bool ResearchOnce [get]
AbilityShortcut Shortcut [get]
override int ID [get]
override int TypeID [get]
- Properties inherited from ORKFramework.BaseResearchItem
virtual bool EditorShowOverrideContent [get]
virtual bool ResearchOnce [get]
virtual int ID [get]
virtual int TypeID [get]
- Properties inherited from ORKFramework.IContent
int TypeID [get]
- Properties inherited from ORKFramework.IContentSimple
int ID [get]

Additional Inherited Members

- Protected Member Functions inherited from ORKFramework.BaseTypeData
virtual string GetTypeNamespace ()

Member Function Documentation

◆ SetData()

override void ORKFramework.AbilityResearchItem.SetData ( DataObject  data)

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

dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseTypeData.