![]() |
TrinityCore
|
#include <MailPackets.h>
Public Member Functions | |
| MailAttachedItem (::Item const *item, uint8 pos) | |
Static Public Member Functions | |
| static constexpr std::size_t | GetPacketSize () |
Public Attributes | |
| uint8 | Position = 0 |
| int32 | AttachID = 0 |
| int32 | ItemID = 0 |
| int32 | RandomPropertiesSeed = 0 |
| int32 | RandomPropertiesID = 0 |
| int32 | Count = 0 |
| int32 | Charges = 0 |
| uint32 | MaxDurability = 0 |
| int32 | Durability = 0 |
| bool | Unlocked = false |
| std::array< uint32, MAX_INSPECTED_ENCHANTMENT_SLOT > | EnchantmentID = { } |
| std::array< uint32, MAX_INSPECTED_ENCHANTMENT_SLOT > | EnchantmentDuration = { } |
| std::array< uint32, MAX_INSPECTED_ENCHANTMENT_SLOT > | EnchantmentCharges = { } |
Definition at line 31 of file MailPackets.h.
Definition at line 25 of file MailPackets.cpp.
References AttachID, Charges, Count, Durability, EnchantmentCharges, EnchantmentDuration, EnchantmentID, Item::GetCount(), ObjectGuid::GetCounter(), Item::GetEnchantmentCharges(), Item::GetEnchantmentDuration(), Item::GetEnchantmentId(), Object::GetEntry(), Object::GetGUID(), Object::GetInt32Value(), Item::GetItemRandomPropertyId(), Item::GetItemSuffixFactor(), Item::GetSpellCharges(), Object::GetUInt32Value(), Item::IsLocked(), ITEM_FIELD_DURABILITY, ITEM_FIELD_MAXDURABILITY, ItemID, MAX_INSPECTED_ENCHANTMENT_SLOT, MaxDurability, RandomPropertiesID, RandomPropertiesSeed, and Unlocked.
|
inlinestaticconstexpr |
Definition at line 35 of file MailPackets.h.
References MAX_INSPECTED_ENCHANTMENT_SLOT.
Referenced by WorldPackets::Mail::MailListEntry::GetPacketSize().
| int32 WorldPackets::Mail::MailAttachedItem::AttachID = 0 |
Definition at line 42 of file MailPackets.h.
Referenced by MailAttachedItem(), and operator<<().
| int32 WorldPackets::Mail::MailAttachedItem::Charges = 0 |
Definition at line 47 of file MailPackets.h.
Referenced by MailAttachedItem(), and operator<<().
| int32 WorldPackets::Mail::MailAttachedItem::Count = 0 |
Definition at line 46 of file MailPackets.h.
Referenced by MailAttachedItem(), and operator<<().
| int32 WorldPackets::Mail::MailAttachedItem::Durability = 0 |
Definition at line 49 of file MailPackets.h.
Referenced by MailAttachedItem(), and operator<<().
| std::array<uint32, MAX_INSPECTED_ENCHANTMENT_SLOT> WorldPackets::Mail::MailAttachedItem::EnchantmentCharges = { } |
Definition at line 53 of file MailPackets.h.
Referenced by MailAttachedItem(), and operator<<().
| std::array<uint32, MAX_INSPECTED_ENCHANTMENT_SLOT> WorldPackets::Mail::MailAttachedItem::EnchantmentDuration = { } |
Definition at line 52 of file MailPackets.h.
Referenced by MailAttachedItem(), and operator<<().
| std::array<uint32, MAX_INSPECTED_ENCHANTMENT_SLOT> WorldPackets::Mail::MailAttachedItem::EnchantmentID = { } |
Definition at line 51 of file MailPackets.h.
Referenced by MailAttachedItem(), and operator<<().
| int32 WorldPackets::Mail::MailAttachedItem::ItemID = 0 |
Definition at line 43 of file MailPackets.h.
Referenced by MailAttachedItem(), and operator<<().
| uint32 WorldPackets::Mail::MailAttachedItem::MaxDurability = 0 |
Definition at line 48 of file MailPackets.h.
Referenced by MailAttachedItem(), and operator<<().
| uint8 WorldPackets::Mail::MailAttachedItem::Position = 0 |
Definition at line 41 of file MailPackets.h.
Referenced by operator<<().
| int32 WorldPackets::Mail::MailAttachedItem::RandomPropertiesID = 0 |
Definition at line 45 of file MailPackets.h.
Referenced by MailAttachedItem(), and operator<<().
| int32 WorldPackets::Mail::MailAttachedItem::RandomPropertiesSeed = 0 |
Definition at line 44 of file MailPackets.h.
Referenced by MailAttachedItem(), and operator<<().
Definition at line 50 of file MailPackets.h.
Referenced by MailAttachedItem(), and operator<<().