ManaPlus
Namespaces | Functions
commands.cpp File Reference

(986a3bf)

#include "actions/commands.h"
#include "actormanager.h"
#include "configuration.h"
#include "game.h"
#include "party.h"
#include "actions/actiondef.h"
#include "being/flooritem.h"
#include "being/localplayer.h"
#include "being/playerrelations.h"
#include "being/homunculusinfo.h"
#include "being/playerinfo.h"
#include "const/resources/skill.h"
#include "gui/viewport.h"
#include "gui/popups/popupmenu.h"
#include "gui/shortcut/emoteshortcut.h"
#include "gui/shortcut/itemshortcut.h"
#include "gui/windows/mailwindow.h"
#include "gui/windows/chatwindow.h"
#include "gui/windows/inventorywindow.h"
#include "gui/windows/npcdialog.h"
#include "gui/windows/outfitwindow.h"
#include "gui/windows/shortcutwindow.h"
#include "gui/windows/skilldialog.h"
#include "gui/windows/socialwindow.h"
#include "gui/widgets/tabs/chat/whispertab.h"
#include "input/inputactionoperators.h"
#include "listeners/inputactionreplaylistener.h"
#include "net/adminhandler.h"
#include "net/chathandler.h"
#include "net/guildhandler.h"
#include "net/familyhandler.h"
#include "net/homunculushandler.h"
#include "net/mail2handler.h"
#include "net/mailhandler.h"
#include "net/net.h"
#include "net/npchandler.h"
#include "net/partyhandler.h"
#include "net/serverfeatures.h"
#include "resources/chatobject.h"
#include "resources/db/itemdb.h"
#include "resources/map/map.h"
#include "resources/skill/skillinfo.h"
#include "utils/booleanoptions.h"
#include "utils/chatutils.h"
#include "utils/copynpaste.h"
#include "utils/gmfunctions.h"
#include "utils/parameters.h"
#include "utils/process.h"
#include "debug.h"

Go to the source code of this file.

Namespaces

 Actions
 

Functions

static std::string Actions::getNick (const InputEvent &event)
 
static void Actions::reportRelation (const InputEvent &event, const RelationT &rel, const std::string &str1, const std::string &str2)
 
static void Actions::changeRelation (const InputEvent &event, const RelationT relation, const std::string &relationText)
 
bool Actions::chatAnnounce (InputEvent &event)
 
bool Actions::chatIgnore (InputEvent &event)
 
bool Actions::chatUnignore (InputEvent &event)
 
bool Actions::chatErase (InputEvent &event)
 
bool Actions::chatFriend (InputEvent &event)
 
bool Actions::chatDisregard (InputEvent &event)
 
bool Actions::chatNeutral (InputEvent &event)
 
bool Actions::chatBlackList (InputEvent &event)
 
bool Actions::chatEnemy (InputEvent &event)
 
bool Actions::chatNuke (InputEvent &event)
 
bool Actions::chatAdd (InputEvent &event)
 
bool Actions::present (InputEvent &event)
 
bool Actions::printAll (InputEvent &event)
 
bool Actions::move (InputEvent &event)
 
bool Actions::setTarget (InputEvent &event)
 
bool Actions::commandOutfit (InputEvent &event)
 
bool Actions::commandEmote (InputEvent &event)
 
bool Actions::awayMessage (InputEvent &event)
 
bool Actions::pseudoAway (InputEvent &event)
 
bool Actions::follow (InputEvent &event)
 
bool Actions::navigate (InputEvent &event)
 
bool Actions::navigateTo (InputEvent &event)
 
bool Actions::moveCamera (InputEvent &event)
 
bool Actions::restoreCamera (InputEvent &event)
 
bool Actions::imitation (InputEvent &event)
 
bool Actions::sendMail (InputEvent &event)
 
bool Actions::info (InputEvent &event)
 
bool Actions::wait (InputEvent &event)
 
bool Actions::addPriorityAttack (InputEvent &event)
 
bool Actions::addAttack (InputEvent &event)
 
bool Actions::removeAttack (InputEvent &event)
 
bool Actions::addIgnoreAttack (InputEvent &event)
 
bool Actions::setDrop (InputEvent &event)
 
bool Actions::url (InputEvent &event)
 
bool Actions::openUrl (InputEvent &event)
 
bool Actions::execute (InputEvent &event)
 
bool Actions::enableHighlight (InputEvent &event)
 
bool Actions::disableHighlight (InputEvent &event)
 
bool Actions::dontRemoveName (InputEvent &event)
 
bool Actions::removeName (InputEvent &event)
 
bool Actions::disableAway (InputEvent &event)
 
bool Actions::enableAway (InputEvent &event)
 
bool Actions::testParticle (InputEvent &event)
 
bool Actions::talkRaw (InputEvent &event)
 
bool Actions::gm (InputEvent &event)
 
bool Actions::hack (InputEvent &event)
 
bool Actions::debugSpawn (InputEvent &event)
 
bool Actions::serverIgnoreWhisper (InputEvent &event)
 
bool Actions::serverUnIgnoreWhisper (InputEvent &event)
 
bool Actions::setHomunculusName (InputEvent &event)
 
bool Actions::fireHomunculus (InputEvent &event)
 
bool Actions::leaveParty (InputEvent &event)
 
bool Actions::leaveGuild (InputEvent &event)
 
bool Actions::warp (InputEvent &event)
 
bool Actions::homunTalk (InputEvent &event)
 
bool Actions::homunEmote (InputEvent &event)
 
bool Actions::commandHomunEmote (InputEvent &event)
 
bool Actions::createPublicChatRoom (InputEvent &event)
 
bool Actions::joinChatRoom (InputEvent &event)
 
bool Actions::leaveChatRoom (InputEvent &event)
 
bool Actions::confSet (InputEvent &event)
 
bool Actions::serverConfSet (InputEvent &event)
 
bool Actions::confGet (InputEvent &event)
 
bool Actions::serverConfGet (InputEvent &event)
 
bool Actions::slide (InputEvent &event)
 
bool Actions::selectSkillLevel (InputEvent &event)
 
bool Actions::skill (InputEvent &event)
 
bool Actions::craft (InputEvent &event)
 
bool Actions::npcClipboard (InputEvent &event)
 
bool Actions::clipboardCopy (InputEvent &event)
 
bool Actions::addPickup (InputEvent &event)
 
bool Actions::removePickup (InputEvent &event)
 
bool Actions::ignorePickup (InputEvent &event)
 
bool Actions::monsterInfo (InputEvent &event)
 
bool Actions::itemInfo (InputEvent &event)
 
bool Actions::whoDrops (InputEvent &event)
 
bool Actions::mobSearch (InputEvent &event)
 
bool Actions::mobSpawnSearch (InputEvent &event)
 
bool Actions::playerGmCommands (InputEvent &event)
 
bool Actions::playerCharGmCommands (InputEvent &event)
 
bool Actions::commandShowLevel (InputEvent &event)
 
bool Actions::commandShowStats (InputEvent &event)
 
bool Actions::commandShowStorage (InputEvent &event)
 
bool Actions::commandShowCart (InputEvent &event)
 
bool Actions::commandShowInventory (InputEvent &event)
 
bool Actions::locatePlayer (InputEvent &event)
 
bool Actions::commandShowAccountInfo (InputEvent &event)
 
bool Actions::commandSpawn (InputEvent &event)
 
bool Actions::commandSpawnSlave (InputEvent &event)
 
bool Actions::commandSpawnClone (InputEvent &event)
 
bool Actions::commandSpawnSlaveClone (InputEvent &event)
 
bool Actions::commandSpawnEvilClone (InputEvent &event)
 
bool Actions::commandSavePosition (InputEvent &event)
 
bool Actions::commandLoadPosition (InputEvent &event)
 
bool Actions::commandRandomWarp (InputEvent &event)
 
bool Actions::commandGotoNpc (InputEvent &event)
 
bool Actions::commandGotoPc (InputEvent &event)
 
bool Actions::commandRecallPc (InputEvent &event)
 
bool Actions::commandIpCheck (InputEvent &event)
 
bool Actions::commandKiller (InputEvent &event)
 
bool Actions::commandKillable (InputEvent &event)
 
bool Actions::commandHeal (InputEvent &event)
 
bool Actions::commandAlive (InputEvent &event)
 
bool Actions::commandDisguise (InputEvent &event)
 
bool Actions::commandImmortal (InputEvent &event)
 
bool Actions::commandHide (InputEvent &event)
 
bool Actions::commandNuke (InputEvent &event)
 
bool Actions::commandKill (InputEvent &event)
 
bool Actions::commandJail (InputEvent &event)
 
bool Actions::commandUnjail (InputEvent &event)
 
bool Actions::commandNpcMove (InputEvent &event)
 
bool Actions::commandNpcHide (InputEvent &event)
 
bool Actions::commandNpcShow (InputEvent &event)
 
bool Actions::commandChangePartyLeader (InputEvent &event)
 
bool Actions::commandPartyRecall (InputEvent &event)
 
bool Actions::commandBreakGuild (InputEvent &event)
 
bool Actions::commandGuildRecall (InputEvent &event)
 
bool Actions::mailTo (InputEvent &event)
 
bool Actions::adoptChild (InputEvent &event)
 
bool Actions::showSkillLevels (InputEvent &event)
 
bool Actions::showSkillType (InputEvent &event)
 
bool Actions::selectSkillType (InputEvent &event)
 
bool Actions::showSkillOffsetX (InputEvent &event)
 
bool Actions::showSkillOffsetY (InputEvent &event)
 
bool Actions::setSkillOffsetX (InputEvent &event)
 
bool Actions::setSkillOffsetY (InputEvent &event)
 
bool Actions::partyItemShare (InputEvent &event)
 
bool Actions::partyExpShare (InputEvent &event)
 
bool Actions::partyAutoItemShare (InputEvent &event)
 
bool Actions::outfitToChat (InputEvent &event)
 
bool Actions::outfitClear (InputEvent &event)
 
bool Actions::moveAttackUp (InputEvent &event)
 
bool Actions::moveAttackDown (InputEvent &event)
 
bool Actions::movePriorityAttackUp (InputEvent &event)
 
bool Actions::movePriorityAttackDown (InputEvent &event)
 
bool Actions::addSkillShortcut (InputEvent &event)
 
bool Actions::trimMemory (InputEvent &event)