Chapter 12 - Creating Your First Addon: CombatTracker
Errata
CombatTracker
Table of Contents
Creating Your First Addon: CombatTracker - 167
- Defining Specifications - 167
- CombatTracker User Experience - 167
- Finding the Right Game Events - 168
PLAYER_REGEN_DISABLED
- 168
PLAYER_REGEN_ENABLED
- 168
UNIT_COMBAT
- 168
- Creating Your Addon’s Skeleton - 170
- Defining CombatTracker’s XML Frame - 170
- Testing CombatTrackerFrame - 171
- Adding Script Handlers to CombatTrackerFrame - 172
<OnLoad>
- 172
<OnEvent>
- 173
<OnClick>
- 173
<OnDragStart>
- 173
<OnDragStop>
- 173
- Adding Functions to CombatTracker.lua - 173
CombatTracker_OnLoad(frame)
- 174*
CombatTracker_OnEvent(frame, event, ...)
- 174 **
PLAYER_REGEN_ENABLED
- 175**
PLAYER_REGEN_DISABLED
- 175**
UNIT_COMBAT
- 175*
CombatTracker_UpdateText()
- 176
CombatTracker_ReportDPS()
- 176
- Testing CombatTracker - 177
- Frame Dragging - 177
- Right-Click Reporting: Part I - 178
- Testing Combat Tracking - 178
- Right-Click Reporting: Part II - 179
- Summary - 179