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

Detailed Description

Extends StorageGUIElement or similar with Features.StorageLock related features.

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

Protected Member Functions

override void OnStorageNotSelected ()
 Drops lockIcon active state to false.
 
override void OnFeatureModified (Features.StorageLock _)
 Sets lockIcon active state along with Features.StorageLock.IsLocked value. 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

GameObject LockIcon [get, set]
 Object of icon that will be toggle to true in case if the storage locked.
 
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.StorageLockGUIExtension.OnFeatureModified ( Features.StorageLock  _)
protected

Sets lockIcon active state along with Features.StorageLock.IsLocked value.

Parameters
_

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

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