Represents an item of equipment that can be used in the game, providing various attributes such as value, level requirements, and status effects. Implements interfaces for shop-related functionality and status representation. More...
Public Member Functions | |
| virtual string | DisplayStatus () |
| Generates a formatted string that summarizes the current status of the object, including its name, level requirement, health, mana, and other attributes. | |
| override string | ToString () |
Properties | |
| Status | Status [get] |
| Gets the current status of the equipment. | |
| int | Value [get] |
| Gets the current value in the property. | |
| string | Name [get] |
| Gets the name of the equipment. | |
| int | LevelRequirement [get] |
| Gets the minimum level required to access the equipment. | |
| bool | NotForSale [get] |
| Gets a value indicating whether the item is not available for sale. | |
Represents an item of equipment that can be used in the game, providing various attributes such as value, level requirements, and status effects. Implements interfaces for shop-related functionality and status representation.
The Equipment class encapsulates properties and behaviors for items that can be equipped by players. It includes attributes such as value, level requirements, and whether the item is available for sale. Additionally, it provides detailed status information, including health, mana, attack, defense, and accuracy values for different elements. This class is designed to be used in contexts where equipment items need to be displayed, evaluated, or interacted with, such as in shops, inventory systems, or status screens.
|
inlinevirtual |
Generates a formatted string that summarizes the current status of the object, including its name, level requirement, health, mana, and other attributes.
Implements CardRPG.IStatus.
|
get |
Gets the minimum level required to access the equipment.
Implements CardRPG.IShopableItem.
|
get |
Gets the name of the equipment.
Implements CardRPG.IShopableItem.
|
get |
Gets a value indicating whether the item is not available for sale.
Implements CardRPG.IShopableItem.
|
get |
Gets the current value in the property.
Implements CardRPG.IShopableItem.