Doloro GDK 22 .1.0 Beta
by Tauri Interactive
|
A feature attached to the Storage instance that extends its functionality.
Public Member Functions | |
virtual void | OnStorageRented () |
The storage entity was rented with a new source StoragesDatabase.StorageContainer. More... | |
virtual void | OnStorageRentOver () |
Occurs when rented storage released from the rent. More... | |
virtual byte[] | SaveSession () |
Converting property session data to the binary formated. More... | |
virtual void | SetDefault () |
Sets default property values. More... | |
virtual void | LoadSession (byte[] data) |
Loading session data in binary format to the instance. More... | |
Protected Member Functions | |
virtual void | OnModified () |
Handler that should be called each time when property values have been modified. More... | |
Properties | |
Storage | storage [get] |
Binded storage source. | |
Events | |
Action< AEntityFeature > | Modified |
Occurs when internal systems calling the OnModified handler. | |
|
virtualinherited |
Loading session data in binary format to the instance.
data | Property related data received via the SaveSession handler. |
data
as null
must be considered as a clear session.
Reimplemented in Doloro.InvetorySystem.Modules.Shops.ShopFeature, Doloro.InvetorySystem.Features.VolumetricSpace.StorageVolume, Doloro.InvetorySystem.Features.StorageContentSpawner, Doloro.InvetorySystem.Features.StorageInfo, and Doloro.InvetorySystem.Features.StorageLock.
|
protectedvirtualinherited |
Handler that should be called each time when property values have been modified.
Reimplemented in Doloro.InvetorySystem.Features.VolumetricSpace.StorageVolume.
|
virtual |
The storage entity was rented with a new source StoragesDatabase.StorageContainer.
Reimplemented in Doloro.InvetorySystem.Features.StorageSlotsLimiter, and Doloro.InvetorySystem.Features.StorageWeightLimiter.
|
virtual |
Occurs when rented storage released from the rent.
Use to clear entire members related to the certain source StoragesDatabase.StorageContainer binded to the storage.
Reimplemented in Doloro.InvetorySystem.Modules.Shops.ShopFeature, Doloro.InvetorySystem.Features.StorageInfo, and Doloro.InvetorySystem.Features.StorageLock.
|
virtualinherited |
Converting property session data to the binary formated.
Reimplemented in Doloro.InvetorySystem.Modules.Shops.ShopFeature, Doloro.InvetorySystem.Features.VolumetricSpace.StorageVolume, Doloro.InvetorySystem.Features.StorageContentSpawner, Doloro.InvetorySystem.Features.StorageInfo, and Doloro.InvetorySystem.Features.StorageLock.
|
virtualinherited |
Sets default property values.
Reimplemented in Doloro.InvetorySystem.Modules.Shops.ShopFeature, Doloro.InvetorySystem.Features.StorageInfo, and Doloro.InvetorySystem.Features.StorageLock.