Core: Pass by const reference for simple objects replaced with pass by value
This commit is contained in:
@@ -667,9 +667,9 @@ class ObjectMgr
|
||||
void GetPlayerLevelInfo(uint32 race, uint32 class_, uint8 level, PlayerLevelInfo* info) const;
|
||||
|
||||
uint64 GetPlayerGUIDByName(std::string name) const;
|
||||
bool GetPlayerNameByGUID(const uint64 &guid, std::string &name) const;
|
||||
uint32 GetPlayerTeamByGUID(const uint64 &guid) const;
|
||||
uint32 GetPlayerAccountIdByGUID(const uint64 &guid) const;
|
||||
bool GetPlayerNameByGUID(const uint64 guid, std::string &name) const;
|
||||
uint32 GetPlayerTeamByGUID(const uint64 guid) const;
|
||||
uint32 GetPlayerAccountIdByGUID(const uint64 guid) const;
|
||||
uint32 GetPlayerAccountIdByPlayerName(const std::string& name) const;
|
||||
|
||||
uint32 GetNearestTaxiNode(float x, float y, float z, uint32 mapid, uint32 team);
|
||||
|
||||
Reference in New Issue
Block a user