ManaPlus
Data Structures | Macros | Typedefs | Variables
actormanager.h File Reference

(986a3bf)

#include "enums/being/actortype.h"
#include "enums/resources/item/itemtype.h"
#include "enums/simpletypes/allowsort.h"
#include "enums/simpletypes/allplayers.h"
#include "enums/simpletypes/beingid.h"
#include "enums/simpletypes/beingtypeid.h"
#include "enums/simpletypes/damaged.h"
#include "enums/simpletypes/identified.h"
#include "enums/simpletypes/itemcolor.h"
#include "enums/simpletypes/npcnames.h"
#include "listeners/configlistener.h"
#include "utils/cast.h"
#include "utils/stringmap.h"
#include "utils/stringvector.h"
#include <list>
#include <set>
#include "localconsts.h"

Go to the source code of this file.

Data Structures

class  ActorManager
 

Macros

#define defList(list1, mob)
 
#define defVarsP(mob)
 
#define defVars(mob)
 

Typedefs

typedef std::set< ActorSprite * > ActorSprites
 
typedef ActorSprites::iterator ActorSpritesIterator
 
typedef ActorSprites::const_iterator ActorSpritesConstIterator
 
typedef std::map< BeingId, ActorSprite * > ActorSpritesMap
 
typedef ActorSpritesMap::iterator ActorSpritesMapIterator
 
typedef ActorSpritesMap::const_iterator ActorSpritesMapConstIterator
 
typedef std::map< BeingId, std::set< std::string > > IdNameMapping
 
typedef IdNameMapping::const_iterator IdNameMappingCIter
 

Variables

ActorManageractorManager
 

Macro Definition Documentation

◆ defList

#define defList (   list1,
  mob 
)
Value:
bool isIn##list1##List(const std::string &name) const A_WARN_UNUSED\
{ return m##list1##mob##Set.find(name) != m##list1##mob##Set.end(); }\
void rebuild##list1##mob();\
std::set<std::string> get##list1##mob##Set() const noexcept2\
{ return m##list1##mob##Set; }\
std::list<std::string> get##list1##mob() const noexcept2 A_WARN_UNUSED\
{ return m##list1##mob; }
#define A_WARN_UNUSED
Definition: localconsts.h:161
#define noexcept2
Definition: localconsts.h:50

Definition at line 331 of file actormanager.h.

◆ defVars

#define defVars (   mob)
Value:
std::list<std::string> m##mob;\
std::set<std::string> m##mob##Set;\
StringIntMap m##mob##Map;\
std::list<std::string> mIgnore##mob;\
std::set<std::string> mIgnore##mob##Set;
Definition: map.h:75

Definition at line 440 of file actormanager.h.

◆ defVarsP

#define defVarsP (   mob)
Value:
std::list<std::string> mPriority##mob;\
std::set<std::string> mPriority##mob##Set;\
StringIntMap mPriority##mob##Map;

Definition at line 435 of file actormanager.h.

Typedef Documentation

◆ ActorSprites

typedef std::set<ActorSprite*> ActorSprites

Definition at line 59 of file actormanager.h.

◆ ActorSpritesConstIterator

typedef ActorSprites::const_iterator ActorSpritesConstIterator

Definition at line 61 of file actormanager.h.

◆ ActorSpritesIterator

typedef ActorSprites::iterator ActorSpritesIterator

Definition at line 60 of file actormanager.h.

◆ ActorSpritesMap

typedef std::map<BeingId, ActorSprite*> ActorSpritesMap

Definition at line 62 of file actormanager.h.

◆ ActorSpritesMapConstIterator

typedef ActorSpritesMap::const_iterator ActorSpritesMapConstIterator

Definition at line 64 of file actormanager.h.

◆ ActorSpritesMapIterator

typedef ActorSpritesMap::iterator ActorSpritesMapIterator

Definition at line 63 of file actormanager.h.

◆ IdNameMapping

typedef std::map<BeingId, std::set<std::string> > IdNameMapping

Definition at line 66 of file actormanager.h.

◆ IdNameMappingCIter

typedef IdNameMapping::const_iterator IdNameMappingCIter

Definition at line 67 of file actormanager.h.

Variable Documentation

◆ actorManager

ActorManager* actorManager
extern

Definition at line 81 of file actormanager.cpp.

Referenced by BuyDialog::action(), BuySellDialog::action(), PlayerListener::action(), PopupMenu::addBeingMenu(), PopupMenu::addPickupFilter(), GuildManager::afterRemove(), Setup_Relations::apply(), ChatWindow::autoComplete(), EAthena::PartyHandler::changeLeader(), Game::changeMap(), ActorManager::cloneBeing(), Ea::BeingRecv::createBeing(), EAthena::BeingRecv::createBeing2(), ChatWindow::doPresent(), Minimap::draw2(), Actions::findBeing(), LocalPlayer::followMoveTo(), Game::Game(), ItemPopup::getCardsString(), Actions::getPet(), SocialFriendsTab::getPlayersAvatars(), SocialPlayersTab::getPlayersAvatars(), PopupMenu::handleLink(), WhoIsOnline::handleLink(), PlayerRelationsManager::hasPermission(), initEngines(), EAthena::GuildHandler::invite(), EAthena::PartyHandler::invite(), TmwAthena::PartyHandler::invite(), WhoIsOnline::loadList(), WhoIsOnline::loadWebList(), Being::logic(), Game::logic(), AvatarListBox::mousePressed(), Viewport::moveCameraToActor(), LocalPlayer::pickedUp(), LocalPlayer::pickUp(), LocalPlayer::pickUpItems(), NpcDialog::postInit(), GuildManager::process(), EAthena::NpcRecv::processArea(), EAthena::BattleGroundRecv::processBattleEmblem2(), 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::ChatRecv::processBeingChat(), TmwAthena::ChatRecv::processBeingChat(), Ea::BeingRecv::processBeingEmotion(), EAthena::BeingRecv::processBeingHp(), EAthena::BeingRecv::processBeingMove(), TmwAthena::BeingRecv::processBeingMove(), EAthena::BeingRecv::processBeingMove2(), TmwAthena::BeingRecv::processBeingMove2(), Ea::BeingRecv::processBeingMove3(), Ea::BeingRecv::processBeingRemove(), EAthena::BeingRecv::processBeingRemoveSkill(), EAthena::BeingRecv::processBeingResurrect(), TmwAthena::BeingRecv::processBeingResurrect(), EAthena::BeingRecv::processBeingSelfEffect(), TmwAthena::BeingRecv::processBeingSelfEffect(), EAthena::BeingRecv::processBeingSlide(), EAthena::BeingRecv::processBeingSpawn(), EAthena::BeingRecv::processBeingSpecialEffect(), EAthena::BeingRecv::processBeingStatUpdate1(), EAthena::BeingRecv::processBeingStatusChange(), TmwAthena::BeingRecv::processBeingStatusChange(), EAthena::BeingRecv::processBeingVisible(), TmwAthena::BeingRecv::processBeingVisible(), EAthena::BuyingStoreRecv::processBuyingStoreHideBoard(), EAthena::BuyingStoreRecv::processBuyingStoreItemsList(), EAthena::BuyingStoreRecv::processBuyingStoreShowBoard(), TmwAthena::ChatRecv::processChatContinue(), EAthena::ChatRecv::processChatDisplay(), EAthena::ChatRecv::processChatRoomDestroy(), EAthena::ChatRecv::processChatRoomLeave(), EAthena::ChatRecv::processChatRoomSettings(), EAthena::GuildRecv::processGuildExpulsionContinue(), EAthena::GuildRecv::processGuildLeave(), EAthena::GuildRecv::processGuildLeave2(), EAthena::GuildRecv::processGuildMemberList(), EAthena::GuildRecv::processGuildSetPosition(), EAthena::VendingRecv::processHideBoard(), EAthena::HomunculusRecv::processHomunculusData(), EAthena::HomunculusRecv::processHomunculusInfo1(), EAthena::HomunculusRecv::processHomunculusInfo2(), EAthena::HomunculusRecv::processHomunculusInfo3(), TmwAthena::BeingRecv::processIpResponse(), EAthena::ItemRecv::processItemDropped(), TmwAthena::ItemRecv::processItemDropped(), EAthena::ItemRecv::processItemDropped2(), Ea::ItemRecv::processItemRemove(), EAthena::VendingRecv::processItemsList(), EAthena::ItemRecv::processItemVisible(), TmwAthena::ItemRecv::processItemVisible(), EAthena::ItemRecv::processItemVisible2(), EAthena::PlayerRecv::processKilledBy(), EAthena::MercenaryRecv::processMercenaryInfo(), EAthena::BeingRecv::processMobInfo(), EAthena::BeingRecv::processMonsterHp(), Ea::ChatRecv::processMVPEffect(), Ea::BeingRecv::processNameResponse(), EAthena::BeingRecv::processNameResponse2(), EAthena::BeingRecv::processNameResponseTitle(), TmwAthena::PlayerRecv::processOnlineList(), TmwAthena::PartyRecv::processPartyInvited(), Ea::PartyRecv::processPartyLeave(), TmwAthena::PartyRecv::processPartyUpdateHp(), EAthena::PetRecv::processPetData(), EAthena::BeingRecv::processPlayerGuilPartyInfo(), TmwAthena::BeingRecv::processPlayerGuilPartyInfo(), EAthena::BeingRecv::processPlayerGuilPartyInfo2(), EAthena::InventoryRecv::processPlayerInventoryUse(), TmwAthena::BeingRecv::processPlayerMove(), EAthena::BeingRecv::processPlayerStatusChange(), TmwAthena::BeingRecv::processPlayerStatusChange(), EAthena::BeingRecv::processPlayerStatusChange2(), Ea::BeingRecv::processPlayerStop(), TmwAthena::BeingRecv::processPlayerUpdate1(), TmwAthena::BeingRecv::processPlayerUpdate2(), EAthena::BeingRecv::processPvpSet(), TmwAthena::BeingRecv::processPvpSet(), ShopWindow::processRequest(), EAthena::VendingRecv::processShowBoard(), EAthena::BeingRecv::processSkillCastingContinue(), EAthena::BeingRecv::processSkillDamage(), TmwAthena::BeingRecv::processSkillDamage(), Ea::BeingRecv::processSkillNoDamage(), EAthena::BeingRecv::processSolveCharName(), EAthena::BeingRecv::processSpiritBalls(), Guild::removeFromMembers(), Party::removeFromMembers(), replaceVars(), SocialPlayersTab::resetDamage(), BuyingStoreSellDialog::sellAction(), WhoIsOnline::setNeutralColor(), LocalPlayer::setNewTarget(), OnlinePlayer::setText(), PopupMenu::showAttackMonsterPopup(), PopupMenu::showChatPopup(), PopupMenu::showPickupItemPopup(), PopupMenu::showPlayerGMCommands(), PopupMenu::showPopup(), PlayerRelationsManager::signalUpdate(), WhoIsOnline::slowLogic(), ShopWindow::startTrade(), SocialPlayersTab::updateAvatar(), LocalPlayer::updateCoords(), QuestsWindow::updateEffects(), SocialNavigationTab::updateList(), GuildManager::updateList(), ChatWindow::updateOnline(), Game::~Game(), and Particle::~Particle().