TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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

ItemNewItemOrBag (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 }
Definition: Bag.h:28
Definition: Item.h:259
Definition: ItemTemplate.h:350

+ Here is the call graph for this function:

+ Here is the caller graph for this function: