mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-13 03:32:28 -04:00
Core/Misc: Add missing includes and remove unneccessary Bag::GetDebugInfo override
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#include "Define.h"
|
||||
#include "DatabaseEnvFwd.h"
|
||||
#include "Hash.h"
|
||||
#include <string_view>
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user