ManaPlus
|
#include <barterhandler.h>
Public Member Functions | |
BarterHandler () | |
~BarterHandler () | |
void | close () const |
void | buyItems (const std::vector< ShopItem * > &items) const |
Public Member Functions inherited from Net::BarterHandler | |
BarterHandler () | |
Definition at line 30 of file barterhandler.h.
EAthena::BarterHandler::BarterHandler | ( | ) |
Definition at line 42 of file barterhandler.cpp.
References barterHandler, and EAthena::BarterRecv::mBuyDialog.
|
virtual |
Reimplemented from Net::BarterHandler.
Definition at line 49 of file barterhandler.cpp.
References barterHandler.
|
virtual |
Implements Net::BarterHandler.
Definition at line 66 of file barterhandler.cpp.
References ItemType::Armor, CAST_S16, createOutPacket, FOR_EACH, ShopItem::getCurrentInvIndex(), Item::getId(), Item::getType(), ShopItem::getUsedQuantity(), Item::increaseQuantity(), ShopItem::increaseUsedQuantity(), itemIdLen, packetVersionMain, packetVersionRe, packetVersionZero, ItemType::PetArmor, ItemType::PetEgg, ShopItem::update(), and ItemType::Weapon.
|
virtual |
Implements Net::BarterHandler.
Definition at line 54 of file barterhandler.cpp.
References createOutPacket, packetVersionMain, packetVersionRe, and packetVersionZero.