A resource that can be extended with AEntityFeature components. Implements members to integrate the features into common using logic.
- Template Parameters
-
|
IEnumerable< FeatureType > | features [get] |
| Collection of features applied to the resource instance.
|
|
string | Bundle [get, set] |
| A bundle name. Works the same as namespace and allows to prevent keys collision. More...
|
|
string | Key [get, set] |
| An unique key of the resource in the bundle. In case if the key collides with other one in the same bundle then will be called merging operation. More...
|
|
Version | version [get, set] |
| Asset version.
|
|
string[] | TagKeys [get, set] |
| Keys of tags applied to the resource according with tags collection. More...
|
|
◆ Equals()
virtual bool Doloro.DataManagement.DynamicResources.DynamicResource.Equals |
( |
DynamicResource |
other | ) |
|
|
virtualinherited |
Compares signatures and tags collection.
- Parameters
-
- Returns
- Compare result.
Tags order must be the same to pass as true.
◆ IsConflictsWith()
bool Doloro.DataManagement.DynamicResources.DynamicResource.IsConflictsWith |
( |
UnityEngine.Object |
resource | ) |
|
|
inherited |
◆ IsTagDefined() [1/2]
bool Doloro.DataManagement.DynamicResources.ATagsCategorisedComponent.IsTagDefined |
( |
string |
tag | ) |
|
|
inherited |
Checks is the tag defined for the component.
- Parameters
-
tag | Tag to search. Case sensitive. |
- Returns
- Is the tag has been found.
◆ IsTagDefined() [2/2]
bool Doloro.DataManagement.DynamicResources.ATagsCategorisedComponent.IsTagDefined |
( |
Tag |
tag | ) |
|
|
inherited |
Checks is the tag defined for the component.
- Parameters
-
- Returns
- Is the tag has been found.
◆ MergeTo() [1/3]
void Doloro.DataManagement.DynamicResources.DynamicResource.MergeTo |
( |
DynamicResource |
to | ) |
|
|
inherited |
- Cloning tags to the target resource.
- Patching in case if game object contains Modules.PatchTool.APatchOrder components.
- Parameters
-
◆ MergeTo() [2/3]
void Doloro.DataManagement.DynamicResources.DynamicResource.MergeTo |
( |
IMergeableResource |
to | ) |
|
|
inherited |
◆ MergeTo() [3/3]
Sharing itself values to some another merging resource.
- Parameters
-
to | Target resource that will contains the value merged with stored in this resource. |
◆ ToString()
override string Doloro.DataManagement.DynamicResources.DynamicResource.ToString |
( |
| ) |
|
|
inherited |
Returns resource meta data in string formate useful for logs-like messages.
- Returns
- Generated string in format
(bundle.|"")+key
◆ Bundle
string Doloro.DataManagement.DynamicResources.DynamicResource.Bundle |
|
getsetinherited |
◆ Key
string Doloro.DataManagement.DynamicResources.DynamicResource.Key |
|
getsetinherited |
◆ TagKeys
string [] Doloro.DataManagement.DynamicResources.ATagsCategorisedComponent.TagKeys |
|
getsetinherited |
The documentation for this class was generated from the following file:
- D:/Work/GitHub/DGDK22/Assets/Tauri Interactive/Doloro-GDK/Doloro-Inventory/Runtime/Core/Entities/Entity/AFeaturesExtendingResource.cs