ManaPlus
commands.h
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 
22 #ifndef ACTIONS_COMMANDS_H
23 #define ACTIONS_COMMANDS_H
24 
25 #define decHandler(name) bool name(InputEvent &event)
26 
27 struct InputEvent;
28 
29 namespace Actions
30 {
64  decHandler(url);
75  decHandler(gm);
168 } // namespace Actions
169 
170 #undef decHandler
171 
172 #endif // ACTIONS_COMMANDS_H
#define decHandler(name)
Definition: commands.h:25
bool enableHighlight(InputEvent &event)
Definition: commands.cpp:67
bool pseudoAway(InputEvent &event)
Definition: commands.cpp:49
bool chatErase(InputEvent &event)
Definition: commands.cpp:34
bool awayMessage(InputEvent &event)
Definition: commands.cpp:48
bool addPickup(InputEvent &event)
Definition: commands.cpp:101
bool commandKiller(InputEvent &event)
Definition: commands.cpp:130
bool adoptChild(InputEvent &event)
Definition: commands.cpp:149
bool sendMail(InputEvent &event)
Definition: commands.cpp:56
bool showSkillOffsetX(InputEvent &event)
Definition: commands.cpp:153
bool craft(InputEvent &event)
Definition: commands.cpp:98
bool disableHighlight(InputEvent &event)
Definition: commands.cpp:68
bool chatIgnore(InputEvent &event)
Definition: commands.cpp:32
bool monsterInfo(InputEvent &event)
Definition: commands.cpp:104
bool mobSpawnSearch(InputEvent &event)
Definition: commands.cpp:108
bool chatNeutral(InputEvent &event)
Definition: commands.cpp:37
bool commandGotoPc(InputEvent &event)
Definition: commands.cpp:127
bool commandOutfit(InputEvent &event)
Definition: commands.cpp:46
bool commandBreakGuild(InputEvent &event)
Definition: commands.cpp:146
bool commandKill(InputEvent &event)
Definition: commands.cpp:138
bool wait(InputEvent &event)
Definition: commands.cpp:58
bool playerCharGmCommands(InputEvent &event)
Definition: commands.cpp:110
bool createPublicChatRoom(InputEvent &event)
Definition: commands.cpp:88
bool fireHomunculus(InputEvent &event)
Definition: commands.cpp:81
bool commandShowLevel(InputEvent &event)
Definition: commands.cpp:111
bool addIgnoreAttack(InputEvent &event)
Definition: commands.cpp:62
bool commandHomunEmote(InputEvent &event)
Definition: commands.cpp:87
bool debugSpawn(InputEvent &event)
Definition: commands.cpp:77
bool commandJail(InputEvent &event)
Definition: commands.cpp:139
bool commandSpawnClone(InputEvent &event)
Definition: commands.cpp:120
bool moveAttackUp(InputEvent &event)
Definition: commands.cpp:162
bool leaveParty(InputEvent &event)
Definition: commands.cpp:82
bool moveCamera(InputEvent &event)
Definition: commands.cpp:53
bool commandSpawnEvilClone(InputEvent &event)
Definition: commands.cpp:122
bool chatFriend(InputEvent &event)
Definition: commands.cpp:35
bool removeName(InputEvent &event)
Definition: commands.cpp:70
bool commandLoadPosition(InputEvent &event)
Definition: commands.cpp:124
bool selectSkillLevel(InputEvent &event)
Definition: commands.cpp:96
bool commandSpawnSlave(InputEvent &event)
Definition: commands.cpp:119
bool npcClipboard(InputEvent &event)
Definition: commands.cpp:99
bool joinChatRoom(InputEvent &event)
Definition: commands.cpp:89
bool testParticle(InputEvent &event)
Definition: commands.cpp:73
bool selectSkillType(InputEvent &event)
Definition: commands.cpp:152
bool partyExpShare(InputEvent &event)
Definition: commands.cpp:158
bool hack(InputEvent &event)
Definition: commands.cpp:76
bool commandEmote(InputEvent &event)
Definition: commands.cpp:47
bool removeAttack(InputEvent &event)
Definition: commands.cpp:61
bool setTarget(InputEvent &event)
Definition: commands.cpp:45
bool chatAdd(InputEvent &event)
Definition: commands.cpp:41
bool navigateTo(InputEvent &event)
Definition: commands.cpp:52
bool commandChangePartyLeader(InputEvent &event)
Definition: commands.cpp:144
bool chatNuke(InputEvent &event)
Definition: commands.cpp:40
bool confGet(InputEvent &event)
Definition: commands.cpp:93
bool playerGmCommands(InputEvent &event)
Definition: commands.cpp:109
bool addAttack(InputEvent &event)
Definition: commands.cpp:60
bool commandGuildRecall(InputEvent &event)
Definition: commands.cpp:147
bool commandSpawnSlaveClone(InputEvent &event)
Definition: commands.cpp:121
bool removePickup(InputEvent &event)
Definition: commands.cpp:102
bool warp(InputEvent &event)
Definition: commands.cpp:84
bool leaveGuild(InputEvent &event)
Definition: commands.cpp:83
bool commandGotoNpc(InputEvent &event)
Definition: commands.cpp:126
bool dontRemoveName(InputEvent &event)
Definition: commands.cpp:69
bool commandPartyRecall(InputEvent &event)
Definition: commands.cpp:145
bool chatDisregard(InputEvent &event)
Definition: commands.cpp:36
bool move(InputEvent &event)
Definition: commands.cpp:44
bool mobSearch(InputEvent &event)
Definition: commands.cpp:107
bool itemInfo(InputEvent &event)
Definition: commands.cpp:105
bool outfitToChat(InputEvent &event)
Definition: commands.cpp:160
bool showSkillType(InputEvent &event)
Definition: commands.cpp:151
bool commandDisguise(InputEvent &event)
Definition: commands.cpp:134
bool openUrl(InputEvent &event)
Definition: commands.cpp:65
bool outfitClear(InputEvent &event)
Definition: commands.cpp:161
bool commandNpcShow(InputEvent &event)
Definition: commands.cpp:143
bool commandKillable(InputEvent &event)
Definition: commands.cpp:131
bool movePriorityAttackUp(InputEvent &event)
Definition: commands.cpp:164
bool execute(InputEvent &event)
Definition: commands.cpp:66
bool commandHeal(InputEvent &event)
Definition: commands.cpp:132
bool movePriorityAttackDown(InputEvent &event)
Definition: commands.cpp:165
bool confSet(InputEvent &event)
Definition: commands.cpp:91
bool clipboardCopy(InputEvent &event)
Definition: commands.cpp:100
bool partyAutoItemShare(InputEvent &event)
Definition: commands.cpp:159
bool setSkillOffsetY(InputEvent &event)
Definition: commands.cpp:156
bool commandShowInventory(InputEvent &event)
Definition: commands.cpp:115
bool navigate(InputEvent &event)
Definition: commands.cpp:51
bool leaveChatRoom(InputEvent &event)
Definition: commands.cpp:90
bool whoDrops(InputEvent &event)
Definition: commands.cpp:106
bool restoreCamera(InputEvent &event)
Definition: commands.cpp:54
bool ignorePickup(InputEvent &event)
Definition: commands.cpp:103
bool setSkillOffsetX(InputEvent &event)
Definition: commands.cpp:155
bool commandRandomWarp(InputEvent &event)
Definition: commands.cpp:125
bool homunEmote(InputEvent &event)
Definition: commands.cpp:86
bool moveAttackDown(InputEvent &event)
Definition: commands.cpp:163
bool commandUnjail(InputEvent &event)
Definition: commands.cpp:140
bool addSkillShortcut(InputEvent &event)
Definition: commands.cpp:166
bool enableAway(InputEvent &event)
Definition: commands.cpp:72
bool chatUnignore(InputEvent &event)
Definition: commands.cpp:33
bool chatBlackList(InputEvent &event)
Definition: commands.cpp:38
bool serverUnIgnoreWhisper(InputEvent &event)
Definition: commands.cpp:79
bool present(InputEvent &event)
Definition: commands.cpp:42
bool serverIgnoreWhisper(InputEvent &event)
Definition: commands.cpp:78
bool commandShowStorage(InputEvent &event)
Definition: commands.cpp:113
bool homunTalk(InputEvent &event)
Definition: commands.cpp:85
bool serverConfSet(InputEvent &event)
Definition: commands.cpp:92
bool disableAway(InputEvent &event)
Definition: commands.cpp:71
bool imitation(InputEvent &event)
Definition: commands.cpp:55
bool commandShowCart(InputEvent &event)
Definition: commands.cpp:114
bool commandImmortal(InputEvent &event)
Definition: commands.cpp:135
bool partyItemShare(InputEvent &event)
Definition: commands.cpp:157
bool url(InputEvent &event)
Definition: commands.cpp:64
bool follow(InputEvent &event)
Definition: commands.cpp:50
bool commandHide(InputEvent &event)
Definition: commands.cpp:136
bool commandIpCheck(InputEvent &event)
Definition: commands.cpp:129
bool talkRaw(InputEvent &event)
Definition: commands.cpp:74
bool setDrop(InputEvent &event)
Definition: commands.cpp:63
bool gm(InputEvent &event)
Definition: commands.cpp:75
bool chatAnnounce(InputEvent &event)
Definition: commands.cpp:31
bool commandSpawn(InputEvent &event)
Definition: commands.cpp:118
bool commandNpcHide(InputEvent &event)
Definition: commands.cpp:142
bool mailTo(InputEvent &event)
Definition: commands.cpp:148
bool commandNuke(InputEvent &event)
Definition: commands.cpp:137
bool commandSavePosition(InputEvent &event)
Definition: commands.cpp:123
bool commandRecallPc(InputEvent &event)
Definition: commands.cpp:128
bool setHomunculusName(InputEvent &event)
Definition: commands.cpp:80
bool serverConfGet(InputEvent &event)
Definition: commands.cpp:94
bool showSkillLevels(InputEvent &event)
Definition: commands.cpp:150
bool addPriorityAttack(InputEvent &event)
Definition: commands.cpp:59
bool locatePlayer(InputEvent &event)
Definition: commands.cpp:116
bool commandShowStats(InputEvent &event)
Definition: commands.cpp:112
bool commandNpcMove(InputEvent &event)
Definition: commands.cpp:141
bool slide(InputEvent &event)
Definition: commands.cpp:95
bool commandShowAccountInfo(InputEvent &event)
Definition: commands.cpp:117
bool commandAlive(InputEvent &event)
Definition: commands.cpp:133
bool showSkillOffsetY(InputEvent &event)
Definition: commands.cpp:154
bool printAll(InputEvent &event)
Definition: commands.cpp:43
bool info(InputEvent &event)
Definition: commands.cpp:57
bool chatEnemy(InputEvent &event)
Definition: commands.cpp:39
bool skill(InputEvent &event)
Definition: commands.cpp:97
bool trimMemory(InputEvent &event)
Definition: commands.cpp:167