ManaPlus
|
Functions | |
void | readPlayerData (Net::MessageIn &msg, Net::Character *const character) |
void | processCharCreate (Net::MessageIn &msg) |
void | processCharDeleteFailed (Net::MessageIn &msg) |
void | processCharLogin (Net::MessageIn &msg) |
void | processCharMapInfo (Net::MessageIn &msg) |
void | processChangeMapServer (Net::MessageIn &msg) |
void TmwAthena::CharServerRecv::processChangeMapServer | ( | Net::MessageIn & | msg | ) |
Definition at line 237 of file charserverrecv.cpp.
References BLOCK_END, BLOCK_START, State::CHANGE_MAP, client, config, Ea::Network::disconnect(), Configuration::getBoolValue(), ServerInfo::hostname, ipToString(), localPlayer, TmwAthena::mapServer, TmwAthena::Network::mInstance, Actions::msg(), Settings::persistentIp, ServerInfo::port, Settings::serverName, Ea::GameHandler::setMap(), LocalPlayer::setMap(), Client::setState(), LocalPlayer::setTileCoords(), settings, x, and y.
void TmwAthena::CharServerRecv::processCharCreate | ( | Net::MessageIn & | msg | ) |
Definition at line 271 of file charserverrecv.cpp.
References BLOCK_END, BLOCK_START, Net::CharServerHandler::mCharacters, Net::CharServerHandler::mCharCreateDialog, Actions::msg(), EAthena::CharServerRecv::readPlayerData(), Window::scheduleDelete(), and Net::CharServerHandler::updateCharSelectDialog().
void TmwAthena::CharServerRecv::processCharDeleteFailed | ( | Net::MessageIn & | msg | ) |
Definition at line 286 of file charserverrecv.cpp.
References _, BLOCK_END, BLOCK_START, CREATEWIDGET, DialogType::ERROR, Modal_true, Actions::msg(), ShowCenter_true, and Net::CharServerHandler::unlockCharSelectDialog().
void TmwAthena::CharServerRecv::processCharLogin | ( | Net::MessageIn & | msg | ) |
Definition at line 170 of file charserverrecv.cpp.
References BLOCK_END, BLOCK_START, CAST_U16, State::CHAR_SELECT, LoginData::characterSlots, client, delete_all(), Net::Character::dummy, Being::getName(), Logger::log(), logger, loginData, Net::CharServerHandler::mCharacters, Actions::msg(), EAthena::CharServerRecv::readPlayerData(), Client::setState(), and Net::Character::slot.
void TmwAthena::CharServerRecv::processCharMapInfo | ( | Net::MessageIn & | msg | ) |
Definition at line 203 of file charserverrecv.cpp.
References ServerInfo::althostname, BLOCK_END, BLOCK_START, TmwAthena::charServer, charServerHandler, Net::CharServerHandler::clear(), client, config, State::CONNECT_GAME, data, Ea::Network::disconnect(), Net::Character::dummy, Configuration::getBoolValue(), ServerInfo::hostname, ipToString(), localPlayer, TmwAthena::mapServer, TmwAthena::Network::mInstance, Net::CharServerHandler::mSelectedCharacter, Actions::msg(), Settings::persistentIp, ServerInfo::port, Settings::serverName, PlayerInfo::setBackend(), PlayerInfo::setCharId(), Ea::GameHandler::setMap(), Client::setState(), settings, and Net::CharServerHandler::updateCharSelectDialog().
void TmwAthena::CharServerRecv::readPlayerData | ( | Net::MessageIn & | msg, |
Net::Character *const | character | ||
) |
Definition at line 63 of file charserverrecv.cpp.
References BeingTypeId_zero, CAST_U8, Net::Character::data, data, Net::Character::dummy, fromInt, ItemDB::get(), Actions::hat(), Net::ServerFeatures::haveCreateCharGender(), Being::intToGender(), loginHandler, Attributes::MONEY, Actions::msg(), PlayerInfoBackend::mStats, Attributes::PLAYER_AGI, Attributes::PLAYER_BASE_LEVEL, Attributes::PLAYER_DEX, Attributes::PLAYER_EXP, Attributes::PLAYER_HP, Attributes::PLAYER_INT, Attributes::PLAYER_JOB_EXP, Attributes::PLAYER_JOB_LEVEL, Attributes::PLAYER_LUK, Attributes::PLAYER_MAX_HP, Attributes::PLAYER_MAX_MP, Attributes::PLAYER_MP, Attributes::PLAYER_STR, Attributes::PLAYER_VIT, serverFeatures, Being::setGender(), Being::setHairColor(), Being::setKarma(), Being::setManner(), Being::setName(), Being::setSpriteColor(), Being::setSpriteId(), Being::setSubtype(), Being::setWeaponId(), Token::sex, Net::Character::slot, SPRITE_BODY, SPRITE_CLOTHES_COLOR, SPRITE_FLOOR, ItemDbType::SPRITE_HAIR, SPRITE_HAIR_COLOR, SPRITE_HEAD_BOTTOM, SPRITE_HEAD_MID, SPRITE_HEAD_TOP, SPRITE_SHIELD, SPRITE_SHOES, SPRITE_WEAPON, and Being::unSetSprite().