Show / Hide Table of Contents

Class TailingsCache

Inheritance
System.Object
TailingsCache
Implements
IStorage
ISerializable
Namespace: Eco.Simulation.WorldLayers
Assembly: Eco.Simulation.dll
Syntax
public class TailingsCache : Object, IStorage, ISerializable

Constructors

TailingsCache(IPersistent)

Declaration
public TailingsCache(IPersistent storageHandle)
Parameters
Type Name Description
IPersistent storageHandle

Properties

Cache

Declaration
public ThreadSafeDictionary<Vector2i, ThreadSafeDictionary<float, ThreadSafeHashSet<int>>> Cache { get; }
Property Value
Type Description
ThreadSafeDictionary<Vector2i, ThreadSafeDictionary<System.Single, ThreadSafeHashSet<System.Int32>>>

StorageHandle

Declaration
public IPersistent StorageHandle { get; set; }
Property Value
Type Description
IPersistent

TailingsContainers

Declaration
public ConcurrentDictionary<int, TailingsContainer> TailingsContainers { get; }
Property Value
Type Description
System.Collections.Concurrent.ConcurrentDictionary<System.Int32, TailingsContainer>

Methods

DoCacheUpdate(CancellationToken)

Declaration
public void DoCacheUpdate(CancellationToken token)
Parameters
Type Name Description
System.Threading.CancellationToken token

Initialize(Vector3i)

Declaration
public void Initialize(Vector3i worldVoxelSize)
Parameters
Type Name Description
Vector3i worldVoxelSize

Implements

IStorage
ISerializable
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾