|
ClassicCityBuilderKit 1.9.4
|
receives any service of a specified category and uses it up over time
basically just automatically manages a ServiceRecipient for every active service
values are kept seperately, evolutions check how many different services of the category are currently available
Classes | |
| class | ServiceCategoryRecipientData |
Public Member Functions | |
| void | Update (float multiplier, IBuilding building) |
| float | GetValue (Service service) |
| void | Modify (Service service, float amount) |
| void | Transfer (IServiceRecipient target) |
| IEnumerable< Service > | GetAccessibleServices () |
| ServiceCategoryRecipientData | SaveData () |
| void | LoadData (ServiceCategoryRecipientData data) |
Public Attributes | |
| ServiceCategory | ServiceCategory |
| float | LossPerSecond |
| float | GracePeriod |
Events | |
| Action | Changed |
| fires when any of its services either lose or gain access | |