Core/Misc: Add missing includes and remove unneccessary Bag::GetDebugInfo override
Signed-off-by: luis <[email protected]>
This commit is contained in:
@@ -18,6 +18,7 @@
|
|||||||
#ifndef TRINITY_CREATUREAI_H
|
#ifndef TRINITY_CREATUREAI_H
|
||||||
#define TRINITY_CREATUREAI_H
|
#define TRINITY_CREATUREAI_H
|
||||||
|
|
||||||
|
#include "Duration.h"
|
||||||
#include "LootItemType.h"
|
#include "LootItemType.h"
|
||||||
#include "ObjectDefines.h"
|
#include "ObjectDefines.h"
|
||||||
#include "Optional.h"
|
#include "Optional.h"
|
||||||
|
|||||||
@@ -23,7 +23,6 @@
|
|||||||
#include "Log.h"
|
#include "Log.h"
|
||||||
#include "UpdateData.h"
|
#include "UpdateData.h"
|
||||||
#include "Player.h"
|
#include "Player.h"
|
||||||
#include <sstream>
|
|
||||||
|
|
||||||
Bag::Bag(): Item()
|
Bag::Bag(): Item()
|
||||||
{
|
{
|
||||||
@@ -285,13 +284,6 @@ Item* Bag::GetItemByPos(uint8 slot) const
|
|||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string Bag::GetDebugInfo() const
|
|
||||||
{
|
|
||||||
std::stringstream sstr;
|
|
||||||
sstr << Item::GetDebugInfo();
|
|
||||||
return sstr.str();
|
|
||||||
}
|
|
||||||
|
|
||||||
uint32 GetBagSize(Bag const* bag)
|
uint32 GetBagSize(Bag const* bag)
|
||||||
{
|
{
|
||||||
return bag->GetBagSize();
|
return bag->GetBagSize();
|
||||||
|
|||||||
@@ -74,8 +74,6 @@ class TC_GAME_API Bag : public Item
|
|||||||
void operator()(Player const* player) const;
|
void operator()(Player const* player) const;
|
||||||
};
|
};
|
||||||
|
|
||||||
std::string GetDebugInfo() const override;
|
|
||||||
|
|
||||||
UF::UpdateField<UF::ContainerData, int32(WowCS::EntityFragment::CGObject), TYPEID_CONTAINER> m_containerData;
|
UF::UpdateField<UF::ContainerData, int32(WowCS::EntityFragment::CGObject), TYPEID_CONTAINER> m_containerData;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|||||||
@@ -19,6 +19,7 @@
|
|||||||
#define UpdateMask_h__
|
#define UpdateMask_h__
|
||||||
|
|
||||||
#include "Define.h"
|
#include "Define.h"
|
||||||
|
#include <array>
|
||||||
#include <cstring> // std::memset
|
#include <cstring> // std::memset
|
||||||
|
|
||||||
namespace UpdateMaskHelpers
|
namespace UpdateMaskHelpers
|
||||||
|
|||||||
Reference in New Issue
Block a user