Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.InvetorySystem.UI.Extension.AStorageFeatureGUIExtension< FeatureType > Class Template Reference

Detailed Description

GUI extension for StorageGUIElement. Provides automatically tracking of AStorageFeature modification, that leads to call on API implemented message handlers.

Template Parameters
FeatureTypeType of the managing AStorageFeature
Type Constraints
FeatureType :AStorageFeature 
Inheritance diagram for Doloro.InvetorySystem.UI.Extension.AStorageFeatureGUIExtension< FeatureType >:
Collaboration diagram for Doloro.InvetorySystem.UI.Extension.AStorageFeatureGUIExtension< FeatureType >:

Public Member Functions

sealed override void ApplyGUIContent ()
 Handler that calls when inspector changed its content and requesting loading to the GUI a new one related to relevant source. Content always not null. More...
 
sealed override void DropGUIContent ()
 Sealed handler that controls internal logic. Use OnItemNotSelected(StoragesDatabase.ItemContainer) instead. More...
 

Protected Member Functions

override void OnDestroy ()
 Releases component from events subscriptions. More...
 
virtual void OnFeatureModified (FeatureType feature)
 Handler that calls when bonded feature has been modified and caused AEntityFeature.Modified event. More...
 
virtual void OnStorageModified (StoragesDatabase.StorageContainer storage)
 Occurs when StoragesDatabase.StorageContainer selected as source of content in parent inspector has been changed. More...
 
virtual void OnStorageNotSelected ()
 Handler that calls when inspector content is null. Should be used to clear GUI. More...
 

Package Functions

override void ApplyGUIContentInternal ()
 Handler that calls when inspector changed its content and requesting loading to the GUI a new one related to relevant source. Content always not null. More...
 

Properties

FeatureType BondedFeature [get]
 Buffer that holds currently bond feature.
 
AContentInspectorGUIElement< ContentType > inspector [get]
 Inspector to extend. More...
 

Member Function Documentation

◆ ApplyGUIContent()

sealed override void Doloro.InvetorySystem.UI.Extension.AStorageGUIElementExtension.ApplyGUIContent ( )
virtualinherited

Handler that calls when inspector changed its content and requesting loading to the GUI a new one related to relevant source. Content always not null.

AContentInspectorGUIElement.content property.

Implements Doloro.UIEngine2.Controls.AContentInspectorExtension< Storage >.

◆ ApplyGUIContentInternal()

override void Doloro.InvetorySystem.UI.Extension.AStorageFeatureGUIExtension< FeatureType >.ApplyGUIContentInternal ( )
packagevirtual

Handler that calls when inspector changed its content and requesting loading to the GUI a new one related to relevant source. Content always not null.

AInspectorGUIElement.content property.

Reimplemented from Doloro.InvetorySystem.UI.Extension.AStorageGUIElementExtension.

◆ DropGUIContent()

sealed override void Doloro.InvetorySystem.UI.Extension.AStorageGUIElementExtension.DropGUIContent ( )
virtualinherited

Sealed handler that controls internal logic. Use OnItemNotSelected(StoragesDatabase.ItemContainer) instead.

Implements Doloro.UIEngine2.Controls.AContentInspectorExtension< Storage >.

◆ OnDestroy()

override void Doloro.InvetorySystem.UI.Extension.AStorageFeatureGUIExtension< FeatureType >.OnDestroy ( )
protectedvirtual

Releases component from events subscriptions.

Reimplemented from Doloro.InvetorySystem.UI.Extension.AStorageGUIElementExtension.

◆ OnFeatureModified()

virtual void Doloro.InvetorySystem.UI.Extension.AStorageFeatureGUIExtension< FeatureType >.OnFeatureModified ( FeatureType  feature)
protectedvirtual

Handler that calls when bonded feature has been modified and caused AEntityFeature.Modified event.

Using instead of sealed ApplyGUIContent handler.

Parameters
featureModified feature reference.

◆ OnStorageModified()

virtual void Doloro.InvetorySystem.UI.Extension.AStorageGUIElementExtension.OnStorageModified ( StoragesDatabase.StorageContainer  storage)
protectedvirtualinherited

Occurs when StoragesDatabase.StorageContainer selected as source of content in parent inspector has been changed.

Parameters
storageModified storage
See also
StoragesDatabase.ADataContainer<ContainerType>.Modified

Reimplemented in Doloro.InvetorySystem.UI.Extension.StorageContentExplorerGUIExtension.

◆ OnStorageNotSelected()

virtual void Doloro.InvetorySystem.UI.Extension.AStorageGUIElementExtension.OnStorageNotSelected ( )
protectedvirtualinherited

Handler that calls when inspector content is null. Should be used to clear GUI.

Reimplemented in Doloro.InvetorySystem.UI.Extension.StorageContentExplorerGUIExtension.

Property Documentation

◆ inspector

AContentInspectorGUIElement<ContentType> Doloro.UIEngine2.Controls.AContentInspectorExtension< ContentType >.inspector
getinherited

Inspector to extend.

Must be placed on the same object as the component.


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