ORK Framework  2.26.1
API Documentation
ORKFramework.CraftingType Class Reference
Inheritance diagram for ORKFramework.CraftingType:
ORKFramework.BaseLanguageData ORKFramework.IContentSimple ORKFramework.BaseIndexData ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

 CraftingType (string name)
bool HasSubTypes ()
bool IsSubTypeOf (int parentID)
int GetParentTypeAfter (int parentID)
void AddTypeToList (int parentID, ref List< int > list)
List< int > GetTypePath ()
string GetName ()
string GetDescription ()
string GetIconTextCode ()
Texture GetIcon ()
GUIContent GetContent ()
- Public Member Functions inherited from ORKFramework.BaseLanguageData
 BaseLanguageData (string name)
- 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

bool isSubType = false
int parentTypeID = 0
int itemTypeID = 0
- Public Attributes inherited from ORKFramework.BaseLanguageData
LanguageInfo [] languageInfo


ItemType ItemType [get]
int ParentType [get]
int RootType [get]
int ID [get]
- Properties inherited from ORKFramework.BaseIndexData
virtual int RealID [get, set]
- Properties inherited from ORKFramework.IContentSimple
int ID [get]

Additional Inherited Members

- Protected Attributes inherited from ORKFramework.BaseIndexData
int realID = 0