Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.InvetorySystem.UI.Extension.AStorageGUIElementExtension Class Reference

Detailed Description

Class that implements storage content managing GUI extension.

Derived component will track storage content and source modifying. You can handle such events by overriding implemented API handlers.

Inheritance diagram for Doloro.InvetorySystem.UI.Extension.AStorageGUIElementExtension:
Collaboration diagram for Doloro.InvetorySystem.UI.Extension.AStorageGUIElementExtension:

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

virtual void OnDestroy ()
 Releases component from events subscriptions. 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

virtual void ApplyGUIContentInternal ()
 Internal extension that allows to influent ApplyGUIContent event if it sealed. Useful for architecture classes. More...
 

Properties

AContentInspectorGUIElement< ContentType > inspector [get]
 Inspector to extend. More...
 

Member Function Documentation

◆ ApplyGUIContent()

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

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

virtual void Doloro.InvetorySystem.UI.Extension.AStorageGUIElementExtension.ApplyGUIContentInternal ( )
packagevirtual

Internal extension that allows to influent ApplyGUIContent event if it sealed. Useful for architecture classes.

Reimplemented in Doloro.InvetorySystem.UI.Extension.AStorageFeatureGUIExtension< FeatureType >.

◆ DropGUIContent()

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

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

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

◆ OnDestroy()

virtual void Doloro.InvetorySystem.UI.Extension.AStorageGUIElementExtension.OnDestroy ( )
protectedvirtual

Releases component from events subscriptions.

Reimplemented in Doloro.InvetorySystem.UI.Extension.AStorageFeatureGUIExtension< FeatureType >.

◆ OnStorageModified()

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

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

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: