TrinityCore
Loading...
Searching...
No Matches
WorldPackets::Mail::MailAttachedItem Struct Reference

#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 = { }
 

Detailed Description

Definition at line 31 of file MailPackets.h.

Constructor & Destructor Documentation

◆ MailAttachedItem()

Member Function Documentation

◆ GetPacketSize()

static constexpr std::size_t WorldPackets::Mail::MailAttachedItem::GetPacketSize ( )
inlinestaticconstexpr

Member Data Documentation

◆ AttachID

int32 WorldPackets::Mail::MailAttachedItem::AttachID = 0

Definition at line 42 of file MailPackets.h.

Referenced by MailAttachedItem(), and operator<<().

◆ Charges

int32 WorldPackets::Mail::MailAttachedItem::Charges = 0

Definition at line 47 of file MailPackets.h.

Referenced by MailAttachedItem(), and operator<<().

◆ Count

int32 WorldPackets::Mail::MailAttachedItem::Count = 0

Definition at line 46 of file MailPackets.h.

Referenced by MailAttachedItem(), and operator<<().

◆ Durability

int32 WorldPackets::Mail::MailAttachedItem::Durability = 0

Definition at line 49 of file MailPackets.h.

Referenced by MailAttachedItem(), and operator<<().

◆ EnchantmentCharges

std::array<uint32, MAX_INSPECTED_ENCHANTMENT_SLOT> WorldPackets::Mail::MailAttachedItem::EnchantmentCharges = { }

Definition at line 53 of file MailPackets.h.

Referenced by MailAttachedItem(), and operator<<().

◆ EnchantmentDuration

std::array<uint32, MAX_INSPECTED_ENCHANTMENT_SLOT> WorldPackets::Mail::MailAttachedItem::EnchantmentDuration = { }

Definition at line 52 of file MailPackets.h.

Referenced by MailAttachedItem(), and operator<<().

◆ EnchantmentID

std::array<uint32, MAX_INSPECTED_ENCHANTMENT_SLOT> WorldPackets::Mail::MailAttachedItem::EnchantmentID = { }

Definition at line 51 of file MailPackets.h.

Referenced by MailAttachedItem(), and operator<<().

◆ ItemID

int32 WorldPackets::Mail::MailAttachedItem::ItemID = 0

Definition at line 43 of file MailPackets.h.

Referenced by MailAttachedItem(), and operator<<().

◆ MaxDurability

uint32 WorldPackets::Mail::MailAttachedItem::MaxDurability = 0

Definition at line 48 of file MailPackets.h.

Referenced by MailAttachedItem(), and operator<<().

◆ Position

uint8 WorldPackets::Mail::MailAttachedItem::Position = 0

Definition at line 41 of file MailPackets.h.

Referenced by operator<<().

◆ RandomPropertiesID

int32 WorldPackets::Mail::MailAttachedItem::RandomPropertiesID = 0

Definition at line 45 of file MailPackets.h.

Referenced by MailAttachedItem(), and operator<<().

◆ RandomPropertiesSeed

int32 WorldPackets::Mail::MailAttachedItem::RandomPropertiesSeed = 0

Definition at line 44 of file MailPackets.h.

Referenced by MailAttachedItem(), and operator<<().

◆ Unlocked

bool WorldPackets::Mail::MailAttachedItem::Unlocked = false

Definition at line 50 of file MailPackets.h.

Referenced by MailAttachedItem(), and operator<<().


The documentation for this struct was generated from the following files: