ManaPlus
partyhandler.h
Go to the documentation of this file.
1 /*
2  * The ManaPlus Client
3  * Copyright (C) 2008 Lloyd Bryant <[email protected]>
4  * Copyright (C) 2011-2019 The ManaPlus Developers
5  * Copyright (C) 2019-2021 Andrei Karas
6  *
7  * This file is part of The ManaPlus Client.
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program. If not, see <http://www.gnu.org/licenses/>.
21  */
22 
23 #ifndef NET_EA_PARTYHANDLER_H
24 #define NET_EA_PARTYHANDLER_H
25 
26 #include "net/partyhandler.h"
27 
28 class Party;
29 
30 namespace Ea
31 {
33 {
34  public:
35  PartyHandler();
36 
38 
39  ~PartyHandler() override;
40 
41  void join(const int partyId) const override final;
42 
43  PartyShareT getShareExperience() const override final A_WARN_UNUSED;
44 
45  PartyShareT getShareItems() const override final A_WARN_UNUSED;
46 
47  static void reload();
48 
49  void clear() const override final;
50 
51  ChatTab *getTab() const override final;
52 };
53 
54 extern Party *taParty;
55 
56 } // namespace Ea
57 
58 #endif // NET_EA_PARTYHANDLER_H
void clear() const
PartyShareT getShareItems() const
void join(const int partyId) const
static void reload()
PartyShareT getShareExperience() const
ChatTab * getTab() const
Definition: party.h:63
#define A_WARN_UNUSED
Definition: localconsts.h:161
#define notfinal
Definition: localconsts.h:261
#define A_DELETE_COPY(func)
Definition: localconsts.h:53
Party * taParty
Definition: partyrecv.cpp:48
PartyShare ::T PartyShareT
Definition: partyshare.h:36