ORK Framework  2.24.0
API Documentation
ORKFramework.ItemResearchItem Class Reference
Inheritance diagram for ORKFramework.ItemResearchItem:
ORKFramework.BaseData ORKFramework.IContent ORKFramework.IBaseData ORKFramework.IContentSimple

Public Member Functions

IPortrait GetPortrait (int typeID)
 
string GetName ()
 
string GetDescription ()
 
string GetIconTextCode ()
 
Texture GetIcon ()
 
GUIContent GetContent ()
 
IContentSimple GetTypeContent ()
 
string GetInfo (Combatant c)
 
IShortcut CreateShortcut (int quantity)
 
bool IsItem ()
 
bool IsWeapon ()
 
bool IsArmor ()
 
bool IsCurrency ()
 
bool IsAIBehaviour ()
 
bool IsAIRuleset ()
 
bool IsCraftingRecipe ()
 
bool CheckChance (Combatant user, Combatant target)
 
void ResearchFinished (Combatant combatant)
 
- Public Member Functions inherited from ORKFramework.BaseData
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

int ID [get]
 
int TypeID [get]
 
IShortcut Shortcut [get]
 
- Properties inherited from ORKFramework.IContent
int TypeID [get]
 
- Properties inherited from ORKFramework.IContentSimple
int ID [get]