ManaPlus
Public Member Functions
TmwAthena::MarketHandler Class Reference

#include <markethandler.h>

Inheritance diagram for TmwAthena::MarketHandler:
Net::MarketHandler

Public Member Functions

 MarketHandler ()
 
 ~MarketHandler ()
 
void close () const
 
void buyItem (const int itemId, const ItemTypeT type, const ItemColor color, const int amount) const
 
void buyItems (const std::vector< ShopItem * > &items) const
 
- Public Member Functions inherited from Net::MarketHandler
 MarketHandler ()
 

Detailed Description

Definition at line 29 of file markethandler.h.

Constructor & Destructor Documentation

◆ MarketHandler()

TmwAthena::MarketHandler::MarketHandler ( )

Definition at line 29 of file markethandler.cpp.

29  :
31 {
32  marketHandler = this;
33 }
Net::MarketHandler * marketHandler
Definition: net.cpp:116

References marketHandler.

◆ ~MarketHandler()

TmwAthena::MarketHandler::~MarketHandler ( )
virtual

Reimplemented from Net::MarketHandler.

Definition at line 35 of file markethandler.cpp.

36 {
37  marketHandler = nullptr;
38 }

References marketHandler.

Member Function Documentation

◆ buyItem()

void TmwAthena::MarketHandler::buyItem ( const int  itemId,
const ItemTypeT  type,
const ItemColor  color,
const int  amount 
) const
virtual

Implements Net::MarketHandler.

Definition at line 44 of file markethandler.cpp.

48 {
49 }

◆ buyItems()

void TmwAthena::MarketHandler::buyItems ( const std::vector< ShopItem * > &  items) const
virtual

Implements Net::MarketHandler.

Definition at line 51 of file markethandler.cpp.

53 {
54 }

◆ close()

void TmwAthena::MarketHandler::close ( ) const
virtual

Implements Net::MarketHandler.

Definition at line 40 of file markethandler.cpp.

41 {
42 }

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