Doloro GDK 22 .1.0 Beta
by Tauri Interactive
|
Implements shop functionality to the storage.
Public Member Functions | |
override void | LoadSession (byte[] data) |
Loading session data in binary format to the instance. More... | |
override byte[] | SaveSession () |
Converting property session data to the binary formated. More... | |
override void | SetDefault () |
Sets default property values. More... | |
override void | OnStorageRentOver () |
Occurs when rented storage released from the rent. More... | |
virtual void | OnStorageRented () |
The storage entity was rented with a new source StoragesDatabase.StorageContainer. More... | |
Protected Member Functions | |
virtual void | OnModified () |
Handler that should be called each time when property values have been modified. More... | |
Properties | |
Vector2 | WorkTime [get, set] |
Defines day time range when the store allowed to access. [Included, Excluded] More... | |
Storage | storage [get] |
Binded storage source. | |
Events | |
Action< AEntityFeature > | Modified |
Occurs when internal systems calling the OnModified handler. | |
|
virtual |
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 from Doloro.InvetorySystem.AEntityFeature.
|
protectedvirtualinherited |
Handler that should be called each time when property values have been modified.
Reimplemented in Doloro.InvetorySystem.Features.VolumetricSpace.StorageVolume.
|
virtualinherited |
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 from Doloro.InvetorySystem.AStorageFeature.
|
virtual |
Converting property session data to the binary formated.
Reimplemented from Doloro.InvetorySystem.AEntityFeature.
|
virtual |
Sets default property values.
Reimplemented from Doloro.InvetorySystem.AEntityFeature.
|
getset |
Defines day time range when the store allowed to access. [Included, Excluded]
0 - 00:00 1440 - 24:00