12.07.2015 Views

Wiley-World.of.Warcraft.Programming.A.Guide.and.Reference.for.Creating.WoW.Addons

Wiley-World.of.Warcraft.Programming.A.Guide.and.Reference.for.Creating.WoW.Addons

Wiley-World.of.Warcraft.Programming.A.Guide.and.Reference.for.Creating.WoW.Addons

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

142 Part II ■ <strong>Programming</strong> in <strong>World</strong> <strong>of</strong> <strong>Warcraft</strong>9. The PLAYER_LOGIN event fires indicating that most in<strong>for</strong>mation about thegame world should be available to the user, <strong>and</strong> sizing <strong>and</strong> positioning<strong>of</strong> frames should have been completed.10. The PLAYER_ENTERING_WORLD event fires, indicating that the player hasentered the game world.At some point after this sequence the VARIABLES_LOADED event should fire,indicating that Blizzard’s saved variables, macros, <strong>and</strong> key bindings have beenloaded or synchronized.SummaryThis chapter introduced you to the different components <strong>of</strong> an addon, bothon your computer <strong>and</strong> within the game world. You learned about the variousdirectives that can be included in a table <strong>of</strong> contents file. The frame <strong>and</strong> eventsystem was introduced briefly.Learning about concepts is well enough, but you’re reading this book tolearn how to actually create addons. The next five chapters will lead youthrough creating an addon called BagBuddy <strong>for</strong> <strong>World</strong> <strong>of</strong> <strong>Warcraft</strong>. Eachchapter introduces you to the details <strong>of</strong> a specific section <strong>of</strong> the user interface,<strong>and</strong> then you will use those skills to implement a portion <strong>of</strong> the addon.Each chapter will build on the code from the previous chapter, so try towork through the chapters in order. If you do choose to work out <strong>of</strong> order,there will be full code listings at the end <strong>of</strong> each chapter to prevent confusion.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!