TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
EnchantDuration Struct Reference

#include <Player.h>

Public Member Functions

 EnchantDuration ()
 
 EnchantDuration (Item *_item, EnchantmentSlot _slot, uint32 _leftduration)
 

Public Attributes

Itemitem
 
EnchantmentSlot slot
 
uint32 leftduration
 

Constructor & Destructor Documentation

EnchantDuration::EnchantDuration ( )
inline
493 : item(nullptr), slot(MAX_ENCHANTMENT_SLOT), leftduration(0) { }
EnchantmentSlot slot
Definition: Player.h:498
Definition: Item.h:190
uint32 leftduration
Definition: Player.h:499
Item * item
Definition: Player.h:497
EnchantDuration::EnchantDuration ( Item _item,
EnchantmentSlot  _slot,
uint32  _leftduration 
)
inline
494  : item(_item), slot(_slot),
495  leftduration(_leftduration){ ASSERT(item); }
EnchantmentSlot slot
Definition: Player.h:498
uint32 leftduration
Definition: Player.h:499
Item * item
Definition: Player.h:497
#define ASSERT
Definition: Errors.h:55

Member Data Documentation

Item* EnchantDuration::item
uint32 EnchantDuration::leftduration
EnchantmentSlot EnchantDuration::slot

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