![]() |
Liberi
An exergame built for kids with CP!
|
Derived class for storing Hero clothing items. More...
Inherits Item.
Public Attributes | |
| string | Slot |
| Which equipment slot this item is for. More... | |
| Sprite | PrimarySprite |
| The primary sprite. More... | |
| Sprite | SecondarySprite |
| The secondary sprite (currently just for the back hand for gloves). More... | |
Public Attributes inherited from Item | |
| Sprite | GUISprite |
| The Sprite used to represent this item in the GUI. More... | |
Properties | |
| override string | Type [get] |
| override bool | Equippable [get] |
Properties inherited from Item | |
| string | DisplayNameID [get] |
| The Localization ID of the Item's actual name as it will appear in inventory/shops. More... | |
| string | DescriptionID [get] |
| The Localization ID of the Item's description/flavour text. More... | |
| virtual string | Type [get] |
| Derived classes should override this property with a relevant string used for comparisons related to how an item is treater by a vendor. It is kept as a string and not an Enum beacuse this type will often be sent as a net message and Enum's introduce type/case sensitivity. More... | |
| virtual bool | Equippable [get] |
| Derived classes should override this property to return true if they are equippable. More... | |
Derived class for storing Hero clothing items.
Definition at line 7 of file HeroItem.cs.
| Sprite HeroItem.PrimarySprite |
The primary sprite.
Definition at line 16 of file HeroItem.cs.
| Sprite HeroItem.SecondarySprite |
The secondary sprite (currently just for the back hand for gloves).
Definition at line 20 of file HeroItem.cs.
| string HeroItem.Slot |
Which equipment slot this item is for.
Definition at line 12 of file HeroItem.cs.