ManaPlus
Public Member Functions
Net::TradeHandler Class Reference

#include <tradehandler.h>

Inheritance diagram for Net::TradeHandler:
Ea::TradeHandler EAthena::TradeHandler TmwAthena::TradeHandler

Public Member Functions

 TradeHandler ()
 
virtual ~TradeHandler ()
 
virtual void request (const Being *const being) const
 
virtual void respond (const bool accept) const
 
virtual void addItem (const Item *const item, const int amount) const
 
virtual void removeItem (const int slotNum, const int amount) const
 
virtual void setMoney (const int amount) const
 
virtual void confirm () const
 
virtual void finish () const
 
virtual void cancel () const
 

Detailed Description

Definition at line 35 of file tradehandler.h.

Constructor & Destructor Documentation

◆ TradeHandler()

Net::TradeHandler::TradeHandler ( )
inline

Definition at line 38 of file tradehandler.h.

39  { }

◆ ~TradeHandler()

virtual Net::TradeHandler::~TradeHandler ( )
inlinevirtual

Reimplemented in TmwAthena::TradeHandler, and EAthena::TradeHandler.

Definition at line 43 of file tradehandler.h.

44  { }

Member Function Documentation

◆ addItem()

virtual void Net::TradeHandler::addItem ( const Item *const  item,
const int  amount 
) const
inlinevirtual

Reimplemented in TmwAthena::TradeHandler, and EAthena::TradeHandler.

Definition at line 52 of file tradehandler.h.

54  { }

Referenced by ItemContainer::mouseReleased(), and TradeWindow::tradeItem().

◆ cancel()

virtual void Net::TradeHandler::cancel ( ) const
inlinevirtual

Reimplemented in TmwAthena::TradeHandler, and EAthena::TradeHandler.

Definition at line 69 of file tradehandler.h.

70  { }

Referenced by TradeWindow::action(), and TradeWindow::close().

◆ confirm()

virtual void Net::TradeHandler::confirm ( ) const
inlinevirtual

Reimplemented in TmwAthena::TradeHandler, and EAthena::TradeHandler.

Definition at line 63 of file tradehandler.h.

64  { }

Referenced by TradeWindow::action().

◆ finish()

virtual void Net::TradeHandler::finish ( ) const
inlinevirtual

Reimplemented in TmwAthena::TradeHandler, and EAthena::TradeHandler.

Definition at line 66 of file tradehandler.h.

67  { }

Referenced by TradeWindow::action().

◆ removeItem()

virtual void Net::TradeHandler::removeItem ( const int  slotNum,
const int  amount 
) const
inlinevirtual

Reimplemented in Ea::TradeHandler.

Definition at line 56 of file tradehandler.h.

58  { }

◆ request()

virtual void Net::TradeHandler::request ( const Being *const  being) const
inlinevirtual

Reimplemented in TmwAthena::TradeHandler, and EAthena::TradeHandler.

Definition at line 46 of file tradehandler.h.

47  { }

Referenced by ShopWindow::startTrade().

◆ respond()

virtual void Net::TradeHandler::respond ( const bool  accept) const
inlinevirtual

◆ setMoney()

virtual void Net::TradeHandler::setMoney ( const int  amount) const
inlinevirtual

Reimplemented in TmwAthena::TradeHandler, and EAthena::TradeHandler.

Definition at line 60 of file tradehandler.h.

61  { }

Referenced by TradeWindow::action(), and TradeWindow::initTrade().


The documentation for this class was generated from the following file: