Cuberite
A lightweight, fast and extensible game server for Minecraft
Namespaces | Functions
EnchantmentSerializer.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 EnchantmentSerializer
 

Functions

void EnchantmentSerializer::ParseFromNBT (cEnchantments &a_Enchantments, const cParsedNBT &a_NBT, int a_EnchListTagIdx)
 Reads the enchantments from the specified NBT list tag (ench or StoredEnchantments) More...
 
void EnchantmentSerializer::WriteToNBTCompound (const cEnchantments &a_Enchantments, cFastNBTWriter &a_Writer, const AString &a_ListTagName)
 Writes the enchantments into the specified NBT writer; begins with the LIST tag of the specified name ("ench" or "StoredEnchantments") More...