TrinityCore
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Classes
|
Macros
|
Functions
Bag.h File Reference
#include "
Item.h
"
#include "
ItemTemplate.h
"
Include dependency graph for Bag.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes
class
Bag
Macros
#define
MAX_BAG_SIZE
36
Functions
Item
*
NewItemOrBag
(
ItemTemplate
const
*proto)
Macro Definition Documentation
#define MAX_BAG_SIZE 36
Function Documentation
Item
* NewItemOrBag
(
ItemTemplate
const
*
proto
)
inline
70
{
71
return
(proto->GetInventoryType() ==
INVTYPE_BAG
) ?
new
Bag
:
new
Item
;
72
}
Bag
Definition:
Bag.h:28
Item
Definition:
Item.h:259
INVTYPE_BAG
Definition:
ItemTemplate.h:350
Here is the call graph for this function:
Here is the caller graph for this function:
Generated on Tue Apr 5 2016 20:14:19 for TrinityCore by
1.8.8