diff options
Diffstat (limited to 'src/WorldStorage/EnchantmentSerializer.h')
-rw-r--r-- | src/WorldStorage/EnchantmentSerializer.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/WorldStorage/EnchantmentSerializer.h b/src/WorldStorage/EnchantmentSerializer.h index 4dc75cb86..87cab8a68 100644 --- a/src/WorldStorage/EnchantmentSerializer.h +++ b/src/WorldStorage/EnchantmentSerializer.h @@ -12,14 +12,11 @@ class cParsedNBT; namespace EnchantmentSerializer { - /** Writes the enchantments into the specified NBT writer; begins with the LIST tag of the specified name ("ench" or "StoredEnchantments") */ - void WriteToNBTCompound(const cEnchantments & a_Enchantments, cFastNBTWriter & a_Writer, const AString & a_ListTagName); - - /** Reads the enchantments from the specified NBT list tag (ench or StoredEnchantments) */ - void ParseFromNBT(cEnchantments & a_Enchantments, const cParsedNBT & a_NBT, int a_EnchListTagIdx); - -}; - - +/** Writes the enchantments into the specified NBT writer; begins with the LIST tag of the specified name ("ench" or + * "StoredEnchantments") */ +void WriteToNBTCompound(const cEnchantments & a_Enchantments, cFastNBTWriter & a_Writer, const AString & a_ListTagName); +/** Reads the enchantments from the specified NBT list tag (ench or StoredEnchantments) */ +void ParseFromNBT(cEnchantments & a_Enchantments, const cParsedNBT & a_NBT, int a_EnchListTagIdx); +}; // namespace EnchantmentSerializer |