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

Detailed Description

Extends StorageGUIElement with Features.StorageWeightLimiter GUI features.

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

Protected Member Functions

override void OnStorageNotSelected ()
 Applying empty content to weightLabel. More...
 
override void OnFeatureModified (Features.StorageWeightLimiter feature)
 Sets weightLabel content in formated view. More...
 
override void OnDestroy ()
 Releases component from events subscriptions.
 
virtual void OnFeatureModified (FeatureType feature)
 Handler that calls when bonded feature has been modified and caused AEntityFeature.Modified event. 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

UnityEngine.UI.Text WeightLabel [get, set]
 Label to display relevant storage weight.
 
string Postfix [get, set]
 Postfix of label.
 
FeatureType BondedFeature [get]
 Buffer that holds currently bond feature.
 

Member Function Documentation

◆ ApplyGUIContentInternal()

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

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.

◆ OnFeatureModified() [1/2]

override void Doloro.InvetorySystem.UI.Extension.StorageWeightGUIExtension.OnFeatureModified ( Features.StorageWeightLimiter  feature)
protected

Sets weightLabel content in formated view.

Parameters
featureModified feature.
Exceptions
ArgumentNullExceptionfeature is null.

◆ OnFeatureModified() [2/2]

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

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

Using instead of sealed ApplyGUIContent handler.

Parameters
featureModified feature reference.

◆ OnStorageNotSelected()

override void Doloro.InvetorySystem.UI.Extension.StorageWeightGUIExtension.OnStorageNotSelected ( )
protected

Applying empty content to weightLabel.



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