Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.InvetorySystem.UI.Controls.ItemFeatureGUIElement.AssetPropertyAdapter Class Reference

Detailed Description

AItemFeature connected to the AssetProperty instance.

Inheritance diagram for Doloro.InvetorySystem.UI.Controls.ItemFeatureGUIElement.AssetPropertyAdapter:
Collaboration diagram for Doloro.InvetorySystem.UI.Controls.ItemFeatureGUIElement.AssetPropertyAdapter:

Public Member Functions

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 ReadProperty ()
 Occurs after property modified. More...
 
virtual void OnValueChanged ()
 Handler that occurs when source property value has been changed.
 
virtual void OnModified ()
 Handler that should be called each time when property values have been modified. More...
 

Properties

AssetProperty property [get, set]
 Applied property.
 
Item item [get]
 Binded item source.
 
virtual string title [get, set]
 Feature's title.
 
virtual string description [get, set]
 Feature's description.
 

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.

◆ ReadProperty()

virtual void Doloro.InvetorySystem.UI.Controls.ItemFeatureGUIElement.AssetPropertyAdapter.ReadProperty ( )
protectedvirtual

Occurs after property modified.

Use to apply property's content to the base AItemFeature's API.

◆ 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: