ManaPlus
cashshophandler.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 
31 {
32  cashShopHandler = this;
33 }
34 
36 {
37  cashShopHandler = nullptr;
38 }
39 
40 void CashShopHandler::buyItem(const int points A_UNUSED,
41  const int itemId A_UNUSED,
42  const ItemColor color A_UNUSED,
43  const int amount A_UNUSED) const
44 {
45 }
46 
47 void CashShopHandler::buyItems(const int points A_UNUSED,
48  const STD_VECTOR<ShopItem*> &items A_UNUSED)
49  const
50 {
51 }
52 
54 {
55 }
56 
58 {
59 }
60 
61 void CashShopHandler::requestTab(const int tab A_UNUSED) const
62 {
63 }
64 
66 {
67 }
68 
69 } // namespace TmwAthena
Net::CashShopHandler * cashShopHandler
Definition: net.cpp:108
void requestTab(const int tab) const
void buyItem(const int points, const int itemId, const ItemColor color, const int amount) const
void buyItems(const int points, const std::vector< ShopItem * > &items) const
uint16_t ItemColor
Definition: itemcolor.h:30
#define A_UNUSED
Definition: localconsts.h:160