Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.InvetorySystem.Features.VolumetricSpace.StorageVolume.CrossSessionData Class Reference

Detailed Description

Container that contains certain entity related data between game sessions.

Inheritance diagram for Doloro.InvetorySystem.Features.VolumetricSpace.StorageVolume.CrossSessionData:
Collaboration diagram for Doloro.InvetorySystem.Features.VolumetricSpace.StorageVolume.CrossSessionData:

Public Member Functions

 CrossSessionData (SerializationInfo info, StreamingContext context)
 
virtual void GetObjectData (SerializationInfo info, StreamingContext context)
 
bool ReleaseBondOfVolume (Guid volumeId)
 Removes volume bond from the bonds registry. More...
 
object Clone ()
 Returns clone of the data as it. More...
 

Static Public Member Functions

static CrossSessionData GetClearDataToSave (StorageVolume soruce)
 Returns register with excluded temporal ids. More...
 
static string GetBondKey (Item item)
 Returns key to access bonds registry content. More...
 
static Item GetItemFromBondKey (string signature)
 Tries to find the Item resource with the Doloro.DataManagement.DynamicResources.DynamicResourcesDatabase defined with the bond key. More...
 

Properties

Dictionary< Guid, GridSpaceregistry [get]
 Register of the volumes related to IDs.
 
Dictionary< string, HashSet< Guid > > bonds [get, set]
 Registry that defines bonds between volumes and source storage items. More...
 

Member Function Documentation

◆ Clone()

object Doloro.InvetorySystem.Features.VolumetricSpace.StorageVolume.CrossSessionData.Clone ( )

Returns clone of the data as it.

Returns
CrossSessionData instance.

◆ GetBondKey()

static string Doloro.InvetorySystem.Features.VolumetricSpace.StorageVolume.CrossSessionData.GetBondKey ( Item  item)
static

Returns key to access bonds registry content.

Parameters
itemItem to registry access.
Returns
Signature to access the registry entry.

◆ GetClearDataToSave()

static CrossSessionData Doloro.InvetorySystem.Features.VolumetricSpace.StorageVolume.CrossSessionData.GetClearDataToSave ( StorageVolume  soruce)
static

Returns register with excluded temporal ids.

Returns
Cross session data instance.

◆ GetItemFromBondKey()

static Item Doloro.InvetorySystem.Features.VolumetricSpace.StorageVolume.CrossSessionData.GetItemFromBondKey ( string  signature)
static

Tries to find the Item resource with the Doloro.DataManagement.DynamicResources.DynamicResourcesDatabase defined with the bond key.

Parameters
signatureA key received with the GetBondKey(Item) handler.
Returns
Item resource if found among loaded.

◆ ReleaseBondOfVolume()

bool Doloro.InvetorySystem.Features.VolumetricSpace.StorageVolume.CrossSessionData.ReleaseBondOfVolume ( Guid  volumeId)

Removes volume bond from the bonds registry.

Parameters
volumeId
Returns
true in case if bond was found. false otherwise.

Property Documentation

◆ bonds

Dictionary<string, HashSet<Guid> > Doloro.InvetorySystem.Features.VolumetricSpace.StorageVolume.CrossSessionData.bonds
getset

Registry that defines bonds between volumes and source storage items.

string: Item.Bundle+Item.Key List<Guid>: collection of StorageVolume.


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