Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.DataManagement.DynamicResources.DynamicResource Class Reference

Detailed Description

Provides a personal signature data for the resource that allows to register the object into resource tables and handles it as dynamic.

Inheritance diagram for Doloro.DataManagement.DynamicResources.DynamicResource:
Collaboration diagram for Doloro.DataManagement.DynamicResources.DynamicResource:

Public Member Functions

bool IsConflictsWith (UnityEngine.Object resource)
 Compares signatures of both resources. More...
 
void MergeTo (IMergeableResource to)
 Redirecting to the MergeTo(DynamicResource) with safe cast of resource to the DynamicResource. More...
 
void MergeTo (DynamicResource to)
 
override string ToString ()
 Returns resource meta data in string formate useful for logs-like messages. More...
 
virtual bool Equals (DynamicResource other)
 Compares signatures and tags collection. More...
 
bool IsTagDefined (Tag tag)
 Checks is the tag defined for the component. More...
 
bool IsTagDefined (string tag)
 Checks is the tag defined for the component. More...
 
void MergeTo (T to)
 Sharing itself values to some another merging resource. More...
 

Properties

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

Member Function Documentation

◆ Equals()

virtual bool Doloro.DataManagement.DynamicResources.DynamicResource.Equals ( DynamicResource  other)
virtual

Compares signatures and tags collection.

Parameters
otherOther instance.
Returns
Compare result.

Tags order must be the same to pass as true.

◆ IsConflictsWith()

bool Doloro.DataManagement.DynamicResources.DynamicResource.IsConflictsWith ( UnityEngine.Object  resource)

Compares signatures of both resources.

Parameters
resourceAnother resource to conflicts check.
Returns
True in case if bundle and key are the same for both resources.

Implements Doloro.DataManagement.DynamicResources.Modules.MergeTool.IUniqueResource.

◆ IsTagDefined() [1/2]

bool Doloro.DataManagement.DynamicResources.ATagsCategorisedComponent.IsTagDefined ( string  tag)
inherited

Checks is the tag defined for the component.

Parameters
tagTag 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
tagTag to search.
Returns
Is the tag has been found.

◆ MergeTo() [1/3]

void Doloro.DataManagement.DynamicResources.DynamicResource.MergeTo ( DynamicResource  to)

Parameters
toTarget resource.

◆ MergeTo() [2/3]

void Doloro.DataManagement.DynamicResources.DynamicResource.MergeTo ( IMergeableResource  to)

Redirecting to the MergeTo(DynamicResource) with safe cast of resource to the DynamicResource.

Parameters
toTarget resource.

◆ MergeTo() [3/3]

Sharing itself values to some another merging resource.

Parameters
toTarget resource that will contains the value merged with stored in this resource.

◆ ToString()

override string Doloro.DataManagement.DynamicResources.DynamicResource.ToString ( )

Returns resource meta data in string formate useful for logs-like messages.

Returns
Generated string in format (bundle.|"")+key

Property Documentation

◆ Bundle

string Doloro.DataManagement.DynamicResources.DynamicResource.Bundle
getset

A bundle name. Works the same as namespace and allows to prevent keys collision.

Implements Doloro.DataManagement.DynamicResources.ISignedResource.

◆ Key

string Doloro.DataManagement.DynamicResources.DynamicResource.Key
getset

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.

Implements Doloro.DataManagement.DynamicResources.ISignedResource.

◆ TagKeys

string [] Doloro.DataManagement.DynamicResources.ATagsCategorisedComponent.TagKeys
getsetinherited

Keys of tags applied to the resource according with tags collection.

Implements Doloro.DataManagement.DynamicResources.ITagsCollection.


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