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

This commit is contained in:
Shauren
2026-03-13 12:14:00 +01:00
parent 4005ae4457
commit fa514742e5
5 changed files with 3 additions and 10 deletions

View File

@@ -21,6 +21,7 @@
#include "Define.h"
#include "DatabaseEnvFwd.h"
#include "Hash.h"
#include <string_view>
#include <unordered_map>
#include <vector>

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"

View File

@@ -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();

View File

@@ -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:

View File

@@ -19,6 +19,7 @@
#define UpdateMask_h__
#include "Define.h"
#include <array>
#include <cstring> // std::memset
namespace UpdateMaskHelpers