#include <party.h>
Public Member Functions | |
| Armour (Ultima1Game *game, Character *c, ArmorType armorType) | |
| void | changeQuantity (int delta) override |
| uint | getBuyCost () const |
| uint | getSellCost () const |
Public Member Functions inherited from Ultima::Shared::Itemized | |
| Itemized () | |
| virtual | ~Itemized () |
| void | synchronize (Common::Serializer &s) |
| void | incrQuantity () |
| bool | empty () const |
| bool | decrQuantity () |
Additional Inherited Members | |
Public Attributes inherited from Ultima::Shared::Armour | |
| Common::String | _name |
Public Attributes inherited from Ultima::Shared::Itemized | |
| uint | _quantity |
Derived armor class
| Ultima::Ultima1::Armour::Armour | ( | Ultima1Game * | game, |
| Character * | c, | ||
| ArmorType | armorType | ||
| ) |
Constructor
|
inlineoverridevirtual |
Change the quantity by a given amount
Reimplemented from Ultima::Shared::Itemized.
| uint Ultima::Ultima1::Armour::getBuyCost | ( | ) | const |
Gets how much the weapon can be bought for
| uint Ultima::Ultima1::Armour::getSellCost | ( | ) | const |
Gets how much the weapon can sell for