Cuberite Forum
short term storage of entitites - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Development (https://forum.cuberite.org/forum-13.html)
+--- Thread: short term storage of entitites (/thread-3325.html)



short term storage of entitites - 12xx12 - 10-01-2020

So i have a few features that require some short term storage for entities.

TigerW suggested to store this in NBT. There was the idea to recycle the functions in NBTChunkSerializer and WSSAnvil.

BUT

The functions to decode NBT data are protected members of cWSSAnvil. We'd need a way to access functions.

I'd suggest making the decode functions from cWSSAnvil static.

What are your thoughts?