Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] was checking player to understand tc so that if (mailItemsResult)

[DiscordArchive] was checking player to understand tc so that if (mailItemsResult)

[DiscordArchive] was checking player to understand tc so that if (mailItemsResult)

rektbyfaith
Administrator
0
06-22-2025, 10:03 AM
#1
Archived author: Sylvannas • Posted: 2025-06-22T10:03:34.396000+00:00
Original source

was checking player to understand tc so that if (mailItemsResult)
{
std::unordered_map<ObjectGuid::LowType, ItemAdditionalLoadInfo> additionalData;
ItemAdditionalLoadInfo::Init(&additionalData, artifactResult, azeriteItemResult, azeriteItemMilestonePowersResult,
azeriteItemUnlockedEssencesResult, azeriteEmpoweredItemResult);

do
{
Field* fields = mailItemsResult->Fetch();
uint64 mailId = fields[53].GetUInt64();
_LoadMailedItem(GetGUID(), this, mailId, mailById[mailId], fields, Trinity::Containers::MapGetValuePtr(additionalData, fields[0].GetUInt64()));
} while (mailItemsResult->NextRow());
}

UpdateNextMailTimeAndUnreads();
}
from where pick field 53?
rektbyfaith
06-22-2025, 10:03 AM #1

Archived author: Sylvannas • Posted: 2025-06-22T10:03:34.396000+00:00
Original source

was checking player to understand tc so that if (mailItemsResult)
{
std::unordered_map<ObjectGuid::LowType, ItemAdditionalLoadInfo> additionalData;
ItemAdditionalLoadInfo::Init(&additionalData, artifactResult, azeriteItemResult, azeriteItemMilestonePowersResult,
azeriteItemUnlockedEssencesResult, azeriteEmpoweredItemResult);

do
{
Field* fields = mailItemsResult->Fetch();
uint64 mailId = fields[53].GetUInt64();
_LoadMailedItem(GetGUID(), this, mailId, mailById[mailId], fields, Trinity::Containers::MapGetValuePtr(additionalData, fields[0].GetUInt64()));
} while (mailItemsResult->NextRow());
}

UpdateNextMailTimeAndUnreads();
}
from where pick field 53?

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)