diff options
author | x12xx12x <44411062+12xx12@users.noreply.github.com> | 2022-01-16 11:03:24 +0100 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2022-04-12 01:06:40 +0200 |
commit | 0c04c5aaedcae6a0fc91df3f1f83746ff5eafd22 (patch) | |
tree | 0941facbffc2f4143a0091255b9e2ad2ff5262cd /src/WorldStorage/NamespaceSerializer.h | |
parent | Removed an implicit cast from int to char. (diff) | |
download | cuberite-0c04c5aaedcae6a0fc91df3f1f83746ff5eafd22.tar cuberite-0c04c5aaedcae6a0fc91df3f1f83746ff5eafd22.tar.gz cuberite-0c04c5aaedcae6a0fc91df3f1f83746ff5eafd22.tar.bz2 cuberite-0c04c5aaedcae6a0fc91df3f1f83746ff5eafd22.tar.lz cuberite-0c04c5aaedcae6a0fc91df3f1f83746ff5eafd22.tar.xz cuberite-0c04c5aaedcae6a0fc91df3f1f83746ff5eafd22.tar.zst cuberite-0c04c5aaedcae6a0fc91df3f1f83746ff5eafd22.zip |
Diffstat (limited to 'src/WorldStorage/NamespaceSerializer.h')
-rw-r--r-- | src/WorldStorage/NamespaceSerializer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/WorldStorage/NamespaceSerializer.h b/src/WorldStorage/NamespaceSerializer.h index 64739a7cd..625d348be 100644 --- a/src/WorldStorage/NamespaceSerializer.h +++ b/src/WorldStorage/NamespaceSerializer.h @@ -25,5 +25,6 @@ namespace NamespaceSerializer std::pair<Namespace, std::string_view> SplitNamespacedID(std::string_view ID); // Examples: Input: "wolf" -> Output: "Wolf", Input: "iron_golem" -> Output: "Iron Golem" - AString Prettify(AString a_Name, const bool a_IsTamed = false); + AString Prettify(AString a_ID); + AString PrettifyEntityName(const AString & a_ID, const bool a_IsTamed = false); } |