ORK Framework  2.34.0
API Documentation
ORKFramework.BaseResearchItem Class Referenceabstract
Inheritance diagram for ORKFramework.BaseResearchItem:
ORKFramework.BaseTypeData ORKFramework.IContent ORKFramework.IPortraitContent ORKFramework.IBaseData ORKFramework.IContentSimple ORKFramework.AbilityResearchItem ORKFramework.ItemResearchItem ORKFramework.NoneResearchItem ORKFramework.QuestResearchItem ORKFramework.StatusValueResearchItem

Public Member Functions

abstract void ResearchFinished (Combatant combatant, ORKGameEvent eventAsset)
 
virtual bool InitialFinishedCheck (Combatant combatant)
 
virtual string GetName ()
 
virtual string GetShortName ()
 
virtual string GetDescription ()
 
virtual string GetIconTextCode ()
 
virtual Texture GetIcon ()
 
virtual GUIContent GetContent ()
 
virtual IContentSimple GetTypeContent ()
 
virtual string GetInfo (Combatant c)
 
virtual IPortrait GetPortrait (int typeID)
 
virtual string GetQuantityText ()
 
virtual StatusPreview GetPreview (ResearchItemSetting setting, Combatant combatant, PreviewSelection selectedPreview)
 
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 SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...
 

Properties

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

◆ IsType()

override bool ORKFramework.BaseResearchItem.IsType ( string  type)
virtual

Checks if the setting is of a defindd type.

Parameters
typeThe class type of string, consisting of namespace and class name.
Returns
true if the type matches.

Reimplemented from ORKFramework.BaseTypeData.