ManaPlus
adminhandler.h
Go to the documentation of this file.
1 /*
2  * The ManaPlus Client
3  * Copyright (C) 2004-2009 The Mana World Development Team
4  * Copyright (C) 2009-2010 The Mana Developers
5  * Copyright (C) 2011-2019 The ManaPlus Developers
6  * Copyright (C) 2019-2021 Andrei Karas
7  *
8  * This file is part of The ManaPlus Client.
9  *
10  * This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program. If not, see <http://www.gnu.org/licenses/>.
22  */
23 
24 #ifndef NET_TMWA_ADMINHANDLER_H
25 #define NET_TMWA_ADMINHANDLER_H
26 
27 #include "net/ea/adminhandler.h"
28 
29 namespace TmwAthena
30 {
31 
33 {
34  public:
35  AdminHandler();
36 
38 
39  ~AdminHandler() override final;
40 
41  void announce(const std::string &text) const override final;
42 
43  void localAnnounce(const std::string &text) const override final;
44 
45  void hide(const bool h) const override final;
46 
47  void kick(const BeingId playerId) const override final;
48 
49  void kickAll() const override final;
50 
51  void warp(const std::string &map,
52  const int x, const int y) const override final;
53 
54  void resetStats() const override final;
55 
56  void resetSkills() const override final;
57 
58  void gotoName(const std::string &name) const override final;
59 
60  void recallName(const std::string &name) const override final;
61 
62  void mute(const Being *const being,
63  const int type,
64  const int limit) const override final;
65 
66  void muteName(const std::string &name) const override final;
67 
68  void requestLogin(const Being *const being) const override final;
69 
70  void setTileType(const int x, const int y,
71  const int type) const override final;
72 
73  void unequipAll(const Being *const being) const override final;
74 
75  void requestStats(const std::string &name) const override final;
76 
77  void monsterInfo(const std::string &name) const override final;
78 
79  void itemInfo(const std::string &name) const override final;
80 
81  void whoDrops(const std::string &name) const override final;
82 
83  void mobSearch(const std::string &name) const override final;
84 
85  void mobSpawnSearch(const std::string &name) const override final;
86 
87  void playerGmCommands(const std::string &name) const override final;
88 
89  void playerCharGmCommands(const std::string &name) const
90  override final;
91 
92  void showLevel(const std::string &name) const override final;
93 
94  void showStats(const std::string &name) const override final;
95 
96  void showStorageList(const std::string &name) const override final;
97 
98  void showCartList(const std::string &name) const override final;
99 
100  void showInventoryList(const std::string &name) const override final;
101 
102  void locatePlayer(const std::string &name) const override final;
103 
104  void showAccountInfo(const std::string &name) const override final;
105 
106  void spawnSlave(const std::string &name) const override final;
107 
108  void spawnClone(const std::string &name) const override final;
109 
110  void spawnSlaveClone(const std::string &name) const override final;
111 
112  void spawnEvilClone(const std::string &name) const override final;
113 
114  void savePosition(const std::string &name) const override final;
115 
116  void loadPosition(const std::string &name) const override final;
117 
118  void randomWarp(const std::string &name) const override final;
119 
120  void gotoNpc(const std::string &name) const override final;
121 
122  void killer(const std::string &name) const override final;
123 
124  void killable(const std::string &name) const override final;
125 
126  void heal(const std::string &name) const override final;
127 
128  void alive(const std::string &name) const override final;
129 
130  void disguise(const std::string &name) const override final;
131 
132  void immortal(const std::string &name) const override final;
133 
134  void hide(const std::string &name) const override final;
135 
136  void nuke(const std::string &name) const override final;
137 
138  void kill(const std::string &name) const override final;
139 
140  void jail(const std::string &name) const override final;
141 
142  void unjail(const std::string &name) const override final;
143 
144  void npcMove(const std::string &name,
145  const int x,
146  const int y) const override final;
147 
148  void hideNpc(const std::string &name) const override final;
149 
150  void showNpc(const std::string &name) const override final;
151 
152  void changePartyLeader(const std::string &name) const override final;
153 
154  void partyRecall(const std::string &name) const override final;
155 
156  void breakGuild(const std::string &name) const override final;
157 
158  void guildRecall(const std::string &name) const override final;
159 
160  void slide(const int x, const int y) const override final;
161 
162  void changeDress() const override final;
163 
164  void resetCooldowns() const override final;
165 };
166 
167 } // namespace TmwAthena
168 
169 #endif // NET_TMWA_ADMINHANDLER_H
int BeingId
Definition: beingid.h:30
Definition: being.h:96
void unjail(const std::string &name) const
void kick(const BeingId playerId) const
void setTileType(const int x, const int y, const int type) const
void gotoNpc(const std::string &name) const
void showStats(const std::string &name) const
void showInventoryList(const std::string &name) const
void spawnSlaveClone(const std::string &name) const
void nuke(const std::string &name) const
void muteName(const std::string &name) const
void playerGmCommands(const std::string &name) const
void guildRecall(const std::string &name) const
void unequipAll(const Being *const being) const
void jail(const std::string &name) const
void alive(const std::string &name) const
void killer(const std::string &name) const
void showAccountInfo(const std::string &name) const
void heal(const std::string &name) const
void announce(const std::string &text) const
void showNpc(const std::string &name) const
void slide(const int x, const int y) const
void showStorageList(const std::string &name) const
void requestStats(const std::string &name) const
void spawnClone(const std::string &name) const
void showLevel(const std::string &name) const
void mobSearch(const std::string &name) const
void showCartList(const std::string &name) const
void localAnnounce(const std::string &text) const
void mobSpawnSearch(const std::string &name) const
void changePartyLeader(const std::string &name) const
void immortal(const std::string &name) const
void gotoName(const std::string &name) const
void npcMove(const std::string &name, const int x, const int y) const
void requestLogin(const Being *const being) const
void kill(const std::string &name) const
void spawnEvilClone(const std::string &name) const
void warp(const std::string &map, const int x, const int y) const
void spawnSlave(const std::string &name) const
void monsterInfo(const std::string &name) const
void breakGuild(const std::string &name) const
void playerCharGmCommands(const std::string &name) const
void itemInfo(const std::string &name) const
void killable(const std::string &name) const
void hide(const bool h) const
void partyRecall(const std::string &name) const
void hideNpc(const std::string &name) const
void mute(const Being *const being, const int type, const int limit) const
void loadPosition(const std::string &name) const
void whoDrops(const std::string &name) const
void recallName(const std::string &name) const
void savePosition(const std::string &name) const
void randomWarp(const std::string &name) const
void disguise(const std::string &name) const
void locatePlayer(const std::string &name) const
#define final
Definition: localconsts.h:46
#define A_DELETE_COPY(func)
Definition: localconsts.h:53