Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.DataManagement.AssetPropertiesSystem.AssetProperty Class Reference

Detailed Description

Abstract class that implements core features related to the dynamic asset properties framework.

Inheritance diagram for Doloro.DataManagement.AssetPropertiesSystem.AssetProperty:
Collaboration diagram for Doloro.DataManagement.AssetPropertiesSystem.AssetProperty:

Public Member Functions

delegate void KeyGlobalOperationHandler (AssetProperty target, string oldKey, string newKey)
 
delegate void KeyOperationHandler (string oldKey, string newKey)
 
 AssetProperty ()
 Empty constructor.
 
 AssetProperty (SerializationInfo info, StreamingContext context)
 Allows to binary serializer instantiate the object from binary. More...
 
virtual void GetObjectData (SerializationInfo info, StreamingContext context)
 Calling by binary serializer to get object's data. More...
 

Protected Member Functions

virtual void OnValueChanged ()
 Invokes the ValueChanged event. Must be called in implementation of the Value property.
 

Properties

string Key [get]
 Last element in FullPath More...
 
string Domain [get]
 Domain part of the property.
 
string FullPath [get, set]
 Unique path to the property in asset hierarchy. More...
 
virtual object Value [get, set]
 Value related to the property.
 

Events

static KeyGlobalOperationHandler PropertyKeyChanged
 Occurs when FullPath changed. More...
 
KeyOperationHandler KeyChanged
 Occurs when FullPath changed.
 
Action ValueChanged
 Occurs when the value of property is changed.
 

Constructor & Destructor Documentation

◆ AssetProperty()

Doloro.DataManagement.AssetPropertiesSystem.AssetProperty.AssetProperty ( SerializationInfo  info,
StreamingContext  context 
)

Allows to binary serializer instantiate the object from binary.

Parameters
info
context

Member Function Documentation

◆ GetObjectData()

virtual void Doloro.DataManagement.AssetPropertiesSystem.AssetProperty.GetObjectData ( SerializationInfo  info,
StreamingContext  context 
)
virtual

Calling by binary serializer to get object's data.

Parameters
info
context

Property Documentation

◆ FullPath

string Doloro.DataManagement.AssetPropertiesSystem.AssetProperty.FullPath
getset

Unique path to the property in asset hierarchy.

Use dot divided format to apply the property to the certain subgroup (namespace).

  • health.head
  • body.libs.armL.forearm.hand.thumb
  • stats.agility

◆ Key

string Doloro.DataManagement.AssetPropertiesSystem.AssetProperty.Key
get

Event Documentation

◆ PropertyKeyChanged

KeyGlobalOperationHandler Doloro.DataManagement.AssetPropertiesSystem.AssetProperty.PropertyKeyChanged
static

Occurs when FullPath changed.

AssetProperty - object reference. string 1 - old key. string 2 - new key.


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