TrinityCore
Loading...
Searching...
No Matches
ItemTemplate Struct Reference

#include <ItemTemplate.h>

Public Member Functions

uint32 GetId () const
 
uint32 GetClass () const
 
uint32 GetSubClass () const
 
uint32 GetSheatheType () const
 
uint32 GetDisplayId () const
 
uint32 GetQuality () const
 
uint32 GetBuyCount () const
 
uint32 GetBuyPrice () const
 
uint32 GetSellPrice () const
 
::InventoryType GetInventoryType () const
 
int32 GetAllowableClass () const
 
uint32 GetAllowableRace () const
 
uint32 GetBaseItemLevel () const
 
int32 GetRequiredLevel () const
 
uint32 GetRequiredSkill () const
 
uint32 GetRequiredSkillRank () const
 
uint32 GetRequiredSpell () const
 
uint32 GetRequiredReputationFaction () const
 
uint32 GetRequiredReputationRank () const
 
int32 GetMaxCount () const
 
uint32 GetContainerSlots () const
 
uint32 GetStatsCount () const
 
int32 GetStatModifierBonusStat (uint32 index) const
 
int32 GetStatValue (uint32 index) const
 
uint32 GetScalingStatDistribution () const
 
uint32 GetScalingStatValue () const
 
void GetDamage (uint32 index, float &minDamage, float &maxDamage) const
 
uint32 GetDamageType (uint32 index) const
 
uint32 GetArmor () const
 
uint32 GetHolyRes () const
 
uint32 GetFireRes () const
 
uint32 GetNatureRes () const
 
uint32 GetFrostRes () const
 
uint32 GetShadowRes () const
 
uint32 GetArcaneRes () const
 
uint32 GetDelay () const
 
float GetRangedModRange () const
 
ItemBondingType GetBonding () const
 
std::string const & GetName (LocaleConstant locale) const
 
uint32 GetPageText () const
 
uint32 GetStartQuest () const
 
uint32 GetLockID () const
 
uint32 GetRandomProperty () const
 
uint32 GetRandomSuffix () const
 
uint32 GetBlock () const
 
uint32 GetItemSet () const
 
uint32 GetArea () const
 
uint32 GetMap () const
 
uint32 GetBagFamily () const
 
uint32 GetTotemCategory () const
 
SocketColor GetSocketColor (uint32 index) const
 
uint32 GetSocketBonus () const
 
uint32 GetGemProperties () const
 
uint32 GetRequiredDisenchantSkill () const
 
float GetArmorDamageModifier () const
 
uint32 GetDuration () const
 
uint32 GetItemLimitCategory () const
 
HolidayIds GetHolidayID () const
 
bool CanChangeEquipStateInCombat () const
 
bool IsCurrencyToken () const
 
uint32 GetMaxStackSize () const
 
float GetDPS () const
 
int32 getFeralBonus (int32 extraDPS=0) const
 
int32 GetTotalAPBonus () const
 
float GetItemLevelIncludingQuality () const
 
uint32 GetSkill () const
 
bool IsPotion () const
 
bool IsWeaponVellum () const
 
bool IsArmorVellum () const
 
bool IsConjuredConsumable () const
 
bool HasSignature () const
 
bool HasFlag (ItemFlags flag) const
 
bool HasFlag (ItemFlags2 flag) const
 
bool HasFlag (ItemFlagsCustom customFlag) const
 
std::string const & GetDefaultLocaleName () const
 
void InitializeQueryData ()
 
WorldPacket BuildQueryData (LocaleConstant loc) const
 

Public Attributes

uint32 ItemId
 
uint32 Class
 
uint32 SubClass
 
int32 SoundOverrideSubclass
 
std::string Name1
 
uint32 DisplayInfoID
 
uint32 Quality
 
std::array< uint32, MAX_ITEM_PROTO_FLAGS > Flags
 
uint32 BuyCount
 
int32 BuyPrice
 
uint32 SellPrice
 
uint32 InventoryType
 
uint32 AllowableClass
 
uint32 AllowableRace
 
uint32 ItemLevel
 
uint32 RequiredLevel
 
uint32 RequiredSkill
 
uint32 RequiredSkillRank
 
uint32 RequiredSpell
 
uint32 RequiredHonorRank
 
uint32 RequiredCityRank
 
uint32 RequiredReputationFaction
 
uint32 RequiredReputationRank
 
int32 MaxCount
 
int32 Stackable
 
uint32 ContainerSlots
 
uint32 StatsCount
 
std::array< _ItemStat, MAX_ITEM_PROTO_STATS > ItemStat
 
uint32 ScalingStatDistribution
 
uint32 ScalingStatValue
 
std::array< _Damage, MAX_ITEM_PROTO_DAMAGES > Damage
 
uint32 Armor
 
uint32 HolyRes
 
uint32 FireRes
 
uint32 NatureRes
 
uint32 FrostRes
 
uint32 ShadowRes
 
uint32 ArcaneRes
 
uint32 Delay
 
uint32 AmmoType
 
float RangedModRange
 
std::array< ItemEffect, MAX_ITEM_PROTO_SPELLS > Effects
 
uint32 Bonding
 
std::string Description
 
uint32 PageText
 
uint32 LanguageID
 
uint32 PageMaterial
 
uint32 StartQuest
 
uint32 LockID
 
int32 Material
 
uint32 Sheath
 
int32 RandomProperty
 
int32 RandomSuffix
 
uint32 Block
 
uint32 ItemSet
 
uint32 MaxDurability
 
uint32 Area
 
uint32 Map
 
uint32 BagFamily
 
uint32 TotemCategory
 
std::array< _Socket, MAX_ITEM_PROTO_SOCKETS > Socket
 
uint32 socketBonus
 
uint32 GemProperties
 
uint32 RequiredDisenchantSkill
 
float ArmorDamageModifier
 
uint32 Duration
 
uint32 ItemLimitCategory
 
uint32 HolidayId
 
uint32 ScriptId
 
uint32 DisenchantID
 
uint32 FoodType
 
uint32 MinMoneyLoot
 
uint32 MaxMoneyLoot
 
uint32 FlagsCu
 
std::array< WorldPacket, TOTAL_LOCALES > QueryData
 

Private Member Functions

void _LoadTotalAP ()
 

Private Attributes

int32 _totalAP
 

Friends

class ObjectMgr
 

Detailed Description

Definition at line 599 of file ItemTemplate.h.

Member Function Documentation

◆ _LoadTotalAP()

void ItemTemplate::_LoadTotalAP ( )
private

◆ BuildQueryData()

WorldPacket ItemTemplate::BuildQueryData ( LocaleConstant  loc) const

Definition at line 184 of file ItemTemplate.cpp.

References WorldPackets::Query::QueryItemSingleResponse::Allow, AllowableClass, WorldPackets::Query::ItemStats::AllowableClass, AllowableRace, WorldPackets::Query::ItemStats::AllowableRace, AmmoType, WorldPackets::Query::ItemStats::AmmoType, ArcaneRes, Area, WorldPackets::Query::ItemStats::Area, Armor, ArmorDamageModifier, WorldPackets::Query::ItemStats::ArmorDamageModifier, BagFamily, WorldPackets::Query::ItemStats::BagFamily, Block, WorldPackets::Query::ItemStats::Block, Bonding, WorldPackets::Query::ItemStats::Bonding, BuyPrice, WorldPackets::Query::ItemStats::BuyPrice, Class, WorldPackets::Query::ItemStats::Class, WorldPackets::Query::ItemSocketData::Color, ContainerSlots, WorldPackets::Query::ItemStats::ContainerSlots, WorldPackets::Query::ItemSocketData::Content, Damage, WorldPackets::Query::ItemStats::Damage, WorldPackets::Query::ItemDamageData::DamageMax, WorldPackets::Query::ItemDamageData::DamageMin, WorldPackets::Query::ItemDamageData::DamageType, Delay, WorldPackets::Query::ItemStats::Delay, Description, WorldPackets::Query::ItemStats::Description, DisplayInfoID, WorldPackets::Query::ItemStats::DisplayInfoID, Duration, WorldPackets::Query::ItemStats::Duration, Effects, FireRes, Flags, WorldPackets::Query::ItemStats::Flags, FrostRes, GemProperties, WorldPackets::Query::ItemStats::GemProperties, ObjectMgr::GetLocaleString(), HolidayId, WorldPackets::Query::ItemStats::HolidayId, HolyRes, InventoryType, WorldPackets::Query::ItemStats::InventoryType, ItemId, WorldPackets::Query::QueryItemSingleResponse::ItemID, ItemLevel, WorldPackets::Query::ItemStats::ItemLevel, ItemLimitCategory, WorldPackets::Query::ItemStats::ItemLimitCategory, ItemSet, WorldPackets::Query::ItemStats::ItemSet, ItemStat, WorldPackets::Query::ItemStats::ItemStat, WorldPackets::Query::ItemStatData::ItemStatType, WorldPackets::Query::ItemStatData::ItemStatValue, LanguageID, WorldPackets::Query::ItemStats::LanguageID, LockID, WorldPackets::Query::ItemStats::LockID, Map, WorldPackets::Query::ItemStats::Map, Material, WorldPackets::Query::ItemStats::Material, MAX_ITEM_PROTO_DAMAGES, MAX_ITEM_PROTO_SOCKETS, MAX_ITEM_PROTO_SPELLS, MaxCount, WorldPackets::Query::ItemStats::MaxCount, MaxDurability, WorldPackets::Query::ItemStats::MaxDurability, WorldPackets::ServerPacket::Move(), WorldPackets::Query::ItemStats::Name, Name1, NatureRes, PageMaterial, WorldPackets::Query::ItemStats::PageMaterial, PageText, WorldPackets::Query::ItemStats::PageText, Quality, WorldPackets::Query::ItemStats::Quality, RandomProperty, WorldPackets::Query::ItemStats::RandomProperty, RandomSuffix, WorldPackets::Query::ItemStats::RandomSuffix, RangedModRange, WorldPackets::Query::ItemStats::RangedModRange, RequiredCityRank, WorldPackets::Query::ItemStats::RequiredCityRank, RequiredDisenchantSkill, WorldPackets::Query::ItemStats::RequiredDisenchantSkill, RequiredHonorRank, WorldPackets::Query::ItemStats::RequiredHonorRank, RequiredLevel, WorldPackets::Query::ItemStats::RequiredLevel, RequiredReputationFaction, WorldPackets::Query::ItemStats::RequiredReputationFaction, RequiredReputationRank, WorldPackets::Query::ItemStats::RequiredReputationRank, RequiredSkill, WorldPackets::Query::ItemStats::RequiredSkill, RequiredSkillRank, WorldPackets::Query::ItemStats::RequiredSkillRank, RequiredSpell, WorldPackets::Query::ItemStats::RequiredSpell, WorldPackets::Query::ItemStats::Resistance, ScalingStatDistribution, WorldPackets::Query::ItemStats::ScalingStatDistribution, ScalingStatValue, WorldPackets::Query::ItemStats::ScalingStatValue, SellPrice, WorldPackets::Query::ItemStats::SellPrice, ShadowRes, Sheath, WorldPackets::Query::ItemStats::Sheath, WorldPackets::ServerPacket::ShrinkToFit(), sObjectMgr, Socket, WorldPackets::Query::ItemStats::Socket, socketBonus, WorldPackets::Query::ItemStats::SocketBonus, SoundOverrideSubclass, WorldPackets::Query::ItemStats::SoundOverrideSubclass, SPELL_SCHOOL_ARCANE, SPELL_SCHOOL_FIRE, SPELL_SCHOOL_FROST, SPELL_SCHOOL_HOLY, SPELL_SCHOOL_NATURE, SPELL_SCHOOL_NORMAL, SPELL_SCHOOL_SHADOW, WorldPackets::Query::ItemSpellData::SpellCategory, WorldPackets::Query::ItemSpellData::SpellCategoryCooldown, WorldPackets::Query::ItemSpellData::SpellCharges, WorldPackets::Query::ItemSpellData::SpellCooldown, WorldPackets::Query::ItemSpellData::SpellId, WorldPackets::Query::ItemStats::Spells, WorldPackets::Query::ItemSpellData::SpellTrigger, Stackable, WorldPackets::Query::ItemStats::Stackable, StartQuest, WorldPackets::Query::ItemStats::StartQuest, WorldPackets::Query::QueryItemSingleResponse::Stats, StatsCount, WorldPackets::Query::ItemStats::StatsCount, SubClass, WorldPackets::Query::ItemStats::SubClass, TotemCategory, WorldPackets::Query::ItemStats::TotemCategory, and WorldPackets::Query::QueryItemSingleResponse::Write().

Referenced by InitializeQueryData().

◆ CanChangeEquipStateInCombat()

bool ItemTemplate::CanChangeEquipStateInCombat ( ) const

◆ GetAllowableClass()

int32 ItemTemplate::GetAllowableClass ( ) const
inline

◆ GetAllowableRace()

uint32 ItemTemplate::GetAllowableRace ( ) const
inline

Definition at line 690 of file ItemTemplate.h.

Referenced by Player::CanRollForItemInLFG(), and Player::CanUseItem().

◆ GetArcaneRes()

uint32 ItemTemplate::GetArcaneRes ( ) const
inline

Definition at line 713 of file ItemTemplate.h.

Referenced by Player::_ApplyItemBonuses().

◆ GetArea()

uint32 ItemTemplate::GetArea ( ) const
inline

Definition at line 725 of file ItemTemplate.h.

Referenced by Item::IsLimitedToAnotherMapOrZone().

◆ GetArmor()

uint32 ItemTemplate::GetArmor ( ) const
inline

Definition at line 707 of file ItemTemplate.h.

Referenced by Player::_ApplyItemBonuses().

◆ GetArmorDamageModifier()

float ItemTemplate::GetArmorDamageModifier ( ) const
inline

Definition at line 733 of file ItemTemplate.h.

Referenced by Player::_ApplyItemBonuses().

◆ GetBagFamily()

uint32 ItemTemplate::GetBagFamily ( ) const
inline

◆ GetBaseItemLevel()

◆ GetBlock()

uint32 ItemTemplate::GetBlock ( ) const
inline

Definition at line 723 of file ItemTemplate.h.

Referenced by Player::_ApplyItemBonuses(), and Unit::GetUnitBlockChance().

◆ GetBonding()

◆ GetBuyCount()

◆ GetBuyPrice()

◆ GetClass()

◆ GetContainerSlots()

uint32 ItemTemplate::GetContainerSlots ( ) const
inline

◆ GetDamage()

void ItemTemplate::GetDamage ( uint32  index,
float &  minDamage,
float &  maxDamage 
) const
inline

Definition at line 705 of file ItemTemplate.h.

References ASSERT, and MAX_ITEM_PROTO_DAMAGES.

Referenced by Player::_ApplyAmmoBonuses(), and Player::_ApplyWeaponDamage().

◆ GetDamageType()

uint32 ItemTemplate::GetDamageType ( uint32  index) const
inline

Definition at line 706 of file ItemTemplate.h.

References ASSERT, and MAX_ITEM_PROTO_DAMAGES.

◆ GetDefaultLocaleName()

◆ GetDelay()

◆ GetDisplayId()

◆ GetDPS()

float ItemTemplate::GetDPS ( ) const

Definition at line 68 of file ItemTemplate.cpp.

References Damage, Delay, and MAX_ITEM_PROTO_DAMAGES.

Referenced by getFeralBonus().

◆ GetDuration()

uint32 ItemTemplate::GetDuration ( ) const
inline

Definition at line 734 of file ItemTemplate.h.

Referenced by Item::Create(), and Item::LoadFromDB().

◆ getFeralBonus()

int32 ItemTemplate::getFeralBonus ( int32  extraDPS = 0) const

◆ GetFireRes()

uint32 ItemTemplate::GetFireRes ( ) const
inline

Definition at line 709 of file ItemTemplate.h.

Referenced by Player::_ApplyItemBonuses().

◆ GetFrostRes()

uint32 ItemTemplate::GetFrostRes ( ) const
inline

Definition at line 711 of file ItemTemplate.h.

Referenced by Player::_ApplyItemBonuses().

◆ GetGemProperties()

uint32 ItemTemplate::GetGemProperties ( ) const
inline

◆ GetHolidayID()

HolidayIds ItemTemplate::GetHolidayID ( ) const
inline

Definition at line 736 of file ItemTemplate.h.

Referenced by Player::CanUseItem().

◆ GetHolyRes()

uint32 ItemTemplate::GetHolyRes ( ) const
inline

Definition at line 708 of file ItemTemplate.h.

Referenced by Player::_ApplyItemBonuses().

◆ GetId()

◆ GetInventoryType()

◆ GetItemLevelIncludingQuality()

◆ GetItemLimitCategory()

◆ GetItemSet()

◆ GetLockID()

uint32 ItemTemplate::GetLockID ( ) const
inline

◆ GetMap()

uint32 ItemTemplate::GetMap ( ) const
inline

Definition at line 726 of file ItemTemplate.h.

Referenced by Item::IsLimitedToAnotherMapOrZone().

◆ GetMaxCount()

◆ GetMaxStackSize()

◆ GetName()

std::string const & ItemTemplate::GetName ( LocaleConstant  locale) const

◆ GetNatureRes()

uint32 ItemTemplate::GetNatureRes ( ) const
inline

Definition at line 710 of file ItemTemplate.h.

Referenced by Player::_ApplyItemBonuses().

◆ GetPageText()

uint32 ItemTemplate::GetPageText ( ) const
inline

Definition at line 718 of file ItemTemplate.h.

Referenced by WorldSession::HandleReadItem().

◆ GetQuality()

◆ GetRandomProperty()

uint32 ItemTemplate::GetRandomProperty ( ) const
inline

◆ GetRandomSuffix()

uint32 ItemTemplate::GetRandomSuffix ( ) const
inline

◆ GetRangedModRange()

float ItemTemplate::GetRangedModRange ( ) const
inline

Definition at line 715 of file ItemTemplate.h.

◆ GetRequiredDisenchantSkill()

uint32 ItemTemplate::GetRequiredDisenchantSkill ( ) const
inline

Definition at line 732 of file ItemTemplate.h.

Referenced by Spell::CheckItems(), Group::GroupLoot(), and Group::NeedBeforeGreed().

◆ GetRequiredLevel()

int32 ItemTemplate::GetRequiredLevel ( ) const
inline

◆ GetRequiredReputationFaction()

uint32 ItemTemplate::GetRequiredReputationFaction ( ) const
inline

Definition at line 696 of file ItemTemplate.h.

Referenced by Player::BuyItemFromVendorSlot(), and Player::CanUseItem().

◆ GetRequiredReputationRank()

uint32 ItemTemplate::GetRequiredReputationRank ( ) const
inline

Definition at line 697 of file ItemTemplate.h.

Referenced by Player::BuyItemFromVendorSlot(), and Player::CanUseItem().

◆ GetRequiredSkill()

uint32 ItemTemplate::GetRequiredSkill ( ) const
inline

◆ GetRequiredSkillRank()

uint32 ItemTemplate::GetRequiredSkillRank ( ) const
inline

◆ GetRequiredSpell()

uint32 ItemTemplate::GetRequiredSpell ( ) const
inline

Definition at line 695 of file ItemTemplate.h.

Referenced by Player::CanRollForItemInLFG(), Player::CanUseItem(), and EquippedOk().

◆ GetScalingStatDistribution()

uint32 ItemTemplate::GetScalingStatDistribution ( ) const
inline

Definition at line 703 of file ItemTemplate.h.

Referenced by Player::CanEquipItem(), and Player::GetScalingStatDistributionFor().

◆ GetScalingStatValue()

uint32 ItemTemplate::GetScalingStatValue ( ) const
inline

◆ GetSellPrice()

uint32 ItemTemplate::GetSellPrice ( ) const
inline

◆ GetShadowRes()

uint32 ItemTemplate::GetShadowRes ( ) const
inline

Definition at line 712 of file ItemTemplate.h.

Referenced by Player::_ApplyItemBonuses().

◆ GetSheatheType()

uint32 ItemTemplate::GetSheatheType ( ) const
inline

Definition at line 682 of file ItemTemplate.h.

◆ GetSkill()

◆ GetSocketBonus()

uint32 ItemTemplate::GetSocketBonus ( ) const
inline

Definition at line 730 of file ItemTemplate.h.

Referenced by WorldSession::HandleSocketOpcode().

◆ GetSocketColor()

◆ GetStartQuest()

uint32 ItemTemplate::GetStartQuest ( ) const
inline

◆ GetStatModifierBonusStat()

int32 ItemTemplate::GetStatModifierBonusStat ( uint32  index) const
inline

Definition at line 701 of file ItemTemplate.h.

References ASSERT, and MAX_ITEM_PROTO_STATS.

Referenced by Player::_ApplyItemBonuses().

◆ GetStatsCount()

uint32 ItemTemplate::GetStatsCount ( ) const
inline

Definition at line 700 of file ItemTemplate.h.

Referenced by Player::_ApplyItemBonuses().

◆ GetStatValue()

int32 ItemTemplate::GetStatValue ( uint32  index) const
inline

Definition at line 702 of file ItemTemplate.h.

References ASSERT, and MAX_ITEM_PROTO_STATS.

Referenced by Player::_ApplyItemBonuses().

◆ GetSubClass()

◆ GetTotalAPBonus()

int32 ItemTemplate::GetTotalAPBonus ( ) const
inline

Definition at line 751 of file ItemTemplate.h.

Referenced by Player::UpdateAttackPowerAndDamage().

◆ GetTotemCategory()

uint32 ItemTemplate::GetTotemCategory ( ) const
inline

Definition at line 728 of file ItemTemplate.h.

Referenced by Player::HasItemTotemCategory().

◆ HasFlag() [1/3]

◆ HasFlag() [2/3]

bool ItemTemplate::HasFlag ( ItemFlags2  flag) const
inline

Definition at line 764 of file ItemTemplate.h.

◆ HasFlag() [3/3]

bool ItemTemplate::HasFlag ( ItemFlagsCustom  customFlag) const
inline

Definition at line 765 of file ItemTemplate.h.

◆ HasSignature()

bool ItemTemplate::HasSignature ( ) const

◆ InitializeQueryData()

void ItemTemplate::InitializeQueryData ( )

Definition at line 178 of file ItemTemplate.cpp.

References BuildQueryData(), LOCALE_enUS, QueryData, and TOTAL_LOCALES.

◆ IsArmorVellum()

bool ItemTemplate::IsArmorVellum ( ) const
inline

◆ IsConjuredConsumable()

bool ItemTemplate::IsConjuredConsumable ( ) const
inline

Definition at line 760 of file ItemTemplate.h.

References ITEM_CLASS_CONSUMABLE, and ITEM_FLAG_CONJURED.

Referenced by Item::IsConjuredConsumable().

◆ IsCurrencyToken()

◆ IsPotion()

bool ItemTemplate::IsPotion ( ) const
inline

Definition at line 757 of file ItemTemplate.h.

References ITEM_CLASS_CONSUMABLE, and ITEM_SUBCLASS_POTION.

Referenced by Item::IsPotion().

◆ IsWeaponVellum()

bool ItemTemplate::IsWeaponVellum ( ) const
inline

Friends And Related Symbol Documentation

◆ ObjectMgr

friend class ObjectMgr
friend

Definition at line 601 of file ItemTemplate.h.

Member Data Documentation

◆ _totalAP

int32 ItemTemplate::_totalAP
private

Definition at line 774 of file ItemTemplate.h.

Referenced by _LoadTotalAP().

◆ AllowableClass

uint32 ItemTemplate::AllowableClass

Definition at line 615 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ AllowableRace

uint32 ItemTemplate::AllowableRace

Definition at line 616 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ AmmoType

uint32 ItemTemplate::AmmoType

Definition at line 642 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ ArcaneRes

uint32 ItemTemplate::ArcaneRes

Definition at line 640 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ Area

uint32 ItemTemplate::Area

Definition at line 659 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ Armor

uint32 ItemTemplate::Armor

Definition at line 634 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ ArmorDamageModifier

float ItemTemplate::ArmorDamageModifier

Definition at line 667 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ BagFamily

uint32 ItemTemplate::BagFamily

Definition at line 661 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ Block

uint32 ItemTemplate::Block

Definition at line 656 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ Bonding

uint32 ItemTemplate::Bonding

Definition at line 645 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ BuyCount

uint32 ItemTemplate::BuyCount

Definition at line 611 of file ItemTemplate.h.

Referenced by ObjectMgr::LoadItemTemplates().

◆ BuyPrice

int32 ItemTemplate::BuyPrice

Definition at line 612 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ Class

◆ ContainerSlots

uint32 ItemTemplate::ContainerSlots

Definition at line 628 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ Damage

std::array<_Damage, MAX_ITEM_PROTO_DAMAGES> ItemTemplate::Damage

Definition at line 633 of file ItemTemplate.h.

Referenced by BuildQueryData(), GetDPS(), and ObjectMgr::LoadItemTemplates().

◆ Delay

uint32 ItemTemplate::Delay

Definition at line 641 of file ItemTemplate.h.

Referenced by BuildQueryData(), GetDPS(), and ObjectMgr::LoadItemTemplates().

◆ Description

std::string ItemTemplate::Description

Definition at line 646 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ DisenchantID

◆ DisplayInfoID

uint32 ItemTemplate::DisplayInfoID

Definition at line 608 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ Duration

uint32 ItemTemplate::Duration

Definition at line 668 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ Effects

◆ FireRes

uint32 ItemTemplate::FireRes

Definition at line 636 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ Flags

std::array<uint32, MAX_ITEM_PROTO_FLAGS> ItemTemplate::Flags

Definition at line 610 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ FlagsCu

uint32 ItemTemplate::FlagsCu

Definition at line 676 of file ItemTemplate.h.

Referenced by ObjectMgr::LoadItemTemplates().

◆ FoodType

uint32 ItemTemplate::FoodType

Definition at line 673 of file ItemTemplate.h.

Referenced by Pet::HaveInDiet(), and ObjectMgr::LoadItemTemplates().

◆ FrostRes

uint32 ItemTemplate::FrostRes

Definition at line 638 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ GemProperties

uint32 ItemTemplate::GemProperties

Definition at line 665 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ HolidayId

uint32 ItemTemplate::HolidayId

Definition at line 670 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ HolyRes

uint32 ItemTemplate::HolyRes

Definition at line 635 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ InventoryType

uint32 ItemTemplate::InventoryType

◆ ItemId

uint32 ItemTemplate::ItemId

Definition at line 603 of file ItemTemplate.h.

Referenced by BuildQueryData(), HasSignature(), and ObjectMgr::LoadItemTemplates().

◆ ItemLevel

uint32 ItemTemplate::ItemLevel

◆ ItemLimitCategory

uint32 ItemTemplate::ItemLimitCategory

Definition at line 669 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ ItemSet

uint32 ItemTemplate::ItemSet

Definition at line 657 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ ItemStat

std::array<_ItemStat, MAX_ITEM_PROTO_STATS> ItemTemplate::ItemStat

Definition at line 630 of file ItemTemplate.h.

Referenced by _LoadTotalAP(), BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ LanguageID

uint32 ItemTemplate::LanguageID

Definition at line 648 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ LockID

uint32 ItemTemplate::LockID

Definition at line 651 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ Map

uint32 ItemTemplate::Map

Definition at line 660 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ Material

int32 ItemTemplate::Material

Definition at line 652 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ MaxCount

int32 ItemTemplate::MaxCount

Definition at line 626 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ MaxDurability

◆ MaxMoneyLoot

uint32 ItemTemplate::MaxMoneyLoot

Definition at line 675 of file ItemTemplate.h.

Referenced by ObjectMgr::LoadItemTemplates(), and Player::SendLoot().

◆ MinMoneyLoot

uint32 ItemTemplate::MinMoneyLoot

Definition at line 674 of file ItemTemplate.h.

Referenced by ObjectMgr::LoadItemTemplates(), and Player::SendLoot().

◆ Name1

std::string ItemTemplate::Name1

◆ NatureRes

uint32 ItemTemplate::NatureRes

Definition at line 637 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ PageMaterial

uint32 ItemTemplate::PageMaterial

Definition at line 649 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ PageText

uint32 ItemTemplate::PageText

Definition at line 647 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ Quality

uint32 ItemTemplate::Quality

◆ QueryData

std::array<WorldPacket, TOTAL_LOCALES> ItemTemplate::QueryData

Definition at line 677 of file ItemTemplate.h.

Referenced by InitializeQueryData().

◆ RandomProperty

int32 ItemTemplate::RandomProperty

Definition at line 654 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ RandomSuffix

int32 ItemTemplate::RandomSuffix

Definition at line 655 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ RangedModRange

float ItemTemplate::RangedModRange

Definition at line 643 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ RequiredCityRank

uint32 ItemTemplate::RequiredCityRank

Definition at line 623 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ RequiredDisenchantSkill

uint32 ItemTemplate::RequiredDisenchantSkill

Definition at line 666 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ RequiredHonorRank

uint32 ItemTemplate::RequiredHonorRank

Definition at line 622 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ RequiredLevel

uint32 ItemTemplate::RequiredLevel

Definition at line 618 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ RequiredReputationFaction

uint32 ItemTemplate::RequiredReputationFaction

Definition at line 624 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ RequiredReputationRank

uint32 ItemTemplate::RequiredReputationRank

Definition at line 625 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ RequiredSkill

uint32 ItemTemplate::RequiredSkill

Definition at line 619 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ RequiredSkillRank

uint32 ItemTemplate::RequiredSkillRank

Definition at line 620 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ RequiredSpell

uint32 ItemTemplate::RequiredSpell

Definition at line 621 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ ScalingStatDistribution

uint32 ItemTemplate::ScalingStatDistribution

Definition at line 631 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ ScalingStatValue

uint32 ItemTemplate::ScalingStatValue

Definition at line 632 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ ScriptId

uint32 ItemTemplate::ScriptId

◆ SellPrice

uint32 ItemTemplate::SellPrice

Definition at line 613 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ ShadowRes

uint32 ItemTemplate::ShadowRes

Definition at line 639 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ Sheath

uint32 ItemTemplate::Sheath

Definition at line 653 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ Socket

std::array<_Socket, MAX_ITEM_PROTO_SOCKETS> ItemTemplate::Socket

Definition at line 663 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ socketBonus

uint32 ItemTemplate::socketBonus

Definition at line 664 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ SoundOverrideSubclass

int32 ItemTemplate::SoundOverrideSubclass

Definition at line 606 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ Stackable

int32 ItemTemplate::Stackable

Definition at line 627 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ StartQuest

uint32 ItemTemplate::StartQuest

Definition at line 650 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ StatsCount

uint32 ItemTemplate::StatsCount

Definition at line 629 of file ItemTemplate.h.

Referenced by _LoadTotalAP(), BuildQueryData(), and ObjectMgr::LoadItemTemplates().

◆ SubClass

uint32 ItemTemplate::SubClass

Definition at line 605 of file ItemTemplate.h.

Referenced by BuildQueryData(), GetSkill(), and ObjectMgr::LoadItemTemplates().

◆ TotemCategory

uint32 ItemTemplate::TotemCategory

Definition at line 662 of file ItemTemplate.h.

Referenced by BuildQueryData(), and ObjectMgr::LoadItemTemplates().


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