Core/Player: Add a helper function in Player to get the number of grantable levels. For future use. Thanks Phazerz for helping me confirm this is the right value.

This commit is contained in:
silinoron
2010-12-30 21:15:11 -08:00
parent 3a053c6cd3
commit dcb0902e61

View File

@@ -1936,6 +1936,7 @@ class Player : public Unit, public GridObject<Player>
bool isHonorOrXPTarget(Unit* pVictim);
bool GetsRecruitAFriendBonus(bool forXP);
uint8 GetGrantableLevels() { return GetByteValue(PLAYER_FIELD_BYTES, 1); }
ReputationMgr& GetReputationMgr() { return m_reputationMgr; }
ReputationMgr const& GetReputationMgr() const { return m_reputationMgr; }