mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-03-24 13:08:12 +05:00
21 lines
506 B
C++
21 lines
506 B
C++
#pragma once
|
|
|
|
#include "SavedData.h"
|
|
|
|
class StructureFeatureSavedData : public SavedData
|
|
{
|
|
private:
|
|
static wstring TAG_FEATURES;
|
|
CompoundTag *pieceTags;
|
|
|
|
public:
|
|
StructureFeatureSavedData(const 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);
|
|
wstring createFeatureTagId(int chunkX, int chunkZ);
|
|
CompoundTag *getFullTag();
|
|
}; |