mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-23 20:09:46 +03:00
* Initial commit.
:)
This commit is contained in:
19
source/World/Generator/PerformanceTestChunkSource.hpp
Normal file
19
source/World/Generator/PerformanceTestChunkSource.hpp
Normal file
@@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
|
||||
#include "ChunkSource.hpp"
|
||||
class Level;
|
||||
|
||||
class PerformanceTestChunkSource : public ChunkSource
|
||||
{
|
||||
public:
|
||||
LevelChunk* create(int x, int z) override;
|
||||
LevelChunk* getChunk(int x, int z) override;
|
||||
bool hasChunk(int x, int z) override;
|
||||
std::string gatherStats() override;
|
||||
void postProcess(ChunkSource*, int, int) override;
|
||||
bool shouldSave() override;
|
||||
int tick() override;
|
||||
|
||||
public:
|
||||
Level* m_pLevel = nullptr;
|
||||
};
|
||||
Reference in New Issue
Block a user