ORK Framework  2.25.2
API Documentation
ORKFramework.Currency Class Reference
Inheritance diagram for ORKFramework.Currency:
ORKFramework.BaseLanguageData ORKFramework.IContent ORKFramework.IPortraitContent ORKFramework.BaseIndexData ORKFramework.IContentSimple ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

 Currency (string name)
 
override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
IContentSimple GetTypeContent ()
 
string GetName ()
 
string GetDescription ()
 
string GetIconTextCode ()
 
Texture GetIcon ()
 
GUIContent GetContent ()
 
string GetInfo (Combatant c)
 
IPortrait GetPortrait (int typeID)
 
- 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 EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...
 

Public Attributes

int typeID = 0
 
bool dropable = false
 
ItemPrefabSettings prefabSettings = new ItemPrefabSettings()
 
bool ownNotifications = false
 
InventoryNotification addedNotification
 
InventoryNotification removedNotification
 
bool ownConsoleAdd = false
 
ConsoleTextInventory consoleAdd
 
bool ownConsoleRemove = false
 
ConsoleTextInventory consoleRemove
 
bool ownConsoleSet = false
 
ConsoleTextInventory consoleSet
 
TypePrefabViewPortrait [] portrait = new TypePrefabViewPortrait[0]
 
- Public Attributes inherited from ORKFramework.BaseLanguageData
LanguageInfo [] languageInfo
 

Properties

int ID [get]
 
int TypeID [get]
 
- Properties inherited from ORKFramework.BaseIndexData
virtual int RealID [get, set]
 
- Properties inherited from ORKFramework.IContent
int TypeID [get]
 
- Properties inherited from ORKFramework.IContentSimple
int ID [get]
 

Additional Inherited Members

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

Member Function Documentation

◆ SetData()

override void ORKFramework.Currency.SetData ( DataObject  data)
virtual

Sets the variables of the class using a ORKFramework.DataObject.

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.