Loading...
Searching...
No Matches
CityBuilderCore.BuildingItemScore Class Reference

Detailed Description

item quantity in building storage

https://citybuilder.softleitner.com/manual/scores

Inheritance diagram for CityBuilderCore.BuildingItemScore:
CityBuilderCore.Score

Public Types

enum  BuildingItemCalculation { Total , Average , Relative }
 

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

BuildingItemCalculation Mode
 
BuildingInfo Building
 
BuildingCategory BuildingCategory
 
Item Item
 
ItemCategory ItemCategory
 
- Public Attributes inherited from CityBuilderCore.Score
string Name
 

Member Enumeration Documentation

◆ BuildingItemCalculation

Enumerator
Total 

total sum of items owned across buildings

Average 

average of items owned per building

Relative 

how many items are stored relative to the capacity