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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ContentsxxvCreate a New Image 374Adding Graphical Components 375Saving Textures 376Adobe Photoshop 376Create a New Image 376Adding Graphical Components 377<strong>Creating</strong> an Alpha Channel 377Saving an Image 378Paint Shop Pro 379<strong>Creating</strong> a New Image 380Adding Graphical Components 380<strong>Creating</strong> an Alpha Channel 381Saving an Image 382Testing Your Texture 383No Button Appears 384A Green Box Appears 384XML Texture Definition 384Lua Texture Definition 385Summary 385Chapter 21 Responding to the Combat Log <strong>and</strong> Threat In<strong>for</strong>mation 387Underst<strong>and</strong>ing the Combat Log 387Event Arguments 387Combat Sub-Events 388Combat Event Prefix 389Bit Fields <strong>and</strong> Spell Schools 389Combat Event Suffix 390Spell-Only Suffixes 393Special Combat Events 395Unit GUIDs 396Format <strong>of</strong> GUIDs 397Unit Flags 398COMBATLOG_OBJECT_TYPE_MASK 398COMBATLOG_OBJECT_CONTROL_MASK 398COMBATLOG_OBJECT_REACTION_MASK 399COMBATLOG_OBJECT_AFFILIATION_MASK 399COMBATLOG_OBJECT_SPECIAL_MASK 399Using CombatLog_Object_IsA 400Writing CombatStatus 401<strong>Creating</strong> the Basic Addon Structure 401Initializing CombatStatus 402Updating Pet Mappings 405Storing Damage <strong>and</strong> Healing In<strong>for</strong>mation 405Taking ‘‘Snapshots’’ <strong>of</strong> Damage <strong>and</strong> Healing 407

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

Saved successfully!

Ooh no, something went wrong!