![]() |
ManaPlus
|
#include "being/playerrelations.h"#include "actormanager.h"#include "configuration.h"#include "logger.h"#include "being/localplayer.h"#include "being/playerignorestrategy.h"#include "being/playerrelation.h"#include "utils/dtor.h"#include "utils/foreach.h"#include "utils/gettext.h"#include "listeners/playerrelationslistener.h"#include "debug.h"Go to the source code of this file.
Data Structures | |
| class | anonymous_namespace{playerrelations.cpp}::SortPlayersFunctor |
| class | anonymous_namespace{playerrelations.cpp}::PlayerConfSerialiser |
| class | PIS_nothing |
| class | PIS_dotdotdot |
| class | PIS_blinkname |
| class | PIS_emote |
Namespaces | |
| anonymous_namespace{playerrelations.cpp} | |
Typedefs | |
| typedef std::map< std::string, PlayerRelation * > | PlayerRelations |
| typedef PlayerRelations::const_iterator | PlayerRelationsCIter |
| typedef std::list< PlayerRelationsListener * > | PlayerRelationListeners |
| typedef PlayerRelationListeners::const_iterator | PlayerRelationListenersCIter |
Variables | |
| static const unsigned int | FIRST_IGNORE_EMOTE = 14 |
| static const char *const | PLAYER_IGNORE_STRATEGY_NOP = "nop" |
| static const char *const | PLAYER_IGNORE_STRATEGY_EMOTE0 = "emote0" |
| static const char *const | DEFAULT_IGNORE_STRATEGY |
| static const char *const | NAME = "name" |
| static const char *const | RELATION = "relation" |
| static const unsigned int | IGNORE_EMOTE_TIME = 100 |
| class anonymous_namespace{playerrelations.cpp}::SortPlayersFunctor | anonymous_namespace{playerrelations.cpp}::playersRelSorter |
| static PlayerConfSerialiser | player_conf_serialiser |
| static const char *const | PERSIST_IGNORE_LIST = "persistent-player-list" |
| static const char *const | PLAYER_IGNORE_STRATEGY = "player-ignore-strategy" |
| static const char *const | DEFAULT_PERMISSIONS = "default-player-permissions" |
| PlayerRelationsManager | playerRelations |
| typedef std::list<PlayerRelationsListener *> PlayerRelationListeners |
Definition at line 46 of file playerrelations.cpp.
| typedef PlayerRelationListeners::const_iterator PlayerRelationListenersCIter |
Definition at line 47 of file playerrelations.cpp.
| typedef std::map<std::string, PlayerRelation *> PlayerRelations |
Definition at line 44 of file playerrelations.cpp.
| typedef PlayerRelations::const_iterator PlayerRelationsCIter |
Definition at line 45 of file playerrelations.cpp.
|
static |
Definition at line 51 of file playerrelations.cpp.
Referenced by PlayerRelationsManager::load(), and PlayerRelationsManager::store().
|
static |
Definition at line 180 of file playerrelations.cpp.
Referenced by PlayerRelationsManager::load(), and PlayerRelationsManager::store().
|
static |
Definition at line 42 of file playerrelations.cpp.
Referenced by PlayerRelationsManager::getPlayerIgnoreStrategies().
|
static |
Definition at line 57 of file playerrelations.cpp.
Referenced by PIS_emote::ignore().
|
static |
Definition at line 54 of file playerrelations.cpp.
Referenced by anonymous_namespace{playerrelations.cpp}::PlayerConfSerialiser::readConfigItem(), and anonymous_namespace{playerrelations.cpp}::PlayerConfSerialiser::writeConfigItem().
|
static |
Definition at line 178 of file playerrelations.cpp.
Referenced by PlayerRelationsManager::load(), and PlayerRelationsManager::store().
|
static |
Definition at line 138 of file playerrelations.cpp.
Referenced by PlayerRelationsManager::load(), and PlayerRelationsManager::store().
|
static |
Definition at line 179 of file playerrelations.cpp.
Referenced by PlayerRelationsManager::load(), and PlayerRelationsManager::store().
|
static |
Definition at line 50 of file playerrelations.cpp.
Referenced by PlayerRelationsManager::getPlayerIgnoreStrategies().
|
static |
Definition at line 49 of file playerrelations.cpp.
Referenced by PIS_nothing::PIS_nothing().
| PlayerRelationsManager playerRelations |
Definition at line 662 of file playerrelations.cpp.
Referenced by Setup_Relations::action(), ShopWindow::action(), RequestTradeListener::action(), PopupMenu::addBuySell(), PopupMenu::addBuySellDefault(), PopupMenu::addPlayerRelation(), ChatWindow::addWhisperTab(), Setup_Relations::apply(), Actions::changeRelation(), LocalPlayer::checAttackPermissions(), Setup_Relations::externalUpdated(), ActorManager::findMostDamagedPlayer(), IgnoreChoicesListModel::getElementAt(), IgnoreChoicesListModel::getNumberOfElements(), SocialFriendsTab::getPlayersAvatars(), WhoIsOnline::handlerPlayerRelation(), ActorManager::heal(), ChatWindow::ignoreAllWhispers(), PlayerRelationsManager::ignoreTrade(), TradeWindow::initTrade(), PlayerTableModel::playerRelationsUpdated(), SocialWindow::postInit(), EAthena::ChatRecv::processBeingChat(), TmwAthena::ChatRecv::processBeingChat(), Ea::BeingRecv::processBeingEmotion(), Ea::TradeRecv::processTradeRequestContinue(), TmwAthena::TradeRecv::processTradeResponse(), Ea::TradeRecv::processTradeResponseContinue(), EAthena::ChatRecv::processWhisperContinue(), TmwAthena::ChatRecv::processWhisperContinue(), Actions::reportRelation(), Setup_Relations::reset(), Setup_Relations::Setup_Relations(), BeingPopup::show(), Being::showName(), Client::stateConnectServer1(), Setup_Relations::updateAll(), Being::updateColors(), Setup_Relations::updatedPlayer(), PlayerTableModel::updateModelInRow(), Setup_Relations::~Setup_Relations(), and SocialWindow::~SocialWindow().
|
static |
Definition at line 55 of file playerrelations.cpp.
Referenced by anonymous_namespace{playerrelations.cpp}::PlayerConfSerialiser::readConfigItem(), and anonymous_namespace{playerrelations.cpp}::PlayerConfSerialiser::writeConfigItem().