Show / Hide Table of Contents

Class PersistentChunkPack

Inheritance
System.Object
PersistentChunkObject
PersistentChunkPack
Implements
IStorage
ISerializable
Inherited Members
PersistentChunkObject.StorageHandle
Namespace: Eco.World
Assembly: Eco.World.dll
Syntax
public class PersistentChunkPack : PersistentChunkObject, IStorage, ISerializable

Constructors

PersistentChunkPack()

Declaration
public PersistentChunkPack()

PersistentChunkPack(Vector3i, IPersistent)

Declaration
public PersistentChunkPack(Vector3i key, IPersistent storageHandle)
Parameters
Type Name Description
Vector3i key
IPersistent storageHandle

Properties

Key

Declaration
public Vector3i Key { get; set; }
Property Value
Type Description
Vector3i

StorageManager

Declaration
public IStorageManager StorageManager { get; set; }
Property Value
Type Description
IStorageManager

Methods

AddChunk(PersistentChunk)

Declaration
public void AddChunk(PersistentChunk chunk)
Parameters
Type Name Description
PersistentChunk chunk

ForEachChunk(Action<PersistentChunk>)

Declaration
public void ForEachChunk(Action<PersistentChunk> action)
Parameters
Type Name Description
System.Action<PersistentChunk> action

MarkDirty()

Declaration
public void MarkDirty()

OnDeserialized()

Declaration
public void OnDeserialized()

RemoveChunk(PersistentChunk)

Declaration
public void RemoveChunk(PersistentChunk chunk)
Parameters
Type Name Description
PersistentChunk chunk

Implements

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