Mercurial > wow > reaction
comparison classes/ReAction_ActionType.lua @ 8:c05fd3e18b4f
Version 0.31
| author | Flick <flickerstreak@gmail.com> |
|---|---|
| date | Tue, 20 Mar 2007 21:33:59 +0000 |
| parents | f920db5fc6b1 |
| children |
comparison
equal
deleted
inserted
replaced
| 7:f920db5fc6b1 | 8:c05fd3e18b4f |
|---|---|
| 127 -- PlaceAction() is protected. However the user can still drop a new action | 127 -- PlaceAction() is protected. However the user can still drop a new action |
| 128 -- onto a button while in combat by dragging then clicking, because | 128 -- onto a button while in combat by dragging then clicking, because |
| 129 -- UseAction() appears to swap the cursor action for the current action if | 129 -- UseAction() appears to swap the cursor action for the current action if |
| 130 -- an action is on the cursor. | 130 -- an action is on the cursor. |
| 131 PlaceAction(self:GetID()) | 131 PlaceAction(self:GetID()) |
| 132 end | 132 -- the ACTIONBAR_SLOT_CHANGED event will handle the update |
| 133 self:UpdateActionEvents() | 133 end |
| 134 self:UpdateIcon() | |
| 135 end | 134 end |
| 136 | 135 |
| 137 function RAAT:IsActionEmpty() | 136 function RAAT:IsActionEmpty() |
| 138 local slot = self:GetID() | 137 local slot = self:GetID() |
| 139 return not(slot and HasAction(slot)) | 138 return not(slot and HasAction(slot)) |
