Core/Unit: rename several getters to follow codestyle
uint8 GetLevel()
uint8 GetLevelForTarget(WorldObject const* /*target*/)
void SetLevel(uint8 lvl)
uint8 GetRace()
uint32 GetRaceMask()
uint8 GetClass()
uint32 GetClassMask()
uint8 GetGender()
(cherry picked from commit 5c09ff51f7015b775def8d5cc1f678eaef37200f)
This commit is contained in:
@@ -133,10 +133,10 @@ bool WorldPackets::Query::PlayerGuidLookupData::Initialize(ObjectGuid const& gui
|
||||
AccountID = player->GetSession()->GetAccountGUID();
|
||||
BnetAccountID = player->GetSession()->GetBattlenetAccountGUID();
|
||||
Name = player->GetName();
|
||||
Race = player->getRace();
|
||||
Race = player->GetRace();
|
||||
Sex = player->GetNativeSex();
|
||||
ClassID = player->getClass();
|
||||
Level = player->getLevel();
|
||||
ClassID = player->GetClass();
|
||||
Level = player->GetLevel();
|
||||
|
||||
if (DeclinedName const* names = player->GetDeclinedNames())
|
||||
DeclinedNames = *names;
|
||||
|
||||
Reference in New Issue
Block a user