O'Reilly logo

Beginning Lua with World of Warcraft Addons by Paul Emmerich

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

C H A P T E R  6

image

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required