Core/Misc: Add missing includes and remove unneccessary Bag::GetDebugInfo override

Signed-off-by: luis <[email protected]>
This commit is contained in:
Shauren
2026-03-13 19:33:06 -03:00
committed by luis
parent 1473595f13
commit 291526eebb
4 changed files with 2 additions and 10 deletions
+1
View File
@@ -18,6 +18,7 @@
#ifndef TRINITY_CREATUREAI_H
#define TRINITY_CREATUREAI_H
#include "Duration.h"
#include "LootItemType.h"
#include "ObjectDefines.h"
#include "Optional.h"
@@ -23,7 +23,6 @@
#include "Log.h"
#include "UpdateData.h"
#include "Player.h"
#include <sstream>
Bag::Bag(): Item()
{
@@ -285,13 +284,6 @@ Item* Bag::GetItemByPos(uint8 slot) const
return nullptr;
}
std::string Bag::GetDebugInfo() const
{
std::stringstream sstr;
sstr << Item::GetDebugInfo();
return sstr.str();
}
uint32 GetBagSize(Bag const* bag)
{
return bag->GetBagSize();
@@ -74,8 +74,6 @@ class TC_GAME_API Bag : public Item
void operator()(Player const* player) const;
};
std::string GetDebugInfo() const override;
UF::UpdateField<UF::ContainerData, int32(WowCS::EntityFragment::CGObject), TYPEID_CONTAINER> m_containerData;
protected:
@@ -19,6 +19,7 @@
#define UpdateMask_h__
#include "Define.h"
#include <array>
#include <cstring> // std::memset
namespace UpdateMaskHelpers