mirror of
https://git.stillkill.net/MinecraftLeak/MinecraftConsoles-141217.git
synced 2026-10-22 13:22:18 +01:00
Initial commit
This commit is contained in:
commit
2dfcaaa842
5375 files changed
+978475
No files matched your search
@@ -0,0 +1,25 @@
|
||||
#pragma once
|
||||
using namespace std;
|
||||
|
||||
#include "Class.h"
|
||||
|
||||
class CompoundTag;
|
||||
|
||||
class SavedData : public enable_shared_from_this<SavedData>
|
||||
{
|
||||
public:
|
||||
const wstring id;
|
||||
|
||||
private:
|
||||
bool dirty;
|
||||
|
||||
public:
|
||||
SavedData(const wstring& id);
|
||||
|
||||
virtual void load(CompoundTag *tag) = 0;
|
||||
virtual void save(CompoundTag *tag) = 0;
|
||||
|
||||
void setDirty();
|
||||
void setDirty(bool dirty);
|
||||
bool isDirty();
|
||||
};
|
||||
Reference in new issue
Block a user