mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 17:05:44 +01:00
Core/Misc: Fixed build without pch
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
#include "DatabaseEnv.h"
|
||||
#include "DBCEnums.h"
|
||||
#include "DBCStores.h"
|
||||
#include "ObjectGuid.h"
|
||||
|
||||
class Unit;
|
||||
class Player;
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#define TRINITYCORE_ARENATEAM_H
|
||||
|
||||
#include "QueryResult.h"
|
||||
#include "ObjectGuid.h"
|
||||
#include <list>
|
||||
#include <map>
|
||||
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
#define TRINITY_BATTLEGROUND_SCORE_H
|
||||
|
||||
#include "WorldPacket.h"
|
||||
#include "ObjectGuid.h"
|
||||
|
||||
enum ScoreType
|
||||
{
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#include "Common.h"
|
||||
#include "DatabaseEnv.h"
|
||||
#include "WorldPacket.h"
|
||||
#include "ObjectGuid.h"
|
||||
|
||||
enum CalendarMailAnswers
|
||||
{
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#include "SharedDefines.h"
|
||||
#include "LinkedReference/Reference.h"
|
||||
#include "UnitEvents.h"
|
||||
#include "ObjectGuid.h"
|
||||
|
||||
#include <list>
|
||||
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
#define _LFG_H
|
||||
|
||||
#include "Common.h"
|
||||
#include "ObjectGuid.h"
|
||||
|
||||
namespace lfg
|
||||
{
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#define TRINITYCORE_GOSSIP_H
|
||||
|
||||
#include "Common.h"
|
||||
#include "ObjectGuid.h"
|
||||
#include "QuestDef.h"
|
||||
#include "NPCHandler.h"
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ char const* ObjectGuid::GetTypeName(HighGuid high)
|
||||
std::string ObjectGuid::ToString() const
|
||||
{
|
||||
std::ostringstream str;
|
||||
str << "GUID Full: 0x" << std::hex << std::setw(16) << std::setfill('0') << m_guid;
|
||||
str << "GUID Full: 0x" << std::hex << std::setw(16) << std::setfill('0') << m_guid << std::dec;
|
||||
str << " Type: " << GetTypeName();
|
||||
if (HasEntry())
|
||||
str << (IsPet() ? " Pet number: " : " Entry: ") << GetEntry() << " ";
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#define __UPDATEDATA_H
|
||||
|
||||
#include "ByteBuffer.h"
|
||||
#include "ObjectGuid.h"
|
||||
#include <set>
|
||||
|
||||
class WorldPacket;
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include "RefManager.h"
|
||||
#include "SharedDefines.h"
|
||||
#include "ConditionMgr.h"
|
||||
|
||||
#include "ObjectGuid.h"
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include <list>
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
#include "MapRefManager.h"
|
||||
#include "DynamicTree.h"
|
||||
#include "GameObjectModel.h"
|
||||
#include "ObjectGuid.h"
|
||||
|
||||
#include <bitset>
|
||||
#include <list>
|
||||
|
||||
@@ -172,9 +172,11 @@ std::string WorldSession::GetPlayerInfo() const
|
||||
{
|
||||
std::ostringstream ss;
|
||||
|
||||
ss << "[Player: " << GetPlayerName()
|
||||
<< " (Guid: " << (_player != NULL ? _player->GetGUID().ToString() : "")
|
||||
<< ", Account: " << GetAccountId() << ")]";
|
||||
ss << "[Player: " << GetPlayerName() << " (";
|
||||
if (_player != NULL)
|
||||
ss << _player->GetGUID().ToString() << ", ";
|
||||
|
||||
ss << "Account: " << GetAccountId() << ")]";
|
||||
|
||||
return ss.str();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user