blob: e21b487d78366d197b31298ac11ede41a5408357 (
plain) (
tree)
|
|
#pragma once
#include "Defines.h"
#include "Mobs/MonsterTypes.h"
#include "Registries/CustomStatistics.h"
namespace NamespaceSerializer
{
enum class Namespace
{
Minecraft,
Cuberite,
Unknown
};
unsigned DataVersion();
std::string_view From(CustomStatistic a_ID);
std::string_view From(eMonsterType a_ID);
std::string_view From(BannerPattern a_ID);
CustomStatistic ToCustomStatistic(std::string_view a_ID);
eMonsterType ToMonsterType(std::string_view a_ID);
std::pair<Namespace, std::string_view> SplitNamespacedID(std::string_view ID);
AString Prettify(AString a_Name, const bool a_IsTamed = false);
}
|