Core/Players: Implemented actionbar dropdown menus.

This commit is contained in:
Warpten committed 2013-09-19 13:16:43 +02:00
1 parent ded94a41b2
commit 3deecf1da2
2 files changed
+2

No files matched your search

@@ -6662,6 +6662,7 @@ bool Player::IsActionButtonDataValid(uint8 button, uint32 action, uint8 type)
case ACTION_BUTTON_CMACRO:
case ACTION_BUTTON_MACRO:
case ACTION_BUTTON_EQSET:
case ACTION_BUTTON_DROPDOWN:
break;
default:
TC_LOG_ERROR(LOG_FILTER_PLAYER, "Unknown action type %u", type);
+1
View File
@@ -307,6 +307,7 @@ enum ActionButtonType
ACTION_BUTTON_SPELL = 0x00,
ACTION_BUTTON_C = 0x01, // click?
ACTION_BUTTON_EQSET = 0x20,
ACTION_BUTTON_DROPDOWN = 0x30,
ACTION_BUTTON_MACRO = 0x40,
ACTION_BUTTON_CMACRO = ACTION_BUTTON_C | ACTION_BUTTON_MACRO,
ACTION_BUTTON_ITEM = 0x80