C H A P T E R 6
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 ...