ManaPlus
Functions
Actions Namespace Reference

Functions

bool emote (InputEvent &event)
 
bool outfit (InputEvent &event)
 
bool mouseClick (InputEvent &event)
 
bool ok (InputEvent &event)
 
bool shortcut (InputEvent &event)
 
bool quit (InputEvent &event)
 
bool dropItem0 (InputEvent &event)
 
bool dropItem (InputEvent &event)
 
bool dropItemId (InputEvent &event)
 
bool dropItemInv (InputEvent &event)
 
bool dropItemIdAll (InputEvent &event)
 
bool dropItemInvAll (InputEvent &event)
 
bool heal (InputEvent &event)
 
bool healmd (InputEvent &event)
 
bool itenplz (InputEvent &event)
 
bool setHome (InputEvent &event)
 
bool magicAttack (InputEvent &event)
 
bool copyEquippedToOutfit (InputEvent &event)
 
bool pickup (InputEvent &event)
 
bool sit (InputEvent &event)
 
bool screenshot (InputEvent &event)
 
bool ignoreInput (InputEvent &event)
 
bool talk (InputEvent &event)
 
bool buy (InputEvent &event)
 
bool sell (InputEvent &event)
 
bool stopAttack (InputEvent &event)
 
bool untarget (InputEvent &event)
 
bool attack (InputEvent &event)
 
bool targetAttack (InputEvent &event)
 
bool safeVideoMode (InputEvent &event)
 
bool stopSit (InputEvent &event)
 
bool showKeyboard (InputEvent &event)
 
bool showWindows (InputEvent &event)
 
bool openTrade (InputEvent &event)
 
bool ipcToggle (InputEvent &event)
 
bool where (InputEvent &event)
 
bool who (InputEvent &event)
 
bool cleanGraphics (InputEvent &event)
 
bool cleanFonts (InputEvent &event)
 
bool attackHuman (InputEvent &event)
 
bool trade (InputEvent &event)
 
bool priceLoad (InputEvent &event)
 
bool priceSave (InputEvent &event)
 
bool cacheInfo (InputEvent &event)
 
bool disconnect (InputEvent &event)
 
bool undress (InputEvent &event)
 
bool dirs (InputEvent &event)
 
bool uptime (InputEvent &event)
 
bool dump (InputEvent &event)
 
bool serverIgnoreAll (InputEvent &event)
 
bool serverUnIgnoreAll (InputEvent &event)
 
bool error (InputEvent &event) __attribute__((noreturn))
 
bool dumpGraphics (InputEvent &event)
 
bool dumpEnvironment (InputEvent &event)
 
bool dumpTests (InputEvent &event)
 
bool dumpOGL (InputEvent &event)
 
bool dumpGL (InputEvent &event)
 
bool dumpMods (InputEvent &event)
 
bool createItems (InputEvent &event)
 
bool createItem (InputEvent &event)
 
bool uploadConfig (InputEvent &event)
 
bool uploadServerConfig (InputEvent &event)
 
bool uploadLog (InputEvent &event)
 
bool mercenaryFire (InputEvent &event)
 
bool mercenaryToMaster (InputEvent &event)
 
bool homunculusToMaster (InputEvent &event)
 
bool homunculusFeed (InputEvent &event)
 
bool useItem (InputEvent &event)
 
bool useItemInv (InputEvent &event)
 
bool invToStorage (InputEvent &event)
 
bool tradeAdd (InputEvent &event)
 
bool storageToInv (InputEvent &event)
 
bool protectItem (InputEvent &event)
 
bool unprotectItem (InputEvent &event)
 
bool kick (InputEvent &event)
 
bool clearDrop (InputEvent &event)
 
bool testInfo (InputEvent &event)
 
bool craftKey (InputEvent &event)
 
bool resetGameModifiers (InputEvent &event)
 
bool barToChat (InputEvent &event)
 
bool seen (InputEvent &event)
 
bool dumpMemoryUsage (InputEvent &event)
 
bool setEmoteType (InputEvent &event)
 
bool toggleChat (InputEvent &event)
 
bool prevChatTab (InputEvent &event)
 
bool nextChatTab (InputEvent &event)
 
bool closeChatTab (InputEvent &event)
 
bool closeAllChatTabs (InputEvent &event)
 
bool ignoreAllWhispers (InputEvent &event)
 
bool scrollChatUp (InputEvent &event)
 
bool scrollChatDown (InputEvent &event)
 
bool msg (InputEvent &event)
 
bool msgText (InputEvent &event)
 
bool msg2 (InputEvent &event)
 
bool query (InputEvent &event)
 
bool clearChatTab (InputEvent &event)
 
bool createParty (InputEvent &event)
 
bool createGuild (InputEvent &event)
 
bool party (InputEvent &event)
 
bool guild (InputEvent &event)
 
bool me (InputEvent &event)
 
bool toggle (InputEvent &event)
 
bool kickParty (InputEvent &event)
 
bool kickGuild (InputEvent &event)
 
bool addText (InputEvent &event)
 
bool clearChat (InputEvent &event)
 
bool chatGeneralTab (InputEvent &event)
 
bool chatDebugTab (InputEvent &event)
 
bool chatBattleTab (InputEvent &event)
 
bool chatTradeTab (InputEvent &event)
 
bool chatLangTab (InputEvent &event)
 
bool chatGmTab (InputEvent &event)
 
bool chatPartyTab (InputEvent &event)
 
bool chatGuildTab (InputEvent &event)
 
bool hat (InputEvent &event)
 
bool chatClipboard (InputEvent &event)
 
bool guildNotice (InputEvent &event)
 
bool translate (InputEvent &event)
 
bool sendGuiKey (InputEvent &event)
 
bool sendMouseKey (InputEvent &event)
 
bool sendChars (InputEvent &event)
 
bool chatAnnounce (InputEvent &event)
 
bool chatIgnore (InputEvent &event)
 
bool chatUnignore (InputEvent &event)
 
bool chatFriend (InputEvent &event)
 
bool chatDisregard (InputEvent &event)
 
bool chatNeutral (InputEvent &event)
 
bool chatBlackList (InputEvent &event)
 
bool chatEnemy (InputEvent &event)
 
bool chatErase (InputEvent &event)
 
bool chatNuke (InputEvent &event)
 
bool chatAdd (InputEvent &event)
 
bool present (InputEvent &event)
 
bool printAll (InputEvent &event)
 
bool move (InputEvent &event)
 
bool setTarget (InputEvent &event)
 
bool commandOutfit (InputEvent &event)
 
bool commandEmote (InputEvent &event)
 
bool awayMessage (InputEvent &event)
 
bool pseudoAway (InputEvent &event)
 
bool follow (InputEvent &event)
 
bool navigate (InputEvent &event)
 
bool navigateTo (InputEvent &event)
 
bool moveCamera (InputEvent &event)
 
bool restoreCamera (InputEvent &event)
 
bool imitation (InputEvent &event)
 
bool sendMail (InputEvent &event)
 
bool info (InputEvent &event)
 
bool wait (InputEvent &event)
 
bool addPriorityAttack (InputEvent &event)
 
bool addAttack (InputEvent &event)
 
bool removeAttack (InputEvent &event)
 
bool addIgnoreAttack (InputEvent &event)
 
bool setDrop (InputEvent &event)
 
bool url (InputEvent &event)
 
bool openUrl (InputEvent &event)
 
bool execute (InputEvent &event)
 
bool enableHighlight (InputEvent &event)
 
bool disableHighlight (InputEvent &event)
 
bool dontRemoveName (InputEvent &event)
 
bool removeName (InputEvent &event)
 
bool disableAway (InputEvent &event)
 
bool enableAway (InputEvent &event)
 
bool testParticle (InputEvent &event)
 
bool talkRaw (InputEvent &event)
 
bool gm (InputEvent &event)
 
bool hack (InputEvent &event)
 
bool debugSpawn (InputEvent &event)
 
bool serverIgnoreWhisper (InputEvent &event)
 
bool serverUnIgnoreWhisper (InputEvent &event)
 
bool setHomunculusName (InputEvent &event)
 
bool fireHomunculus (InputEvent &event)
 
bool leaveParty (InputEvent &event)
 
bool leaveGuild (InputEvent &event)
 
bool warp (InputEvent &event)
 
bool homunTalk (InputEvent &event)
 
bool homunEmote (InputEvent &event)
 
bool commandHomunEmote (InputEvent &event)
 
bool createPublicChatRoom (InputEvent &event)
 
bool joinChatRoom (InputEvent &event)
 
bool leaveChatRoom (InputEvent &event)
 
bool confSet (InputEvent &event)
 
bool serverConfSet (InputEvent &event)
 
bool confGet (InputEvent &event)
 
bool serverConfGet (InputEvent &event)
 
bool slide (InputEvent &event)
 
bool selectSkillLevel (InputEvent &event)
 
bool skill (InputEvent &event)
 
bool craft (InputEvent &event)
 
bool npcClipboard (InputEvent &event)
 
bool clipboardCopy (InputEvent &event)
 
bool addPickup (InputEvent &event)
 
bool removePickup (InputEvent &event)
 
bool ignorePickup (InputEvent &event)
 
bool monsterInfo (InputEvent &event)
 
bool itemInfo (InputEvent &event)
 
bool whoDrops (InputEvent &event)
 
bool mobSearch (InputEvent &event)
 
bool mobSpawnSearch (InputEvent &event)
 
bool playerGmCommands (InputEvent &event)
 
bool playerCharGmCommands (InputEvent &event)
 
bool commandShowLevel (InputEvent &event)
 
bool commandShowStats (InputEvent &event)
 
bool commandShowStorage (InputEvent &event)
 
bool commandShowCart (InputEvent &event)
 
bool commandShowInventory (InputEvent &event)
 
bool locatePlayer (InputEvent &event)
 
bool commandShowAccountInfo (InputEvent &event)
 
bool commandSpawn (InputEvent &event)
 
bool commandSpawnSlave (InputEvent &event)
 
bool commandSpawnClone (InputEvent &event)
 
bool commandSpawnSlaveClone (InputEvent &event)
 
bool commandSpawnEvilClone (InputEvent &event)
 
bool commandSavePosition (InputEvent &event)
 
bool commandLoadPosition (InputEvent &event)
 
bool commandRandomWarp (InputEvent &event)
 
bool commandGotoNpc (InputEvent &event)
 
bool commandGotoPc (InputEvent &event)
 
bool commandRecallPc (InputEvent &event)
 
bool commandIpCheck (InputEvent &event)
 
bool commandKiller (InputEvent &event)
 
bool commandKillable (InputEvent &event)
 
bool commandHeal (InputEvent &event)
 
bool commandAlive (InputEvent &event)
 
bool commandDisguise (InputEvent &event)
 
bool commandImmortal (InputEvent &event)
 
bool commandHide (InputEvent &event)
 
bool commandNuke (InputEvent &event)
 
bool commandKill (InputEvent &event)
 
bool commandJail (InputEvent &event)
 
bool commandUnjail (InputEvent &event)
 
bool commandNpcMove (InputEvent &event)
 
bool commandNpcHide (InputEvent &event)
 
bool commandNpcShow (InputEvent &event)
 
bool commandChangePartyLeader (InputEvent &event)
 
bool commandPartyRecall (InputEvent &event)
 
bool commandBreakGuild (InputEvent &event)
 
bool commandGuildRecall (InputEvent &event)
 
bool mailTo (InputEvent &event)
 
bool adoptChild (InputEvent &event)
 
bool showSkillLevels (InputEvent &event)
 
bool showSkillType (InputEvent &event)
 
bool selectSkillType (InputEvent &event)
 
bool showSkillOffsetX (InputEvent &event)
 
bool showSkillOffsetY (InputEvent &event)
 
bool setSkillOffsetX (InputEvent &event)
 
bool setSkillOffsetY (InputEvent &event)
 
bool partyItemShare (InputEvent &event)
 
bool partyExpShare (InputEvent &event)
 
bool partyAutoItemShare (InputEvent &event)
 
bool outfitToChat (InputEvent &event)
 
bool outfitClear (InputEvent &event)
 
bool moveAttackUp (InputEvent &event)
 
bool moveAttackDown (InputEvent &event)
 
bool movePriorityAttackUp (InputEvent &event)
 
bool movePriorityAttackDown (InputEvent &event)
 
bool addSkillShortcut (InputEvent &event)
 
bool trimMemory (InputEvent &event)
 
bool moveUp (InputEvent &event)
 
bool moveDown (InputEvent &event)
 
bool moveLeft (InputEvent &event)
 
bool moveRight (InputEvent &event)
 
bool moveForward (InputEvent &event)
 
bool moveToPoint (InputEvent &event)
 
bool crazyMoves (InputEvent &event)
 
bool moveToTarget (InputEvent &event)
 
bool moveToHome (InputEvent &event)
 
bool directUp (InputEvent &event)
 
bool directDown (InputEvent &event)
 
bool directLeft (InputEvent &event)
 
bool directRight (InputEvent &event)
 
bool commandEmotePet (InputEvent &event)
 
bool talkPet (InputEvent &event)
 
bool setPetName (InputEvent &event)
 
bool petEmote (InputEvent &event)
 
bool catchPet (InputEvent &event)
 
bool petMoveUp (InputEvent &event)
 
bool petMoveDown (InputEvent &event)
 
bool petMoveLeft (InputEvent &event)
 
bool petMoveRight (InputEvent &event)
 
bool petDirectUp (InputEvent &event)
 
bool petDirectDown (InputEvent &event)
 
bool petDirectLeft (InputEvent &event)
 
bool petDirectRight (InputEvent &event)
 
bool petMove (InputEvent &event)
 
bool petFeed (InputEvent &event)
 
bool petDropLoot (InputEvent &event)
 
bool petReturnToEgg (InputEvent &event)
 
bool petUnequip (InputEvent &event)
 
bool switchQuickDrop (InputEvent &event)
 
bool changeCrazyMove (InputEvent &event)
 
bool changePickupType (InputEvent &event)
 
bool changeMoveType (InputEvent &event)
 
bool changeAttackWeaponType (InputEvent &event)
 
bool changeAttackType (InputEvent &event)
 
bool changeTargetingType (InputEvent &event)
 
bool changeFollowMode (InputEvent &event)
 
bool changeImitationMode (InputEvent &event)
 
bool changeMagicAttackType (InputEvent &event)
 
bool changePvpMode (InputEvent &event)
 
bool changeMoveToTarget (InputEvent &event)
 
bool changeGameModifier (InputEvent &event)
 
bool changeAudio (InputEvent &event)
 
bool away (InputEvent &event)
 
bool camera (InputEvent &event)
 
bool changeMapMode (InputEvent &event)
 
bool changeTrade (InputEvent &event)
 
bool prevSocialTab (InputEvent &event)
 
bool nextSocialTab (InputEvent &event)
 
bool nextShortcutsTab (InputEvent &event)
 
bool prevShortcutsTab (InputEvent &event)
 
bool nextCommandsTab (InputEvent &event)
 
bool prevCommandsTab (InputEvent &event)
 
bool nextInvTab (InputEvent &event)
 
bool prevInvTab (InputEvent &event)
 
bool targetPlayer (InputEvent &event)
 
bool targetMonster (InputEvent &event)
 
bool targetClosestMonster (InputEvent &event)
 
bool targetNPC (InputEvent &event)
 
bool targetMercenary (InputEvent &event)
 
bool targetPet (InputEvent &event)
 
bool targetSkillUnit (InputEvent &event)
 
bool contextMenu (InputEvent &event)
 
bool hideWindows (InputEvent &event)
 
bool helpWindowShow (InputEvent &event)
 
bool aboutWindowShow (InputEvent &event)
 
bool setupWindowShow (InputEvent &event)
 
bool statusWindowShow (InputEvent &event)
 
bool inventoryWindowShow (InputEvent &event)
 
bool equipmentWindowShow (InputEvent &event)
 
bool skillDialogShow (InputEvent &event)
 
bool minimapWindowShow (InputEvent &event)
 
bool chatWindowShow (InputEvent &event)
 
bool shortcutWindowShow (InputEvent &event)
 
bool debugWindowShow (InputEvent &event)
 
bool socialWindowShow (InputEvent &event)
 
bool emoteShortcutWindowShow (InputEvent &event)
 
bool outfitWindowShow (InputEvent &event)
 
bool shopWindowShow (InputEvent &event)
 
bool dropShortcutWindowShow (InputEvent &event)
 
bool killStatsWindowShow (InputEvent &event)
 
bool spellShortcutWindowShow (InputEvent &event)
 
bool whoIsOnlineWindowShow (InputEvent &event)
 
bool didYouKnowWindowShow (InputEvent &event)
 
bool questsWindowShow (InputEvent &event)
 
bool updaterWindowShow (InputEvent &event)
 
bool bankWindowShow (InputEvent &event)
 
bool cartWindowShow (InputEvent &event)
 
bool quickWindowShow (InputEvent &event)
 
bool mailWindowShow (InputEvent &event)
 
bool serverInfoWindowShow (InputEvent &event)
 
bool clanWindowShow (InputEvent &event)
 
bool showItems (InputEvent &event)
 
static int uploadUpdate (void *ptr, const DownloadStatusT status, size_t total, const size_t remaining)
 
static void uploadFile (const std::string &str, const std::string &fileName, const std::string &addStr, ChatTab *const tab)
 
static BeingfindBeing (const std::string &name, const bool npc)
 
static ItemgetItemByInvIndex (const int index, const InventoryTypeT invType)
 
static int getAmountFromEvent (const InputEvent &event, Item *&item0, const InventoryTypeT invType)
 
static void doSit ()
 
static void outString (ChatTab *const tab, const std::string &str, const std::string &def)
 
static bool splitWhisper (const std::string &args, std::string &recvnick, std::string &message)
 
static std::string getNick (const InputEvent &event)
 
static void reportRelation (const InputEvent &event, const RelationT &rel, const std::string &str1, const std::string &str2)
 
static void changeRelation (const InputEvent &event, const RelationT relation, const std::string &relationText)
 
static bool closeMoveNpcDialog (bool focus)
 
static const BeinggetPet ()
 
static bool setTarget (const ActorTypeT type, const AllowSort allowSort)
 
static bool showHelpPage (const std::string &page, const bool showHide)
 
static void showHideWindow (Window *const window)
 

Function Documentation

◆ aboutWindowShow()

bool Actions::aboutWindowShow ( InputEvent event)

Definition at line 34 of file windows.cpp.

◆ addAttack()

bool Actions::addAttack ( InputEvent event)

Definition at line 60 of file commands.cpp.

◆ addIgnoreAttack()

bool Actions::addIgnoreAttack ( InputEvent event)

Definition at line 62 of file commands.cpp.

◆ addPickup()

bool Actions::addPickup ( InputEvent event)

Definition at line 101 of file commands.cpp.

◆ addPriorityAttack()

bool Actions::addPriorityAttack ( InputEvent event)

Definition at line 59 of file commands.cpp.

◆ addSkillShortcut()

bool Actions::addSkillShortcut ( InputEvent event)

Definition at line 166 of file commands.cpp.

◆ addText()

bool Actions::addText ( InputEvent event)

Definition at line 52 of file chat.cpp.

◆ adoptChild()

bool Actions::adoptChild ( InputEvent event)

Definition at line 149 of file commands.cpp.

◆ attack()

bool Actions::attack ( InputEvent event)

Definition at line 58 of file actions.cpp.

83 {

◆ attackHuman()

bool Actions::attackHuman ( InputEvent event)

Definition at line 60 of file actions.cpp.

83 {

◆ away()

bool Actions::away ( InputEvent event)

Definition at line 45 of file statusbar.cpp.

Referenced by Being::setState().

◆ awayMessage()

bool Actions::awayMessage ( InputEvent event)

Definition at line 48 of file commands.cpp.

◆ bankWindowShow()

bool Actions::bankWindowShow ( InputEvent event)

Definition at line 53 of file windows.cpp.

◆ barToChat()

bool Actions::barToChat ( InputEvent event)

Definition at line 116 of file actions.cpp.

◆ buy()

bool Actions::buy ( InputEvent event)

Definition at line 53 of file actions.cpp.

83 {

◆ cacheInfo()

bool Actions::cacheInfo ( InputEvent event)

Definition at line 74 of file actions.cpp.

83 {

◆ camera()

bool Actions::camera ( InputEvent event)

Definition at line 46 of file statusbar.cpp.

◆ cartWindowShow()

bool Actions::cartWindowShow ( InputEvent event)

Definition at line 54 of file windows.cpp.

◆ catchPet()

bool Actions::catchPet ( InputEvent event)

Definition at line 35 of file pets.cpp.

◆ changeAttackType()

bool Actions::changeAttackType ( InputEvent event)

Definition at line 36 of file statusbar.cpp.

◆ changeAttackWeaponType()

bool Actions::changeAttackWeaponType ( InputEvent event)

Definition at line 35 of file statusbar.cpp.

◆ changeAudio()

bool Actions::changeAudio ( InputEvent event)

Definition at line 44 of file statusbar.cpp.

◆ changeCrazyMove()

bool Actions::changeCrazyMove ( InputEvent event)

Definition at line 32 of file statusbar.cpp.

◆ changeFollowMode()

bool Actions::changeFollowMode ( InputEvent event)

Definition at line 38 of file statusbar.cpp.

◆ changeGameModifier()

bool Actions::changeGameModifier ( InputEvent event)

Definition at line 43 of file statusbar.cpp.

◆ changeImitationMode()

bool Actions::changeImitationMode ( InputEvent event)

Definition at line 39 of file statusbar.cpp.

◆ changeMagicAttackType()

bool Actions::changeMagicAttackType ( InputEvent event)

Definition at line 40 of file statusbar.cpp.

◆ changeMapMode()

bool Actions::changeMapMode ( InputEvent event)

Definition at line 47 of file statusbar.cpp.

◆ changeMoveToTarget()

bool Actions::changeMoveToTarget ( InputEvent event)

Definition at line 42 of file statusbar.cpp.

◆ changeMoveType()

bool Actions::changeMoveType ( InputEvent event)

Definition at line 34 of file statusbar.cpp.

◆ changePickupType()

bool Actions::changePickupType ( InputEvent event)

Definition at line 33 of file statusbar.cpp.

◆ changePvpMode()

bool Actions::changePvpMode ( InputEvent event)

Definition at line 41 of file statusbar.cpp.

◆ changeRelation()

static void Actions::changeRelation ( const InputEvent event,
const RelationT  relation,
const std::string &  relationText 
)
static

Definition at line 150 of file commands.cpp.

153 {
154  std::string args = getNick(event);
155  if (args.empty())
156  return;
157 
158  if (playerRelations.getRelation(args) == relation)
159  {
160  if (event.tab != nullptr)
161  {
162  // TRANSLATORS: change relation
163  event.tab->chatLog(strprintf(_("Player already %s!"),
164  relationText.c_str()),
168  return;
169  }
170  }
171  else
172  {
173  playerRelations.setRelation(args, relation);
174  }
175 
176  reportRelation(event,
177  relation,
178  // TRANSLATORS: change relation
179  strprintf(_("Player successfully %s!"), relationText.c_str()),
180  // TRANSLATORS: change relation
181  strprintf(_("Player could not be %s!"), relationText.c_str()));
182 }
RelationT getRelation(const std::string &name) const
void setRelation(const std::string &name, const RelationT relation)
#define _(s)
Definition: gettext.h:35
const bool IgnoreRecord_false
Definition: ignorerecord.h:30
static std::string getNick(const InputEvent &event)
Definition: commands.cpp:98
static void reportRelation(const InputEvent &event, const RelationT &rel, const std::string &str1, const std::string &str2)
Definition: commands.cpp:124
PlayerRelationsManager playerRelations
std::string strprintf(const char *const format,...)
ChatTab *const tab
Definition: inputevent.h:71
const bool TryRemoveColors_true

References _, ChatMsgType::BY_SERVER, getNick(), PlayerRelationsManager::getRelation(), IgnoreRecord_false, playerRelations, reportRelation(), PlayerRelationsManager::setRelation(), strprintf(), InputEvent::tab, and TryRemoveColors_true.

◆ changeTargetingType()

bool Actions::changeTargetingType ( InputEvent event)

Definition at line 37 of file statusbar.cpp.

◆ changeTrade()

bool Actions::changeTrade ( InputEvent event)

Definition at line 48 of file statusbar.cpp.

◆ chatAdd()

bool Actions::chatAdd ( InputEvent event)

Definition at line 41 of file commands.cpp.

◆ chatAnnounce()

bool Actions::chatAnnounce ( InputEvent event)

Definition at line 31 of file commands.cpp.

◆ chatBattleTab()

bool Actions::chatBattleTab ( InputEvent event)

Definition at line 56 of file chat.cpp.

◆ chatBlackList()

bool Actions::chatBlackList ( InputEvent event)

Definition at line 38 of file commands.cpp.

◆ chatClipboard()

bool Actions::chatClipboard ( InputEvent event)

Definition at line 63 of file chat.cpp.

◆ chatDebugTab()

bool Actions::chatDebugTab ( InputEvent event)

Definition at line 55 of file chat.cpp.

◆ chatDisregard()

bool Actions::chatDisregard ( InputEvent event)

Definition at line 36 of file commands.cpp.

◆ chatEnemy()

bool Actions::chatEnemy ( InputEvent event)

Definition at line 39 of file commands.cpp.

◆ chatErase()

bool Actions::chatErase ( InputEvent event)

Definition at line 34 of file commands.cpp.

◆ chatFriend()

bool Actions::chatFriend ( InputEvent event)

Definition at line 35 of file commands.cpp.

◆ chatGeneralTab()

bool Actions::chatGeneralTab ( InputEvent event)

Definition at line 54 of file chat.cpp.

◆ chatGmTab()

bool Actions::chatGmTab ( InputEvent event)

Definition at line 59 of file chat.cpp.

◆ chatGuildTab()

bool Actions::chatGuildTab ( InputEvent event)

Definition at line 61 of file chat.cpp.

◆ chatIgnore()

bool Actions::chatIgnore ( InputEvent event)

Definition at line 32 of file commands.cpp.

◆ chatLangTab()

bool Actions::chatLangTab ( InputEvent event)

Definition at line 58 of file chat.cpp.

◆ chatNeutral()

bool Actions::chatNeutral ( InputEvent event)

Definition at line 37 of file commands.cpp.

◆ chatNuke()

bool Actions::chatNuke ( InputEvent event)

Definition at line 40 of file commands.cpp.

◆ chatPartyTab()

bool Actions::chatPartyTab ( InputEvent event)

Definition at line 60 of file chat.cpp.

◆ chatTradeTab()

bool Actions::chatTradeTab ( InputEvent event)

Definition at line 57 of file chat.cpp.

◆ chatUnignore()

bool Actions::chatUnignore ( InputEvent event)

Definition at line 33 of file commands.cpp.

◆ chatWindowShow()

bool Actions::chatWindowShow ( InputEvent event)

Definition at line 40 of file windows.cpp.

◆ clanWindowShow()

bool Actions::clanWindowShow ( InputEvent event)

Definition at line 59 of file windows.cpp.

◆ cleanFonts()

bool Actions::cleanFonts ( InputEvent event)

Definition at line 70 of file actions.cpp.

83 {

◆ cleanGraphics()

bool Actions::cleanGraphics ( InputEvent event)

Definition at line 69 of file actions.cpp.

83 {

◆ clearChat()

bool Actions::clearChat ( InputEvent event)

Definition at line 53 of file chat.cpp.

◆ clearChatTab()

bool Actions::clearChatTab ( InputEvent event)

Definition at line 43 of file chat.cpp.

◆ clearDrop()

bool Actions::clearDrop ( InputEvent event)

Definition at line 112 of file actions.cpp.

◆ clipboardCopy()

bool Actions::clipboardCopy ( InputEvent event)

Definition at line 100 of file commands.cpp.

◆ closeAllChatTabs()

bool Actions::closeAllChatTabs ( InputEvent event)

Definition at line 35 of file chat.cpp.

◆ closeChatTab()

bool Actions::closeChatTab ( InputEvent event)

Definition at line 34 of file chat.cpp.

◆ closeMoveNpcDialog()

static bool Actions::closeMoveNpcDialog ( bool  focus)
static

Definition at line 49 of file move.cpp.

50 {
51  NpcDialog *const dialog = NpcDialog::getActive();
52  if (dialog != nullptr)
53  {
54  if (dialog->isCloseState() != 0)
55  {
56  dialog->closeDialog();
57  return true;
58  }
59  else if (focus)
60  {
61  dialog->refocus();
62  }
63  }
64  return false;
65 }
static NpcDialog * getActive()
Definition: npcdialog.cpp:852
int isCloseState() const
Definition: npcdialog.h:228
void refocus()
Definition: npcdialog.cpp:741
void closeDialog()
Definition: npcdialog.cpp:665

References NpcDialog::closeDialog(), NpcDialog::getActive(), NpcDialog::isCloseState(), and NpcDialog::refocus().

◆ commandAlive()

bool Actions::commandAlive ( InputEvent event)

Definition at line 133 of file commands.cpp.

◆ commandBreakGuild()

bool Actions::commandBreakGuild ( InputEvent event)

Definition at line 146 of file commands.cpp.

◆ commandChangePartyLeader()

bool Actions::commandChangePartyLeader ( InputEvent event)

Definition at line 144 of file commands.cpp.

◆ commandDisguise()

bool Actions::commandDisguise ( InputEvent event)

Definition at line 134 of file commands.cpp.

◆ commandEmote()

bool Actions::commandEmote ( InputEvent event)

Definition at line 47 of file commands.cpp.

◆ commandEmotePet()

bool Actions::commandEmotePet ( InputEvent event)

Definition at line 31 of file pets.cpp.

◆ commandGotoNpc()

bool Actions::commandGotoNpc ( InputEvent event)

Definition at line 126 of file commands.cpp.

◆ commandGotoPc()

bool Actions::commandGotoPc ( InputEvent event)

Definition at line 127 of file commands.cpp.

◆ commandGuildRecall()

bool Actions::commandGuildRecall ( InputEvent event)

Definition at line 147 of file commands.cpp.

◆ commandHeal()

bool Actions::commandHeal ( InputEvent event)

Definition at line 132 of file commands.cpp.

◆ commandHide()

bool Actions::commandHide ( InputEvent event)

Definition at line 136 of file commands.cpp.

◆ commandHomunEmote()

bool Actions::commandHomunEmote ( InputEvent event)

Definition at line 87 of file commands.cpp.

◆ commandImmortal()

bool Actions::commandImmortal ( InputEvent event)

Definition at line 135 of file commands.cpp.

◆ commandIpCheck()

bool Actions::commandIpCheck ( InputEvent event)

Definition at line 129 of file commands.cpp.

◆ commandJail()

bool Actions::commandJail ( InputEvent event)

Definition at line 139 of file commands.cpp.

◆ commandKill()

bool Actions::commandKill ( InputEvent event)

Definition at line 138 of file commands.cpp.

◆ commandKillable()

bool Actions::commandKillable ( InputEvent event)

Definition at line 131 of file commands.cpp.

◆ commandKiller()

bool Actions::commandKiller ( InputEvent event)

Definition at line 130 of file commands.cpp.

◆ commandLoadPosition()

bool Actions::commandLoadPosition ( InputEvent event)

Definition at line 124 of file commands.cpp.

◆ commandNpcHide()

bool Actions::commandNpcHide ( InputEvent event)

Definition at line 142 of file commands.cpp.

◆ commandNpcMove()

bool Actions::commandNpcMove ( InputEvent event)

Definition at line 141 of file commands.cpp.

◆ commandNpcShow()

bool Actions::commandNpcShow ( InputEvent event)

Definition at line 143 of file commands.cpp.

◆ commandNuke()

bool Actions::commandNuke ( InputEvent event)

Definition at line 137 of file commands.cpp.

◆ commandOutfit()

bool Actions::commandOutfit ( InputEvent event)

Definition at line 46 of file commands.cpp.

◆ commandPartyRecall()

bool Actions::commandPartyRecall ( InputEvent event)

Definition at line 145 of file commands.cpp.

◆ commandRandomWarp()

bool Actions::commandRandomWarp ( InputEvent event)

Definition at line 125 of file commands.cpp.

◆ commandRecallPc()

bool Actions::commandRecallPc ( InputEvent event)

Definition at line 128 of file commands.cpp.

◆ commandSavePosition()

bool Actions::commandSavePosition ( InputEvent event)

Definition at line 123 of file commands.cpp.

◆ commandShowAccountInfo()

bool Actions::commandShowAccountInfo ( InputEvent event)

Definition at line 117 of file commands.cpp.

◆ commandShowCart()

bool Actions::commandShowCart ( InputEvent event)

Definition at line 114 of file commands.cpp.

◆ commandShowInventory()

bool Actions::commandShowInventory ( InputEvent event)

Definition at line 115 of file commands.cpp.

◆ commandShowLevel()

bool Actions::commandShowLevel ( InputEvent event)

Definition at line 111 of file commands.cpp.

◆ commandShowStats()

bool Actions::commandShowStats ( InputEvent event)

Definition at line 112 of file commands.cpp.

◆ commandShowStorage()

bool Actions::commandShowStorage ( InputEvent event)

Definition at line 113 of file commands.cpp.

◆ commandSpawn()

bool Actions::commandSpawn ( InputEvent event)

Definition at line 118 of file commands.cpp.

◆ commandSpawnClone()

bool Actions::commandSpawnClone ( InputEvent event)

Definition at line 120 of file commands.cpp.

◆ commandSpawnEvilClone()

bool Actions::commandSpawnEvilClone ( InputEvent event)

Definition at line 122 of file commands.cpp.

◆ commandSpawnSlave()

bool Actions::commandSpawnSlave ( InputEvent event)

Definition at line 119 of file commands.cpp.

◆ commandSpawnSlaveClone()

bool Actions::commandSpawnSlaveClone ( InputEvent event)

Definition at line 121 of file commands.cpp.

◆ commandUnjail()

bool Actions::commandUnjail ( InputEvent event)

Definition at line 140 of file commands.cpp.

◆ confGet()

bool Actions::confGet ( InputEvent event)

Definition at line 93 of file commands.cpp.

◆ confSet()

bool Actions::confSet ( InputEvent event)

Definition at line 91 of file commands.cpp.

◆ contextMenu()

bool Actions::contextMenu ( InputEvent event)

Definition at line 38 of file target.cpp.

◆ copyEquippedToOutfit()

bool Actions::copyEquippedToOutfit ( InputEvent event)

Definition at line 48 of file actions.cpp.

83 {

◆ craft()

bool Actions::craft ( InputEvent event)

Definition at line 98 of file commands.cpp.

◆ craftKey()

bool Actions::craftKey ( InputEvent event)

Definition at line 114 of file actions.cpp.

◆ crazyMoves()

bool Actions::crazyMoves ( InputEvent event)

Definition at line 37 of file move.cpp.

◆ createGuild()

bool Actions::createGuild ( InputEvent event)

Definition at line 45 of file chat.cpp.

◆ createItem()

bool Actions::createItem ( InputEvent event)

Definition at line 96 of file actions.cpp.

◆ createItems()

bool Actions::createItems ( InputEvent event)

Definition at line 95 of file actions.cpp.

◆ createParty()

bool Actions::createParty ( InputEvent event)

Definition at line 44 of file chat.cpp.

◆ createPublicChatRoom()

bool Actions::createPublicChatRoom ( InputEvent event)

Definition at line 88 of file commands.cpp.

◆ debugSpawn()

bool Actions::debugSpawn ( InputEvent event)

Definition at line 77 of file commands.cpp.

◆ debugWindowShow()

bool Actions::debugWindowShow ( InputEvent event)

Definition at line 42 of file windows.cpp.

◆ didYouKnowWindowShow()

bool Actions::didYouKnowWindowShow ( InputEvent event)

Definition at line 51 of file windows.cpp.

◆ directDown()

bool Actions::directDown ( InputEvent event)

Definition at line 41 of file move.cpp.

◆ directLeft()

bool Actions::directLeft ( InputEvent event)

Definition at line 42 of file move.cpp.

◆ directRight()

bool Actions::directRight ( InputEvent event)

Definition at line 43 of file move.cpp.

◆ directUp()

bool Actions::directUp ( InputEvent event)

Definition at line 40 of file move.cpp.

◆ dirs()

bool Actions::dirs ( InputEvent event)

Definition at line 77 of file actions.cpp.

83 {

Referenced by VirtFs::ZipReader::readArchiveInfo().

◆ disableAway()

bool Actions::disableAway ( InputEvent event)

Definition at line 71 of file commands.cpp.

◆ disableHighlight()

bool Actions::disableHighlight ( InputEvent event)

Definition at line 68 of file commands.cpp.

◆ disconnect()

bool Actions::disconnect ( InputEvent event)

Definition at line 75 of file actions.cpp.

83 {

◆ dontRemoveName()

bool Actions::dontRemoveName ( InputEvent event)

Definition at line 69 of file commands.cpp.

◆ doSit()

static void Actions::doSit ( )
static

Definition at line 697 of file actions.cpp.

698 {
701  else
703 }
bool isActionActive(const InputActionT index) const
bool toggleSit() const
bool updateSit() const
InputManager inputManager
LocalPlayer * localPlayer

References InputAction::EMOTE, inputManager, InputManager::isActionActive(), localPlayer, LocalPlayer::toggleSit(), and LocalPlayer::updateSit().

◆ dropItem()

bool Actions::dropItem ( InputEvent event)

Definition at line 38 of file actions.cpp.

83 {

◆ dropItem0()

bool Actions::dropItem0 ( InputEvent event)

Definition at line 37 of file actions.cpp.

83 {

◆ dropItemId()

bool Actions::dropItemId ( InputEvent event)

Definition at line 39 of file actions.cpp.

83 {

◆ dropItemIdAll()

bool Actions::dropItemIdAll ( InputEvent event)

Definition at line 41 of file actions.cpp.

83 {

◆ dropItemInv()

bool Actions::dropItemInv ( InputEvent event)

Definition at line 40 of file actions.cpp.

83 {

◆ dropItemInvAll()

bool Actions::dropItemInvAll ( InputEvent event)

Definition at line 42 of file actions.cpp.

83 {

◆ dropShortcutWindowShow()

bool Actions::dropShortcutWindowShow ( InputEvent event)

Definition at line 47 of file windows.cpp.

◆ dump()

bool Actions::dump ( InputEvent event)

Definition at line 79 of file actions.cpp.

83 {

◆ dumpEnvironment()

bool Actions::dumpEnvironment ( InputEvent event)

Definition at line 87 of file actions.cpp.

◆ dumpGL()

bool Actions::dumpGL ( InputEvent event)

Definition at line 90 of file actions.cpp.

◆ dumpGraphics()

bool Actions::dumpGraphics ( InputEvent event)

Definition at line 86 of file actions.cpp.

◆ dumpMemoryUsage()

bool Actions::dumpMemoryUsage ( InputEvent event)

Definition at line 118 of file actions.cpp.

◆ dumpMods()

bool Actions::dumpMods ( InputEvent event)

Definition at line 91 of file actions.cpp.

◆ dumpOGL()

bool Actions::dumpOGL ( InputEvent event)

Definition at line 89 of file actions.cpp.

◆ dumpTests()

bool Actions::dumpTests ( InputEvent event)

Definition at line 88 of file actions.cpp.

◆ emote()

bool Actions::emote ( InputEvent event)

Definition at line 31 of file actions.cpp.

83 {

Referenced by Ea::BeingRecv::processBeingEmotion(), and EmoteShortcut::useEmote().

◆ emoteShortcutWindowShow()

bool Actions::emoteShortcutWindowShow ( InputEvent event)

Definition at line 44 of file windows.cpp.

◆ enableAway()

bool Actions::enableAway ( InputEvent event)

Definition at line 72 of file commands.cpp.

◆ enableHighlight()

bool Actions::enableHighlight ( InputEvent event)

Definition at line 67 of file commands.cpp.

◆ equipmentWindowShow()

bool Actions::equipmentWindowShow ( InputEvent event)

Definition at line 37 of file windows.cpp.

◆ error()

bool Actions::error ( InputEvent event)

◆ execute()

bool Actions::execute ( InputEvent event)

Definition at line 66 of file commands.cpp.

◆ findBeing()

static Being* Actions::findBeing ( const std::string &  name,
const bool  npc 
)
static

Definition at line 212 of file actions.cpp.

213 {
214  if ((localPlayer == nullptr) || (actorManager == nullptr))
215  return nullptr;
216 
217  Being *being = nullptr;
218 
219  if (name.empty())
220  {
221  being = localPlayer->getTarget();
222  }
223  else
224  {
225  being = actorManager->findBeingByName(
226  name, ActorType::Unknown);
227  }
228  if ((being == nullptr) && npc)
229  {
232  if (being != nullptr)
233  {
234  if (abs(being->getTileX() - localPlayer->getTileX()) > 1
235  || abs(being->getTileY() - localPlayer->getTileY()) > 1)
236  {
237  being = nullptr;
238  }
239  }
240  }
241  if ((being == nullptr) && npc)
242  {
245  if (being != nullptr)
246  {
247  if (abs(being->getTileX() - localPlayer->getTileX()) > 1
248  || abs(being->getTileY() - localPlayer->getTileY()) > 1)
249  {
250  being = nullptr;
251  }
252  }
253  }
254  return being;
255 }
ActorManager * actorManager
const bool AllowSort_true
Definition: allowsort.h:30
Being * findNearestLivingBeing(const int x, const int y, int maxTileDist, const ActorTypeT type, const Being *const excluded) const
Being * findBeingByName(const std::string &name, const ActorTypeT type) const
Definition: being.h:96
int getTileX() const
Definition: being.h:168
int getTileY() const
Definition: being.h:174
Being * getTarget() const

References actorManager, AllowSort_true, ActorManager::findBeingByName(), ActorManager::findNearestLivingBeing(), LocalPlayer::getTarget(), Being::getTileX(), Being::getTileY(), localPlayer, ActorType::Npc, ActorType::Player, and ActorType::Unknown.

◆ fireHomunculus()

bool Actions::fireHomunculus ( InputEvent event)

Definition at line 81 of file commands.cpp.

◆ follow()

bool Actions::follow ( InputEvent event)

Definition at line 50 of file commands.cpp.

Referenced by Particle::setFollow().

◆ getAmountFromEvent()

static int Actions::getAmountFromEvent ( const InputEvent event,
Item *&  item0,
const InventoryTypeT  invType 
)
static

Definition at line 286 of file actions.cpp.

289 {
290  Item *const item = getItemByInvIndex(atoi(event.args.c_str()),
291  invType);
292  item0 = item;
293  if (item == nullptr)
294  return 0;
295 
296  std::string str = event.args;
297  removeToken(str, " ");
298 
299  if (str.empty())
300  return 0;
301 
302  int amount = 0;
303  if (str[0] == '-')
304  {
305  if (str.size() > 1)
306  {
307  amount = item->getQuantity() - atoi(str.substr(1).c_str());
308  if (amount <= 0 || amount > item->getQuantity())
309  amount = item->getQuantity();
310  }
311  }
312  else if (str == "/")
313  {
314  amount = item->getQuantity() / 2;
315  }
316  else if (str == "all")
317  {
318  amount = item->getQuantity();
319  }
320  else
321  {
322  amount = atoi(str.c_str());
323  }
324  return amount;
325 }
Definition: item.h:50
int getQuantity() const
Definition: item.h:105
static Item * getItemByInvIndex(const int index, const InventoryTypeT invType)
Definition: actions.cpp:257
std::string removeToken(std::string &str, const std::string &token)
const std::string args
Definition: inputevent.h:70

References InputEvent::args, getItemByInvIndex(), Item::getQuantity(), and removeToken().

◆ getItemByInvIndex()

static Item* Actions::getItemByInvIndex ( const int  index,
const InventoryTypeT  invType 
)
static

Definition at line 257 of file actions.cpp.

259 {
260  const Inventory *inv = nullptr;
261  switch (invType)
262  {
265  break;
266 
268  inv = PlayerInfo::getInventory();
269  break;
271  case InventoryType::Npc:
272  case InventoryType::Cart:
278  default:
279  break;
280  }
281  if (inv != nullptr)
282  return inv->getItem(index);
283  return nullptr;
284 }
Item * getItem(const int index) const
Definition: inventory.cpp:83
Inventory * getInventory()
Definition: playerinfo.cpp:195
Inventory * getStorageInventory()
Definition: playerinfo.cpp:200

References InventoryType::Cart, InventoryType::Craft, PlayerInfo::getInventory(), Inventory::getItem(), PlayerInfo::getStorageInventory(), InventoryType::Inventory, InventoryType::MailEdit, InventoryType::MailView, InventoryType::Npc, InventoryType::Storage, InventoryType::Trade, InventoryType::TypeEnd, and InventoryType::Vending.

Referenced by getAmountFromEvent().

◆ getNick()

static std::string Actions::getNick ( const InputEvent event)
static

Definition at line 98 of file commands.cpp.

99 {
100  std::string args = event.args;
101  if (args.empty())
102  {
103  if (event.tab == nullptr ||
104  event.tab->getType() != ChatTabType::WHISPER)
105  {
106  return std::string();
107  }
108 
109  WhisperTab *const whisper = static_cast<WhisperTab *>(event.tab);
110  if (whisper->getNick().empty())
111  {
112  // TRANSLATORS: change relation
113  event.tab->chatLog(_("Please specify a name."),
117  return std::string();
118  }
119  args = whisper->getNick();
120  }
121  return args;
122 }
ChatTabTypeT getType() const
Definition: chattab.h:145
void chatLog(std::string line, ChatMsgTypeT own, const IgnoreRecord ignoreRecord, const TryRemoveColors tryRemoveColors)
Definition: chattab.cpp:111
const std::string & getNick() const
Definition: whispertab.h:37

References _, ChatMsgType::BY_SERVER, ChatTab::chatLog(), WhisperTab::getNick(), ChatTab::getType(), IgnoreRecord_false, InputEvent::tab, TryRemoveColors_true, and ChatTabType::WHISPER.

Referenced by changeRelation().

◆ getPet()

static const Being* Actions::getPet ( )
static

Definition at line 53 of file pets.cpp.

54 {
56  if (id == BeingId_zero)
57  return nullptr;
58  return actorManager->findBeing(id);
59 }
int BeingId
Definition: beingid.h:30
const BeingId BeingId_zero
Definition: beingid.h:30
Being * findBeing(const BeingId id) const
BeingId getPetBeingId()
Definition: playerinfo.cpp:581

References actorManager, BeingId_zero, ActorManager::findBeing(), and PlayerInfo::getPetBeingId().

◆ gm()

bool Actions::gm ( InputEvent event)

◆ guild()

bool Actions::guild ( InputEvent event)

Definition at line 47 of file chat.cpp.

Referenced by outString().

◆ guildNotice()

bool Actions::guildNotice ( InputEvent event)

Definition at line 64 of file chat.cpp.

◆ hack()

bool Actions::hack ( InputEvent event)

Definition at line 76 of file commands.cpp.

Referenced by TcpNet::open().

◆ hat()

bool Actions::hat ( InputEvent event)

◆ heal()

bool Actions::heal ( InputEvent event)

Definition at line 43 of file actions.cpp.

83 {

Referenced by Ea::BeingRecv::processSkillNoDamage(), and PopupMenu::showPlayerGMCommands().

◆ healmd()

bool Actions::healmd ( InputEvent event)

Definition at line 44 of file actions.cpp.

83 {

◆ helpWindowShow()

bool Actions::helpWindowShow ( InputEvent event)

Definition at line 33 of file windows.cpp.

◆ hideWindows()

bool Actions::hideWindows ( InputEvent event)

Definition at line 32 of file windows.cpp.

◆ homunculusFeed()

bool Actions::homunculusFeed ( InputEvent event)

Definition at line 103 of file actions.cpp.

◆ homunculusToMaster()

bool Actions::homunculusToMaster ( InputEvent event)

Definition at line 102 of file actions.cpp.

◆ homunEmote()

bool Actions::homunEmote ( InputEvent event)

Definition at line 86 of file commands.cpp.

◆ homunTalk()

bool Actions::homunTalk ( InputEvent event)

Definition at line 85 of file commands.cpp.

◆ ignoreAllWhispers()

bool Actions::ignoreAllWhispers ( InputEvent event)

Definition at line 36 of file chat.cpp.

◆ ignoreInput()

bool Actions::ignoreInput ( InputEvent event)

Definition at line 52 of file actions.cpp.

83 {

◆ ignorePickup()

bool Actions::ignorePickup ( InputEvent event)

Definition at line 103 of file commands.cpp.

◆ imitation()

bool Actions::imitation ( InputEvent event)

Definition at line 55 of file commands.cpp.

◆ info()

bool Actions::info ( InputEvent event)

Definition at line 57 of file commands.cpp.

Referenced by _SDL_gfxBlitBlitterRGBA(), _SDL_gfxBlitRGBACall(), WindowMenu::action(), SkillDialog::action(), PopupMenu::addBeingMenu(), PopupMenu::addItemMenu(), Being::addItemParticlesCards(), SkillModel::addSkill(), ServerInfoWindow::addSourcesList(), PopupMenu::addUse(), EAthena::BeingRecv::createBeing2(), NpcDialog::createSkinControls(), GraphicsManager::detectPixelSize(), DragDrop::dragSkill(), ServersListBox::draw(), Being::drawHomunculusSpriteAt(), Being::drawMercenarySpriteAt(), TestMain::exec(), MapDB::getAtlas(), LocalPlayer::getAttackRange(), NPCDB::getAvatarFor(), ItemPopup::getCardsString(), ItemColorManager::getColorFromCards(), SkillModel::getElementAt(), Being::getHitEffect(), Item::getImage(), MapDB::getMapAtlas(), FloorItem::getName(), Item::getName(), SkillDialog::getSkillData(), SkillDialog::getSkillDataByLevel(), ItemSoundManager::getSoundEffect(), EmoteDB::getSprite(), SDL::getWindowWMInfo(), Being::handleAttack(), SkillDialog::hideSkills(), IconsModel::IconsModel(), ItemsModal::ItemsModal(), WindowMenu::loadButtons(), MapReader::loadEmptyAtlas(), TextCommand::loadImage(), Theme::loadInfo(), Setup_Mods::loadMods(), LocalPlayer::logic(), NotifyManager::notify(), ServerInfo::operator=(), ItemSoundManager::playSfx(), FloorItem::postInit(), EAthena::BeingRecv::processBeingAttrs(), Ea::BeingRecv::processBeingRemove(), EAthena::CashShopRecv::processCashShopOpen(), EAthena::ClanRecv::processClanInfo(), EAthena::HomunculusRecv::processHomunculusData(), EAthena::HomunculusRecv::processHomunculusInfo1(), EAthena::HomunculusRecv::processHomunculusInfo2(), EAthena::HomunculusRecv::processHomunculusInfo3(), EAthena::MarketRecv::processMarketOpen(), EAthena::BuySellRecv::processNpcBuy(), EAthena::PetRecv::processPetData(), EAthena::PetRecv::processPetStatus(), EAthena::InventoryRecv::processPlayerItemRentalExpired(), EAthena::InventoryRecv::processPlayerItemRentalTime(), EAthena::VendingRecv::processReport(), EAthena::SkillRecv::processSkillFailed(), BeingCommon::readAiAttributes(), BeingCommon::readBasicAttributes(), BeingCommon::readWalkingAttributes(), Being::recalcSpritesOrder(), SkillDialog::removeSkill(), BrowserBoxTools::replaceLinkCommands(), SkillDialog::selectSkillCastType(), SkillDialog::selectSkillLevel(), NpcSellDialog::sellAction(), ServerInfo::ServerInfo(), Being::setAction(), Being::setEmote(), Being::setGender(), Being::setHairTempSprite(), PlayerInfo::setHomunculus(), Item::setId(), PlayerInfo::setMercenary(), PlayerInfo::setPet(), SkillDialog::setSkillDuration(), SkillDialog::setSkillOffsetX(), SkillDialog::setSkillOffsetY(), Being::setSpriteCards(), Being::setSpriteColor(), Being::setSpriteColorId(), Being::setSpriteId(), Being::setSubtype(), Being::setTempSprite(), GraphicsManager::setVideoMode(), BeingPopup::show(), NpcDialog::showAvatar(), WindowMenu::showButton(), PopupMenu::showPopup(), PopupMenu::showSkillLevelPopup(), PopupMenu::showSkillOffsetPopup(), PopupMenu::showSkillPopup(), PopupMenu::showSkillTypePopup(), SkillDialog::update(), InventoryWindow::updateButtons(), SkillDialog::updateModels(), SkillDialog::updateModelsHidden(), GraphicsManager::updatePlanformExtensions(), SkillDialog::updateQuest(), SkillDialog::updateSkill(), SkillDialog::updateTabSelection(), uploadFile(), uploadUpdate(), SkillDialog::useItem(), SkillDialog::useSkill(), SkillDialog::useSkillDefault(), SkillDialog::useSkillPosition(), SkillDialog::useSkillTarget(), Graphics::videoInfo(), and TestMain::writeConfig().

◆ inventoryWindowShow()

bool Actions::inventoryWindowShow ( InputEvent event)

Definition at line 36 of file windows.cpp.

◆ invToStorage()

bool Actions::invToStorage ( InputEvent event)

Definition at line 106 of file actions.cpp.

◆ ipcToggle()

bool Actions::ipcToggle ( InputEvent event)

Definition at line 66 of file actions.cpp.

83 {

◆ itemInfo()

bool Actions::itemInfo ( InputEvent event)

◆ itenplz()

bool Actions::itenplz ( InputEvent event)

Definition at line 45 of file actions.cpp.

83 {

◆ joinChatRoom()

bool Actions::joinChatRoom ( InputEvent event)

Definition at line 89 of file commands.cpp.

◆ kick()

bool Actions::kick ( InputEvent event)

◆ kickGuild()

bool Actions::kickGuild ( InputEvent event)

Definition at line 51 of file chat.cpp.

◆ kickParty()

bool Actions::kickParty ( InputEvent event)

Definition at line 50 of file chat.cpp.

◆ killStatsWindowShow()

bool Actions::killStatsWindowShow ( InputEvent event)

Definition at line 48 of file windows.cpp.

◆ leaveChatRoom()

bool Actions::leaveChatRoom ( InputEvent event)

Definition at line 90 of file commands.cpp.

◆ leaveGuild()

bool Actions::leaveGuild ( InputEvent event)

Definition at line 83 of file commands.cpp.

◆ leaveParty()

bool Actions::leaveParty ( InputEvent event)

Definition at line 82 of file commands.cpp.

◆ locatePlayer()

bool Actions::locatePlayer ( InputEvent event)

Definition at line 116 of file commands.cpp.

◆ magicAttack()

bool Actions::magicAttack ( InputEvent event)

Definition at line 47 of file actions.cpp.

83 {

◆ mailTo()

bool Actions::mailTo ( InputEvent event)

Definition at line 148 of file commands.cpp.

◆ mailWindowShow()

bool Actions::mailWindowShow ( InputEvent event)

Definition at line 57 of file windows.cpp.

◆ me()

bool Actions::me ( InputEvent event)

Definition at line 48 of file chat.cpp.

◆ mercenaryFire()

bool Actions::mercenaryFire ( InputEvent event)

Definition at line 100 of file actions.cpp.

◆ mercenaryToMaster()

bool Actions::mercenaryToMaster ( InputEvent event)

Definition at line 101 of file actions.cpp.

◆ minimapWindowShow()

bool Actions::minimapWindowShow ( InputEvent event)

Definition at line 39 of file windows.cpp.

◆ mobSearch()

bool Actions::mobSearch ( InputEvent event)

Definition at line 107 of file commands.cpp.

◆ mobSpawnSearch()

bool Actions::mobSpawnSearch ( InputEvent event)

Definition at line 108 of file commands.cpp.

◆ monsterInfo()

bool Actions::monsterInfo ( InputEvent event)

Definition at line 104 of file commands.cpp.

◆ mouseClick()

bool Actions::mouseClick ( InputEvent event)

Definition at line 33 of file actions.cpp.

83 {

◆ move()

bool Actions::move ( InputEvent event)

◆ moveAttackDown()

bool Actions::moveAttackDown ( InputEvent event)

Definition at line 163 of file commands.cpp.

◆ moveAttackUp()

bool Actions::moveAttackUp ( InputEvent event)

Definition at line 162 of file commands.cpp.

◆ moveCamera()

bool Actions::moveCamera ( InputEvent event)

Definition at line 53 of file commands.cpp.

◆ moveDown()

bool Actions::moveDown ( InputEvent event)

Definition at line 32 of file move.cpp.

◆ moveForward()

bool Actions::moveForward ( InputEvent event)

Definition at line 35 of file move.cpp.

◆ moveLeft()

bool Actions::moveLeft ( InputEvent event)

Definition at line 33 of file move.cpp.

◆ movePriorityAttackDown()

bool Actions::movePriorityAttackDown ( InputEvent event)

Definition at line 165 of file commands.cpp.

◆ movePriorityAttackUp()

bool Actions::movePriorityAttackUp ( InputEvent event)

Definition at line 164 of file commands.cpp.

◆ moveRight()

bool Actions::moveRight ( InputEvent event)

Definition at line 34 of file move.cpp.

◆ moveToHome()

bool Actions::moveToHome ( InputEvent event)

Definition at line 39 of file move.cpp.

◆ moveToPoint()

bool Actions::moveToPoint ( InputEvent event)

Definition at line 36 of file move.cpp.

◆ moveToTarget()

bool Actions::moveToTarget ( InputEvent event)

Definition at line 38 of file move.cpp.

◆ moveUp()

bool Actions::moveUp ( InputEvent event)

Definition at line 31 of file move.cpp.

◆ msg()

bool Actions::msg ( InputEvent event)

Definition at line 39 of file chat.cpp.

Referenced by CharSelectDialog::action(), ChatWindow::addColors(), ChatWindow::addWhisper(), LocalPlayer::afkRespond(), GuildManager::chat(), ChatTab::chatInput(), ChatWindow::chatInput(), ChatTab::chatLog(), ConfirmDialog::ConfirmDialog(), ChatWindow::debugMessage(), AssertListener::debugMessage(), EAthena::Network::dispatchMessages(), TmwAthena::Network::dispatchMessages(), DebugMessageListener::distributeEvent(), ChatWindow::doReplace(), EditDialog::EditDialog(), Logger::error(), EAthena::ChatRecv::extractChannelFromMessage(), IPC::flush(), free_pointer(), EAthena::NpcHandler::getNpc(), TmwAthena::NpcHandler::getNpc(), ChatTab::handleCommandStr(), WhisperTab::handleCommandStr(), ChatTab::handleHelp(), ChannelTab::handleInput(), ChatTab::handleInput(), ClanTab::handleInput(), EmulateGuildTab::handleInput(), GmTab::handleInput(), GuildTab::handleInput(), PartyTab::handleInput(), TradeTab::handleInput(), WhisperTab::handleInput(), GuildManager::invite(), GuildManager::kick(), ChatWindow::localChatInput(), ResourceManager::logResources(), GuildManager::notice(), OkDialog::OkDialog(), LocalPlayer::pickedUp(), PincodeDialog::PincodeDialog(), GuildManager::process(), EAthena::AdminRecv::processAccountStats(), EAthena::AchievementRecv::processAchievementGetReward(), EAthena::AchievementRecv::processAchievementList(), EAthena::AchievementRecv::processAchievementUpdate(), EAthena::QuestRecv::processActivateQuest(), EAthena::Mail2Recv::processAddItemResult(), EAthena::MapRecv::processAddMapMarker(), EAthena::QuestRecv::processAddQuest(), EAthena::QuestRecv::processAddQuest2(), EAthena::QuestRecv::processAddQuests(), EAthena::QuestRecv::processAddQuests2(), EAthena::QuestRecv::processAddQuestsObjectives(), EAthena::AdminRecv::processAdminGetLoginAck(), EAthena::BeingRecv::processAlchemistRanksList(), EAthena::NpcRecv::processArea(), EAthena::FamilyRecv::processAskForChild(), EAthena::FamilyRecv::processAskForChildReply(), EAthena::AuctionRecv::processAuctionClose(), EAthena::AuctionRecv::processAuctionMessage(), EAthena::AuctionRecv::processAuctionResults(), EAthena::AuctionRecv::processAuctionSetItem(), EAthena::BankRecv::processBankDeposit(), EAthena::BankRecv::processBankStatus(), EAthena::BankRecv::processBankWithdraw(), EAthena::BattleGroundRecv::processBattleBegins(), EAthena::ChatRecv::processBattleChatMessage(), EAthena::BattleGroundRecv::processBattleEmblem(), EAthena::BattleGroundRecv::processBattleEmblem2(), EAthena::BattleGroundRecv::processBattleJoined(), EAthena::BattleGroundRecv::processBattleNoticeDelete(), EAthena::BattleGroundRecv::processBattlePlay(), EAthena::BattleGroundRecv::processBattleQueueAck(), EAthena::BattleGroundRecv::processBattleUpdateCoords(), EAthena::BattleGroundRecv::processBattleUpdateHp(), EAthena::BattleGroundRecv::processBattleUpdateScore(), Ea::BeingRecv::processBeingAction(), EAthena::BeingRecv::processBeingAction2(), EAthena::BeingRecv::processBeingAttrs(), EAthena::BeingRecv::processBeingChangeDirection(), TmwAthena::BeingRecv::processBeingChangeDirection(), TmwAthena::BeingRecv::processBeingChangeLook(), EAthena::BeingRecv::processBeingChangeLook2(), TmwAthena::BeingRecv::processBeingChangeLook2(), EAthena::BeingRecv::processBeingChangeLookCards(), EAthena::BeingRecv::processBeingCharm(), EAthena::ChatRecv::processBeingChat(), TmwAthena::ChatRecv::processBeingChat(), Ea::BeingRecv::processBeingEmotion(), EAthena::BeingRecv::processBeingFakeName(), EAthena::BeingRecv::processBeingFont(), EAthena::BeingRecv::processBeingHatEffects(), EAthena::BeingRecv::processBeingHp(), EAthena::BeingRecv::processBeingMilleniumShield(), EAthena::BeingRecv::processBeingMove(), TmwAthena::BeingRecv::processBeingMove(), EAthena::BeingRecv::processBeingMove2(), TmwAthena::BeingRecv::processBeingMove2(), Ea::BeingRecv::processBeingMove3(), Ea::BeingRecv::processBeingRemove(), EAthena::BeingRecv::processBeingRemoveSkill(), EAthena::BeingRecv::processBeingRemoveSpecialEffect(), EAthena::BeingRecv::processBeingResurrect(), TmwAthena::BeingRecv::processBeingResurrect(), EAthena::BeingRecv::processBeingSelfEffect(), TmwAthena::BeingRecv::processBeingSelfEffect(), EAthena::BeingRecv::processBeingSlide(), EAthena::BeingRecv::processBeingSoundEffect(), EAthena::BeingRecv::processBeingSpawn(), TmwAthena::BeingRecv::processBeingSpawn(), EAthena::BeingRecv::processBeingSpecialEffect(), EAthena::BeingRecv::processBeingSpecialEffectNum(), EAthena::BeingRecv::processBeingStatUpdate1(), EAthena::BeingRecv::processBeingStatusChange(), TmwAthena::BeingRecv::processBeingStatusChange(), EAthena::BeingRecv::processBeingViewEquipment(), EAthena::BeingRecv::processBeingViewEquipment2(), EAthena::BeingRecv::processBeingVisible(), TmwAthena::BeingRecv::processBeingVisible(), EAthena::InventoryRecv::processBindItem(), EAthena::BeingRecv::processBlacksmithRanksList(), EAthena::BeingRecv::processBladeStop(), EAthena::BeingRecv::processBossMapInfo(), EAthena::VendingRecv::processBuyAck(), EAthena::BuyingStoreRecv::processBuyingStoreCreateFailed(), EAthena::BuyingStoreRecv::processBuyingStoreDeleteItem(), EAthena::BuyingStoreRecv::processBuyingStoreHideBoard(), EAthena::BuyingStoreRecv::processBuyingStoreItemsList(), EAthena::BuyingStoreRecv::processBuyingStoreOpen(), EAthena::BuyingStoreRecv::processBuyingStoreOwnItems(), EAthena::BuyingStoreRecv::processBuyingStoreReport(), EAthena::BuyingStoreRecv::processBuyingStoreSellerSellFailed(), EAthena::BuyingStoreRecv::processBuyingStoreSellFailed(), EAthena::BuyingStoreRecv::processBuyingStoreShowBoard(), EAthena::FamilyRecv::processCallPartner(), EAthena::MapRecv::processCameraInfo(), EAthena::InventoryRecv::processCartAddError(), EAthena::InventoryRecv::processCartInfo(), EAthena::CashShopRecv::processCashShopBuy(), EAthena::CashShopRecv::processCashShopBuyAck(), EAthena::CashShopRecv::processCashShopOpen(), EAthena::CashShopRecv::processCashShopPoints(), EAthena::CashShopRecv::processCashShopSchedule(), EAthena::CashShopRecv::processCashShopTabPriceList(), EAthena::CharServerRecv::processChangeMapServer(), TmwAthena::CharServerRecv::processChangeMapServer(), Ea::NpcRecv::processChangeTitle(), EAthena::CharServerRecv::processCharBanCharList(), EAthena::CharServerRecv::processCharCaptchaNotSupported(), EAthena::CharServerRecv::processCharChangeSlot(), EAthena::CharServerRecv::processCharCharacters(), EAthena::CharServerRecv::processCharCheckRename(), EAthena::CharServerRecv::processCharCreate(), TmwAthena::CharServerRecv::processCharCreate(), Ea::CharServerRecv::processCharCreateFailed(), EAthena::CharServerRecv::processCharDelete2AcceptActual(), EAthena::CharServerRecv::processCharDelete2Ack(), EAthena::CharServerRecv::processCharDelete2CancelAck(), EAthena::CharServerRecv::processCharDeleteFailed(), TmwAthena::CharServerRecv::processCharDeleteFailed(), EAthena::CharServerRecv::processCharLogin(), TmwAthena::CharServerRecv::processCharLogin(), EAthena::CharServerRecv::processCharLogin2(), Ea::CharServerRecv::processCharLoginError(), EAthena::CharServerRecv::processCharMapInfo(), TmwAthena::CharServerRecv::processCharMapInfo(), EAthena::LoginRecv::processCharPasswordResponse(), TmwAthena::LoginRecv::processCharPasswordResponse(), EAthena::CharServerRecv::processCharRename(), Ea::GameRecv::processCharSwitchResponse(), EAthena::ChatRecv::processChat(), TmwAthena::ChatRecv::processChat(), EAthena::ChatRecv::processChatDisplay(), EAthena::ChatRecv::processChatIgnoreList(), EAthena::ChatRecv::processChatRoomAddMember(), EAthena::ChatRecv::processChatRoomCreateAck(), EAthena::ChatRecv::processChatRoomDestroy(), EAthena::ChatRecv::processChatRoomJoinAck(), EAthena::ChatRecv::processChatRoomJoinFailed(), EAthena::ChatRecv::processChatRoomLeave(), EAthena::ChatRecv::processChatRoomRoleChange(), EAthena::ChatRecv::processChatRoomSettings(), EAthena::ChatRecv::processChatSilence(), EAthena::ChatRecv::processChatTalkieBox(), EAthena::Mail2Recv::processCheckNameResult(), EAthena::ClanRecv::processClanChat(), EAthena::ClanRecv::processClanInfo(), EAthena::ClanRecv::processClanOnlineCount(), EAthena::BeingRecv::processClassChange(), EAthena::ChatRecv::processColorChat(), EAthena::BeingRecv::processComboDelay(), EAthena::LoginRecv::processCondingKey(), EAthena::GeneralRecv::processConnectionProblem(), TmwAthena::GeneralRecv::processConnectionProblem(), EAthena::MailRecv::processDeleteAck(), EAthena::FriendsRecv::processDeletePlayer(), EAthena::FamilyRecv::processDivorced(), EAthena::PlayerRecv::processDressRoomOpen(), EAthena::PetRecv::processEggsList(), EAthena::ElementalRecv::processElementalInfo(), EAthena::ElementalRecv::processElementalUpdateStatus(), EAthena::InventoryRecv::processEnchantEquipment(), EAthena::InventoryRecv::processEquipmentContinue(), EAthena::InventoryRecv::processFavoriteItem(), EAthena::ChatRecv::processFormatColor(), EAthena::ChatRecv::processFormatMessage(), EAthena::ChatRecv::processFormatMessageNumber(), EAthena::ChatRecv::processFormatMessageSkill(), EAthena::ChatRecv::processFormatMessageString(), EAthena::ChatRecv::processFormatMessageStringColor(), EAthena::FriendsRecv::processFriendsList(), EAthena::MailRecv::processGetAttachment(), EAthena::BeingRecv::processGladiatorFeelRequest(), EAthena::ChatRecv::processGmChat(), TmwAthena::ChatRecv::processGmChat(), EAthena::ChatRecv::processGmChat2(), EAthena::BeingRecv::processGraffiti(), EAthena::GuildRecv::processGuildAlianceInfo(), EAthena::GuildRecv::processGuildBasicInfo(), EAthena::GuildRecv::processGuildBroken(), EAthena::GuildRecv::processGuildCreateResponse(), EAthena::GuildRecv::processGuildDelAlliance(), EAthena::GuildRecv::processGuildEmblem(), EAthena::GuildRecv::processGuildEmblemData(), EAthena::GuildRecv::processGuildExpulsion(), EAthena::GuildRecv::processGuildExpulsion2(), EAthena::GuildRecv::processGuildExpulsionList1(), EAthena::GuildRecv::processGuildExpulsionList2(), EAthena::GuildRecv::processGuildExpulsionList3(), EAthena::GuildRecv::processGuildInvite(), EAthena::GuildRecv::processGuildInviteAck(), EAthena::GuildRecv::processGuildLeave(), EAthena::GuildRecv::processGuildLeave2(), EAthena::GuildRecv::processGuildMasterOrMember(), EAthena::GuildRecv::processGuildMemberList(), EAthena::GuildRecv::processGuildMemberLogin(), EAthena::GuildRecv::processGuildMemberPosChange(), GuildManager::processGuildMessage(), EAthena::GuildRecv::processGuildMessage(), EAthena::GuildRecv::processGuildNotice(), EAthena::GuildRecv::processGuildOppositionAck(), EAthena::GuildRecv::processGuildPosInfoList(), EAthena::GuildRecv::processGuildPositionChanged(), EAthena::GuildRecv::processGuildPositionInfo(), EAthena::GuildRecv::processGuildPosNameList(), EAthena::GuildRecv::processGuildReqAlliance(), EAthena::GuildRecv::processGuildReqAllianceAck(), EAthena::GuildRecv::processGuildSetPosition(), EAthena::GuildRecv::processGuildSkillInfo(), EAthena::GuildRecv::processGuildUpdateCoords(), EAthena::VendingRecv::processHideBoard(), EAthena::HomunculusRecv::processHomunculusData(), EAthena::HomunculusRecv::processHomunculusExp(), EAthena::HomunculusRecv::processHomunculusFood(), EAthena::HomunculusRecv::processHomunculusInfo1(), EAthena::HomunculusRecv::processHomunculusInfo2(), EAthena::HomunculusRecv::processHomunculusInfo3(), EAthena::HomunculusRecv::processHomunculusSkills(), EAthena::HomunculusRecv::processHomunculusSkillUp(), Ea::ChatRecv::processIgnoreAllResponse(), EAthena::ChatRecv::processIgnoreNickAck(), EAthena::MapRecv::processInstanceCreate(), EAthena::MapRecv::processInstanceDelete(), EAthena::MapRecv::processInstanceInfo(), EAthena::MapRecv::processInstanceStart(), EAthena::InventoryRecv::processInventoryContinue(), EAthena::InventoryRecv::processInventoryEnd1(), EAthena::InventoryRecv::processInventoryEnd2(), EAthena::InventoryRecv::processInventoryExpansionAck(), EAthena::InventoryRecv::processInventoryExpansionInfo(), EAthena::InventoryRecv::processInventoryExpansionResult(), EAthena::InventoryRecv::processInventoryStart1(), EAthena::InventoryRecv::processInventoryStart2(), EAthena::InventoryRecv::processInventoryStart3(), TmwAthena::BeingRecv::processIpResponse(), EAthena::InventoryRecv::processItemDamaged(), EAthena::ItemRecv::processItemDropped(), TmwAthena::ItemRecv::processItemDropped(), EAthena::ItemRecv::processItemDropped2(), EAthena::InventoryRecv::processItemMoveFailed(), EAthena::ItemRecv::processItemMvpDropped(), Ea::ItemRecv::processItemRemove(), EAthena::VendingRecv::processItemsList(), Ea::InventoryRecv::processItemUseResponse(), EAthena::ItemRecv::processItemVisible(), TmwAthena::ItemRecv::processItemVisible(), EAthena::ItemRecv::processItemVisible2(), EAthena::ChatRecv::processJoinChannel(), Ea::AdminRecv::processKickAck(), EAthena::PlayerRecv::processKilledBy(), EAthena::LoginRecv::processLoginData(), TmwAthena::LoginRecv::processLoginData(), Ea::LoginRecv::processLoginError(), EAthena::LoginRecv::processLoginError2(), EAthena::LoginRecv::processLoginOtp1(), EAthena::LoginRecv::processLoginOtp2(), EAthena::LoginRecv::processLoginOtp3(), EAthena::Mail2Recv::processMailDelete(), EAthena::Mail2Recv::processMailIcon(), EAthena::MailRecv::processMailList(), EAthena::Mail2Recv::processMailListPage(), EAthena::MailRecv::processMailOpen(), EAthena::MailRecv::processMailReturn(), EAthena::ChatRecv::processMannerMessage(), EAthena::GameRecv::processMapAccountId(), EAthena::GameRecv::processMapAuthRefuse(), EAthena::GameRecv::processMapLogin(), TmwAthena::GameRecv::processMapLogin(), Ea::PlayerRecv::processMapMask(), Ea::PlayerRecv::processMapMusic(), EAthena::GeneralRecv::processMapNotFound(), Ea::GameRecv::processMapQuitResponse(), EAthena::BeingRecv::processMapType(), EAthena::BeingRecv::processMapTypeProperty(), EAthena::MarketRecv::processMarketBuyAck(), EAthena::MarketRecv::processMarketOpen(), EAthena::MercenaryRecv::processMercenaryInfo(), EAthena::MercenaryRecv::processMercenarySkills(), EAthena::MercenaryRecv::processMercenaryUpdate(), EAthena::InventoryRecv::processMergeItem(), EAthena::InventoryRecv::processMergeItemResponse(), EAthena::LoginRecv::processMobileOtp(), EAthena::BeingRecv::processMobInfo(), EAthena::BeingRecv::processMonsterHp(), EAthena::BeingRecv::processMonsterInfo(), Ea::ChatRecv::processMVPEffect(), EAthena::ChatRecv::processMVPExp(), EAthena::ChatRecv::processMVPItem(), Ea::BeingRecv::processNameResponse(), EAthena::BeingRecv::processNameResponse2(), EAthena::BeingRecv::processNameResponseTitle(), EAthena::BeingRecv::processNavigateTo(), EAthena::MailRecv::processNewMail(), EAthena::PlayerRecv::processNotifyMapInfo(), EAthena::BuySellRecv::processNpcBuy(), TmwAthena::BuySellRecv::processNpcBuy(), EAthena::BuySellRecv::processNpcBuyResponse(), TmwAthena::BuySellRecv::processNpcBuyResponse(), Ea::BuySellRecv::processNpcBuySellChoice(), Ea::NpcRecv::processNpcChoice(), Ea::NpcRecv::processNpcClose(), EAthena::NpcRecv::processNpcCloseTimeout(), Ea::NpcRecv::processNpcCommand(), EAthena::NpcRecv::processNpcCutin(), Ea::NpcRecv::processNpcIntInput(), Ea::NpcRecv::processNpcMessage(), Ea::NpcRecv::processNpcNext(), EAthena::QuestRecv::processNpcQuestEffect(), Ea::BuySellRecv::processNpcSell(), EAthena::BuySellRecv::processNpcSellResponse(), TmwAthena::BuySellRecv::processNpcSellResponse(), EAthena::NpcRecv::processNpcShowProgressBar(), EAthena::NpcRecv::processNpcSkin(), Ea::NpcRecv::processNpcStrInput(), EAthena::NpcRecv::processNpcViewPoint(), EAthena::GuildRecv::processOnlineInfo(), EAthena::PlayerRecv::processOnlineList(), TmwAthena::PlayerRecv::processOnlineList(), EAthena::VendingRecv::processOpen(), EAthena::Mail2Recv::processOpenNewMailWindow(), EAthena::VendingRecv::processOpenReq(), EAthena::BarterRecv::processOpenShop(), EAthena::VendingRecv::processOpenStatus(), EAthena::AttendanceRecv::processOpenWindow(), EAthena::AuctionRecv::processOpenWindow(), EAthena::InventoryRecv::processOverWeightPercent(), Ea::PartyRecv::processPartyCreate(), EAthena::PartyRecv::processPartyInfo(), TmwAthena::PartyRecv::processPartyInfo(), EAthena::PartyRecv::processPartyInvitationStats(), EAthena::PartyRecv::processPartyInvited(), TmwAthena::PartyRecv::processPartyInvited(), EAthena::PartyRecv::processPartyInviteResponse(), TmwAthena::PartyRecv::processPartyInviteResponse(), EAthena::PartyRecv::processPartyItemPickup(), EAthena::PartyRecv::processPartyLeader(), Ea::PartyRecv::processPartyLeave(), EAthena::PartyRecv::processPartyMemberDead(), EAthena::PartyRecv::processPartyMemberInfo(), EAthena::PartyRecv::processPartyMemberJobLevel(), EAthena::PartyRecv::processPartyMessage(), TmwAthena::PartyRecv::processPartyMessage(), TmwAthena::PartyRecv::processPartyMove(), EAthena::PartyRecv::processPartySettings(), TmwAthena::PartyRecv::processPartySettings(), Ea::PartyRecv::processPartyUpdateCoords(), TmwAthena::PartyRecv::processPartyUpdateHp(), EAthena::PetRecv::processPetData(), EAthena::PetRecv::processPetEvolution(), EAthena::PetRecv::processPetFood(), EAthena::PetRecv::processPetMessage(), EAthena::PetRecv::processPetRoulette(), EAthena::PetRecv::processPetStatus(), EAthena::CharServerRecv::processPincodeEditStatus(), EAthena::CharServerRecv::processPincodeMakeStatus(), EAthena::CharServerRecv::processPincodeStatus(), EAthena::CharServerRecv::processPincodeStatus2(), EAthena::BeingRecv::processPkRanksList(), Ea::InventoryRecv::processPlayerArrowEquip(), Ea::PlayerRecv::processPlayerArrowMessage(), Ea::InventoryRecv::processPlayerAttackRange(), EAthena::PlayerRecv::processPlayerAttrs(), EAthena::PlayerRecv::processPlayerAutoShadowSpellList(), EAthena::InventoryRecv::processPlayerCartAdd(), EAthena::InventoryRecv::processPlayerCartEquip(), EAthena::InventoryRecv::processPlayerCartItems(), EAthena::InventoryRecv::processPlayerCartRemove(), Ea::PlayerRecv::processPlayerClientCommand(), EAthena::InventoryRecv::processPlayerCombinedEquipment1(), EAthena::InventoryRecv::processPlayerCombinedEquipment2(), EAthena::InventoryRecv::processPlayerCombinedInventory1(), EAthena::InventoryRecv::processPlayerCombinedInventory2(), EAthena::InventoryRecv::processPlayerCookingList(), EAthena::InventoryRecv::processPlayerEquip(), TmwAthena::InventoryRecv::processPlayerEquip(), EAthena::InventoryRecv::processPlayerEquipment(), TmwAthena::InventoryRecv::processPlayerEquipment(), EAthena::PlayerRecv::processPlayerFameAlchemist(), EAthena::PlayerRecv::processPlayerFameBlacksmith(), EAthena::PlayerRecv::processPlayerFameTaekwon(), EAthena::PlayerRecv::processPlayerGetExp(), EAthena::PlayerRecv::processPlayerGetExp2(), EAthena::BeingRecv::processPlayerGuilPartyInfo(), TmwAthena::BeingRecv::processPlayerGuilPartyInfo(), EAthena::BeingRecv::processPlayerGuilPartyInfo2(), EAthena::PlayerRecv::processPlayerHeal(), EAthena::InventoryRecv::processPlayerIdentified(), EAthena::InventoryRecv::processPlayerIdentifyList(), EAthena::InventoryRecv::processPlayerInsertCard(), EAthena::InventoryRecv::processPlayerInventory(), TmwAthena::InventoryRecv::processPlayerInventory(), EAthena::InventoryRecv::processPlayerInventoryAdd(), TmwAthena::InventoryRecv::processPlayerInventoryAdd(), EAthena::InventoryRecv::processPlayerInventoryRemove(), TmwAthena::InventoryRecv::processPlayerInventoryRemove(), EAthena::InventoryRecv::processPlayerInventoryRemove2(), EAthena::InventoryRecv::processPlayerInventoryUse(), TmwAthena::InventoryRecv::processPlayerInventoryUse(), EAthena::InventoryRecv::processPlayerItemRentalExpired(), EAthena::InventoryRecv::processPlayerItemRentalTime(), TmwAthena::BeingRecv::processPlayerMove(), Ea::BeingRecv::processPlayerMoveToAttack(), EAthena::FriendsRecv::processPlayerOnline(), TmwAthena::QuestRecv::processPlayerQuests(), EAthena::PlayerRecv::processPlayerRankPoints(), EAthena::PlayerRecv::processPlayerReadBook(), EAthena::InventoryRecv::processPlayerRefine(), EAthena::InventoryRecv::processPlayerRefineList(), EAthena::InventoryRecv::processPlayerRepairEffect(), EAthena::InventoryRecv::processPlayerRepairList(), EAthena::PlayerRecv::processPlayerShortcuts1(), EAthena::PlayerRecv::processPlayerShortcuts2(), EAthena::PlayerRecv::processPlayerShortcuts3(), EAthena::PlayerRecv::processPlayerShowEquip(), EAthena::PlayerRecv::processPlayerSkillMessage(), EAthena::SkillRecv::processPlayerSkills(), TmwAthena::SkillRecv::processPlayerSkills(), Ea::SkillRecv::processPlayerSkillUp(), Ea::PlayerRecv::processPlayerStatUpdate1(), Ea::PlayerRecv::processPlayerStatUpdate2(), Ea::PlayerRecv::processPlayerStatUpdate3(), Ea::PlayerRecv::processPlayerStatUpdate4(), EAthena::PlayerRecv::processPlayerStatUpdate5(), TmwAthena::PlayerRecv::processPlayerStatUpdate5(), Ea::PlayerRecv::processPlayerStatUpdate6(), EAthena::PlayerRecv::processPlayerStatUpdate7(), EAthena::BeingRecv::processPlayerStatusChange(), TmwAthena::BeingRecv::processPlayerStatusChange(), EAthena::BeingRecv::processPlayerStatusChange2(), Ea::BeingRecv::processPlayerStop(), EAthena::InventoryRecv::processPlayerStorage(), TmwAthena::InventoryRecv::processPlayerStorage(), EAthena::InventoryRecv::processPlayerStorageAdd(), TmwAthena::InventoryRecv::processPlayerStorageAdd(), EAthena::InventoryRecv::processPlayerStorageEquip(), TmwAthena::InventoryRecv::processPlayerStorageEquip(), EAthena::InventoryRecv::processPlayerStoragePassword(), EAthena::InventoryRecv::processPlayerStoragePasswordResult(), EAthena::InventoryRecv::processPlayerStorageRemove(), TmwAthena::InventoryRecv::processPlayerStorageRemove(), Ea::InventoryRecv::processPlayerStorageStatus(), EAthena::InventoryRecv::processPlayerUnEquip(), TmwAthena::InventoryRecv::processPlayerUnEquip(), TmwAthena::BeingRecv::processPlayerUpdate1(), TmwAthena::BeingRecv::processPlayerUpdate2(), EAthena::PlayerRecv::processPlayerUpgradeMessage(), EAthena::InventoryRecv::processPlayerUseCard(), Ea::PlayerRecv::processPlayerWarp(), EAthena::PlayerRecv::processPlayerZCConfig(), EAthena::NpcRecv::processPrivateAirShipResponse(), EAthena::PlayerRecv::processPvpInfo(), Ea::BeingRecv::processPvpMapMode(), EAthena::BeingRecv::processPvpSet(), TmwAthena::BeingRecv::processPvpSet(), EAthena::BeingRecv::processRanksList1(), EAthena::BeingRecv::processRanksList2(), EAthena::Mail2Recv::processReadMail(), EAthena::MailRecv::processReadMail(), EAthena::RefineRecv::processRefineAddItem(), EAthena::RefineRecv::processRefineAnnounce(), EAthena::Mail2Recv::processRemoveItemResult(), EAthena::QuestRecv::processRemoveQuest(), EAthena::VendingRecv::processReport(), ShopWindow::processRequest(), EAthena::FriendsRecv::processRequest(), EAthena::FriendsRecv::processRequestAck(), EAthena::Mail2Recv::processRequestItems(), EAthena::Mail2Recv::processRequestMoney(), EAthena::RouletteRecv::processRouletteClose(), EAthena::RouletteRecv::processRouletteGenerateAckType(), EAthena::RouletteRecv::processRouletteInfoAckType(), EAthena::RouletteRecv::processRouletteItemAck(), EAthena::RouletteRecv::processRouletteOpenAck(), EAthena::ChatRecv::processScriptMessage(), TmwAthena::ChatRecv::processScriptMessage(), EAthena::SearchStoreRecv::processSearchAck(), EAthena::SearchStoreRecv::processSearchClickAck(), EAthena::SearchStoreRecv::processSearchFailed(), EAthena::SearchStoreRecv::processSearchOpen(), EAthena::InventoryRecv::processSelectCart(), EAthena::PlayerRecv::processSelectStyleAck(), EAthena::MailRecv::processSendMailAck(), EAthena::Mail2Recv::processSendResult(), EAthena::GameRecv::processServerTick(), EAthena::LoginRecv::processServerVersion(), TmwAthena::LoginRecv::processServerVersion(), EAthena::ChatRecv::processServiceMessageColor(), EAthena::MailRecv::processSetAttachmentAck(), TmwAthena::QuestRecv::processSetQuestVar(), Ea::MapRecv::processSetTilesType(), EAthena::AdminRecv::processSetTileType(), EAthena::PlayerRecv::processSetTitleAck(), EAthena::VendingRecv::processShowBoard(), EAthena::NpcRecv::processShowDigit(), EAthena::InventoryRecv::processShowItemPreview1(), EAthena::InventoryRecv::processShowItemPreview2(), EAthena::NpcRecv::processShowProgressBarFree(), EAthena::SkillRecv::processSkillAdd(), EAthena::SkillRecv::processSkillAdd2(), EAthena::SkillRecv::processSkillArrowCreateList(), EAthena::BeingRecv::processSkillAutoCast(), EAthena::SkillRecv::processSkillAutoSpells1(), EAthena::SkillRecv::processSkillAutoSpells2(), EAthena::BeingRecv::processSkillCancel(), TmwAthena::BeingRecv::processSkillCastCancel(), EAthena::BeingRecv::processSkillCasting(), TmwAthena::BeingRecv::processSkillCasting(), EAthena::BeingRecv::processSkillCasting2(), EAthena::BeingRecv::processSkillCasting3(), EAthena::BeingRecv::processSkillCastingEvol(), EAthena::SkillRecv::processSkillCoolDown(), EAthena::SkillRecv::processSkillCoolDownList(), EAthena::BeingRecv::processSkillDamage(), TmwAthena::BeingRecv::processSkillDamage(), EAthena::SkillRecv::processSkillDelete(), EAthena::SkillRecv::processSkillDevotionEffect(), EAthena::BeingRecv::processSkillEntry(), EAthena::SkillRecv::processSkillFailed(), TmwAthena::SkillRecv::processSkillFailed(), EAthena::BeingRecv::processSkillGroundNoDamage(), EAthena::SkillRecv::processSkillItemListWindow(), EAthena::SkillRecv::processSkillMemoMessage(), Ea::BeingRecv::processSkillNoDamage(), EAthena::SkillRecv::processSkillProduceEffect(), EAthena::SkillRecv::processSkillProduceMixList(), EAthena::SkillRecv::processSkillScale(), EAthena::SkillRecv::processSkillUnitUpdate(), EAthena::SkillRecv::processSkillUpdate(), EAthena::SkillRecv::processSkillUpdate2(), EAthena::SkillRecv::processSkillWarpPoint(), EAthena::SkillRecv::processSkillWarpPoint2(), EAthena::BeingRecv::processSolveCharName(), EAthena::BeingRecv::processSpiritBalls(), EAthena::BeingRecv::processStarsKill(), EAthena::BeingRecv::processTaekwonRanksList(), EAthena::TradeRecv::processTradeItemAdd(), TmwAthena::TradeRecv::processTradeItemAdd(), EAthena::TradeRecv::processTradeItemAddResponse(), TmwAthena::TradeRecv::processTradeItemAddResponse(), Ea::TradeRecv::processTradeOk(), EAthena::TradeRecv::processTradeRequest(), TmwAthena::TradeRecv::processTradeRequest(), EAthena::TradeRecv::processTradeResponse(), TmwAthena::TradeRecv::processTradeResponse(), Ea::LoginRecv::processUpdateHost(), EAthena::LoginRecv::processUpdateHost2(), EAthena::QuestRecv::processUpdateQuestsObjectives(), EAthena::QuestRecv::processUpdateQuestsObjectives2(), EAthena::PlayerRecv::processWalkError(), EAthena::PlayerRecv::processWalkResponse(), TmwAthena::PlayerRecv::processWalkResponse(), EAthena::BeingRecv::processWddingEffect(), EAthena::ChatRecv::processWhisper(), TmwAthena::ChatRecv::processWhisper(), EAthena::ChatRecv::processWhisperResponse(), TmwAthena::ChatRecv::processWhisperResponse(), Ea::GameRecv::processWhoAnswer(), EAthena::CharServerRecv::readPlayerData(), TmwAthena::CharServerRecv::readPlayerData(), removeColors(), replaceItemLinks(), Logger::safeError(), ChatTab::saveToLogFile(), GuildManager::send(), LocalPlayer::setFollow(), LocalPlayer::setImitate(), SocialWindow::showGuildInvite(), SocialWindow::showPartyInvite(), PopupMenu::showPopup(), EAthena::HomunculusHandler::talk(), EAthena::MercenaryHandler::talk(), EAthena::ChatHandler::talkPet(), TextDialog::TextDialog(), and xmlErrorLogger().

◆ msg2()

bool Actions::msg2 ( InputEvent event)

◆ msgText()

bool Actions::msgText ( InputEvent event)

Definition at line 40 of file chat.cpp.

◆ navigate()

bool Actions::navigate ( InputEvent event)

Definition at line 51 of file commands.cpp.

◆ navigateTo()

bool Actions::navigateTo ( InputEvent event)

Definition at line 52 of file commands.cpp.

◆ nextChatTab()

bool Actions::nextChatTab ( InputEvent event)

Definition at line 33 of file chat.cpp.

◆ nextCommandsTab()

bool Actions::nextCommandsTab ( InputEvent event)

Definition at line 35 of file tabs.cpp.

◆ nextInvTab()

bool Actions::nextInvTab ( InputEvent event)

Definition at line 37 of file tabs.cpp.

◆ nextShortcutsTab()

bool Actions::nextShortcutsTab ( InputEvent event)

Definition at line 33 of file tabs.cpp.

◆ nextSocialTab()

bool Actions::nextSocialTab ( InputEvent event)

Definition at line 32 of file tabs.cpp.

◆ npcClipboard()

bool Actions::npcClipboard ( InputEvent event)

Definition at line 99 of file commands.cpp.

◆ ok()

bool Actions::ok ( InputEvent event)

Definition at line 34 of file actions.cpp.

83 {

Referenced by TextManager::place(), and Ea::PlayerRecv::processPlayerStatUpdate4().

◆ openTrade()

bool Actions::openTrade ( InputEvent event)

Definition at line 65 of file actions.cpp.

83 {

◆ openUrl()

bool Actions::openUrl ( InputEvent event)

Definition at line 65 of file commands.cpp.

◆ outfit()

bool Actions::outfit ( InputEvent event)

◆ outfitClear()

bool Actions::outfitClear ( InputEvent event)

Definition at line 161 of file commands.cpp.

◆ outfitToChat()

bool Actions::outfitToChat ( InputEvent event)

Definition at line 160 of file commands.cpp.

◆ outfitWindowShow()

bool Actions::outfitWindowShow ( InputEvent event)

Definition at line 45 of file windows.cpp.

◆ outString()

static void Actions::outString ( ChatTab *const  tab,
const std::string &  str,
const std::string &  def 
)
static

Definition at line 64 of file chat.cpp.

67 {
68  if (tab == nullptr)
69  {
70  if (chatHandler != nullptr)
71  chatHandler->talk(def);
72  return;
73  }
74 
75  switch (tab->getType())
76  {
77  case ChatTabType::CLAN:
78  {
79  if (clanHandler != nullptr)
80  clanHandler->chat(str);
81  break;
82  }
83  case ChatTabType::PARTY:
84  {
85  if (partyHandler != nullptr)
86  partyHandler->chat(str);
87  break;
88  }
89  case ChatTabType::GUILD:
90  {
91  if ((guildHandler == nullptr) || (localPlayer == nullptr))
92  return;
93  const Guild *const guild = localPlayer->getGuild();
94  if (guild != nullptr)
95  {
96 #ifdef TMWA_SUPPORT
97  if (guild->getServerGuild())
98  {
100  return;
101  guildHandler->chat(str);
102  }
103  else if (guildManager != nullptr)
104  {
105  guildManager->chat(str);
106  }
107 #else // TMWA_SUPPORT
108 
109  if (guild->getServerGuild())
110  guildHandler->chat(str);
111 #endif // TMWA_SUPPORT
112  }
113  break;
114  }
116  case ChatTabType::GM:
117  case ChatTabType::TRADE:
118  tab->chatInput(str);
119  break;
120  default:
122  case ChatTabType::INPUT:
124  case ChatTabType::DEBUG:
125  case ChatTabType::BATTLE:
126  case ChatTabType::LANG:
127  if (chatHandler != nullptr)
128  chatHandler->talk(str);
129  break;
130  }
131 }
Net::ChatHandler * chatHandler
Definition: net.cpp:86
Net::ClanHandler * clanHandler
Definition: net.cpp:87
const Guild * getGuild(const std::string &guildName) const
Definition: being.cpp:1258
void chatInput(const std::string &msg)
Definition: chattab.cpp:382
void chat(const std::string &msg)
Definition: guild.h:70
virtual void talk(const std::string &text) const =0
virtual void chat(const std::string &text) const =0
virtual void chat(const std::string &text) const =0
virtual void chat(const std::string &text) const =0
Net::GuildHandler * guildHandler
Definition: net.cpp:92
GuildManager * guildManager
uint32_t guild
ServerTypeT getNetworkType()
Definition: net.cpp:189
Net::PartyHandler * partyHandler
Definition: net.cpp:94

References ChatTabType::BATTLE, ChatTabType::CHANNEL, GuildManager::chat(), Net::ClanHandler::chat(), Net::GuildHandler::chat(), Net::PartyHandler::chat(), chatHandler, ChatTab::chatInput(), ChatTabType::CLAN, clanHandler, ChatTabType::DEBUG, Being::getGuild(), Net::getNetworkType(), ChatTab::getType(), ChatTabType::GM, ChatTabType::GUILD, guild(), guildHandler, guildManager, ChatTabType::INPUT, ChatTabType::LANG, localPlayer, ChatTabType::PARTY, partyHandler, Net::ChatHandler::talk(), ServerType::TMWATHENA, ChatTabType::TRADE, ChatTabType::UNKNOWN, and ChatTabType::WHISPER.

◆ party()

bool Actions::party ( InputEvent event)

Definition at line 46 of file chat.cpp.

◆ partyAutoItemShare()

bool Actions::partyAutoItemShare ( InputEvent event)

Definition at line 159 of file commands.cpp.

◆ partyExpShare()

bool Actions::partyExpShare ( InputEvent event)

Definition at line 158 of file commands.cpp.

◆ partyItemShare()

bool Actions::partyItemShare ( InputEvent event)

Definition at line 157 of file commands.cpp.

◆ petDirectDown()

bool Actions::petDirectDown ( InputEvent event)

Definition at line 41 of file pets.cpp.

◆ petDirectLeft()

bool Actions::petDirectLeft ( InputEvent event)

Definition at line 42 of file pets.cpp.

◆ petDirectRight()

bool Actions::petDirectRight ( InputEvent event)

Definition at line 43 of file pets.cpp.

◆ petDirectUp()

bool Actions::petDirectUp ( InputEvent event)

Definition at line 40 of file pets.cpp.

◆ petDropLoot()

bool Actions::petDropLoot ( InputEvent event)

Definition at line 46 of file pets.cpp.

◆ petEmote()

bool Actions::petEmote ( InputEvent event)

Definition at line 34 of file pets.cpp.

◆ petFeed()

bool Actions::petFeed ( InputEvent event)

Definition at line 45 of file pets.cpp.

◆ petMove()

bool Actions::petMove ( InputEvent event)

Definition at line 44 of file pets.cpp.

◆ petMoveDown()

bool Actions::petMoveDown ( InputEvent event)

Definition at line 37 of file pets.cpp.

◆ petMoveLeft()

bool Actions::petMoveLeft ( InputEvent event)

Definition at line 38 of file pets.cpp.

◆ petMoveRight()

bool Actions::petMoveRight ( InputEvent event)

Definition at line 39 of file pets.cpp.

◆ petMoveUp()

bool Actions::petMoveUp ( InputEvent event)

Definition at line 36 of file pets.cpp.

◆ petReturnToEgg()

bool Actions::petReturnToEgg ( InputEvent event)

Definition at line 47 of file pets.cpp.

◆ petUnequip()

bool Actions::petUnequip ( InputEvent event)

Definition at line 48 of file pets.cpp.

◆ pickup()

bool Actions::pickup ( InputEvent event)

◆ playerCharGmCommands()

bool Actions::playerCharGmCommands ( InputEvent event)

Definition at line 110 of file commands.cpp.

◆ playerGmCommands()

bool Actions::playerGmCommands ( InputEvent event)

Definition at line 109 of file commands.cpp.

◆ present()

bool Actions::present ( InputEvent event)

Definition at line 42 of file commands.cpp.

◆ prevChatTab()

bool Actions::prevChatTab ( InputEvent event)

Definition at line 32 of file chat.cpp.

◆ prevCommandsTab()

bool Actions::prevCommandsTab ( InputEvent event)

Definition at line 36 of file tabs.cpp.

◆ prevInvTab()

bool Actions::prevInvTab ( InputEvent event)

Definition at line 38 of file tabs.cpp.

◆ prevShortcutsTab()

bool Actions::prevShortcutsTab ( InputEvent event)

Definition at line 34 of file tabs.cpp.

◆ prevSocialTab()

bool Actions::prevSocialTab ( InputEvent event)

Definition at line 31 of file tabs.cpp.

◆ priceLoad()

bool Actions::priceLoad ( InputEvent event)

Definition at line 72 of file actions.cpp.

83 {

◆ priceSave()

bool Actions::priceSave ( InputEvent event)

Definition at line 73 of file actions.cpp.

83 {

◆ printAll()

bool Actions::printAll ( InputEvent event)

Definition at line 43 of file commands.cpp.

◆ protectItem()

bool Actions::protectItem ( InputEvent event)

Definition at line 109 of file actions.cpp.

◆ pseudoAway()

bool Actions::pseudoAway ( InputEvent event)

Definition at line 49 of file commands.cpp.

◆ query()

bool Actions::query ( InputEvent event)

Definition at line 42 of file chat.cpp.

◆ questsWindowShow()

bool Actions::questsWindowShow ( InputEvent event)

Definition at line 52 of file windows.cpp.

◆ quickWindowShow()

bool Actions::quickWindowShow ( InputEvent event)

Definition at line 56 of file windows.cpp.

◆ quit()

bool Actions::quit ( InputEvent event)

Definition at line 36 of file actions.cpp.

83 {

◆ removeAttack()

bool Actions::removeAttack ( InputEvent event)

Definition at line 61 of file commands.cpp.

◆ removeName()

bool Actions::removeName ( InputEvent event)

Definition at line 70 of file commands.cpp.

◆ removePickup()

bool Actions::removePickup ( InputEvent event)

Definition at line 102 of file commands.cpp.

◆ reportRelation()

static void Actions::reportRelation ( const InputEvent event,
const RelationT rel,
const std::string &  str1,
const std::string &  str2 
)
static

Definition at line 124 of file commands.cpp.

128 {
129  if (event.tab != nullptr)
130  {
131  if (playerRelations.getRelation(event.args) == rel)
132  {
133  // TRANSLATORS: unignore command
134  event.tab->chatLog(str1,
138  }
139  else
140  {
141  // TRANSLATORS: unignore command
142  event.tab->chatLog(str2,
146  }
147  }
148 }

References InputEvent::args, ChatMsgType::BY_SERVER, PlayerRelationsManager::getRelation(), IgnoreRecord_false, playerRelations, InputEvent::tab, and TryRemoveColors_true.

Referenced by changeRelation().

◆ resetGameModifiers()

bool Actions::resetGameModifiers ( InputEvent event)

Definition at line 115 of file actions.cpp.

◆ restoreCamera()

bool Actions::restoreCamera ( InputEvent event)

Definition at line 54 of file commands.cpp.

◆ safeVideoMode()

bool Actions::safeVideoMode ( InputEvent event)

Definition at line 61 of file actions.cpp.

83 {

◆ screenshot()

bool Actions::screenshot ( InputEvent event)

◆ scrollChatDown()

bool Actions::scrollChatDown ( InputEvent event)

Definition at line 38 of file chat.cpp.

◆ scrollChatUp()

bool Actions::scrollChatUp ( InputEvent event)

Definition at line 37 of file chat.cpp.

◆ seen()

bool Actions::seen ( InputEvent event)

Definition at line 117 of file actions.cpp.

◆ selectSkillLevel()

bool Actions::selectSkillLevel ( InputEvent event)

Definition at line 96 of file commands.cpp.

◆ selectSkillType()

bool Actions::selectSkillType ( InputEvent event)

Definition at line 152 of file commands.cpp.

◆ sell()

bool Actions::sell ( InputEvent event)

Definition at line 54 of file actions.cpp.

83 {

◆ sendChars()

bool Actions::sendChars ( InputEvent event)

Definition at line 68 of file chat.cpp.

◆ sendGuiKey()

bool Actions::sendGuiKey ( InputEvent event)

Definition at line 66 of file chat.cpp.

◆ sendMail()

bool Actions::sendMail ( InputEvent event)

Definition at line 56 of file commands.cpp.

◆ sendMouseKey()

bool Actions::sendMouseKey ( InputEvent event)

Definition at line 67 of file chat.cpp.

◆ serverConfGet()

bool Actions::serverConfGet ( InputEvent event)

Definition at line 94 of file commands.cpp.

◆ serverConfSet()

bool Actions::serverConfSet ( InputEvent event)

Definition at line 92 of file commands.cpp.

◆ serverIgnoreAll()

bool Actions::serverIgnoreAll ( InputEvent event)

Definition at line 80 of file actions.cpp.

83 {

◆ serverIgnoreWhisper()

bool Actions::serverIgnoreWhisper ( InputEvent event)

Definition at line 78 of file commands.cpp.

◆ serverInfoWindowShow()

bool Actions::serverInfoWindowShow ( InputEvent event)

Definition at line 58 of file windows.cpp.

◆ serverUnIgnoreAll()

bool Actions::serverUnIgnoreAll ( InputEvent event)

Definition at line 81 of file actions.cpp.

83 {

◆ serverUnIgnoreWhisper()

bool Actions::serverUnIgnoreWhisper ( InputEvent event)

Definition at line 79 of file commands.cpp.

◆ setDrop()

bool Actions::setDrop ( InputEvent event)

Definition at line 63 of file commands.cpp.

◆ setEmoteType()

bool Actions::setEmoteType ( InputEvent event)

Definition at line 119 of file actions.cpp.

◆ setHome()

bool Actions::setHome ( InputEvent event)

Definition at line 46 of file actions.cpp.

83 {

◆ setHomunculusName()

bool Actions::setHomunculusName ( InputEvent event)

Definition at line 80 of file commands.cpp.

◆ setPetName()

bool Actions::setPetName ( InputEvent event)

Definition at line 33 of file pets.cpp.

◆ setSkillOffsetX()

bool Actions::setSkillOffsetX ( InputEvent event)

Definition at line 155 of file commands.cpp.

◆ setSkillOffsetY()

bool Actions::setSkillOffsetY ( InputEvent event)

Definition at line 156 of file commands.cpp.

◆ setTarget() [1/2]

static bool Actions::setTarget ( const ActorTypeT  type,
const AllowSort  allowSort 
)
static

Definition at line 35 of file target.cpp.

36 {
37  if (localPlayer != nullptr)
38  return localPlayer->setNewTarget(type, allowSort) != nullptr;
39  return false;
40 }
Being * setNewTarget(const ActorTypeT type, const AllowSort allowSort)

References localPlayer, and LocalPlayer::setNewTarget().

◆ setTarget() [2/2]

bool Actions::setTarget ( InputEvent event)

Definition at line 45 of file commands.cpp.

◆ setupWindowShow()

bool Actions::setupWindowShow ( InputEvent event)

Definition at line 31 of file windows.cpp.

◆ shopWindowShow()

bool Actions::shopWindowShow ( InputEvent event)

Definition at line 46 of file windows.cpp.

◆ shortcut()

bool Actions::shortcut ( InputEvent event)

Definition at line 35 of file actions.cpp.

83 {

◆ shortcutWindowShow()

bool Actions::shortcutWindowShow ( InputEvent event)

Definition at line 41 of file windows.cpp.

◆ showHelpPage()

static bool Actions::showHelpPage ( const std::string &  page,
const bool  showHide 
)
static

Definition at line 94 of file windows.cpp.

95 {
96  if (helpWindow != nullptr)
97  {
98  if (showHide && helpWindow->isWindowVisible())
99  {
101  }
102  else
103  {
104  helpWindow->loadHelp(page);
106  }
107  return true;
108  }
109  return false;
110 }
void loadHelp(const std::string &helpFile)
Definition: helpwindow.cpp:126
virtual void requestMoveToTop()
Definition: widget.cpp:213
virtual void setVisible(Visible visible)
Definition: window.cpp:778
bool isWindowVisible() const
Definition: window.h:484
HelpWindow * helpWindow
Definition: helpwindow.cpp:54
const bool Visible_false
Definition: visible.h:30

References helpWindow, Window::isWindowVisible(), HelpWindow::loadHelp(), Widget::requestMoveToTop(), Window::setVisible(), and Visible_false.

◆ showHideWindow()

static void Actions::showHideWindow ( Window *const  window)
static

Definition at line 152 of file windows.cpp.

153 {
154  if (window != nullptr)
155  {
156  window->setVisible(fromBool(
157  !window->isWindowVisible(), Visible));
158  if (window->isWindowVisible())
159  window->requestMoveToTop();
160  }
161 }
#define fromBool(val, name)
Definition: booldefines.h:49
bool Visible
Definition: visible.h:30

References fromBool, Window::isWindowVisible(), Widget::requestMoveToTop(), and Window::setVisible().

◆ showItems()

bool Actions::showItems ( InputEvent event)

Definition at line 60 of file windows.cpp.

◆ showKeyboard()

bool Actions::showKeyboard ( InputEvent event)

Definition at line 63 of file actions.cpp.

83 {

◆ showSkillLevels()

bool Actions::showSkillLevels ( InputEvent event)

Definition at line 150 of file commands.cpp.

◆ showSkillOffsetX()

bool Actions::showSkillOffsetX ( InputEvent event)

Definition at line 153 of file commands.cpp.

◆ showSkillOffsetY()

bool Actions::showSkillOffsetY ( InputEvent event)

Definition at line 154 of file commands.cpp.

◆ showSkillType()

bool Actions::showSkillType ( InputEvent event)

Definition at line 151 of file commands.cpp.

◆ showWindows()

bool Actions::showWindows ( InputEvent event)

Definition at line 64 of file actions.cpp.

83 {

◆ sit()

bool Actions::sit ( InputEvent event)

Definition at line 50 of file actions.cpp.

83 {

◆ skill()

bool Actions::skill ( InputEvent event)

◆ skillDialogShow()

bool Actions::skillDialogShow ( InputEvent event)

Definition at line 38 of file windows.cpp.

◆ slide()

bool Actions::slide ( InputEvent event)

Definition at line 95 of file commands.cpp.

Referenced by PopupMenu::showMapPopup(), and PopupMenu::showPopup().

◆ socialWindowShow()

bool Actions::socialWindowShow ( InputEvent event)

Definition at line 43 of file windows.cpp.

◆ spellShortcutWindowShow()

bool Actions::spellShortcutWindowShow ( InputEvent event)

Definition at line 49 of file windows.cpp.

◆ splitWhisper()

static bool Actions::splitWhisper ( const std::string &  args,
std::string &  recvnick,
std::string &  message 
)
static

Definition at line 210 of file chat.cpp.

213 {
214  if (args.substr(0, 1) == "\"")
215  {
216  const size_t pos = args.find('"', 1);
217  if (pos != std::string::npos)
218  {
219  recvnick = args.substr(1, pos - 1);
220  if (pos + 2 < args.length())
221  message = args.substr(pos + 2, args.length());
222  }
223  }
224  else
225  {
226  const size_t pos = args.find(' ');
227  if (pos != std::string::npos)
228  {
229  recvnick = args.substr(0, pos);
230  if (pos + 1 < args.length())
231  message = args.substr(pos + 1, args.length());
232  }
233  else
234  {
235  recvnick = std::string(args);
236  message.clear();
237  }
238  }
239 
240  trim(message);
241 
242  if (message.length() > 0)
243  {
244  std::string playerName = localPlayer->getName();
245  std::string tempNick = recvnick;
246 
247  toLower(playerName);
248  toLower(tempNick);
249 
250  if (tempNick == playerName || args.empty())
251  return false;
252 
253  return true;
254  }
255  return false;
256 }
const std::string & getName() const
Definition: being.h:232
std::string trim(std::string const &str)
std::string toLower(std::string const &s)

References Being::getName(), localPlayer, Catch::toLower(), and Catch::trim().

◆ statusWindowShow()

bool Actions::statusWindowShow ( InputEvent event)

Definition at line 35 of file windows.cpp.

◆ stopAttack()

bool Actions::stopAttack ( InputEvent event)

Definition at line 56 of file actions.cpp.

83 {

◆ stopSit()

bool Actions::stopSit ( InputEvent event)

Definition at line 62 of file actions.cpp.

83 {

◆ storageToInv()

bool Actions::storageToInv ( InputEvent event)

Definition at line 108 of file actions.cpp.

◆ switchQuickDrop()

bool Actions::switchQuickDrop ( InputEvent event)

Definition at line 31 of file statusbar.cpp.

◆ talk()

bool Actions::talk ( InputEvent event)

Definition at line 55 of file actions.cpp.

83 {

◆ talkPet()

bool Actions::talkPet ( InputEvent event)

Definition at line 32 of file pets.cpp.

◆ talkRaw()

bool Actions::talkRaw ( InputEvent event)

Definition at line 74 of file commands.cpp.

◆ targetAttack()

bool Actions::targetAttack ( InputEvent event)

Definition at line 59 of file actions.cpp.

83 {

◆ targetClosestMonster()

bool Actions::targetClosestMonster ( InputEvent event)

Definition at line 33 of file target.cpp.

◆ targetMercenary()

bool Actions::targetMercenary ( InputEvent event)

Definition at line 35 of file target.cpp.

◆ targetMonster()

bool Actions::targetMonster ( InputEvent event)

Definition at line 32 of file target.cpp.

◆ targetNPC()

bool Actions::targetNPC ( InputEvent event)

Definition at line 34 of file target.cpp.

◆ targetPet()

bool Actions::targetPet ( InputEvent event)

Definition at line 36 of file target.cpp.

◆ targetPlayer()

bool Actions::targetPlayer ( InputEvent event)

Definition at line 31 of file target.cpp.

◆ targetSkillUnit()

bool Actions::targetSkillUnit ( InputEvent event)

Definition at line 37 of file target.cpp.

◆ testInfo()

bool Actions::testInfo ( InputEvent event)

Definition at line 113 of file actions.cpp.

◆ testParticle()

bool Actions::testParticle ( InputEvent event)

Definition at line 73 of file commands.cpp.

◆ toggle()

bool Actions::toggle ( InputEvent event)

Definition at line 49 of file chat.cpp.

◆ toggleChat()

bool Actions::toggleChat ( InputEvent event)

Definition at line 31 of file chat.cpp.

◆ trade()

bool Actions::trade ( InputEvent event)

Definition at line 71 of file actions.cpp.

83 {

◆ tradeAdd()

bool Actions::tradeAdd ( InputEvent event)

Definition at line 107 of file actions.cpp.

◆ translate()

bool Actions::translate ( InputEvent event)

Definition at line 65 of file chat.cpp.

◆ trimMemory()

bool Actions::trimMemory ( InputEvent event)

Definition at line 167 of file commands.cpp.

◆ undress()

bool Actions::undress ( InputEvent event)

Definition at line 76 of file actions.cpp.

83 {

◆ unprotectItem()

bool Actions::unprotectItem ( InputEvent event)

Definition at line 110 of file actions.cpp.

◆ untarget()

bool Actions::untarget ( InputEvent event)

Definition at line 57 of file actions.cpp.

83 {

◆ updaterWindowShow()

bool Actions::updaterWindowShow ( InputEvent event)

Definition at line 55 of file windows.cpp.

◆ uploadConfig()

bool Actions::uploadConfig ( InputEvent event)

Definition at line 97 of file actions.cpp.

◆ uploadFile()

static void Actions::uploadFile ( const std::string &  str,
const std::string &  fileName,
const std::string &  addStr,
ChatTab *const  tab 
)
static

Definition at line 194 of file actions.cpp.

198 {
199  UploadChatInfo *const info = new UploadChatInfo;
200  Net::Download *const upload = new Net::Download(info,
201  "http://ix.io",
202  &uploadUpdate,
203  false, true, false);
204  info->upload = upload;
205  info->text = str;
206  info->addStr = addStr;
207  info->tab = tab;
208  upload->setFile(fileName, -1);
209  upload->start();
210 }
void setFile(const std::string &filename, const int64_t adler32)
Definition: download.cpp:166
bool start()
Definition: download.cpp:188
static int uploadUpdate(void *ptr, const DownloadStatusT status, size_t total, const size_t remaining)
Definition: actions.cpp:143
bool info(InputEvent &event)
Definition: commands.cpp:57
std::string fileName
Definition: testmain.cpp:39

References fileName, info(), Net::Download::setFile(), Net::Download::start(), and uploadUpdate().

◆ uploadLog()

bool Actions::uploadLog ( InputEvent event)

Definition at line 99 of file actions.cpp.

◆ uploadServerConfig()

bool Actions::uploadServerConfig ( InputEvent event)

Definition at line 98 of file actions.cpp.

◆ uploadUpdate()

static int Actions::uploadUpdate ( void *  ptr,
const DownloadStatusT  status,
size_t  total,
const size_t  remaining 
)
static

Definition at line 143 of file actions.cpp.

147 {
148  if (status == DownloadStatus::Idle || status == DownloadStatus::Starting)
149  return 0;
150 
151  UploadChatInfo *const info = reinterpret_cast<UploadChatInfo*>(ptr);
152  if (info == nullptr)
153  return 0;
154 
155  if (status == DownloadStatus::Complete)
156  {
157  std::string str = Net::Download::getUploadResponse();
158  const size_t sz = str.size();
159  if (sz > 0)
160  {
161  if (str[sz - 1] == '\n')
162  str = str.substr(0, sz - 1);
163  str.append(info->addStr);
164  ChatTab *const tab = info->tab;
165  if (chatWindow != nullptr &&
166  (tab == nullptr || chatWindow->isTabPresent(tab)))
167  {
168  str = strprintf("%s [@@%s |%s@@]",
169  info->text.c_str(), str.c_str(), str.c_str());
170  outStringNormal(tab, str, str);
171  }
172  else
173  {
175  // TRANSLATORS: file uploaded message
176  _("File uploaded"),
177  str,
178  // TRANSLATORS: ok dialog button
179  _("OK"),
181  Modal_true,
183  nullptr,
184  260);
185  }
186  }
187  }
188 // delete2(info->upload)
189  info->upload = nullptr;
190  delete info;
191  return 0;
192 }
void outStringNormal(ChatTab *const tab, const std::string &str, const std::string &def)
Definition: chatutils.cpp:47
ChatWindow * chatWindow
Definition: chatwindow.cpp:94
bool isTabPresent(const ChatTab *const tab) const
static std::string getUploadResponse()
Definition: download.h:114
#define CREATEWIDGET(type,...)
Definition: createwidget.h:29
const bool Modal_true
Definition: modal.h:30
const bool ShowCenter_false
Definition: showcenter.h:30

References _, chatWindow, DownloadStatus::Complete, CREATEWIDGET, Net::Download::getUploadResponse(), DownloadStatus::Idle, info(), ChatWindow::isTabPresent(), Modal_true, DialogType::OK, outStringNormal(), ShowCenter_false, DownloadStatus::Starting, and strprintf().

Referenced by uploadFile().

◆ uptime()

bool Actions::uptime ( InputEvent event)

Definition at line 78 of file actions.cpp.

83 {

◆ url()

bool Actions::url ( InputEvent event)

◆ useItem()

bool Actions::useItem ( InputEvent event)

Definition at line 104 of file actions.cpp.

◆ useItemInv()

bool Actions::useItemInv ( InputEvent event)

Definition at line 105 of file actions.cpp.

◆ wait()

bool Actions::wait ( InputEvent event)

Definition at line 58 of file commands.cpp.

◆ warp()

bool Actions::warp ( InputEvent event)

Definition at line 84 of file commands.cpp.

◆ where()

bool Actions::where ( InputEvent event)

Definition at line 67 of file actions.cpp.

83 {

Referenced by PopupMenu::showPlayerGMCommands().

◆ who()

bool Actions::who ( InputEvent event)

Definition at line 68 of file actions.cpp.

83 {

◆ whoDrops()

bool Actions::whoDrops ( InputEvent event)

Definition at line 106 of file commands.cpp.

◆ whoIsOnlineWindowShow()

bool Actions::whoIsOnlineWindowShow ( InputEvent event)

Definition at line 50 of file windows.cpp.