summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/NamespaceSerializer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/WorldStorage/NamespaceSerializer.h')
-rw-r--r--src/WorldStorage/NamespaceSerializer.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/WorldStorage/NamespaceSerializer.h b/src/WorldStorage/NamespaceSerializer.h
index d7902409f..5b0093bcc 100644
--- a/src/WorldStorage/NamespaceSerializer.h
+++ b/src/WorldStorage/NamespaceSerializer.h
@@ -1,6 +1,7 @@
#pragma once
#include "../Registries/Statistics.h"
+#include "../Mobs/MonsterTypes.h"
namespace NamespaceSerializer
{
@@ -13,9 +14,11 @@ namespace NamespaceSerializer
unsigned DataVersion();
- const char * From(Statistic ID);
+ std::string_view From(Statistic a_ID);
+ std::string_view From(eMonsterType a_ID);
- Statistic ToCustomStatistic(std::string_view ID);
+ Statistic ToCustomStatistic(std::string_view a_ID);
+ eMonsterType ToMonsterType(std::string_view a_ID);
std::pair<Namespace, std::string_view> SplitNamespacedID(std::string_view ID);
}