Core/Packets: converted CMSG_WHO and SMSG_WHO to packet class

This commit is contained in:
Ovahlord committed 2020-04-18 19:23:54 +02:00
1 parent ee9f0b9bf0
commit 631236fa8a
7 files changed
+301 -122

No files matched your search

@@ -21,6 +21,9 @@
#include "Packet.h"
#include "DB2Stores.h"
#include "ObjectGuid.h"
#include "SharedDefines.h"
class Player;
namespace WorldPackets
{
@@ -65,6 +68,17 @@ namespace WorldPackets
HotfixData const* Hotfixes = nullptr;
};
struct PlayerGuidLookupData
{
bool Initialize(ObjectGuid const& guid, Player const* player = nullptr);
std::string Name;
uint8 Race = RACE_NONE;
uint8 Sex = GENDER_NONE;
uint8 ClassID = CLASS_NONE;
uint8 Level = 0;
};
}
}