mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01:50 +00:00
migrate from dynamic::Value to dv::value & total erase namespace 'dynamic'
This commit is contained in:
parent
d3ba4b2e3e
commit
34d2e6d400
69 changed files with 1247 additions and 2248 deletions
|
|
@ -7,10 +7,6 @@
|
|||
#include "typedefs.hpp"
|
||||
#include "ItemStack.hpp"
|
||||
|
||||
namespace dynamic {
|
||||
class Map;
|
||||
}
|
||||
|
||||
class ContentLUT;
|
||||
class ContentIndices;
|
||||
|
||||
|
|
@ -37,12 +33,11 @@ public:
|
|||
size_t end = -1
|
||||
);
|
||||
|
||||
/* deserializing inventory */
|
||||
void deserialize(dynamic::Map* src) override;
|
||||
/* serializing inventory */
|
||||
std::unique_ptr<dynamic::Map> serialize() const override;
|
||||
void deserialize(const dv::value& src) override;
|
||||
|
||||
static void convert(dynamic::Map* data, const ContentLUT* lut);
|
||||
dv::value serialize() const override;
|
||||
|
||||
static void convert(dv::value& data, const ContentLUT* lut);
|
||||
|
||||
inline void setId(int64_t id) {
|
||||
this->id = id;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue