SMSG_OPEN_CONTAINER implemented
This commit is contained in:
parent
5128b38050
commit
3a7e0253c1
@ -11212,6 +11212,14 @@ void Player::SendEquipError(InventoryResult msg, Item* pItem, Item* pItem2, uint
|
|||||||
GetSession()->SendPacket(&data);
|
GetSession()->SendPacket(&data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Player::SendOpenContainer()
|
||||||
|
{
|
||||||
|
DEBUG_LOG("WORLD: Sent SMSG_OPEN_CONTAINER");
|
||||||
|
WorldPacket data(SMSG_OPEN_CONTAINER, 8); // opens the main bag in the UI
|
||||||
|
data << GetObjectGuid();
|
||||||
|
GetSession()->SendPacket(&data);
|
||||||
|
}
|
||||||
|
|
||||||
void Player::SendBuyError(BuyResult msg, Creature* pCreature, uint32 item, uint32 param)
|
void Player::SendBuyError(BuyResult msg, Creature* pCreature, uint32 item, uint32 param)
|
||||||
{
|
{
|
||||||
DEBUG_LOG("WORLD: Sent SMSG_BUY_FAILED");
|
DEBUG_LOG("WORLD: Sent SMSG_BUY_FAILED");
|
||||||
|
@ -1222,6 +1222,7 @@ class Player : public Unit
|
|||||||
void SendEquipError(InventoryResult msg, Item* pItem, Item* pItem2 = NULL, uint32 itemid = 0) const;
|
void SendEquipError(InventoryResult msg, Item* pItem, Item* pItem2 = NULL, uint32 itemid = 0) const;
|
||||||
void SendBuyError(BuyResult msg, Creature* pCreature, uint32 item, uint32 param);
|
void SendBuyError(BuyResult msg, Creature* pCreature, uint32 item, uint32 param);
|
||||||
void SendSellError(SellResult msg, Creature* pCreature, ObjectGuid itemGuid, uint32 param);
|
void SendSellError(SellResult msg, Creature* pCreature, ObjectGuid itemGuid, uint32 param);
|
||||||
|
void SendOpenContainer();
|
||||||
void AddWeaponProficiency(uint32 newflag)
|
void AddWeaponProficiency(uint32 newflag)
|
||||||
{
|
{
|
||||||
m_WeaponProficiency |= newflag;
|
m_WeaponProficiency |= newflag;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user