|
| ItemQuantity | Dispense () |
| | dispenses items from the dispense, depending on the dispenser this might destroy it or make it inactive for a while
|
| |
| string | SaveData () |
| | serializes the objects state(usually to json) and returns it
|
| |
| void | LoadData (string json) |
| | deserializes the serialized json data and loads the data as its new state
|
| |
|
|
string | Key |
| |
|
ItemQuantity | Items |
| |
|
int | TotalCharges |
| |
|
float | ReloadTime |
| |
|
GameObject[] | Visuals |
| |
|
IntEvent | Dispensed |
| |
|
| Vector3 | Position [get] |
| | absolute position of the dispenser on the map
|
| |
◆ Dispense()
| ItemQuantity CityBuilderCore.ReloadingItemsDispenser.Dispense |
( |
| ) |
|
|
inline |
dispenses items from the dispense, depending on the dispenser this might destroy it or make it inactive for a while
- Returns
- the items dispensed that can be added to the retriever and brought home
Implements CityBuilderCore.IItemsDispenser.
◆ LoadData()
| void CityBuilderCore.ReloadingItemsDispenser.LoadData |
( |
string | json | ) |
|
|
inline |
◆ SaveData()
| string CityBuilderCore.ReloadingItemsDispenser.SaveData |
( |
| ) |
|
|
inline |
serializes the objects state(usually to json) and returns it
- Returns
- serialized save data
Implements CityBuilderCore.ISaveData.
◆ Position
| Vector3 CityBuilderCore.ReloadingItemsDispenser.Position |
|
get |