ManaPlus
guildhandler.cpp
Go to the documentation of this file.
1 /*
2  * The ManaPlus Client
3  * Copyright (C) 2009-2010 The Mana Developers
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 #include "net/tmwa/guildhandler.h"
24 
25 #include "debug.h"
26 
27 namespace TmwAthena
28 {
29 
31  Net::GuildHandler()
32 {
33  guildHandler = this;
34 }
35 
37 {
38  guildHandler = nullptr;
39 }
40 
41 void GuildHandler::clear() const
42 {
43 }
44 
46 {
47  return nullptr;
48 }
49 
50 void GuildHandler::create(const std::string &name A_UNUSED) const
51 {
52 }
53 
54 void GuildHandler::invite(const std::string &name A_UNUSED) const
55 {
56 }
57 
58 void GuildHandler::invite(const Being *const being A_UNUSED) const
59 {
60 }
61 
62 void GuildHandler::inviteResponse(const int guildId A_UNUSED,
63  const bool response A_UNUSED) const
64 {
65 }
66 
67 void GuildHandler::leave(const int guildId A_UNUSED) const
68 {
69 }
70 
72  const std::string &restrict reason A_UNUSED) const
73 {
74 }
75 
76 void GuildHandler::chat(const std::string &text A_UNUSED) const
77 {
78 }
79 
81 {
82 }
83 
84 void GuildHandler::info() const
85 {
86 }
87 
89  A_UNUSED,
90  const int level A_UNUSED) const
91 {
92 }
93 
94 void GuildHandler::changeNotice(const int guildId A_UNUSED,
95  const std::string &restrict msg1 A_UNUSED,
96  const std::string &restrict msg2 A_UNUSED)
97  const
98 {
99 }
100 
102 {
103 }
104 
105 void GuildHandler::requestAlliance(const Being *const being A_UNUSED) const
106 {
107 }
108 
110  const bool accept A_UNUSED) const
111 {
112 }
113 
114 void GuildHandler::endAlliance(const int guildId A_UNUSED,
115  const int flag A_UNUSED) const
116 {
117 }
118 
120  const int mode A_UNUSED,
121  const int ranking A_UNUSED,
122  const int payRate A_UNUSED,
123  const std::string &name A_UNUSED) const
124 {
125 }
126 
127 void GuildHandler::requestOpposition(const Being *const being A_UNUSED) const
128 {
129 }
130 
131 void GuildHandler::breakGuild(const std::string &name A_UNUSED) const
132 {
133 }
134 
135 void GuildHandler::changeEmblem(std::string emblem A_UNUSED) const
136 {
137 }
138 
139 void GuildHandler::requestEmblem(const int guildId A_UNUSED) const
140 {
141 }
142 
143 } // namespace TmwAthena
Definition: being.h:96
void kick(const GuildMember *const member, const std::string &reason) const
void changeMemberPostion(const GuildMember *const member, const int level) const
void inviteResponse(const int guildId, const bool response) const
void create(const std::string &name) const
void requestEmblem(const int guildId) const
void requestAlliance(const Being *const being) const
void invite(const std::string &name) const
ChatTab * getTab() const
void changeNotice(const int guildId, const std::string &msg1, const std::string &msg2) const
void requestAllianceResponse(const int beingId, const bool accept) const
void changeEmblem(std::string emblem) const
void breakGuild(const std::string &name) const
void requestOpposition(const Being *const being) const
void leave(const int guildId) const
void endAlliance(const int guildId, const int flag) const
void changePostionInfo(const int posId, const int mode, const int ranking, const int payRate, const std::string &name) const
void chat(const std::string &text) const
Net::GuildHandler * guildHandler
Definition: net.cpp:92
#define restrict
Definition: localconsts.h:165
#define A_UNUSED
Definition: localconsts.h:160
bool msg2(InputEvent &event)
Definition: chat.cpp:41
TcpNet::Socket accept(const TcpNet::Socket sock)
Definition: sdltcpnet.cpp:198