06-02-2013, 08:43 PM
Committed in rev 1539, so that you can have a look at the API. The enchantments are available in the API and are sent to the client; but they are not stored yet, neither in the world nor in player inventory. As usual, the Debuggers plugin has a simple code example; most of the documentation is in the source/Enchantments.h file.
I really wish we had a tool that could turn the Doxygen documentation for functions into API reference in the Wiki.
I really wish we had a tool that could turn the Doxygen documentation for functions into API reference in the Wiki.