Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
ItemTemplate Struct Reference

#include <ItemPrototype.h>

Collaboration diagram for ItemTemplate:

Public Member Functions

bool CanChangeEquipStateInCombat () const
uint32 GetArmor () const
float GetItemLevelIncludingQuality () const
uint32 GetMaxStackSize () const
bool IsConjuredConsumable () const
bool IsCurrencyToken () const
bool IsPotion () const
bool IsRangedInventoryType () const
bool IsRangedWeapon () const
bool IsVellum () const
 ItemTemplate ()

Public Attributes

uint32 AllowableClass
uint32 AllowableRace
uint32 Area
float ArmorDamageModifier
uint32 BagFamily
uint32 Bonding
uint32 BuyCount
int32 BuyPrice
uint32 Class
uint32 ContainerSlots
uint32 CurrencySubstitutionCount
uint32 CurrencySubstitutionId
float DamageMax
float DamageMin
uint32 DamageType
uint32 Delay
std::string Description
uint32 DisenchantID
uint32 DisplayInfoID
float DPS
uint32 Duration
uint32 Flags
uint32 Flags2
uint32 Flags3
uint32 FlagsCu
uint32 FoodType
uint32 GemProperties
uint32 HolidayId
uint32 InventoryType
uint32 ItemId
uint32 ItemLevel
uint32 ItemLimitCategory
uint32 ItemSet
_ItemStat ItemStat [MAX_ITEM_PROTO_STATS] = {}
uint32 LanguageID
uint32 LockID
uint32 Map
int32 Material
int32 MaxCount
uint32 MaxDurability
uint32 MaxMoneyLoot
uint32 MinMoneyLoot
std::string Name1
uint32 PageMaterial
uint32 PageText
uint32 Quality
int32 RandomProperty
int32 RandomSuffix
float RangedModRange
uint32 RequiredCityRank
uint32 RequiredDisenchantSkill
uint32 RequiredHonorRank
uint32 RequiredLevel
uint32 RequiredReputationFaction
uint32 RequiredReputationRank
uint32 RequiredSkill
uint32 RequiredSkillRank
uint32 RequiredSpell
uint32 ScalingStatDistribution
uint32 ScriptId
uint32 SellPrice
uint32 Sheath
_Socket Socket [MAX_ITEM_PROTO_SOCKETS] = {}
uint32 socketBonus
int32 SoundOverrideSubclass
float SpellPPMRate
_Spell Spells [MAX_ITEM_PROTO_SPELLS] = {}
int32 Stackable
uint32 StartQuest
float StatScalingFactor
uint32 SubClass
uint32 TotemCategory
float Unk430_1
float Unk430_2

Detailed Description

Definition at line 627 of file ItemPrototype.h.

Constructor & Destructor Documentation

◆ ItemTemplate()

Member Function Documentation

◆ CanChangeEquipStateInCombat()

bool ItemTemplate::CanChangeEquipStateInCombat ( ) const
inline

◆ GetArmor()

◆ GetItemLevelIncludingQuality()

float ItemTemplate::GetItemLevelIncludingQuality ( ) const
inline

◆ GetMaxStackSize()

◆ IsConjuredConsumable()

bool ItemTemplate::IsConjuredConsumable ( ) const
inline

Definition at line 768 of file ItemPrototype.h.

References Class, Flags, ITEM_CLASS_CONSUMABLE, and ITEM_PROTO_FLAG_CONJURED.

Referenced by Item::IsConjuredConsumable().

◆ IsCurrencyToken()

bool ItemTemplate::IsCurrencyToken ( ) const
inline

Definition at line 736 of file ItemPrototype.h.

References BAG_FAMILY_MASK_CURRENCY_TOKENS, and BagFamily.

Referenced by Item::IsCurrencyToken().

◆ IsPotion()

bool ItemTemplate::IsPotion ( ) const
inline

Definition at line 766 of file ItemPrototype.h.

References Class, ITEM_CLASS_CONSUMABLE, ITEM_SUBCLASS_POTION, and SubClass.

Referenced by Item::IsPotion().

◆ IsRangedInventoryType()

bool ItemTemplate::IsRangedInventoryType ( ) const
inline

◆ IsRangedWeapon()

bool ItemTemplate::IsRangedWeapon ( ) const
inline

◆ IsVellum()

bool ItemTemplate::IsVellum ( ) const
inline

Member Data Documentation

◆ AllowableClass

◆ AllowableRace

◆ Area

◆ ArmorDamageModifier

float ItemTemplate::ArmorDamageModifier

◆ BagFamily

◆ Bonding

◆ BuyCount

◆ BuyPrice

◆ Class

◆ ContainerSlots

◆ CurrencySubstitutionCount

uint32 ItemTemplate::CurrencySubstitutionCount

◆ CurrencySubstitutionId

uint32 ItemTemplate::CurrencySubstitutionId

◆ DamageMax

float ItemTemplate::DamageMax

◆ DamageMin

float ItemTemplate::DamageMin

◆ DamageType

uint32 ItemTemplate::DamageType

◆ Delay

◆ Description

std::string ItemTemplate::Description

◆ DisenchantID

◆ DisplayInfoID

◆ DPS

float ItemTemplate::DPS

Definition at line 705 of file ItemPrototype.h.

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

◆ Duration

◆ Flags

◆ Flags2

◆ Flags3

uint32 ItemTemplate::Flags3

◆ FlagsCu

◆ FoodType

uint32 ItemTemplate::FoodType

◆ GemProperties

◆ HolidayId

◆ InventoryType

◆ ItemId

◆ ItemLevel

◆ ItemLimitCategory

◆ ItemSet

◆ ItemStat

◆ LanguageID

uint32 ItemTemplate::LanguageID

◆ LockID

◆ Map

◆ Material

◆ MaxCount

◆ MaxDurability

uint32 ItemTemplate::MaxDurability

◆ MaxMoneyLoot

uint32 ItemTemplate::MaxMoneyLoot

◆ MinMoneyLoot

uint32 ItemTemplate::MinMoneyLoot

◆ Name1

◆ PageMaterial

uint32 ItemTemplate::PageMaterial

◆ PageText

◆ Quality

◆ RandomProperty

◆ RandomSuffix

◆ RangedModRange

float ItemTemplate::RangedModRange

◆ RequiredCityRank

uint32 ItemTemplate::RequiredCityRank

◆ RequiredDisenchantSkill

uint32 ItemTemplate::RequiredDisenchantSkill

◆ RequiredHonorRank

uint32 ItemTemplate::RequiredHonorRank

◆ RequiredLevel

◆ RequiredReputationFaction

◆ RequiredReputationRank

◆ RequiredSkill

◆ RequiredSkillRank

◆ RequiredSpell

◆ ScalingStatDistribution

◆ ScriptId

uint32 ItemTemplate::ScriptId

◆ SellPrice

◆ Sheath

◆ Socket

◆ socketBonus

◆ SoundOverrideSubclass

int32 ItemTemplate::SoundOverrideSubclass

◆ SpellPPMRate

float ItemTemplate::SpellPPMRate

◆ Spells

◆ Stackable

◆ StartQuest

◆ StatScalingFactor

float ItemTemplate::StatScalingFactor

◆ SubClass

◆ TotemCategory

uint32 ItemTemplate::TotemCategory

◆ Unk430_1

float ItemTemplate::Unk430_1

◆ Unk430_2

float ItemTemplate::Unk430_2

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