fix: Updated some of the methods in the storage server to be correct
This commit is contained in:
parent
57d2c15f12
commit
a4620b99ce
@ -6,10 +6,12 @@ type StorageServer interface {
|
|||||||
// Individual operations
|
// Individual operations
|
||||||
SetStorageRoot(path string)
|
SetStorageRoot(path string)
|
||||||
|
|
||||||
// Individual block-level interactions
|
// Block-level interactions
|
||||||
ChangeBlock(targetState world.BlockID, world_position world.BlockPos) error
|
ChangeBlock(targetState world.BlockID, world_position world.BlockPos) error
|
||||||
|
ReadBlockAt(pos world.BlockPos) (world.BlockID, error)
|
||||||
|
|
||||||
|
// Region-level interactions
|
||||||
ChangeBlockRange(targetState world.BlockID, start, end world.BlockPos) error
|
ChangeBlockRange(targetState world.BlockID, start, end world.BlockPos) error
|
||||||
ReadBlockAt(pos world.BlockPos) error
|
|
||||||
|
|
||||||
// Network-level operations
|
// Network-level operations
|
||||||
ReadChunkAt(pos world.ChunkPos) error
|
ReadChunkAt(pos world.ChunkPos) error
|
||||||
|
Loading…
Reference in New Issue
Block a user