Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.InvetorySystem.Features.StorageInfo Class Reference

Detailed Description

Information defined to storage.

Inheritance diagram for Doloro.InvetorySystem.Features.StorageInfo:
Collaboration diagram for Doloro.InvetorySystem.Features.StorageInfo:

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

string Title [get, set]
 Title applied to the storage. More...
 
string Description [get, set]
 Custom description applied to the storage.
 
Guid OwnerID [get, set]
 Id of storage owner.
 
Storage storage [get]
 Binded storage source.
 

Events

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

Member Function Documentation

◆ LoadSession()

override void Doloro.InvetorySystem.Features.StorageInfo.LoadSession ( byte[]  data)
virtual

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 from Doloro.InvetorySystem.AEntityFeature.

◆ 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()

override void Doloro.InvetorySystem.Features.StorageInfo.OnStorageRentOver ( )
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.

◆ SaveSession()

override byte[] Doloro.InvetorySystem.Features.StorageInfo.SaveSession ( )
virtual

Converting property session data to the binary formated.

Returns
Binary-like data that must be accessible cross sessions.

Reimplemented from Doloro.InvetorySystem.AEntityFeature.

◆ SetDefault()

override void Doloro.InvetorySystem.Features.StorageInfo.SetDefault ( )
virtual

Sets default property values.

Reimplemented from Doloro.InvetorySystem.AEntityFeature.

Property Documentation

◆ Title

string Doloro.InvetorySystem.Features.StorageInfo.Title
getset

Title applied to the storage.

Started from % char will consider as key for localization system.


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