C H A P T E R  6


Advanced Lua

You've already used a lot of Lua code in the example mods in the last two chapters. The basic Lua knowledge you acquired in Chapter 2 was sufficient to write some cool mods. But Lua can do even more, and you can write even more powerful mods like the still missing parts of our poker addon.

You can execute all the examples in this chapter in a standard Lua interpreter. But you are now familiar with executing Lua in World of Warcraft, so feel free to use the built-in Lua engine in the game.

This chapter deals with functional and object-oriented programming in Lua, and it shows implementations of common data structures ...

Get Beginning Lua with World of Warcraft Addons now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.