|
ClassicCityBuilderKit 1.9.4
|
convenience container that combines an item with a quantity
Classes | |
| class | ItemQuantityData |
Public Member Functions | |
| ItemQuantity (Item item, int quantity) | |
| int | Remove (int max) |
| override string | ToString () |
| ItemQuantityData | GetData () |
Static Public Member Functions | |
| static ItemQuantity | operator+ (ItemQuantity a) |
| static ItemQuantity | operator- (ItemQuantity a) |
| static ItemQuantity | operator* (ItemQuantity q, int n) |
| static ItemQuantity | operator/ (ItemQuantity q, int n) |
| static ItemQuantity | operator+ (ItemQuantity q, int n) |
| static ItemQuantity | operator- (ItemQuantity q, int n) |
| static ItemQuantity | FromData (ItemQuantityData data) |
Public Attributes | |
| Item | Item |
| int | Quantity |
Properties | |
| float | UnitQuantity [get] |
| how many (storage)units the item quantity would take up | |