[8225] Some fixes from 320 branch. Author: tomrus88
--HG-- branch : trunk
This commit is contained in:
+10
-9
@@ -136,11 +136,12 @@ enum ActionButtonUpdateState
|
||||
|
||||
enum ActionButtonType
|
||||
{
|
||||
ACTION_BUTTON_SPELL = 0,
|
||||
ACTION_BUTTON_EQSET = 32,
|
||||
ACTION_BUTTON_MACRO = 64,
|
||||
ACTION_BUTTON_CMACRO= 65,
|
||||
ACTION_BUTTON_ITEM = 128
|
||||
ACTION_BUTTON_SPELL = 0x00,
|
||||
ACTION_BUTTON_C = 0x01, // click?
|
||||
ACTION_BUTTON_EQSET = 0x20,
|
||||
ACTION_BUTTON_MACRO = 0x40,
|
||||
ACTION_BUTTON_CMACRO = ACTION_BUTTON_C | ACTION_BUTTON_MACRO,
|
||||
ACTION_BUTTON_ITEM = 0x80
|
||||
};
|
||||
|
||||
#define ACTION_BUTTON_ACTION(X) (uint32(X) & 0x00FFFFFF)
|
||||
@@ -1653,7 +1654,7 @@ class TRINITY_DLL_SPEC Player : public Unit
|
||||
void SetSession(WorldSession *s) { m_session = s; }
|
||||
|
||||
void BuildCreateUpdateBlockForPlayer( UpdateData *data, Player *target ) const;
|
||||
void DestroyForPlayer( Player *target ) const;
|
||||
void DestroyForPlayer( Player *target, bool anim = false ) const;
|
||||
void SendDelayResponse(const uint32);
|
||||
void SendLogXPGain(uint32 GivenXP,Unit* victim,uint32 RestXP);
|
||||
|
||||
@@ -1663,7 +1664,7 @@ class TRINITY_DLL_SPEC Player : public Unit
|
||||
void SendAttackSwingDeadTarget();
|
||||
void SendAttackSwingNotInRange();
|
||||
void SendAttackSwingBadFacingAttack();
|
||||
void SendAutoRepeatCancel();
|
||||
void SendAutoRepeatCancel(Unit *target);
|
||||
void SendExplorationExperience(uint32 Area, uint32 Experience);
|
||||
|
||||
void SendDungeonDifficulty(bool IsInGroup);
|
||||
@@ -2140,7 +2141,7 @@ class TRINITY_DLL_SPEC Player : public Unit
|
||||
void UpdateAchievementCriteria(AchievementCriteriaTypes type, uint32 miscvalue1=0, uint32 miscvalue2=0, Unit *unit=NULL, uint32 time=0);
|
||||
bool HasTitle(uint32 bitIndex);
|
||||
bool HasTitle(CharTitlesEntry const* title) { return HasTitle(title->bit_index); }
|
||||
void SetTitle(CharTitlesEntry const* title);
|
||||
void SetTitle(CharTitlesEntry const* title, bool lost = false);
|
||||
|
||||
//bool isActiveObject() const { return true; }
|
||||
bool canSeeSpellClickOn(Creature const* creature) const;
|
||||
@@ -2460,4 +2461,4 @@ template <class T> T Player::ApplySpellMod(uint32 spellId, SpellModOp op, T &bas
|
||||
basevalue = T((float)basevalue + diff);
|
||||
return T(diff);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
Reference in New Issue
Block a user