inventory reindexing

This commit is contained in:
MihailRis
2024-01-26 15:35:23 +03:00
parent 1409df4b86
commit 51ffb93230
12 changed files with 174 additions and 51 deletions
+3
View File
@@ -9,6 +9,7 @@
#include "../typedefs.h"
#include "../data/dynamic.h"
class ContentLUT;
class ContentIndices;
// TODO: items indices fix
@@ -36,6 +37,8 @@ public:
/* serializing inventory */
std::unique_ptr<dynamic::Map> write() const;
static void convert(dynamic::Map* data, const ContentLUT* lut);
static const size_t npos;
};