mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-25 14:46:24 +00:00
feat(Core/Chat): new argument parsing and unify chat hyperlink parsing (#6243)
This commit is contained in:
@@ -903,7 +903,7 @@ SimpleFactionsList const* GetFactionTeamList(uint32 faction)
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
char* GetPetName(uint32 petfamily, uint32 dbclang)
|
||||
char const* GetPetName(uint32 petfamily, uint32 dbclang)
|
||||
{
|
||||
if (!petfamily)
|
||||
return nullptr;
|
||||
@@ -912,7 +912,7 @@ char* GetPetName(uint32 petfamily, uint32 dbclang)
|
||||
if (!pet_family)
|
||||
return nullptr;
|
||||
|
||||
return pet_family->Name[dbclang] ? pet_family->Name[dbclang] : nullptr;
|
||||
return pet_family->Name[dbclang];
|
||||
}
|
||||
|
||||
TalentSpellPos const* GetTalentSpellPos(uint32 spellId)
|
||||
|
||||
@@ -29,7 +29,7 @@ typedef std::vector<FlyByCamera> FlyByCameraCollection;
|
||||
|
||||
SimpleFactionsList const* GetFactionTeamList(uint32 faction);
|
||||
|
||||
char* GetPetName(uint32 petfamily, uint32 dbclang);
|
||||
char const* GetPetName(uint32 petfamily, uint32 dbclang);
|
||||
uint32 GetTalentSpellCost(uint32 spellId);
|
||||
TalentSpellPos const* GetTalentSpellPos(uint32 spellId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user