AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
ItemTemplateVisitor Struct Reference

Public Types

using value_type = ItemTemplate const *
 

Public Member Functions

value_type operator() (Hyperlink< item > item) const
 
value_type operator() (uint32 item)
 

Detailed Description

Member Typedef Documentation

◆ value_type

Member Function Documentation

◆ operator()() [1/2]

value_type ItemTemplateVisitor::operator() ( Hyperlink< item >  item) const
inline
72{ return item->Item; }

◆ operator()() [2/2]

value_type ItemTemplateVisitor::operator() ( uint32  item)
inline
73{ return sObjectMgr->GetItemTemplate(item); }
#define sObjectMgr
Definition: ObjectMgr.h:1635

References sObjectMgr.