An instanciated item, created from an ItemDefinition.
|
| override void | LoadData (GameData data) |
| | Is called after the base data is loaded in Load. Allows additional data to be deserialized.
|
| |
| override List< GameData > | SaveData () |
| | Is called on Save. Allows the definition of all additional GameData to be serialized.
|
| |
| override void | OnObjectDeleted () |
| | A method called on deletion, that is that the object is removed from the save game and destroyed. It is not called when destroyed but saved.
|
| |
| abstract void | LoadData (GameData data) |
| | Is called after the base data is loaded in Load. Allows additional data to be deserialized.
|
| |
| abstract List< GameData > | SaveData () |
| | Is called on Save. Allows the definition of all additional GameData to be serialized.
|
| |
| abstract void | OnObjectDeleted () |
| | A method called on deletion, that is that the object is removed from the save game and destroyed. It is not called when destroyed but saved.
|
| |
◆ Click()
| void UnityToolbox.Item.ItemInstance.Click |
( |
| ) |
|
◆ Equals()
| override bool UnityToolbox.Item.ItemInstance.Equals |
( |
object |
other | ) |
|
◆ GetHashCode()
| override int UnityToolbox.Item.ItemInstance.GetHashCode |
( |
| ) |
|
◆ GetValueForField()
| object UnityToolbox.Item.ItemInstance.GetValueForField |
( |
string |
fieldName | ) |
|
◆ LoadData()
| override void UnityToolbox.Item.ItemInstance.LoadData |
( |
GameData |
data | ) |
|
|
protectedvirtual |
◆ OnObjectDeleted()
| override void UnityToolbox.Item.ItemInstance.OnObjectDeleted |
( |
| ) |
|
|
protectedvirtual |
◆ SaveData()
| override List< GameData > UnityToolbox.Item.ItemInstance.SaveData |
( |
| ) |
|
|
protectedvirtual |
◆ _icon
| Sprite UnityToolbox.Item.ItemInstance._icon |
|
protected |
◆ _itemName
| string UnityToolbox.Item.ItemInstance._itemName |
|
protected |
◆ IconPath
| string UnityToolbox.Item.ItemInstance.IconPath |
◆ MaxStackCount
| int UnityToolbox.Item.ItemInstance.MaxStackCount |
◆ Icon
| Sprite UnityToolbox.Item.ItemInstance.Icon |
|
getset |
◆ Indentifier
| string UnityToolbox.Item.ItemInstance.Indentifier |
|
getset |
◆ Inventory
◆ ItemFields
| HashSet<ItemField> UnityToolbox.Item.ItemInstance.ItemFields |
|
getset |
◆ ItemName
| string UnityToolbox.Item.ItemInstance.ItemName |
|
getset |
◆ ItemType
| Type UnityToolbox.Item.ItemInstance.ItemType |
|
getset |