Doloro GDK 22 .1.0 Beta
by Tauri Interactive
|
Allows to lock the storage from unauthorized access.
Public Member Functions | |
override bool | OnTrasactionMask (TransactionService.TransactionOrder order) |
The handler that calling by the storage for each property to find out is the item could be placed in. More... | |
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 | |
bool | IsLocked [get, set] |
Defines is the storage locked. | |
string | KeyID [get, set] |
Id or type of key to unlock. | |
bool | AllowsLockedAdd [get, set] |
If true the content could be placed into the storage event in case if locked, but can't be extracted. | |
string | message [get, protected set] |
Message generated to the order during validation precess. | |
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 |
The handler that calling by the storage for each property to find out is the item could be placed in.
order | Transaction order that contains meta description of sharing operation. |
true
in case if item passing the filter. false
otherwise. Implements Doloro.InvetorySystem.AMaskStorageFeature.
|
virtual |
Converting property session data to the binary formated.
Reimplemented from Doloro.InvetorySystem.AEntityFeature.
|
virtual |
Sets default property values.
Reimplemented from Doloro.InvetorySystem.AEntityFeature.