[DiscordArchive] was checking player to understand tc so that if (mailItemsResult)
[DiscordArchive] was checking player to understand tc so that if (mailItemsResult)
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?