mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-23 13:46:24 +00:00
feat(Core/Debug): GetDebugInfo implementation (#12705)
Cherry-pick: 9a924fb9d5
Co-authored-by: jackpoz <giacomopoz@gmail.com>
Co-authored-by: jackpoz <giacomopoz@gmail.com>
This commit is contained in:
@@ -2439,3 +2439,13 @@ std::string Pet::GenerateActionBarData() const
|
||||
|
||||
return oss.str();
|
||||
}
|
||||
|
||||
std::string Pet::GetDebugInfo() const
|
||||
{
|
||||
std::stringstream sstr;
|
||||
sstr << Guardian::GetDebugInfo() << "\n"
|
||||
<< std::boolalpha
|
||||
<< "PetType: " << std::to_string(getPetType()) << " "
|
||||
<< "PetNumber: " << m_charmInfo->GetPetNumber();
|
||||
return sstr.str();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user