Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.InvetorySystem.StorageCaller Class Reference

Detailed Description

Calls instance of the StoragesDatabase.StorageContainer by id. Creates new entry in case if not registered.

In case if the object contains AStorageFeature instances clones their data to the StoragesDatabase.StoragesDatabase in case if creating new one.

Inheritance diagram for Doloro.InvetorySystem.StorageCaller:
Collaboration diagram for Doloro.InvetorySystem.StorageCaller:

Protected Member Functions

virtual void Start ()
 Occurs when component initializing.
 
virtual void OnDestroy ()
 Occurs when component is destroying.
 
virtual void Call ()
 Calling storage from resources. More...
 

Properties

Guid StorageId [get, set]
 Id of requested storage. More...
 
string StorageResoruceBundle [get, set]
 DynamicResource.Bundle that will be defined to the store's storage in case of creating of new database entry. More...
 
string StorageResoruceKey [get, set]
 DynamicResource.Key that will be defined to the store's storage in case of creating of new database entry. More...
 
bool isLocked [get]
 Is properties set access locked. More...
 
IEnumerable< FeatureType > features [get]
 Collection of features applied to the resource instance.
 

Member Function Documentation

◆ Call()

virtual void Doloro.InvetorySystem.StorageCaller.Call ( )
protectedvirtual

Calling storage from resources.

Be sure that DynamicResourcesDatabase.isLoaded.

Property Documentation

◆ isLocked

bool Doloro.InvetorySystem.StorageCaller.isLocked
get

Is properties set access locked.

Locks after Start call.

◆ StorageId

Guid Doloro.InvetorySystem.StorageCaller.StorageId
getset

Id of requested storage.

Set has no affect after Start call.

◆ StorageResoruceBundle

string Doloro.InvetorySystem.StorageCaller.StorageResoruceBundle
getset

DynamicResource.Bundle that will be defined to the store's storage in case of creating of new database entry.

Set has no affect after Start call.

◆ StorageResoruceKey

string Doloro.InvetorySystem.StorageCaller.StorageResoruceKey
getset

DynamicResource.Key that will be defined to the store's storage in case of creating of new database entry.

Set has no affect after Start call.


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