ManaPlus
Public Member Functions
TmwAthena::BuyingStoreHandler Class Reference

#include <buyingstorehandler.h>

Inheritance diagram for TmwAthena::BuyingStoreHandler:
Net::BuyingStoreHandler

Public Member Functions

 BuyingStoreHandler ()
 
 ~BuyingStoreHandler ()
 
void create (const std::string &name, const int maxMoney, const bool flag, const std::vector< ShopItem * > &items) const
 
void close () const
 
void open (const Being *const being) const
 
void sell (const Being *const being, const int storeId, const Item *const item, const int amount) const
 
- Public Member Functions inherited from Net::BuyingStoreHandler
 BuyingStoreHandler ()
 

Detailed Description

Definition at line 30 of file buyingstorehandler.h.

Constructor & Destructor Documentation

◆ BuyingStoreHandler()

TmwAthena::BuyingStoreHandler::BuyingStoreHandler ( )

Definition at line 29 of file buyingstorehandler.cpp.

30 {
31  buyingStoreHandler = this;
32 }
Net::BuyingStoreHandler * buyingStoreHandler
Definition: net.cpp:107

References buyingStoreHandler.

◆ ~BuyingStoreHandler()

TmwAthena::BuyingStoreHandler::~BuyingStoreHandler ( )
virtual

Reimplemented from Net::BuyingStoreHandler.

Definition at line 34 of file buyingstorehandler.cpp.

35 {
36  buyingStoreHandler = nullptr;
37 }

References buyingStoreHandler.

Member Function Documentation

◆ close()

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

Implements Net::BuyingStoreHandler.

Definition at line 47 of file buyingstorehandler.cpp.

48 {
49 }

◆ create()

void TmwAthena::BuyingStoreHandler::create ( const std::string &  name,
const int  maxMoney,
const bool  flag,
const std::vector< ShopItem * > &  items 
) const
virtual

Implements Net::BuyingStoreHandler.

Definition at line 39 of file buyingstorehandler.cpp.

44 {
45 }

◆ open()

void TmwAthena::BuyingStoreHandler::open ( const Being *const  being) const
virtual

Implements Net::BuyingStoreHandler.

Definition at line 51 of file buyingstorehandler.cpp.

52 {
53 }

◆ sell()

void TmwAthena::BuyingStoreHandler::sell ( const Being *const  being,
const int  storeId,
const Item *const  item,
const int  amount 
) const
virtual

Implements Net::BuyingStoreHandler.

Definition at line 55 of file buyingstorehandler.cpp.

59 {
60 }

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