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

Public Member Functions

 ItemType (string name)
 
bool HasSubTypes ()
 
bool IsSubTypeOf (int parentID)
 
int GetParentTypeAfter (int parentID)
 
void AddTypeToList (int parentID, ref List< int > list)
 
List< int > GetTypePath ()
 
override string GetIconTextCode ()
 
- Public Member Functions inherited from ORKFramework.BaseLanguageData
 BaseLanguageData (string name)
 
void SetLanguageName (string name)
 
virtual string GetName ()
 
virtual string GetShortName ()
 
virtual string GetDescription ()
 
virtual Texture GetIcon ()
 
virtual GUIContent GetContent ()
 
- 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 damageTypeID = 0
 
- Public Attributes inherited from ORKFramework.BaseLanguageData
LanguageContent [] languageInfo
 

Properties

int ParentType [get]
 
int RootType [get]
 
- Properties inherited from ORKFramework.BaseLanguageData
virtual 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