ManaPlus
Public Member Functions
Net::VendingHandler Class Referenceabstract

#include <vendinghandler.h>

Inheritance diagram for Net::VendingHandler:
EAthena::VendingHandler TmwAthena::VendingHandler

Public Member Functions

 VendingHandler ()
 
virtual ~VendingHandler ()
 
virtual void close () const =0
 
virtual void open (const Being *const being) const =0
 
virtual void buy (const Being *const being, const int index, const int amount) const =0
 
virtual void buyItems (const Being *const being, const std::vector< ShopItem * > &items) const =0
 
virtual void buy2 (const Being *const being, const int vendId, const int index, const int amount) const =0
 
virtual void createShop (const std::string &name, const bool flag, const std::vector< ShopItem * > &items) const =0
 

Detailed Description

Definition at line 37 of file vendinghandler.h.

Constructor & Destructor Documentation

◆ VendingHandler()

Net::VendingHandler::VendingHandler ( )
inline

Definition at line 40 of file vendinghandler.h.

41  { }

◆ ~VendingHandler()

virtual Net::VendingHandler::~VendingHandler ( )
inlinevirtual

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

Definition at line 45 of file vendinghandler.h.

46  { }

Member Function Documentation

◆ buy()

virtual void Net::VendingHandler::buy ( const Being *const  being,
const int  index,
const int  amount 
) const
pure virtual

◆ buy2()

virtual void Net::VendingHandler::buy2 ( const Being *const  being,
const int  vendId,
const int  index,
const int  amount 
) const
pure virtual

◆ buyItems()

virtual void Net::VendingHandler::buyItems ( const Being *const  being,
const std::vector< ShopItem * > &  items 
) const
pure virtual

◆ close()

virtual void Net::VendingHandler::close ( ) const
pure virtual

◆ createShop()

virtual void Net::VendingHandler::createShop ( const std::string &  name,
const bool  flag,
const std::vector< ShopItem * > &  items 
) const
pure virtual

◆ open()

virtual void Net::VendingHandler::open ( const Being *const  being) const
pure virtual

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