mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-23 21:03:37 +00:00
20 lines
568 B
C++
20 lines
568 B
C++
#pragma once
|
|
|
|
#include "../Level/Storage/SavedData.h"
|
|
|
|
class StructureFeatureSavedData : public SavedData {
|
|
private:
|
|
static std::wstring TAG_FEATURES;
|
|
CompoundTag* pieceTags;
|
|
|
|
public:
|
|
StructureFeatureSavedData(const std::wstring& idName);
|
|
~StructureFeatureSavedData();
|
|
|
|
void load(CompoundTag* tag);
|
|
void save(CompoundTag* tag);
|
|
CompoundTag* getFeatureTag(int chunkX, int chunkZ);
|
|
void putFeatureTag(CompoundTag* tag, int chunkX, int chunkZ);
|
|
std::wstring createFeatureTagId(int chunkX, int chunkZ);
|
|
CompoundTag* getFullTag();
|
|
}; |