ActorDigest {rbedrock} | R Documentation |
Read and write Actor Digest Data
Description
Actor digests store a list of all entities in a chunk; however they are not chunk data and use their own prefix. The key format for actor digest data is acdig:x:z:dimension.
get_acdig_data()
and get_acdig_value()
load ActorDigest
data from db
. get_acdig_value()
supports loading
only a single value.
put_acdig_data()
and put_acdig_value()
store ActorDigest data into db
.
read_acdig_value()
and write_acdig_value()
decode and encode
ActorDigest data respectively.
create_acdig_keys()
creates keys for ActorDigest data.
Usage
get_acdig_data(x, z, dimension, db)
get_acdig_value(x, z, dimension, db)
put_acdig_data(values, x, z, dimension, db)
put_acdig_value(value, x, z, dimension, db)
read_acdig_value(rawdata)
write_acdig_value(value)
create_acdig_keys(x, z, dimension)
Arguments
x , z , dimension |
Chunk coordinates to extract data from.
|
db |
A bedrockdb object. |
values |
A list of character vectors.
If |
value |
A character vector. |
rawdata |
A raw vector. |
Value
get_acdig_values()
returns a vector of actor keys.
get_acdig_data()
returns a named list of the of the values
returned by get_acdig_value()
.