ManaPlus
|
#include "net/net.h"
#include "configuration.h"
#include "net/loginhandler.h"
#include "net/tmwa/generalhandler.h"
#include "net/eathena/generalhandler.h"
#include "utils/delete2.h"
#include "debug.h"
Go to the source code of this file.
Namespaces | |
Net | |
Functions | |
void | Net::connectToServer (const ServerInfo &server) |
void | Net::unload () |
ServerTypeT | Net::getNetworkType () |
void | Net::loadIgnorePackets () |
bool | Net::isIgnorePacket (const int id) |
Net::AchievementHandler* achievementHandler = 0 |
Definition at line 103 of file net.cpp.
Referenced by EAthena::AchievementHandler::AchievementHandler(), TmwAthena::AchievementHandler::AchievementHandler(), EAthena::AchievementHandler::~AchievementHandler(), and TmwAthena::AchievementHandler::~AchievementHandler().
Net::AdminHandler* adminHandler = 0 |
Definition at line 84 of file net.cpp.
Referenced by BuyDialog::action(), PlayerPostDeathListener::action(), EAthena::AdminHandler::AdminHandler(), TmwAthena::AdminHandler::AdminHandler(), PopupMenu::handleLink(), EAthena::AdminHandler::~AdminHandler(), and TmwAthena::AdminHandler::~AdminHandler().
Net::AttendanceHandler* attendanceHandler = 0 |
Definition at line 104 of file net.cpp.
Referenced by EAthena::AttendanceHandler::AttendanceHandler(), TmwAthena::AttendanceHandler::AttendanceHandler(), EAthena::AttendanceHandler::~AttendanceHandler(), and TmwAthena::AttendanceHandler::~AttendanceHandler().
Net::AuctionHandler* auctionHandler = 0 |
Definition at line 102 of file net.cpp.
Referenced by EAthena::AuctionHandler::AuctionHandler(), TmwAthena::AuctionHandler::AuctionHandler(), EAthena::AuctionHandler::~AuctionHandler(), and TmwAthena::AuctionHandler::~AuctionHandler().
Net::BankHandler* bankHandler = 0 |
Definition at line 105 of file net.cpp.
Referenced by BankWindow::action(), EAthena::BankHandler::BankHandler(), TmwAthena::BankHandler::BankHandler(), BankWindow::widgetShown(), EAthena::BankHandler::~BankHandler(), and TmwAthena::BankHandler::~BankHandler().
Net::BarterHandler* barterHandler = 0 |
Definition at line 117 of file net.cpp.
Referenced by EAthena::BarterHandler::BarterHandler(), TmwAthena::BarterHandler::BarterHandler(), EAthena::BarterHandler::~BarterHandler(), and TmwAthena::BarterHandler::~BarterHandler().
Net::BattleGroundHandler* battleGroundHandler = 0 |
Definition at line 106 of file net.cpp.
Referenced by EAthena::BattleGroundHandler::BattleGroundHandler(), TmwAthena::BattleGroundHandler::BattleGroundHandler(), EAthena::BattleGroundHandler::~BattleGroundHandler(), and TmwAthena::BattleGroundHandler::~BattleGroundHandler().
Net::BeingHandler* beingHandler = 0 |
Definition at line 99 of file net.cpp.
Referenced by EAthena::BeingHandler::BeingHandler(), TmwAthena::BeingHandler::BeingHandler(), ActorManager::createBeing(), ItemPopup::getCardsString(), LocalPlayer::pingRequest(), TmwAthena::BeingRecv::processBeingMove(), TmwAthena::BeingRecv::processBeingVisible(), EAthena::GuildRecv::processGuildMemberList(), TmwAthena::BeingRecv::processPlayerMove(), TmwAthena::BeingRecv::processPlayerUpdate1(), TmwAthena::BeingRecv::processPlayerUpdate2(), EAthena::BeingHandler::~BeingHandler(), and TmwAthena::BeingHandler::~BeingHandler().
Net::BuyingStoreHandler* buyingStoreHandler = 0 |
Definition at line 107 of file net.cpp.
Referenced by ShopWindow::action(), EAthena::BuyingStoreHandler::BuyingStoreHandler(), TmwAthena::BuyingStoreHandler::BuyingStoreHandler(), BuyingStoreSellDialog::sellAction(), EAthena::BuyingStoreHandler::~BuyingStoreHandler(), and TmwAthena::BuyingStoreHandler::~BuyingStoreHandler().
Net::BuySellHandler* buySellHandler = 0 |
Definition at line 100 of file net.cpp.
Referenced by BuyDialog::action(), BuySellDialog::action(), EAthena::BuySellHandler::BuySellHandler(), TmwAthena::BuySellHandler::BuySellHandler(), BuyDialog::close(), NpcSellDialog::close(), ShopSellDialog::sellAction(), BuyDialog::~BuyDialog(), EAthena::BuySellHandler::~BuySellHandler(), and TmwAthena::BuySellHandler::~BuySellHandler().
Net::CashShopHandler* cashShopHandler = 0 |
Definition at line 108 of file net.cpp.
Referenced by BuyDialog::action(), EAthena::CashShopHandler::CashShopHandler(), TmwAthena::CashShopHandler::CashShopHandler(), BuyDialog::close(), EAthena::CashShopHandler::~CashShopHandler(), and TmwAthena::CashShopHandler::~CashShopHandler().
Net::CharServerHandler* charServerHandler = 0 |
Definition at line 85 of file net.cpp.
Referenced by CharCreateDialog::action(), CharSelectDialog::action(), QuitDialog::action(), CharRenameListener::action(), PincodeManager::changePincode(), CharSelectDialog::CharSelectDialog(), EAthena::CharServerHandler::CharServerHandler(), TmwAthena::CharServerHandler::CharServerHandler(), ActorManager::cloneBeing(), LoginDialog::LoginDialog(), EAthena::CharServerRecv::processCharMapInfo(), TmwAthena::CharServerRecv::processCharMapInfo(), Being::recalcSpritesOrder(), PincodeManager::sendPincode(), Being::setGender(), Being::setHairColorSpriteID(), Being::setHairTempSprite(), PincodeManager::setNewPincode(), Being::setSpriteCards(), Being::setSpriteColor(), Being::setSpriteColorId(), Being::setSpriteId(), Being::setSubtype(), Being::setTempSprite(), Being::unSetSprite(), CharCreateDialog::updateHair(), Being::updateSprite(), CharCreateDialog::~CharCreateDialog(), EAthena::CharServerHandler::~CharServerHandler(), and TmwAthena::CharServerHandler::~CharServerHandler().
Net::ChatHandler* chatHandler = 0 |
Definition at line 86 of file net.cpp.
Referenced by ChatWindow::addChatTab(), ChatWindow::addSpecialChannelTab(), ChatWindow::addWhisper(), LocalPlayer::afkRespond(), ShopWindow::announce(), GuildManager::chat(), EAthena::ChatHandler::ChatHandler(), TmwAthena::ChatHandler::ChatHandler(), WhisperTab::handleCommandStr(), ChannelTab::handleInput(), ChatTab::handleInput(), GmTab::handleInput(), TradeTab::handleInput(), WhisperTab::handleInput(), PopupMenu::handleLink(), Actions::outString(), outStringNormal(), ChatWindow::postConnection(), ChatWindow::removeChannel(), TmwAthena::BuySellHandler::requestBuyList(), TmwAthena::BuySellHandler::requestSellList(), Gm::runCharCommand(), Gm::runCommand(), GuildManager::send(), TmwAthena::BuySellHandler::sendBuyRequest(), ShopWindow::sendMessage(), TmwAthena::BuySellHandler::sendSellRequest(), EAthena::ChatHandler::~ChatHandler(), and TmwAthena::ChatHandler::~ChatHandler().
Net::ClanHandler* clanHandler = 0 |
Definition at line 87 of file net.cpp.
Referenced by EAthena::ClanHandler::ClanHandler(), TmwAthena::ClanHandler::ClanHandler(), ClanTab::handleInput(), Actions::outString(), outStringNormal(), EAthena::ClanHandler::~ClanHandler(), and TmwAthena::ClanHandler::~ClanHandler().
Net::ElementalHandler* elementalHandler = 0 |
Definition at line 109 of file net.cpp.
Referenced by EAthena::ElementalHandler::ElementalHandler(), TmwAthena::ElementalHandler::ElementalHandler(), EAthena::ElementalHandler::~ElementalHandler(), and TmwAthena::ElementalHandler::~ElementalHandler().
int evolPacketOffset = 0 |
Definition at line 40 of file net.cpp.
Referenced by EAthena::LoginRecv::processServerVersion(), and Client::unloadData().
Net::FamilyHandler* familyHandler = 0 |
Definition at line 110 of file net.cpp.
Referenced by RequestAdoptChildListener::action(), EAthena::FamilyHandler::FamilyHandler(), TmwAthena::FamilyHandler::FamilyHandler(), EAthena::FamilyHandler::~FamilyHandler(), and TmwAthena::FamilyHandler::~FamilyHandler().
Net::FriendsHandler* friendsHandler = 0 |
Definition at line 111 of file net.cpp.
Referenced by EAthena::FriendsHandler::FriendsHandler(), TmwAthena::FriendsHandler::FriendsHandler(), EAthena::FriendsHandler::~FriendsHandler(), and TmwAthena::FriendsHandler::~FriendsHandler().
Net::GameHandler* gameHandler = 0 |
Definition at line 91 of file net.cpp.
Referenced by QuitDialog::action(), Game::changeMap(), Game::Game(), EAthena::GameHandler::GameHandler(), TmwAthena::GameHandler::GameHandler(), initEngines(), Being::logic(), Game::slowLogic(), Client::stateConnectGame1(), Client::stateSwitchLogin1(), EAthena::GameHandler::~GameHandler(), and TmwAthena::GameHandler::~GameHandler().
Net::GeneralHandler* generalHandler = 0 |
Definition at line 88 of file net.cpp.
Referenced by Net::connectToServer(), createGuiWindows(), destroyGuiWindows(), EAthena::GeneralHandler::GeneralHandler(), TmwAthena::GeneralHandler::GeneralHandler(), EAthena::LoginHandler::sendVersion(), and Net::unload().
Net::GuildHandler* guildHandler = 0 |
Definition at line 92 of file net.cpp.
Referenced by SocialGuildTab::action(), SocialWindow::action(), NotifyManager::getGuildTab(), EAthena::GuildHandler::GuildHandler(), TmwAthena::GuildHandler::GuildHandler(), GuildTab::handleCommand(), GuildTab::handleInput(), PopupMenu::handleLink(), Actions::outString(), outStringNormal(), EAthena::GuildRecv::processGuildPositionInfo(), EAthena::GuildHandler::~GuildHandler(), and TmwAthena::GuildHandler::~GuildHandler().
Net::HomunculusHandler* homunculusHandler = 0 |
Definition at line 112 of file net.cpp.
Referenced by Being::botLogic(), EAthena::HomunculusHandler::HomunculusHandler(), TmwAthena::HomunculusHandler::HomunculusHandler(), Being::moveBotTo(), PlayerInfo::updateAttackAi(), Being::updateBotDirection(), EmoteShortcut::useEmote(), EAthena::HomunculusHandler::~HomunculusHandler(), and TmwAthena::HomunculusHandler::~HomunculusHandler().
Net::InventoryHandler* inventoryHandler = 0 |
Definition at line 89 of file net.cpp.
Referenced by InventoryWindow::action(), InsertCardListener::action(), BeingEquipBackend::BeingEquipBackend(), InventoryWindow::close(), DialogsManager::closeDialogs(), EquipmentWindow::draw(), PlayerInfo::dropItem(), PlayerInfo::equipItem(), ItemAmountWindow::finish(), EAthena::InventoryRecv::getSlot(), TmwAthena::InventoryRecv::getSlot(), PlayerInfo::getStorageInventory(), LocalPlayer::imitateOutfit(), EAthena::InventoryHandler::InventoryHandler(), TmwAthena::InventoryHandler::InventoryHandler(), InventoryWindow::mouseClicked(), ItemContainer::mouseReleased(), EAthena::PetRecv::processEggsList(), Ea::InventoryRecv::processPlayerArrowEquip(), EAthena::InventoryRecv::processPlayerUseCard(), EquipmentWindow::safeDraw(), EggSelectionDialog::sellAction(), InsertCardDialog::sellAction(), PlayerInfo::unequipItem(), StatusWindow::updateArrowsBar(), PlayerInfo::useEquipItem(), PlayerInfo::useEquipItem2(), PlayerInfo::useItem(), InventoryWindow::valueChanged(), EAthena::InventoryHandler::~InventoryHandler(), and TmwAthena::InventoryHandler::~InventoryHandler().
Net::LoginHandler* loginHandler = 0 |
Definition at line 90 of file net.cpp.
Referenced by ChangeEmailDialog::action(), ChangePasswordDialog::action(), LoginDialog::action(), RegisterDialog::action(), WorldSelectDialog::action(), EAthena::CharServerHandler::connect(), EAthena::GameHandler::connect(), TmwAthena::CharServerHandler::connect(), TmwAthena::GameHandler::connect(), Net::connectToServer(), DbManager::loadDb(), EAthena::LoginHandler::LoginHandler(), TmwAthena::LoginHandler::LoginHandler(), LoginDialog::postInit(), EAthena::LoginRecv::processLoginData(), TmwAthena::LoginRecv::processLoginData(), EAthena::CharServerRecv::readPlayerData(), TmwAthena::CharServerRecv::readPlayerData(), EAthena::CharServerHandler::setCharCreateDialog(), TmwAthena::CharServerHandler::setCharCreateDialog(), Client::stateConnectGame1(), Client::stateConnectServer1(), Client::stateWorldSelect1(), EAthena::LoginHandler::~LoginHandler(), and TmwAthena::LoginHandler::~LoginHandler().
Net::Mail2Handler* mail2Handler = 0 |
Definition at line 113 of file net.cpp.
Referenced by MailViewWindow::action(), MailWindow::action(), MailEditWindow::close(), ItemAmountWindow::finish(), MailEditWindow::focusLost(), EAthena::Mail2Handler::Mail2Handler(), TmwAthena::Mail2Handler::Mail2Handler(), ItemContainer::mouseReleased(), EAthena::Mail2Recv::processCheckNameResult(), MailWindow::refreshMails(), MailEditWindow::sendMail(), MailWindow::viewNext(), MailWindow::viewPrev(), EAthena::Mail2Handler::~Mail2Handler(), and TmwAthena::Mail2Handler::~Mail2Handler().
Net::MailHandler* mailHandler = 0 |
Definition at line 114 of file net.cpp.
Referenced by MailViewWindow::action(), MailWindow::action(), EAthena::MailHandler::MailHandler(), TmwAthena::MailHandler::MailHandler(), EAthena::MailRecv::processNewMail(), MailWindow::refreshMails(), MailEditWindow::sendMail(), MailWindow::viewNext(), MailWindow::viewPrev(), EAthena::MailHandler::~MailHandler(), and TmwAthena::MailHandler::~MailHandler().
Net::MapHandler* mapHandler = 0 |
Definition at line 115 of file net.cpp.
Referenced by EAthena::MapHandler::MapHandler(), TmwAthena::MapHandler::MapHandler(), EAthena::MapHandler::~MapHandler(), and TmwAthena::MapHandler::~MapHandler().
Net::MarketHandler* marketHandler = 0 |
Definition at line 116 of file net.cpp.
Referenced by BuyDialog::action(), BuyDialog::close(), EAthena::MarketHandler::MarketHandler(), TmwAthena::MarketHandler::MarketHandler(), EAthena::MarketHandler::~MarketHandler(), and TmwAthena::MarketHandler::~MarketHandler().
Net::MercenaryHandler* mercenaryHandler = 0 |
Definition at line 118 of file net.cpp.
Referenced by Being::botLogic(), EAthena::MercenaryHandler::MercenaryHandler(), TmwAthena::MercenaryHandler::MercenaryHandler(), Being::moveBotTo(), PlayerInfo::updateAttackAi(), Being::updateBotDirection(), EmoteShortcut::useEmote(), EAthena::MercenaryHandler::~MercenaryHandler(), and TmwAthena::MercenaryHandler::~MercenaryHandler().
Net::NpcHandler* npcHandler = 0 |
Definition at line 93 of file net.cpp.
Referenced by BuyDialog::action(), BuySellDialog::action(), NpcDialog::action(), NpcDialog::closeDialog(), ItemAmountWindow::finish(), ItemContainer::mouseReleased(), InventoryWindow::moveItemToCraft(), NpcDialog::nextDialog(), EAthena::NpcHandler::NpcHandler(), TmwAthena::NpcHandler::NpcHandler(), Ea::NpcRecv::processChangeTitle(), Ea::NpcRecv::processNpcChoice(), Ea::NpcRecv::processNpcClose(), Ea::NpcRecv::processNpcCommand(), Ea::NpcRecv::processNpcIntInput(), Ea::NpcRecv::processNpcMessage(), Ea::NpcRecv::processNpcNext(), EAthena::NpcRecv::processNpcSkin(), Ea::NpcRecv::processNpcStrInput(), NpcSellDialog::sellManyItems(), NpcSellDialog::sellOneItem(), PopupMenu::showPopup(), Being::talkTo(), EAthena::NpcHandler::~NpcHandler(), and TmwAthena::NpcHandler::~NpcHandler().
Net::PartyHandler* partyHandler = 0 |
Definition at line 94 of file net.cpp.
Referenced by SocialPartyTab::action(), SocialWindow::action(), PartyTab::handleCommand(), PartyTab::handleInput(), NotifyManager::notify(), Actions::outString(), outStringNormal(), EAthena::PartyHandler::PartyHandler(), TmwAthena::PartyHandler::PartyHandler(), EAthena::PartyHandler::~PartyHandler(), and TmwAthena::PartyHandler::~PartyHandler().
Net::PetHandler* petHandler = 0 |
Definition at line 95 of file net.cpp.
Referenced by CrazyMoves::crazyMoveAe(), EAthena::PetHandler::PetHandler(), TmwAthena::PetHandler::PetHandler(), EmoteShortcut::useEmote(), EAthena::PetHandler::~PetHandler(), and TmwAthena::PetHandler::~PetHandler().
Net::PlayerHandler* playerHandler = 0 |
Definition at line 96 of file net.cpp.
Referenced by ChangeDisplay::action(), SkillDialog::action(), WhoIsOnline::action(), PlayerPostDeathListener::action(), LocalPlayer::attack(), CrazyMoves::crazyMove1(), CrazyMoves::crazyMove2(), CrazyMoves::crazyMove3(), CrazyMoves::crazyMove9(), CrazyMoves::crazyMoveAd(), WhoIsOnline::download(), LocalPlayer::emote(), ActorManager::heal(), LocalPlayer::imitateAction(), LocalPlayer::imitateDirection(), SpellManager::invoke(), ActorManager::itenplz(), LocalPlayer::magicAttack(), LocalPlayer::moveToHome(), PlayerInfo::pickUpItem(), EAthena::PlayerHandler::PlayerHandler(), TmwAthena::PlayerHandler::PlayerHandler(), EAthena::CharServerRecv::processCharMapInfo(), Ea::PlayerRecv::processPlayerStatUpdate1(), Ea::PlayerRecv::processPlayerStatUpdate2(), Ea::PlayerRecv::processPlayerStatUpdate3(), Ea::PlayerRecv::processPlayerStatUpdate4(), Ea::PlayerRecv::processPlayerStatUpdate6(), EAthena::PlayerRecv::processPlayerStatUpdate7(), LocalPlayer::setDestination(), LocalPlayer::startWalking(), StatusWindow::StatusWindow(), LocalPlayer::stopAttack(), LocalPlayer::stopWalking(), Being::talkTo(), LocalPlayer::toggleSit(), StatusWindow::updateMPBar(), LocalPlayer::updateSit(), LocalPlayer::updateStatus(), EAthena::PlayerHandler::~PlayerHandler(), and TmwAthena::PlayerHandler::~PlayerHandler().
Net::QuestHandler* questHandler = 0 |
Definition at line 123 of file net.cpp.
Referenced by EAthena::QuestHandler::QuestHandler(), TmwAthena::QuestHandler::QuestHandler(), EAthena::QuestHandler::~QuestHandler(), and TmwAthena::QuestHandler::~QuestHandler().
Net::RefineHandler* refineHandler = 0 |
Definition at line 119 of file net.cpp.
Referenced by EAthena::RefineHandler::RefineHandler(), TmwAthena::RefineHandler::RefineHandler(), EAthena::RefineHandler::~RefineHandler(), and TmwAthena::RefineHandler::~RefineHandler().
Net::RouletteHandler* rouletteHandler = 0 |
Definition at line 120 of file net.cpp.
Referenced by EAthena::RouletteHandler::RouletteHandler(), TmwAthena::RouletteHandler::RouletteHandler(), EAthena::RouletteHandler::~RouletteHandler(), and TmwAthena::RouletteHandler::~RouletteHandler().
Net::SearchStoreHandler* searchStoreHandler = 0 |
Definition at line 121 of file net.cpp.
Referenced by EAthena::SearchStoreHandler::SearchStoreHandler(), TmwAthena::SearchStoreHandler::SearchStoreHandler(), EAthena::SearchStoreHandler::~SearchStoreHandler(), and TmwAthena::SearchStoreHandler::~SearchStoreHandler().
Net::ServerFeatures* serverFeatures = 0 |
Definition at line 101 of file net.cpp.
Referenced by CharSelectDialog::action(), CharSelectDialog::askPasswordForDeletion(), LocalPlayer::canMove(), CharCreateDialog::CharCreateDialog(), CharSelectDialog::CharSelectDialog(), EAthena::GameHandler::connect(), EAthena::LoginHandler::connect(), TmwAthena::LoginHandler::connect(), ActorManager::createBeing(), Being::drawHpBar(), EAthena::HomunculusHandler::emote(), EAthena::MercenaryHandler::emote(), EAthena::ChatHandler::joinChannel(), EAthena::PetHandler::move(), EAthena::CharServerHandler::newCharacter(), EAthena::ChatHandler::partChannel(), FloorItem::postInit(), TmwAthena::ChatRecv::processBeingChat(), EAthena::BeingRecv::processBeingMove(), TmwAthena::BeingRecv::processBeingMove(), EAthena::BeingRecv::processBeingMove2(), Ea::BeingRecv::processBeingMove3(), TmwAthena::BeingRecv::processBeingVisible(), TmwAthena::CharServerRecv::readPlayerData(), RegisterDialog::RegisterDialog(), EAthena::ServerFeatures::ServerFeatures(), TmwAthena::ServerFeatures::ServerFeatures(), LocalPlayer::setAction(), CharCreateDialog::setAttributes(), EAthena::setBasicFields(), EAthena::HomunculusHandler::setDirection(), EAthena::MercenaryHandler::setDirection(), EAthena::PetHandler::setDirection(), Being::setRiding(), LocalPlayer::slowLogic(), EAthena::HomunculusHandler::talk(), EAthena::MercenaryHandler::talk(), Being::updateFromCache(), CharCreateDialog::updateLook(), and LocalPlayer::updateStatus().
Net::SkillHandler* skillHandler = 0 |
Definition at line 97 of file net.cpp.
Referenced by SkillWarpListener::action(), TextSkillListener::action(), EAthena::SkillHandler::SkillHandler(), TmwAthena::SkillHandler::SkillHandler(), SkillDialog::useSkillDefault(), SkillDialog::useSkillPosition(), SkillDialog::useSkillTarget(), EAthena::SkillHandler::~SkillHandler(), and TmwAthena::SkillHandler::~SkillHandler().
Net::TradeHandler* tradeHandler = 0 |
Definition at line 98 of file net.cpp.
Referenced by TradeWindow::action(), RequestTradeListener::action(), TradeWindow::close(), TradeWindow::initTrade(), ItemContainer::mouseReleased(), Ea::TradeRecv::processTradeRequestContinue(), TmwAthena::TradeRecv::processTradeResponse(), ShopWindow::startTrade(), EAthena::TradeHandler::TradeHandler(), TmwAthena::TradeHandler::TradeHandler(), TradeWindow::tradeItem(), EAthena::TradeHandler::~TradeHandler(), and TmwAthena::TradeHandler::~TradeHandler().
Net::VendingHandler* vendingHandler = 0 |
Definition at line 122 of file net.cpp.
Referenced by BuyDialog::action(), ShopWindow::action(), BuyDialog::close(), EAthena::VendingHandler::VendingHandler(), TmwAthena::VendingHandler::VendingHandler(), EAthena::VendingHandler::~VendingHandler(), and TmwAthena::VendingHandler::~VendingHandler().