ManaPlus
|
#include <buyingstorehandler.h>
Public Member Functions | |
BuyingStoreHandler () | |
~BuyingStoreHandler () | |
void | create (const std::string &name, const int maxMoney, const bool flag, const std::vector< ShopItem * > &items) const |
void | close () const |
void | open (const Being *const being) const |
void | sell (const Being *const being, const int storeId, const Item *const item, const int amount) const |
Public Member Functions inherited from Net::BuyingStoreHandler | |
BuyingStoreHandler () | |
Definition at line 29 of file buyingstorehandler.h.
EAthena::BuyingStoreHandler::BuyingStoreHandler | ( | ) |
|
virtual |
Reimplemented from Net::BuyingStoreHandler.
Definition at line 49 of file buyingstorehandler.cpp.
References buyingStoreHandler.
|
virtual |
Implements Net::BuyingStoreHandler.
Definition at line 75 of file buyingstorehandler.cpp.
References createOutPacket, PlayerInfo::enableVending(), and packetVersion.
|
virtual |
Implements Net::BuyingStoreHandler.
Definition at line 54 of file buyingstorehandler.cpp.
References CAST_S16, createOutPacket, FOR_EACH, Item::getId(), ShopItem::getPrice(), Item::getQuantity(), itemIdLen, and packetVersion.
|
virtual |
Implements Net::BuyingStoreHandler.
Definition at line 83 of file buyingstorehandler.cpp.
References createOutPacket, ActorSprite::getId(), and packetVersion.
|
virtual |
Implements Net::BuyingStoreHandler.
Definition at line 93 of file buyingstorehandler.cpp.
References CAST_S16, createOutPacket, ActorSprite::getId(), Item::getId(), Item::getInvIndex(), INVENTORY_OFFSET, and packetVersion.