|
ClassicCityBuilderKit 1.9.4
|
scriptable object that describes the properties of an item
Public Member Functions | |
| bool | HasValue (IBuilding building) |
| whether the value even applies to the building in question | |
| float | GetMaximum (IBuilding building) |
| the maximum value this value may get to important for bars that use a ratio | |
| float | GetValue (IBuilding building) |
| checks for the value the building currently has | |
| Vector3 | GetPosition (IBuilding building) |
| the world position that the value should be visualized at especially relevant for global values that are not created as a child of the building | |
| bool | HasValue (Walker walker) |
| whether the value even applies to the walker in question | |
| float | GetMaximum (Walker walker) |
| the maximum value this value may get to for example storage capacity for item quantities important for bars that use a ratio | |
| float | GetValue (Walker walker) |
| checks for the value the walker currently has | |
| Vector3 | GetPosition (Walker walker) |
| the world position that the value should be visualized at especially relevant for global values that are not created as a child of the walker | |
| int | GetGlobalQuantity () |
| int | GetStoredQuantity () |
| int | GetBuildingOwnedQuantity () |
| int | GetWalkerOwnedQuantity () |
Public Attributes | |
| string | Name |
| int | Priority |
| int | UnitSize = 1 |
| Sprite | Icon |
| Material | Material |
| StorageQuantityVisual[] | Visuals |
Public Attributes inherited from CityBuilderCore.KeyedObject | |
| string | Key |
Additional Inherited Members | |
Static Public Member Functions inherited from CityBuilderCore.KeyedObject | |
| static T | GetKeyedObject< T > (string key) |
Properties inherited from CityBuilderCore.IKeyed | |
| float CityBuilderCore.Item.GetMaximum | ( | IBuilding | building | ) |
the maximum value this value may get to
important for bars that use a ratio
| building | the building in question |
Implements CityBuilderCore.IBuildingValue.
| float CityBuilderCore.Item.GetMaximum | ( | Walker | walker | ) |
the maximum value this value may get to
for example storage capacity for item quantities
important for bars that use a ratio
| walker | the walker in question |
Implements CityBuilderCore.IWalkerValue.
| Vector3 CityBuilderCore.Item.GetPosition | ( | IBuilding | building | ) |
the world position that the value should be visualized at
especially relevant for global values that are not created as a child of the building
| building | the building in question |
Implements CityBuilderCore.IBuildingValue.
| Vector3 CityBuilderCore.Item.GetPosition | ( | Walker | walker | ) |
the world position that the value should be visualized at
especially relevant for global values that are not created as a child of the walker
| walker | the walker in question |
Implements CityBuilderCore.IWalkerValue.
| float CityBuilderCore.Item.GetValue | ( | IBuilding | building | ) |
checks for the value the building currently has
| building | the building of which we want to know the value |
Implements CityBuilderCore.IBuildingValue.
| float CityBuilderCore.Item.GetValue | ( | Walker | walker | ) |
checks for the value the walker currently has
| walker | the walker of which we want to know the value |
Implements CityBuilderCore.IWalkerValue.
| bool CityBuilderCore.Item.HasValue | ( | IBuilding | building | ) |
whether the value even applies to the building in question
| building | the building in question |
Implements CityBuilderCore.IBuildingValue.
| bool CityBuilderCore.Item.HasValue | ( | Walker | walker | ) |
whether the value even applies to the walker in question
| walker | the walker in question |
Implements CityBuilderCore.IWalkerValue.