ManaPlus
auctionhandler.cpp
Go to the documentation of this file.
1 /*
2  * The ManaPlus Client
3  * Copyright (C) 2011-2019 The ManaPlus Developers
4  * Copyright (C) 2019-2021 Andrei Karas
5  *
6  * This file is part of The ManaPlus Client.
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20  */
21 
23 
24 #include "debug.h"
25 
26 namespace TmwAthena
27 {
28 
30 {
31  auctionHandler = this;
32 }
33 
35 {
36  auctionHandler = nullptr;
37 }
38 
40 {
41 }
42 
43 void AuctionHandler::setItem(const Item *const item A_UNUSED,
44  const int amount A_UNUSED) const
45 {
46 }
47 
48 void AuctionHandler::reg(const int currentPrice A_UNUSED,
49  const int maxPrice A_UNUSED,
50  const int hours A_UNUSED) const
51 {
52 }
53 
54 void AuctionHandler::cancel(const int auctionId A_UNUSED) const
55 {
56 }
57 
58 void AuctionHandler::close(const int auctionId A_UNUSED) const
59 {
60 }
61 
62 void AuctionHandler::bid(const int auctionId A_UNUSED,
63  const int money A_UNUSED) const
64 {
65 }
66 
68  const int auctionId A_UNUSED,
69  const std::string &text A_UNUSED,
70  const int page A_UNUSED) const
71 {
72 }
73 
74 void AuctionHandler::buy() const
75 {
76 }
77 
79 {
80 }
81 
82 } // namespace TmwAthena
Net::AuctionHandler * auctionHandler
Definition: net.cpp:102
AuctionSearchType ::T AuctionSearchTypeT
Definition: item.h:50
void setItem(const Item *const item, const int amount) const
void bid(const int auctionId, const int money) const
void cancel(const int auctionId) const
void close(const int auctionId) const
void search(const AuctionSearchTypeT type, const int auctionId, const std::string &text, const int page) const
void reg(const int currentPrice, const int maxPrice, const int hours) const
#define A_UNUSED
Definition: localconsts.h:160