mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-04 19:36:43 +03:00
59 lines
1.3 KiB
C++
59 lines
1.3 KiB
C++
/********************************************************************
|
|
Minecraft: Pocket Edition - Decompilation Project
|
|
Copyright (C) 2023 iProgramInCpp
|
|
|
|
The following code is licensed under the BSD 1 clause license.
|
|
SPDX-License-Identifier: BSD-1-Clause
|
|
********************************************************************/
|
|
|
|
#include "MemoryLevelStorage.hpp"
|
|
#include "MemoryLevelStorageSource.hpp"
|
|
|
|
std::string MemoryLevelStorageSource::getName()
|
|
{
|
|
return "Memory Storage";
|
|
}
|
|
|
|
LevelStorage* MemoryLevelStorageSource::selectLevel(const std::string& x, bool y)
|
|
{
|
|
return new MemoryLevelStorage;
|
|
}
|
|
|
|
void MemoryLevelStorageSource::clearAll()
|
|
{
|
|
}
|
|
|
|
int MemoryLevelStorageSource::getDataTagFor(const std::string& x)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
bool MemoryLevelStorageSource::isNewLevelIdAcceptable(const std::string& x)
|
|
{
|
|
return true;
|
|
}
|
|
|
|
void MemoryLevelStorageSource::deleteLevel(const std::string& x)
|
|
{
|
|
LogMsg("Delete level: %s", x.c_str());
|
|
}
|
|
|
|
void MemoryLevelStorageSource::renameLevel(const std::string& x, const std::string& y)
|
|
{
|
|
}
|
|
|
|
bool MemoryLevelStorageSource::isConvertible(const std::string& x)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
bool MemoryLevelStorageSource::requiresConversion(const std::string& x)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
void MemoryLevelStorageSource::convertLevel(const std::string& x, ProgressListener* y)
|
|
{
|
|
|
|
}
|