12 lines
346 B
C#
12 lines
346 B
C#
using OpenTK.Mathematics;
|
|
|
|
namespace VoxelEngine.World.Persistence;
|
|
|
|
public interface IChunkModificationStore
|
|
{
|
|
bool TryGetDiff(Vector3i chunkPos, out IReadOnlyDictionary<int, ushort>? diff);
|
|
void RecordEdit(Vector3i chunkPos, int localIndex, ushort blockId);
|
|
void ClearDiff(Vector3i chunkPos);
|
|
bool HasDiff(Vector3i chunkPos);
|
|
}
|