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

Public Member Functions

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 string GetQuantityText ()
 
override IPortrait GetPortrait (int typeID)
 
override StatusPreview GetPreview (ResearchItemSetting setting, Combatant combatant, PreviewSelection selectedPreview)
 
IShortcut CreateShortcut (int quantity)
 
bool IsItem ()
 
bool IsWeapon ()
 
bool IsArmor ()
 
bool IsCurrency ()
 
bool IsAIBehaviour ()
 
bool IsAIRuleset ()
 
bool IsCraftingRecipe ()
 
bool CheckChance (Combatant user, Combatant target)
 
- Public Member Functions inherited from ORKFramework.BaseResearchItem
virtual bool InitialFinishedCheck (Combatant combatant)
 
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...
 

Public Attributes

ItemDropType type = ItemDropType.Item
 
int id = 0
 
int level = 1
 
FloatValue quantityValue = new FloatValue(1)
 
FloatValue chanceValue = new FloatValue(100)
 
bool showNotification = true
 
bool showConsole = true
 

Properties

override int ID [get]
 
override int TypeID [get]
 
IShortcut Shortcut [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 ()