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

(642df39)

#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; }

Definition at line 330 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 at line 439 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 434 of file actormanager.h.

Typedef Documentation

◆ ActorSprites

typedef std::set<ActorSprite*> ActorSprites

Definition at line 56 of file actormanager.h.

◆ ActorSpritesConstIterator

typedef ActorSprites::const_iterator ActorSpritesConstIterator

Definition at line 60 of file actormanager.h.

◆ ActorSpritesIterator

typedef ActorSprites::iterator ActorSpritesIterator

Definition at line 59 of file actormanager.h.

◆ ActorSpritesMap

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

Definition at line 61 of file actormanager.h.

◆ ActorSpritesMapConstIterator

typedef ActorSpritesMap::const_iterator ActorSpritesMapConstIterator

Definition at line 63 of file actormanager.h.

◆ ActorSpritesMapIterator

typedef ActorSpritesMap::iterator ActorSpritesMapIterator

Definition at line 62 of file actormanager.h.

◆ IdNameMapping

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

Definition at line 65 of file actormanager.h.

◆ IdNameMappingCIter

typedef IdNameMapping::const_iterator IdNameMappingCIter

Definition at line 66 of file actormanager.h.

Variable Documentation

◆ actorManager

ActorManager* actorManager

Definition at line 80 of file actormanager.cpp.

Referenced by PlayerListener::action(), BuySellDialog::action(), BuyDialog::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(), WhoIsOnline::handleLink(), PopupMenu::handleLink(), PlayerRelationsManager::hasPermission(), initEngines(), EAthena::PartyHandler::invite(), TmwAthena::PartyHandler::invite(), EAthena::GuildHandler::invite(), WhoIsOnline::loadList(), WhoIsOnline::loadWebList(), Game::logic(), Being::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(), TmwAthena::BeingRecv::processBeingChangeDirection(), EAthena::BeingRecv::processBeingChangeDirection(), TmwAthena::BeingRecv::processBeingChangeLook(), TmwAthena::BeingRecv::processBeingChangeLook2(), EAthena::BeingRecv::processBeingChangeLook2(), EAthena::BeingRecv::processBeingChangeLookCards(), TmwAthena::ChatRecv::processBeingChat(), EAthena::ChatRecv::processBeingChat(), Ea::BeingRecv::processBeingEmotion(), EAthena::BeingRecv::processBeingHp(), TmwAthena::BeingRecv::processBeingMove(), EAthena::BeingRecv::processBeingMove(), TmwAthena::BeingRecv::processBeingMove2(), EAthena::BeingRecv::processBeingMove2(), Ea::BeingRecv::processBeingMove3(), Ea::BeingRecv::processBeingRemove(), EAthena::BeingRecv::processBeingRemoveSkill(), TmwAthena::BeingRecv::processBeingResurrect(), EAthena::BeingRecv::processBeingResurrect(), TmwAthena::BeingRecv::processBeingSelfEffect(), EAthena::BeingRecv::processBeingSelfEffect(), EAthena::BeingRecv::processBeingSlide(), EAthena::BeingRecv::processBeingSpawn(), EAthena::BeingRecv::processBeingSpecialEffect(), EAthena::BeingRecv::processBeingStatUpdate1(), TmwAthena::BeingRecv::processBeingStatusChange(), EAthena::BeingRecv::processBeingStatusChange(), TmwAthena::BeingRecv::processBeingVisible(), EAthena::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(), TmwAthena::ItemRecv::processItemVisible(), EAthena::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(), TmwAthena::BeingRecv::processPlayerGuilPartyInfo(), EAthena::BeingRecv::processPlayerGuilPartyInfo(), EAthena::BeingRecv::processPlayerGuilPartyInfo2(), EAthena::InventoryRecv::processPlayerInventoryUse(), TmwAthena::BeingRecv::processPlayerMove(), TmwAthena::BeingRecv::processPlayerStatusChange(), EAthena::BeingRecv::processPlayerStatusChange(), EAthena::BeingRecv::processPlayerStatusChange2(), Ea::BeingRecv::processPlayerStop(), TmwAthena::BeingRecv::processPlayerUpdate1(), TmwAthena::BeingRecv::processPlayerUpdate2(), TmwAthena::BeingRecv::processPvpSet(), EAthena::BeingRecv::processPvpSet(), ShopWindow::processRequest(), EAthena::VendingRecv::processShowBoard(), EAthena::BeingRecv::processSkillCastingContinue(), TmwAthena::BeingRecv::processSkillDamage(), EAthena::BeingRecv::processSkillDamage(), Ea::BeingRecv::processSkillNoDamage(), EAthena::BeingRecv::processSolveCharName(), EAthena::BeingRecv::processSpiritBalls(), Party::removeFromMembers(), Guild::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(), GuildManager::updateList(), SocialNavigationTab::updateList(), ChatWindow::updateOnline(), Game::~Game(), and Particle::~Particle().

noexcept2
#define noexcept2
Definition: localconsts.h:49
Map
Definition: map.h:71
A_WARN_UNUSED
#define A_WARN_UNUSED
Definition: localconsts.h:160