|
ClassicCityBuilderKit 1.9.4
|
item quantity in global storage
Public Types | |
| enum | CalculationMode { Global = 0 , Stored = 10 , Owned = 20 , OwnedBuildings = 21 , OwnedWalkers = 22 } |
| determines how the score is calculated More... | |
Public Member Functions | |
| override int | Calculate () |
Public Member Functions inherited from CityBuilderCore.Score | |
| int | Calculate () |
| freshly calculates the score value consider using GetCalculatorValue instead to get a buffered value | |
| int | GetCalculatorValue () |
| gets the buffered score value from the IScoresCalculator | |
Public Attributes | |
| Item | Item |
| CalculationMode | Mode |
Public Attributes inherited from CityBuilderCore.Score | |
| string | Name |
determines how the score is calculated
| Enumerator | |
|---|---|
| Global | gets quantity from IGlobalStorage |
| Stored | sums up quantities in all IStorageComponents |
| Owned | sums up quantities in all IItemOwners |
| OwnedBuildings | sums up quantities in IItemOwner buildings |
| OwnedWalkers | sums up quantities in IItemOwner walkers |