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.

Index ■ T–T 1395table.insert, 58–60, 92table.remove, 60–61, 93tables, 53–76associative, 53how to reduce garbage, 1312–1317metatables. See metatablesminimizing unnecessary garbage, 1311–1312object-oriented programming with, 63–68populated, 55–56recycling, 1318–1319storing data using, 53–56using as arrays, 56–61using as logic structure, 1321–1322using as namespaces, 61–63table.sortsorting array elements, 61sorting array <strong>of</strong> table data, 87–89sorting player’s inventory, 199table library, 93–94tags, Subversion, 1341tags, XML, 79tail call recursion, 1315–1316taintcreeping taint, 307–308enabling taint logging, 303–304execution taint, 304–305overview <strong>of</strong>, 302–303variable taint, 305–307TakeInboxItem, 953TakeInboxMoney, 953TakeInboxTextItem, 953TakeTaxiNode, 953talent functions, 1103–1104target (U) attributes,SecureActionButtonTemplate, 293target specifiers, 491targeted units, showing, 517–518targetingfunctions, 1104–1105unit on left click, 511–512TargetLastEnemy, 953TargetLastFriend, 953TargetLastTarget, 953TargetNearest, 954TargetNearestEnemy, 954TargetNearestEnemyPlayer, 954TargetNearestFriend, 954TargetNearestFriendPlayer, 954TargetNearestPartyMember, 954TargetNearestRaidMember, 955TargetTotem, 955TargetUnit, 955taunt messages, 353taxi functions, 1105TaxiGetDestX, 955–956TaxiGetDestY, 956TaxiGetSrcX, 956TaxiGetSrcY, 956–957TaxiNodeCost, 957TaxiNodeGetType, 957TaxiNodeName, 957–958TaxiNodePosition, 958TaxiNodeSetCurrent, 958templatesadvantages <strong>of</strong>, 173–174creating header, 508–509creating SquareGroupPetHeaderTemplate, 526frame. See frame templatessecure. See secure templates<strong>for</strong> SquareUnitFrames, 506–508underst<strong>and</strong>ing, 171–173‘‘Terms <strong>of</strong> Use’’, <strong>WoW</strong>, 7testingaddons, 12CombatTrackerFrame, 272–273dropdown menus, 435–436update function, 200–201textadding to frame with FontStrings, 164–166creating <strong>and</strong> updating status, 223–224custom text in tooltips, 453–455customizing text elements on dropdownmenus, 438–439displaying with FontStrings, 139text attribute, dropdown menus, 438TextBrowser addon, 155textHeight attribute, dropdown menus, 438textures, 150–164. See also graphicsadding, 155–156adding layers <strong>of</strong>, 150–153alpha channels <strong>and</strong>, 374BagBuddy design, 153–154coloring, 158–160creating in Lua, 162–164creating templates <strong>for</strong>, 173defining BagBuddy’s background, 157–158finding graphics, 155parenting, 145–146portrait, 160–162reference guide, 1138–1145saving with GIMIP, 375setting button, 175–176showing graphics <strong>and</strong> colors, 139testing new, 383–385TGA <strong>for</strong>matoverview <strong>of</strong>, 134saving graphics in, 373saving images in Paint Shop Pro, 382saving images in Photoshop, 378threat functions, 1105threat levels, displaying, 518–519tick or tick marks, strings, 29–30time, Lua API, 1021–1022timer code, 369–370

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

Saved successfully!

Ooh no, something went wrong!