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.
TmwAthena::TradeHandler::TradeHandler | ( | ) |
Definition at line 42 of file tradehandler.cpp.
References tradeHandler.
|
virtual |
Reimplemented from Net::TradeHandler.
Definition at line 48 of file tradehandler.cpp.
References tradeHandler.
|
virtual |
Reimplemented from Net::TradeHandler.
Definition at line 71 of file tradehandler.cpp.
References CAST_S16, createOutPacket, Item::getInvIndex(), and INVENTORY_OFFSET.
|
virtual |
Reimplemented from Net::TradeHandler.
Definition at line 99 of file tradehandler.cpp.
References createOutPacket.
|
virtual |
Reimplemented from Net::TradeHandler.
Definition at line 89 of file tradehandler.cpp.
References createOutPacket.
|
virtual |
Reimplemented from Net::TradeHandler.
Definition at line 94 of file tradehandler.cpp.
References createOutPacket.
|
virtual |
Reimplemented from Net::TradeHandler.
Definition at line 53 of file tradehandler.cpp.
References createOutPacket, and ActorSprite::getId().
|
virtual |
Reimplemented from Net::TradeHandler.
Definition at line 62 of file tradehandler.cpp.
References TcpNet::accept(), CAST_S8, createOutPacket, PlayerInfo::setTrading(), and Trading_false.
|
virtual |
Reimplemented from Net::TradeHandler.
Definition at line 82 of file tradehandler.cpp.
References createOutPacket.