the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2#include "ChunkStorage.h"
3
4class Level;
5
6class ChunkStorageProfilerDecorator : public ChunkStorage
7{
8private:
9 ChunkStorage *capsulated;
10
11 __int64 timeSpentLoading;
12 __int64 loadCount;
13 __int64 timeSpentSaving;
14 __int64 saveCount;
15
16 int counter;
17
18public:
19 ChunkStorageProfilerDecorator(ChunkStorage *capsulated);
20 LevelChunk *load(Level *level, int x, int z);
21 void save(Level *level, LevelChunk *levelChunk);
22 void saveEntities(Level *level, LevelChunk *levelChunk);
23 void tick();
24 void flush();
25};