ClassicCityBuilderKit 1.8.8
|
behaviour that does nothing except store items
can be used in ItemStorages with ItemStorageMode.Store to combine storages
for example this can be used to combine the storage across different components of the same building
Public Member Functions | |
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 | |
Public Attributes | |
ItemStorage | Storage |
Properties | |
IItemContainer | ItemContainer [get] |
holds and manages the items for the owner | |
Properties inherited from CityBuilderCore.IItemOwner |
void CityBuilderCore.ItemStore.LoadData | ( | string | json | ) |
deserializes the serialized json data and loads the data as its new state
json |
Implements CityBuilderCore.ISaveData.
string CityBuilderCore.ItemStore.SaveData | ( | ) |
serializes the objects state(usually to json) and returns it
Implements CityBuilderCore.ISaveData.
|
get |
holds and manages the items for the owner
Implements CityBuilderCore.IItemOwner.