Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.InvetorySystem.AMaskStorageFeature Class Referenceabstract

Detailed Description

The storage feature that implements some rules that can block the item from storage using.

Inheritance diagram for Doloro.InvetorySystem.AMaskStorageFeature:
Collaboration diagram for Doloro.InvetorySystem.AMaskStorageFeature:

Public Member Functions

abstract 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...
 
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

string message [get, protected set]
 Message generated to the order during validation precess.
 
Storage storage [get]
 Binded storage source.
 

Events

Action< AEntityFeatureModified
 Occurs when internal systems calling the OnModified handler.
 

Member Function Documentation

◆ LoadSession()

virtual void Doloro.InvetorySystem.AEntityFeature.LoadSession ( byte[]  data)
virtualinherited

Loading session data in binary format to the instance.

Parameters
dataProperty 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.

◆ OnModified()

virtual void Doloro.InvetorySystem.AEntityFeature.OnModified ( )
protectedvirtualinherited

Handler that should be called each time when property values have been modified.

Reimplemented in Doloro.InvetorySystem.Features.VolumetricSpace.StorageVolume.

◆ OnStorageRented()

virtual void Doloro.InvetorySystem.AStorageFeature.OnStorageRented ( )
virtualinherited

◆ OnStorageRentOver()

virtual void Doloro.InvetorySystem.AStorageFeature.OnStorageRentOver ( )
virtualinherited

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.

◆ OnTrasactionMask()

abstract bool Doloro.InvetorySystem.AMaskStorageFeature.OnTrasactionMask ( TransactionService.TransactionOrder  order)
pure virtual

The handler that calling by the storage for each property to find out is the item could be placed in.

Parameters
orderTransaction order that contains meta description of sharing operation.
Returns
true in case if item passing the filter. false otherwise.

Implemented in Doloro.InvetorySystem.Features.VolumetricSpace.StorageVolume, Doloro.InvetorySystem.Features.StorageItemsTagsFilter, Doloro.InvetorySystem.Features.StorageLock, Doloro.InvetorySystem.Features.StorageSlotsLimiter, and Doloro.InvetorySystem.Features.StorageWeightLimiter.

◆ SaveSession()

virtual byte[] Doloro.InvetorySystem.AEntityFeature.SaveSession ( )
virtualinherited

◆ SetDefault()

virtual void Doloro.InvetorySystem.AEntityFeature.SetDefault ( )
virtualinherited

The documentation for this class was generated from the following file: