ManaPlus
|
#include <tradehandler.h>
Public Member Functions | |
TradeHandler () | |
~TradeHandler () | |
void | request (const Being *const being) const |
void | respond (const bool accept) const |
void | addItem (const Item *const item, const int amount) const |
void | setMoney (const int amount) const |
void | confirm () const |
void | finish () const |
void | cancel () const |
Public Member Functions inherited from Ea::TradeHandler | |
TradeHandler () | |
void | removeItem (const int slotNum, const int amount) const |
Public Member Functions inherited from Net::TradeHandler | |
TradeHandler () | |
Definition at line 32 of file tradehandler.h.
EAthena::TradeHandler::TradeHandler | ( | ) |
Definition at line 41 of file tradehandler.cpp.
References EAthena::TradeRecv::mItemIndex, EAthena::TradeRecv::mQuantity, and tradeHandler.
|
virtual |
Reimplemented from Net::TradeHandler.
Definition at line 49 of file tradehandler.cpp.
References tradeHandler.
|
virtual |
Reimplemented from Net::TradeHandler.
Definition at line 72 of file tradehandler.cpp.
References CAST_S16, createOutPacket, Item::getInvIndex(), INVENTORY_OFFSET, EAthena::TradeRecv::mItemIndex, and EAthena::TradeRecv::mQuantity.
|
virtual |
Reimplemented from Net::TradeHandler.
Definition at line 103 of file tradehandler.cpp.
References createOutPacket.
|
virtual |
Reimplemented from Net::TradeHandler.
Definition at line 93 of file tradehandler.cpp.
References createOutPacket.
|
virtual |
Reimplemented from Net::TradeHandler.
Definition at line 98 of file tradehandler.cpp.
References createOutPacket.
|
virtual |
Reimplemented from Net::TradeHandler.
Definition at line 54 of file tradehandler.cpp.
References createOutPacket, and ActorSprite::getId().
|
virtual |
Reimplemented from Net::TradeHandler.
Definition at line 63 of file tradehandler.cpp.
References TcpNet::accept(), CAST_S8, createOutPacket, PlayerInfo::setTrading(), and Trading_false.
|
virtual |
Reimplemented from Net::TradeHandler.
Definition at line 86 of file tradehandler.cpp.
References createOutPacket.