mirror of
https://github.com/azerothcore/mod-transmog
synced 2025-11-29 22:48:30 +08:00
@@ -50,9 +50,9 @@ void Transmogrification::LoadPlayerSets(ObjectGuid pGUID)
|
|||||||
{
|
{
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
uint8 PresetID = (*result)[0].GetUInt8();
|
uint8 PresetID = (*result)[0].Get<uint8>();
|
||||||
std::string SetName = (*result)[1].GetString();
|
std::string SetName = (*result)[1].Get<std::string>();
|
||||||
std::istringstream SetData((*result)[2].GetString());
|
std::istringstream SetData((*result)[2].Get<std::string>());
|
||||||
while (SetData.good())
|
while (SetData.good())
|
||||||
{
|
{
|
||||||
uint32 slot;
|
uint32 slot;
|
||||||
|
|||||||
@@ -410,8 +410,8 @@ public:
|
|||||||
{
|
{
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
ObjectGuid itemGUID = ObjectGuid::Create<HighGuid::Item>((*result)[0].GetUInt32());
|
ObjectGuid itemGUID = ObjectGuid::Create<HighGuid::Item>((*result)[0].Get<uint32>());
|
||||||
uint32 fakeEntry = (*result)[1].GetUInt32();
|
uint32 fakeEntry = (*result)[1].Get<uint32>();
|
||||||
if (sObjectMgr->GetItemTemplate(fakeEntry))
|
if (sObjectMgr->GetItemTemplate(fakeEntry))
|
||||||
{
|
{
|
||||||
sT->dataMap[itemGUID] = playerGUID;
|
sT->dataMap[itemGUID] = playerGUID;
|
||||||
|
|||||||
Reference in New Issue
Block a user