TrinityCore
Loading...
Searching...
No Matches
Item.cpp File Reference
#include "Item.h"
#include "Bag.h"
#include "Common.h"
#include "ConditionMgr.h"
#include "DatabaseEnv.h"
#include "DBCStores.h"
#include "GameTime.h"
#include "ItemEnchantmentMgr.h"
#include "Log.h"
#include "LootItemStorage.h"
#include "Map.h"
#include "ObjectAccessor.h"
#include "ObjectMgr.h"
#include "ScriptMgr.h"
#include "SpellInfo.h"
#include "SpellMgr.h"
#include "StringConvert.h"
#include "Player.h"
#include "TradeData.h"
#include "UpdateData.h"
#include "World.h"
#include "WorldPacket.h"
#include "WorldSession.h"
+ Include dependency graph for Item.cpp:

Go to the source code of this file.

Functions

void AddItemsSetItem (Player *player, Item *item)
 
void RemoveItemsSetItem (Player *player, ItemTemplate const *proto)
 
bool ItemCanGoIntoBag (ItemTemplate const *pProto, ItemTemplate const *pBagProto)
 
void AddItemToUpdateQueueOf (Item *item, Player *player)
 
void RemoveItemFromUpdateQueueOf (Item *item, Player *player)
 

Function Documentation

◆ AddItemsSetItem()

void AddItemsSetItem ( Player player,
Item item 
)

Definition at line 42 of file Item.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddItemToUpdateQueueOf()

void AddItemToUpdateQueueOf ( Item item,
Player player 
)

Definition at line 669 of file Item.cpp.

◆ ItemCanGoIntoBag()

bool ItemCanGoIntoBag ( ItemTemplate const *  pProto,
ItemTemplate const *  pBagProto 
)

Definition at line 182 of file Item.cpp.

+ Here is the caller graph for this function:

◆ RemoveItemFromUpdateQueueOf()

void RemoveItemFromUpdateQueueOf ( Item item,
Player player 
)

Definition at line 690 of file Item.cpp.

+ Here is the caller graph for this function:

◆ RemoveItemsSetItem()

void RemoveItemsSetItem ( Player player,
ItemTemplate const *  proto 
)

Definition at line 124 of file Item.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: