|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Player session in the World. More...
#include <WorldSession.h>
Classes | |
| class | DosProtection |
Public Attributes | |
| time_t | m_muteTime |
| std::atomic< time_t > | m_timeOutTime |
Protected Attributes | |
| class WorldSession::DosProtection | AntiDOS |
Private Types | |
| typedef std::list< AddonInfo > | AddonsList |
Private Member Functions | |
| void | InitializeQueryCallbackParameters () |
| bool | IsLegitCharacterForAccount (uint32 lowGUID) |
| void | LogUnexpectedOpcode (WorldPacket *packet, const char *status, const char *reason) const |
| Logging helper for unexpected opcodes. | |
| void | LogUnprocessedTail (WorldPacket *packet) const |
| Logging helper for unexpected opcodes. | |
| void | moveItems (Item *myItems[], Item *hisItems[]) |
| WorldSession & | operator= (WorldSession const &right)=delete |
| void | ProcessQueryCallbacks () |
| WorldSession (WorldSession const &right)=delete | |
Friends | |
| class | World |
Definition at line 253 of file WorldSession.h.
|
private |
Definition at line 1198 of file WorldSession.h.
| WorldSession::WorldSession | ( | uint32 | id, |
| WorldSocket * | sock, | ||
| AccountTypes | sec, | ||
| uint8 | expansion, | ||
| time_t | mute_time, | ||
| LocaleConstant | locale, | ||
| uint32 | recruiter, | ||
| bool | isARecruiter, | ||
| bool | hasBoost ) |
WorldSession constructor.
Definition at line 88 of file WorldSession.cpp.
References _accountId, _compressionStream, _filterAddonMessages, _logoutTime, _player, _RBACData, _security, _warden, WorldSocket::AddReference(), AntiDOS, CONFIG_COMPRESSION, GetAccountId(), WorldSocket::GetRemoteAddress(), InitializeQueryCallbackParameters(), isRecruiter, LoginDatabase, m_Address, m_charBooster, m_clientTimeDelay, m_expansion, m_hasBoost, m_inQueue, m_latency, m_muteTime, m_playerLoading, m_playerLogout, m_playerRecentlyLogout, m_playerSave, m_sessionDbcLocale, m_sessionDbLocaleIndex, m_Socket, m_timeOutTime, m_TutorialsChanged, m_virtualRealmID, recruiterId, ResetTimeOutTime(), SF_LOG_ERROR, sWorld, and timeLastWhoCommand.
Referenced by WorldSession::DosProtection::DosProtection(), operator=(), and WorldSession().
| WorldSession::~WorldSession | ( | ) |
WorldSession destructor.
Definition at line 140 of file WorldSession.cpp.
References _compressionStream, _player, _RBACData, _recvQueue, _warden, GetAccountId(), LoginDatabase, LogoutPlayer(), m_charBooster, m_Socket, and SF_LOG_ERROR.
|
privatedelete |
References WorldSession().
| void WorldSession::BuildPartyMemberStatsChangedPacket | ( | Player * | player, |
| WorldPacket * | data ) |
Definition at line 977 of file GroupHandler.cpp.
References ByteBuffer::append(), ByteBuffer::FlushBits(), Unit::GetDisplayId(), Player::GetGroupUpdateFlag(), Object::GetGUID(), Unit::GetHealth(), Unit::getLevel(), Unit::GetMaxHealth(), Unit::GetMaxPower(), WorldObject::GetName(), Player::GetPet(), WorldObject::GetPhases(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), Unit::GetPower(), Unit::getPowerType(), Unit::GetVehicle(), WorldObject::GetZoneId(), GROUP_UPDATE_FLAG_CUR_HP, GROUP_UPDATE_FLAG_CUR_POWER, GROUP_UPDATE_FLAG_LEVEL, GROUP_UPDATE_FLAG_MAX_HP, GROUP_UPDATE_FLAG_MAX_POWER, GROUP_UPDATE_FLAG_NONE, GROUP_UPDATE_FLAG_PET_CUR_HP, GROUP_UPDATE_FLAG_PET_CUR_POWER, GROUP_UPDATE_FLAG_PET_GUID, GROUP_UPDATE_FLAG_PET_MAX_HP, GROUP_UPDATE_FLAG_PET_MAX_POWER, GROUP_UPDATE_FLAG_PET_MODEL_ID, GROUP_UPDATE_FLAG_PET_NAME, GROUP_UPDATE_FLAG_PET_POWER_TYPE, GROUP_UPDATE_FLAG_PHASE, GROUP_UPDATE_FLAG_POSITION, GROUP_UPDATE_FLAG_POWER_TYPE, GROUP_UPDATE_FLAG_STATUS, GROUP_UPDATE_FLAG_VEHICLE_SEAT, GROUP_UPDATE_FLAG_ZONE, Object::HasByteFlag(), Object::HasFlag(), WorldPacket::Initialize(), Player::isAFK(), Unit::IsAlive(), Player::isDND(), Unit::IsPvP(), WorldObject::m_movementInfo, MEMBER_STATUS_AFK, MEMBER_STATUS_DEAD, MEMBER_STATUS_DND, MEMBER_STATUS_GHOST, MEMBER_STATUS_ONLINE, MEMBER_STATUS_PVP, MEMBER_STATUS_PVP_FFA, PLAYER_FIELD_PLAYER_FLAGS, PLAYER_FLAGS_GHOST, MovementInfo::TransportInfo::seat, ByteBuffer::size(), SMSG_PARTY_MEMBER_STATE, MovementInfo::transport, UNIT_BYTE2_FLAG_FFA_PVP, UNIT_FIELD_SHAPESHIFT_FORM, ByteBuffer::WriteBit(), and ByteBuffer::WriteByteSeq().
Referenced by HandleRequestPartyMemberStatsOpcode(), and Group::UpdatePlayerOutOfRange().
| bool WorldSession::CheckStableMaster | ( | uint64 | guid | ) |
Definition at line 1130 of file PetHandler.cpp.
References GetPlayer(), GUID_LOPART(), SF_LOG_DEBUG, and UNIT_NPC_FLAG_STABLEMASTER.
Referenced by HandleBuyStableSlot(), HandleRequestStabledPetsOpcode(), HandleStablePet(), HandleStableSwapPet(), and HandleUnstablePet().
| void WorldSession::ClearPetBattlePvpQueueState | ( | ) |
Definition at line 858 of file BattlePetHandler.cpp.
References Object::GetGUID(), GetPlayer(), Skyfire::BattlePetPackets::PET_BATTLE_QUEUE_STATUS_OPPONENT_DECLINED, and Skyfire::BattlePetPackets::PET_BATTLE_QUEUE_STATUS_REMOVED.
Referenced by LogoutPlayer().
| void WorldSession::DoLootRelease | ( | uint64 | lguid | ) |
Definition at line 341 of file LootHandler.cpp.
References _player, GameObject::AddUse(), Creature::AllLootRemovedFromCorpse(), CLASS_ROGUE, Loot::clear(), CORPSE_DYNFLAG_LOOTABLE, CORPSE_FIELD_DYNAMIC_FLAGS, Player::DestroyItem(), Player::DestroyItemCount(), GameObjectValue::FishingHole, ItemTemplate::Flags, Object::ForceValuesUpdateAtIndex(), GAMEOBJECT_TYPE_DOOR, GAMEOBJECT_TYPE_FISHINGHOLE, GAMEOBJECT_TYPE_FISHINGNODE, Item::GetBagSlot(), Unit::getClass(), ObjectAccessor::GetCorpse(), Item::GetCount(), Map::GetCreature(), Map::GetGameObject(), GameObject::GetGoType(), GameObject::GetGOValue(), Player::GetGroup(), Object::GetGUID(), Player::GetItemByGuid(), Player::GetLootGUID(), WorldObject::GetMap(), GameObject::GetOwnerGUID(), GetPlayer(), Item::GetSlot(), Item::GetTemplate(), GameObject::GetUseCount(), GO_ACTIVATED, GO_JUST_DEACTIVATED, GO_READY, INTERACTION_DISTANCE, IS_CORPSE_GUID(), IS_GAMEOBJECT_GUID(), IS_ITEM_GUID(), Unit::IsAlive(), Object::IsInWorld(), Loot::isLooted(), WorldObject::IsWithinDistInMap(), ITEM_PROTO_FLAG_MILLABLE, ITEM_PROTO_FLAG_PROSPECTABLE, Corpse::loot, Creature::loot, GameObject::loot, Item::loot, Creature::lootForPickPocketed, Item::m_lootGenerated, MASTER_LOOT, GameObjectValue::MaxOpens, OBJECT_FIELD_DYNAMIC_FLAGS, Object::RemoveFlag(), Player::RemoveLootedObject(), Loot::RemoveLooter(), Loot::roundRobinPlayer, Player::SendLootRelease(), Player::SetLootGUID(), GameObject::SetLootState(), UNIT_DYNFLAG_LOOTABLE, UNIT_FIELD_FLAGS, UNIT_FLAG_LOOTING, and GameObject::UseDoorOrButton().
Referenced by HandleAutostoreLootItemOpcode(), HandleLogoutRequestOpcode(), HandleLootMoneyOpcode(), HandleLootReleaseOpcode(), and LogoutPlayer().
|
inline |
Definition at line 303 of file WorldSession.h.
References m_expansion.
Referenced by lfg::LFGMgr::GetLockedDungeons(), SendAuthResponse(), and SendLfgPlayerLockInfo().
|
inline |
Definition at line 432 of file WorldSession.h.
References m_accountData.
Referenced by HandleRequestAccountData(), and SendAccountDataTimes().
|
inline |
Definition at line 294 of file WorldSession.h.
References _accountId.
Referenced by World::AddSession_(), WorldSocket::BuildPacketLogSessionInfo(), Spell::CheckCast(), Spell::EffectEnchantItemPerm(), Spell::EffectEnchantItemPrismatic(), Spell::EffectEnchantItemTmp(), LuaPlayer::GetAccountId(), LuaPlayer::GetAccountName(), GetPlayerInfo(), Player::GetsRecruitAFriendBonus(), WorldSocket::handle_input_header(), HandleAcceptGrantLevel(), HandleAcceptTradeOpcode(), account_commandscript::HandleAccountAddonCommand(), account_commandscript::HandleAccountCommand(), account_commandscript::HandleAccountCreateCommand(), account_commandscript::HandleAccountEmailCommand(), account_commandscript::HandleAccountLockCountryCommand(), account_commandscript::HandleAccountLockIpCommand(), account_commandscript::HandleAccountPasswordCommand(), account_commandscript::HandleAccountSetAddonCommand(), account_commandscript::HandleAccountSetGmLevelCommand(), HandleAuctionSellItem(), HandleChangePlayerNameOpcodeCallBack(), character_commandscript::HandleCharacterEraseCommand(), HandleCharCreateCallback(), HandleCharCreateOpcode(), HandleCharCustomize(), HandleCharDeleteOpcode(), HandleCharEnum(), HandleCharEnumOpcode(), HandleCharFactionOrRaceChange(), HandleCharRenameOpcode(), HandleDismissCritter(), gm_commandscript::HandleGMNoteCommand(), HandleGrantLevel(), HandleMailReturnToSender(), HandleMailTakeItem(), Guild::HandleMemberDepositMoney(), misc_commandscript::HandleMuteCommand(), HandlePetitionSignOpcode(), misc_commandscript::HandlePInfoCommand(), HandlePlayerLogin(), HandlePlayerLoginOpcode(), HandleRandomizeCharNameOpcode(), HandleSendMail(), misc_commandscript::HandleUnmuteCommand(), HandleWhoisOpcode(), HandleWhoOpcode(), World::HasRecentlyDisconnected(), WardenMac::Init(), WardenWin::Init(), LoadGlobalAccountData(), LoadPermissions(), LoadTutorialsData(), LogoutPlayer(), moveItems(), WorldSocket::ProcessIncoming(), SaveTutorialsData(), AuctionHouseMgr::SendAuctionWonMail(), SendNameQueryOpcode(), SetAccountData(), Guild::Member::SetStats(), Update(), WorldSession(), and ~WorldSession().
|
inline |
Definition at line 519 of file WorldSession.h.
References _compressionStream.
Definition at line 720 of file QuestHandler.cpp.
References Player::CanSeeStartQuest(), Player::CanTakeQuest(), CONDITION_SOURCE_TYPE_QUEST_ACCEPT, CONFIG_QUEST_LOW_LEVEL_HIDE_DIFF, DIALOG_STATUS_AVAILABLE, DIALOG_STATUS_AVAILABLE_REP, DIALOG_STATUS_INCOMPLETE, DIALOG_STATUS_LOW_LEVEL_AVAILABLE, DIALOG_STATUS_NONE, DIALOG_STATUS_REWARD, DIALOG_STATUS_REWARD_REP, DIALOG_STATUS_UNAVAILABLE, Object::GetEntry(), Unit::getLevel(), Quest::GetQuestId(), Player::GetQuestLevel(), Player::GetQuestRewardStatus(), Player::GetQuestStatus(), Object::GetTypeId(), Quest::HasFlag(), Quest::IsAutoComplete(), Player::IsQuestRewarded(), Quest::IsRepeatable(), QUEST_FLAGS_DAILY, QUEST_FLAGS_WEEKLY, QUEST_STATUS_COMPLETE, QUEST_STATUS_INCOMPLETE, QUEST_STATUS_NONE, Player::SatisfyQuestLevel(), sConditionMgr, SF_LOG_ERROR, sObjectMgr, sWorld, TYPEID_GAMEOBJECT, and TYPEID_UNIT.
Referenced by HandleQuestgiverStatusQueryOpcode(), and SendQuestgiverStatusMultiple().
| uint32 WorldSession::GetGuidLow | ( | ) | const |
Get player guid if available. Use for logging purposes only.
Definition at line 190 of file WorldSession.cpp.
References Object::GetGUIDLow(), and GetPlayer().
Referenced by HandleObjectUpdateFailedOpcode(), HandleSendMail(), and Guild::SendGuildXP().
|
inline |
Definition at line 495 of file WorldSession.h.
References m_latency.
Referenced by LuaPlayer::GetLatency(), misc_commandscript::HandlePInfoCommand(), HandleReportLag(), HandleTimeSyncResp(), and Player::SendCinematicStart().
|
inline |
Definition at line 295 of file WorldSession.h.
References _player.
Referenced by ticket_commandscript::_HandleGMTicketResponseAppendCommand(), Guild::BroadcastAddonToGuild(), Guild::BroadcastToGuild(), WorldSocket::BuildPacketLogSessionInfo(), CheckStableMaster(), ClearPetBattlePvpQueueState(), DoLootRelease(), GetGuidLow(), debug_commandscript::GetSOTABattlegroundForBoatCommand(), WorldSocket::handle_input_header(), Guild::HandleAcceptMember(), account_commandscript::HandleAccountCreateCommand(), account_commandscript::HandleAccountEmailCommand(), account_commandscript::HandleAccountPasswordCommand(), HandleActivateTaxiExpressOpcode(), HandleActivateTaxiOpcode(), HandleAddFriendOpcode(), HandleAddFriendOpcodeCallBack(), HandleAddIgnoreOpcode(), HandleAddIgnoreOpcodeCallBack(), misc_commandscript::HandleAddItemCommand(), misc_commandscript::HandleAddItemSetCommand(), Guild::HandleAddNewRank(), HandleAddonMessagechatOpcode(), misc_commandscript::HandleAppearCommand(), HandleAreaSpiritHealerQueryOpcode(), HandleAreaSpiritHealerQueueOpcode(), HandleAreaTriggerOpcode(), HandleAttackStopOpcode(), HandleAuctionHelloOpcode(), HandleAuctionListBidderItems(), HandleAuctionListItems(), HandleAuctionListOwnerItems(), HandleAuctionPlaceBid(), HandleAuctionRemoveItem(), HandleAuctionSellItem(), HandleAutoDeclineGuildInvites(), HandleAutoEquipItemSlotOpcode(), HandleAutostoreLootItemOpcode(), misc_commandscript::HandleBankCommand(), HandleBankerActivateOpcode(), HandleBattlefieldStatusOpcode(), HandleBattlemasterHelloOpcode(), HandleBattlemasterJoinOpcode(), HandleBattlePetDelete(), HandleBattlePetFinalNotify(), HandleBattlePetInput(), HandleBattlePetInputFirstPet(), HandleBattlePetLearn(), HandleBattlePetModifyName(), HandleBattlePetQueryName(), HandleBattlePetQuitNotify(), HandleBattlePetRequestJournal(), HandleBattlePetRequestUpdate(), HandleBattlePetSetBattleSlot(), HandleBattlePetSetFlags(), HandleBattlePetSummonCompanion(), HandleBattlePetWildRequest(), HandleBinderActivateOpcode(), misc_commandscript::HandleBindSightCommand(), HandleBlackMarketBidOnItem(), HandleBlackMarketHelloOpcode(), debug_commandscript::HandleBoatStartCommand(), debug_commandscript::HandleBoatStopCommand(), HandleBuybackItem(), Guild::HandleBuyBankTab(), HandleBuyItemInSlotOpcode(), HandleBuyItemOpcode(), HandleBuyStableSlot(), HandleCancelTempEnchantmentOpcode(), cast_commandscript::HandleCastBackCommand(), cast_commandscript::HandleCastCommand(), cast_commandscript::HandleCastDistCommand(), cast_commandscript::HandleCastSelfCommand(), cheat_commandscript::HandleCasttimeCheatCommand(), HandleChangeCurrencyFlags(), HandleChangeSeatsOnControlledVehicle(), misc_commandscript::HandleChangeWeather(), HandleChannelAnnouncements(), HandleChannelBan(), HandleChannelInvite(), HandleChannelKick(), HandleChannelList(), HandleChannelModerator(), HandleChannelMute(), HandleChannelOwner(), HandleChannelPassword(), HandleChannelSetOwner(), message_commandscript::HandleChannelSetOwnership(), HandleChannelUnban(), HandleChannelUnmoderator(), HandleChannelUnmute(), character_commandscript::HandleCharacterLevelCommand(), HandleChatIgnoredOpcode(), cheat_commandscript::HandleCheatStatusCommand(), misc_commandscript::HandleComeToMeCommand(), HandleCompleteCinematic(), cheat_commandscript::HandleCoolDownCheatCommand(), misc_commandscript::HandleCooldownCommand(), HandleCorpseQueryOpcode(), misc_commandscript::HandleDamageCommand(), debug_commandscript::HandleDebugAnimCommand(), debug_commandscript::HandleDebugAreaTriggersCommand(), debug_commandscript::HandleDebugEnterVehicleCommand(), debug_commandscript::HandleDebugGetItemStateCommand(), debug_commandscript::HandleDebugGetItemValueCommand(), debug_commandscript::HandleDebugHostileRefListCommand(), debug_commandscript::HandleDebugItemExpireCommand(), debug_commandscript::HandleDebugLfgGroupCommand(), debug_commandscript::HandleDebugLoSCommand(), debug_commandscript::HandleDebugMod32ValueCommand(), debug_commandscript::HandleDebugMoveflagsCommand(), debug_commandscript::HandleDebugPlayCinematicCommand(), debug_commandscript::HandleDebugPlayMovieCommand(), debug_commandscript::HandleDebugPlaySoundCommand(), debug_commandscript::HandleDebugRestCommand(), debug_commandscript::HandleDebugSendBuyErrorCommand(), debug_commandscript::HandleDebugSendChatMsgCommand(), debug_commandscript::HandleDebugSendEquipErrorCommand(), debug_commandscript::HandleDebugSendQuestInvalidMsgCommand(), debug_commandscript::HandleDebugSendQuestPartyMsgCommand(), debug_commandscript::HandleDebugSendSellErrorCommand(), debug_commandscript::HandleDebugSetItemValueCommand(), debug_commandscript::HandleDebugSpawnVehicleCommand(), debug_commandscript::HandleDebugTransportCommand(), debug_commandscript::HandleDebugUpdateWorldStateCommand(), HandleDelFriendOpcode(), HandleDelIgnoreOpcode(), modify_commandscript::HandleDeMorphCommand(), misc_commandscript::HandleDevCommand(), misc_commandscript::HandleDieCommand(), Guild::HandleDisband(), HandleDismissCritter(), misc_commandscript::HandleDismountCommand(), HandleDuelResponseOpcode(), HandleEjectPassenger(), HandleEmoteOpcode(), cheat_commandscript::HandleExploreCheatCommand(), HandleFarSightOpcode(), HandleForceSpeedChangeAck(), misc_commandscript::HandleFreezeCommand(), gobject_commandscript::HandleGameObjectActivateCommand(), gobject_commandscript::HandleGameObjectAddCommand(), gobject_commandscript::HandleGameObjectAddTempCommand(), gobject_commandscript::HandleGameObjectDeleteCommand(), gobject_commandscript::HandleGameObjectMoveCommand(), gobject_commandscript::HandleGameObjectNearCommand(), HandleGameobjectReportUse(), gobject_commandscript::HandleGameObjectTargetCommand(), gobject_commandscript::HandleGameObjectTurnCommand(), HandleGameObjectUseOpcode(), HandleGetChannelMemberCount(), misc_commandscript::HandleGetDistanceCommand(), gm_commandscript::HandleGMCommand(), gm_commandscript::HandleGMFlyCommand(), gm_commandscript::HandleGMListIngameCommand(), gm_commandscript::HandleGMNoteCommand(), HandleGMResponseResolve(), HandleGMSurveySubmit(), ticket_commandscript::HandleGMTicketAssignToCommand(), ticket_commandscript::HandleGMTicketCloseByIdCommand(), ticket_commandscript::HandleGMTicketCommentCommand(), HandleGMTicketCreateOpcode(), ticket_commandscript::HandleGMTicketDeleteByIdCommand(), HandleGMTicketDeleteOpcode(), HandleGMTicketGetTicketOpcode(), ticket_commandscript::HandleGMTicketUnAssignCommand(), HandleGMTicketUpdateOpcode(), gm_commandscript::HandleGMVisibleCommand(), go_commandscript::HandleGoCreatureCommand(), cheat_commandscript::HandleGodModeCheatCommand(), go_commandscript::HandleGoGraveyardCommand(), go_commandscript::HandleGoGridCommand(), go_commandscript::HandleGoObjectCommand(), HandleGossipHelloOpcode(), HandleGossipSelectOptionOpcode(), go_commandscript::HandleGoTaxinodeCommand(), go_commandscript::HandleGoTicketCommand(), go_commandscript::HandleGoTriggerCommand(), go_commandscript::HandleGoXYZCommand(), go_commandscript::HandleGoZoneXYCommand(), misc_commandscript::HandleGPSCommand(), HandleGroupAssistantLeaderOpcode(), HandleGroupChangeSubGroupOpcode(), HandleGroupDisbandOpcode(), HandleGroupEveryoneIsAssistantOpcode(), HandleGroupInviteOpcode(), HandleGroupInviteResponseOpcode(), HandleGroupRaidConvertOpcode(), HandleGroupSetLeaderOpcode(), HandleGroupSetRolesOpcode(), group_commandscript::HandleGroupSummonCommand(), HandleGroupUninviteGuidOpcode(), misc_commandscript::HandleGUIDCommand(), HandleGuildAcceptOpcode(), HandleGuildAddRankOpcode(), HandleGuildAssignRankOpcode(), HandleGuildBankBuyTab(), HandleGuildBankDepositMoney(), HandleGuildBankerActivate(), HandleGuildBankLogQuery(), HandleGuildBankMoneyWithdrawn(), HandleGuildBankQueryTab(), HandleGuildBankSwapItems(), HandleGuildBankTabNote(), HandleGuildBankUpdateTab(), HandleGuildBankWithdrawMoney(), HandleGuildChangeInfoTextOpcode(), HandleGuildDeclineOpcode(), HandleGuildDelRankOpcode(), HandleGuildDemoteOpcode(), HandleGuildDisbandOpcode(), HandleGuildEventLogQueryOpcode(), HandleGuildFinderAddApplication(), HandleGuildFinderBrowse(), HandleGuildFinderDeclineRecruit(), HandleGuildFinderGetApplications(), HandleGuildFinderGetRecruits(), HandleGuildFinderPostRequest(), HandleGuildFinderRemoveApplication(), HandleGuildFinderSetGuildPost(), HandleGuildInviteOpcode(), HandleGuildLeaveOpcode(), HandleGuildMOTDOpcode(), HandleGuildNewsUpdateStickyOpcode(), Guild::HandleGuildPartyRequest(), HandleGuildPermissions(), HandleGuildPromoteOpcode(), HandleGuildQueryNewsOpcode(), HandleGuildRemoveOpcode(), HandleGuildReplaceGuildMaster(), HandleGuildRosterOpcode(), HandleGuildSetGuildMaster(), HandleGuildSetNoteOpcode(), HandleGuildSetRankPermissionsOpcode(), honor_commandscript::HandleHonorAddKillCommand(), HandleInitiateTradeOpcode(), instance_commandscript::HandleInstanceListBindsCommand(), instance_commandscript::HandleInstanceSaveDataCommand(), instance_commandscript::HandleInstanceUnbindCommand(), Guild::HandleInviteMember(), misc_commandscript::HandleItemMoveCommand(), HandleItemRefund(), HandleItemRefundInfoRequest(), HandleJoinChannel(), misc_commandscript::HandleKickPlayerCommand(), learn_commandscript::HandleLearnAllGMCommand(), learn_commandscript::HandleLearnAllLangCommand(), learn_commandscript::HandleLearnAllMySpellsCommand(), learn_commandscript::HandleLearnAllMyTalentsCommand(), learn_commandscript::HandleLearnCommand(), HandleLeaveChannel(), Guild::HandleLeaveMember(), character_commandscript::HandleLevelUpCommand(), HandleLFDSetBootVoteOpcode(), HandleLFDTeleportOpcode(), HandleLfgGetStatus(), HandleLfgJoinOpcode(), HandleLfgLeaveOpcode(), HandleLfgProposalResultOpcode(), HandleLfgSetCommentOpcode(), HandleLfgSetRolesOpcode(), misc_commandscript::HandleLinkGraveCommand(), list_commandscript::HandleListCreatureCommand(), HandleListInventoryOpcode(), list_commandscript::HandleListObjectCommand(), HandleLogoutCancelOpcode(), HandleLogoutRequestOpcode(), lookup_commandscript::HandleLookupPlayerIpCommand(), HandleLootMasterGiveOpcode(), HandleLootMethodOpcode(), HandleLootMoneyOpcode(), HandleLootOpcode(), HandleLootReleaseOpcode(), HandleLootRoll(), Guild::HandleMemberDepositMoney(), Guild::HandleMemberLogout(), Guild::HandleMemberWithdrawMoney(), HandleMessagechatOpcode(), HandleMinimapPingOpcode(), mmaps_commandscript::HandleMmapLoadedTilesCommand(), mmaps_commandscript::HandleMmapLocCommand(), mmaps_commandscript::HandleMmapPathCommand(), mmaps_commandscript::HandleMmapStatsCommand(), mmaps_commandscript::HandleMmapTestArea(), modify_commandscript::HandleModifyMorphCommand(), modify_commandscript::HandleModifyPhaseCommand(), modify_commandscript::HandleModifyStandStateCommand(), HandleMountSpecialAnimOpcode(), HandleMoveHoverAck(), HandleMoveKnockBackAck(), HandleMovementForceAck(), HandleMovementOpcodes(), HandleMoveNotActiveMover(), HandleMoveSetCanFlyAckOpcode(), HandleMoveSetVehicleRecAck(), HandleMoveSplineDoneOpcode(), HandleMoveTeleportAck(), HandleMoveWaterWalkAck(), HandleMoveWorldportAckOpcode(), misc_commandscript::HandleNearGraveCommand(), npc_commandscript::HandleNpcAddCommand(), npc_commandscript::HandleNpcAddFormationCommand(), npc_commandscript::HandleNpcAddTempSpawnCommand(), npc_commandscript::HandleNpcAddVendorItemCommand(), npc_commandscript::HandleNpcDeleteCommand(), npc_commandscript::HandleNpcFollowCommand(), npc_commandscript::HandleNpcMoveCommand(), npc_commandscript::HandleNpcNearCommand(), npc_commandscript::HandleNpcTameCommand(), npc_commandscript::HandleNpcUnFollowCommand(), HandleObjectUpdateFailedOpcode(), HandleOfferPetitionOpcode(), HandleOptOutOfLootOpcode(), HandlePendingPetBattlePvpDuelResponse(), HandlePetAbandon(), HandlePetAction(), HandlePetActionHelper(), HandlePetBattleQueueProposeMatchResult(), HandlePetBattleRequestPvp(), HandlePetBattleStartPvpMatchmaking(), HandlePetBattleStopPvpMatchmaking(), HandlePetCastSpellOpcode(), pet_commandscript::HandlePetCreateCommand(), HandlePetitionBuyOpcode(), HandlePetitionShowListOpcode(), HandlePetitionSignOpcode(), pet_commandscript::HandlePetLearnCommand(), HandlePetRename(), HandlePetSetAction(), HandlePetSpellAutocastOpcode(), HandlePetStopAttack(), pet_commandscript::HandlePetUnlearnCommand(), misc_commandscript::HandlePlayAllCommand(), HandlePlayerLoginOpcode(), misc_commandscript::HandlePossessCommand(), cheat_commandscript::HandlePowerCheatCommand(), HandlePushQuestToParty(), HandleQueryGuildBankTabText(), HandleQuestgiverAcceptQuestOpcode(), HandleQuestgiverHelloOpcode(), HandleQuestLogSwapQuest(), HandleRaidReadyCheckConfirmOpcode(), HandleRaidReadyCheckOpcode(), HandleRaidTargetUpdateOpcode(), HandleRandomRollOpcode(), HandleReclaimCorpseOpcode(), HandleReforgeItemOpcode(), Guild::HandleRemoveMember(), Guild::HandleRemoveRank(), HandleRepairItemOpcode(), Guild::HandleReplaceGuildMaster(), HandleRepopRequestOpcode(), HandleReportLag(), HandleRequestStabledPetsOpcode(), HandleRequestVehicleExit(), reset_commandscript::HandleResetSpellsCommand(), reset_commandscript::HandleResetTalentsCommand(), misc_commandscript::HandleRespawnCommand(), HandleRespecWipeConfirmOpcode(), HandleResurrectResponseOpcode(), HandleReturnToGraveyard(), misc_commandscript::HandleSaveCommand(), HandleSaveCUFProfiles(), HandleSaveGuildEmblemOpcode(), HandleSellItemOpcode(), send_commandscript::HandleSendItemsCommand(), HandleSendMail(), send_commandscript::HandleSendMailCommand(), send_commandscript::HandleSendMoneyCommand(), HandleSetActionBarToggles(), HandleSetActionButtonOpcode(), Guild::HandleSetBankTabInfo(), Guild::HandleSetBankTabNote(), HandleSetCollisionHeightAck(), Guild::HandleSetEmblem(), HandleSetFactionAtWar(), HandleSetFactionCheat(), HandleSetFactionNotAtWar(), HandleSetGuildBankTabText(), Guild::HandleSetInfo(), HandleSetLfgBonusFactionID(), HandleSetLootSpecialization(), Guild::HandleSetMemberNote(), Guild::HandleSetMemberRank(), Guild::HandleSetMOTD(), Guild::HandleSetNewGuildMaster(), HandleSetPartyAssignmentOpcode(), HandleSetPetSpecialization(), HandleSetPvP(), Guild::HandleSetRankInfo(), HandleSetSheathedOpcode(), HandleSetTitleOpcode(), HandleSetWatchedFactionOpcode(), HandleSpiritHealerActivateOpcode(), HandleStablePet(), HandleStablePetCallback(), HandleStableSwapPet(), HandleStableSwapPetCallback(), HandleSubmitBugOpcode(), HandleSubmitSuggestOpcode(), misc_commandscript::HandleSummonCommand(), cheat_commandscript::HandleTaxiCheatCommand(), HandleTaxiQueryAvailableNodes(), tele_commandscript::HandleTeleAddCommand(), tele_commandscript::HandleTeleCommand(), HandleTextEmoteOpcode(), ticket_commandscript::HandleTicketAssignToCommand(), ticket_commandscript::HandleTicketCloseByIdCommand(), ticket_commandscript::HandleTicketCommentCommand(), ticket_commandscript::HandleTicketDeleteByIdCommand(), ticket_commandscript::HandleTicketUnAssignCommand(), HandleTogglePvP(), HandleTotemDestroyed(), HandleTrainerBuySpellOpcode(), HandleTransmogrifyItems(), misc_commandscript::HandleUnbindSightCommand(), HandleUnlearnSkillOpcode(), misc_commandscript::HandleUnPossessCommand(), HandleUnstablePet(), HandleUnstablePetCallback(), misc_commandscript::HandleUnstuckCommand(), Guild::HandleUpdateMemberRank(), HandleVoidStorageQuery(), HandleVoidStorageTransfer(), HandleVoidStorageUnlock(), HandleVoidSwapItem(), cheat_commandscript::HandleWaterWalkCheatCommand(), message_commandscript::HandleWhispersCommand(), HandleWhoisOpcode(), HandleWorldTeleportOpcode(), wp_commandscript::HandleWpAddCommand(), debug_commandscript::HandleWPGPSCommand(), wp_commandscript::HandleWpModifyCommand(), wp_commandscript::HandleWpShowCommand(), HandleZoneUpdateOpcode(), ArenaTeam::MassInviteToEvent(), Guild::MassInviteToEvent(), SendAttackStop(), SendAuctionCommandResult(), SendAuctionHello(), Guild::SendBankList(), SendBindPoint(), SendBlackMarketRequestItemsResult(), SendDiscoverNewTaxiNode(), SendDoFlight(), SendEnchantmentLog(), World::SendGlobalGMMessage(), World::SendGMText(), SendGroupInviteNotification(), SendLearnNewTaxiNode(), SendLfgBootProposalUpdate(), SendLfgJoinResult(), SendLfgPartyLockInfo(), SendLfgPlayerLockInfo(), SendLfgPlayerReward(), SendLfgUpdateProposal(), SendListInventory(), SendLoadCUFProfiles(), Guild::SendLoginInfo(), Guild::SendMoneyInfo(), Guild::SendPermissions(), SendPetitionShowList(), SendQuestgiverStatusMultiple(), SendRolePollInform(), SendStablePetCallback(), SendTaxiMenu(), SendTaxiStatus(), SendTrainerList(), Update(), and UpdatePetBattlePvpQueueState().
| std::string WorldSession::GetPlayerInfo | ( | ) | const |
Definition at line 178 of file WorldSession.cpp.
References _player, GetAccountId(), and GetPlayerName().
Referenced by Handle_Deprecated(), Handle_EarlyProccess(), Handle_EarlyProccessContinued(), Handle_NULL(), HandleBattleFieldPortOpcode(), HandleChallengeModeRequestLeaders(), HandleChallengeModeRequestMapStats(), HandleChannelAnnouncements(), HandleChannelBan(), HandleChannelInvite(), HandleChannelKick(), HandleChannelList(), HandleChannelModerator(), HandleChannelMute(), HandleChannelOwner(), HandleChannelPassword(), HandleChannelSetOwner(), HandleChannelUnban(), HandleChannelUnmoderator(), HandleChannelUnmute(), HandleCharFactionOrRaceChange(), HandleGetChallengeModeRewards(), HandleGetChannelMemberCount(), HandleGuildAcceptOpcode(), HandleGuildAddRankOpcode(), HandleGuildAssignRankOpcode(), HandleGuildBankBuyTab(), HandleGuildBankDepositMoney(), HandleGuildBankerActivate(), HandleGuildBankLogQuery(), HandleGuildBankMoneyWithdrawn(), HandleGuildBankQueryTab(), HandleGuildBankSwapItems(), HandleGuildBankUpdateTab(), HandleGuildBankWithdrawMoney(), HandleGuildChangeInfoTextOpcode(), HandleGuildDeclineOpcode(), HandleGuildDelRankOpcode(), HandleGuildDemoteOpcode(), HandleGuildDisbandOpcode(), HandleGuildEventLogQueryOpcode(), HandleGuildInviteOpcode(), HandleGuildLeaveOpcode(), HandleGuildMOTDOpcode(), Guild::HandleGuildPartyRequest(), HandleGuildPermissions(), HandleGuildPromoteOpcode(), HandleGuildQueryNewsOpcode(), HandleGuildQueryOpcode(), HandleGuildQueryRanksOpcode(), HandleGuildQueryXPOpcode(), HandleGuildRemoveOpcode(), HandleGuildRosterOpcode(), HandleGuildSetAchievementTracking(), HandleGuildSetNoteOpcode(), HandleGuildSetRankPermissionsOpcode(), HandleJoinChannel(), HandleLeaveChannel(), HandleLFDGetLockInfoOpcode(), HandleLFDSetBootVoteOpcode(), HandleLFDTeleportOpcode(), HandleLfgGetStatus(), HandleLfgJoinOpcode(), HandleLfgLeaveOpcode(), HandleLfgProposalResultOpcode(), HandleLfgSetCommentOpcode(), HandleLfgSetRolesOpcode(), HandleLfrJoinOpcode(), HandleLfrLeaveOpcode(), Guild::HandleNewsSetSticky(), WorldSocket::HandlePing(), Guild::HandleQuery(), HandleQueryGuildBankTabText(), Guild::HandleRoster(), HandleSaveGuildEmblemOpcode(), Guild::HandleSetBankTabInfo(), Guild::HandleSetBankTabNote(), HandleSetGuildBankTabText(), Guild::HandleSetMemberNote(), Channel::List(), LogUnexpectedOpcode(), LogUnprocessedTail(), lfg::LFGPlayerScript::OnLogin(), WorldSocket::ProcessIncoming(), Guild::SendBankLog(), Guild::SendCommandResult(), Guild::SendEventLog(), Guild::SendGuildRankInfo(), Guild::SendGuildReputationWeeklyCap(), SendLfgBootProposalUpdate(), SendLfgDisabled(), SendLfgJoinResult(), SendLfgLfrList(), SendLfgOfferContinue(), SendLfgPartyLockInfo(), SendLfgPlayerLockInfo(), SendLfgPlayerReward(), SendLfgQueueStatus(), SendLfgRoleCheckUpdate(), SendLfgRoleChosen(), SendLfgTeleportError(), SendLfgUpdateProposal(), SendLfgUpdateStatus(), Guild::SendLoginInfo(), Guild::SendMoneyInfo(), Guild::SendNewsUpdate(), SendPacket(), WorldSocket::SendPacket(), Guild::SendPermissions(), Guild::SendSaveEmblemResult(), Guild::BankTab::SendText(), and Update().
| std::string const & WorldSession::GetPlayerName | ( | ) | const |
Definition at line 173 of file WorldSession.cpp.
References _player.
Referenced by GetPlayerInfo(), HandleAuctionSellItem(), ban_commandscript::HandleBanCharacterCommand(), ban_commandscript::HandleBanHelper(), HandleMailTakeItem(), misc_commandscript::HandleMuteCommand(), HandleObjectUpdateFailedOpcode(), HandleSaveCUFProfiles(), and HandleSendMail().
| rbac::RBACData * WorldSession::GetRBACData | ( | ) |
Definition at line 1239 of file WorldSession.cpp.
References _RBACData.
Referenced by account_commandscript::HandleAccountSetGmLevelCommand(), and rbac_commandscript::ReadParams().
|
inline |
Definition at line 512 of file WorldSession.h.
References recruiterId.
Referenced by Spell::CheckCast(), LuaPlayer::GetRecruiterId(), Player::GetsRecruitAFriendBonus(), HandleAcceptGrantLevel(), HandleGrantLevel(), and LuaPlayer::IsARecruiter().
|
inline |
Definition at line 301 of file WorldSession.h.
References m_Address.
Referenced by LuaPlayer::GetPlayerIP(), account_commandscript::HandleAccountCreateCommand(), account_commandscript::HandleAccountEmailCommand(), account_commandscript::HandleAccountLockCountryCommand(), account_commandscript::HandleAccountPasswordCommand(), HandleChangePlayerNameOpcodeCallBack(), HandleCharCreateCallback(), HandleCharCustomize(), HandleCharDeleteOpcode(), HandleCharFactionOrRaceChange(), lookup_commandscript::HandleLookupPlayerIpCommand(), HandlePlayerLogin(), LogoutPlayer(), and Update().
|
inline |
Definition at line 293 of file WorldSession.h.
References _security.
Referenced by SocialMgr::BroadcastToFriendListers(), SocialMgr::GetFriendInfo(), LuaPlayer::GetGMRank(), account_commandscript::HandleAccountCommand(), ticket_commandscript::HandleGMTicketUnAssignCommand(), HandleLogoutRequestOpcode(), HandleMessagechatOpcode(), misc_commandscript::HandlePInfoCommand(), ticket_commandscript::HandleTicketUnAssignCommand(), HandleWhoOpcode(), ChatHandler::HasLowerSecurityAccount(), Player::IsVisibleGloballyFor(), Channel::JoinChannel(), Channel::List(), and LoadPermissions().
|
inline |
Definition at line 491 of file WorldSession.h.
References m_sessionDbcLocale.
Referenced by AuctionHouseObject::BuildListAuctionItems(), LuaPlayer::GetDbcLocale(), Player::GetMapAreaAndZoneString(), lookup_commandscript::HandleLookupMapCommand(), HandleRequestHotfix(), and HandleWhoOpcode().
|
inline |
Definition at line 492 of file WorldSession.h.
References m_sessionDbLocaleIndex.
Referenced by AuctionHouseObject::BuildListAuctionItems(), Guild::Create(), LuaPlayer::GetDbLocaleIndex(), GetSkyFireString(), HandleCreatureQueryOpcode(), HandleGameObjectQueryOpcode(), HandlePageTextQueryOpcode(), WorldObject::MonsterWhisper(), WorldObject::MonsterWhisper(), CreatureTextLocalizer< Builder >::operator()(), Skyfire::LocalizedPacketDo< Builder >::operator()(), Skyfire::LocalizedPacketListDo< Builder >::operator()(), Player::PrepareGossipMenu(), Player::SendPreparedQuest(), Player::SendQuestConfirmAccept(), and Spell::SendResurrectRequest().
| const char * WorldSession::GetSkyFireString | ( | int32 | entry | ) | const |
Definition at line 667 of file WorldSession.cpp.
References GetSessionDbLocaleIndex(), and sObjectMgr.
Referenced by Player::_LoadInventory(), Player::AutoUnequipOffhandIfNeed(), HandleGMTicketCreateOpcode(), HandleInitiateTradeOpcode(), HandleMessagechatOpcode(), HandleSendMail(), HandleSubmitBugOpcode(), HandleSubmitSuggestOpcode(), HandleTextEmoteOpcode(), SendAuctionHello(), SendNotification(), and SendTrainerList().
Definition at line 441 of file WorldSession.h.
References m_Tutorials.
Referenced by HandleTutorialFlag().
|
inline |
Definition at line 291 of file WorldSession.h.
References m_virtualRealmID.
Referenced by WorldSocket::BuildPacketLogSessionInfo(), HandleAddFriendOpcodeCallBack(), HandleCharCreateCallback(), HandleCharEnumOpcode(), HandleWhoOpcode(), ChatHandler::HasLowerSecurityAccount(), HasPermission(), InvalidateRBACData(), LoadPermissions(), SendAuthResponse(), and SendRealmNameQueryOpcode().
| void WorldSession::HandeSetTalentSpecialization | ( | WorldPacket & | recvData | ) |
Definition at line 17 of file SkillHandler.cpp.
References _player, GetClassSpecializations(), GetSpellsForLevels(), MAX_TALENT_TABS, and PLAYER_FIELD_CURRENT_SPEC_ID.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::Handle_Deprecated | ( | WorldPacket & | recvPacket | ) | const |
Definition at line 705 of file WorldSession.cpp.
References WorldPacket::GetOpcode(), GetOpcodeNameForLogging(), GetPlayerInfo(), and SF_LOG_ERROR.
| void WorldSession::Handle_EarlyProccess | ( | WorldPacket & | recvPacket | ) |
Definition at line 685 of file WorldSession.cpp.
References WorldPacket::GetOpcode(), GetOpcodeNameForLogging(), GetPlayerInfo(), and SF_LOG_ERROR.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::Handle_EarlyProccessContinued | ( | WorldPacket & | recvPacket | ) |
Definition at line 691 of file WorldSession.cpp.
References WorldPacket::GetOpcode(), GetOpcodeNameForLogging(), GetPlayerInfo(), and SF_LOG_ERROR.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::Handle_NULL | ( | WorldPacket & | recvPacket | ) |
Definition at line 672 of file WorldSession.cpp.
References WorldPacket::GetOpcode(), GetOpcodeNameForLogging(), GetPlayerInfo(), and SF_LOG_ERROR.
| void WorldSession::HandleAcceptGrantLevel | ( | WorldPacket & | recvData | ) |
Definition at line 60 of file ReferAFriendHandler.cpp.
References _player, GetAccountId(), Player::GetGrantableLevels(), ObjectAccessor::GetObjectInWorld(), GetRecruiterId(), Player::GetSession(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), Player::SetGrantableLevels(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleAcceptTradeOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 309 of file TradeHandler.cpp.
References _player, Player::CanStoreItems(), CharacterDatabase, Spell::CheckCast(), clearAcceptTradeMode(), EQUIP_ERR_OK, EQUIP_ERR_TOO_MUCH_GOLD, GetAccountId(), Object::GetGUID(), TradeData::GetItem(), Player::GetMoney(), TradeData::GetMoney(), WorldObject::GetName(), Player::GetSession(), TradeData::GetSpell(), TradeData::GetSpellCastItem(), TradeData::GetTrader(), Player::HasEnoughMoney(), HasPermission(), TradeData::HasSpellCastItem(), TradeData::IsAccepted(), ITEM_FIELD_GIFT_CREATOR, LANG_NOT_ENOUGH_GOLD, LANG_NOT_FREE_TRADE_SLOTS, LANG_NOT_PARTNER_FREE_TRADE_SLOTS, Spell::m_CastItem, Spell::m_targets, Player::m_trade, MAX_MONEY_AMOUNT, Player::ModifyMoney(), Player::MoveItemFromInventory(), moveItems(), Spell::prepare(), rbac::RBAC_PERM_LOG_GM_TRADE, Player::SaveInventoryAndGoldToDB(), Spell::SendCastResult(), Player::SendEquipError(), SendNotification(), SendTradeStatus(), TradeData::SetAccepted(), setAcceptTradeMode(), TradeData::SetSpell(), SpellCastTargets::SetTradeItemTarget(), Object::SetUInt64Value(), sLog, SPELL_CAST_OK, sSpellMgr, TRADE_SLOT_NONTRADED, TRADE_SLOT_TRADED_COUNT, TRADE_STATUS_ACCEPTED, TRADE_STATUS_CANCELLED, TRADE_STATUS_COMPLETE, TRADE_STATUS_FAILED, TRADE_STATUS_NOT_ON_TAPLIST, TRIGGERED_FULL_MASK, and UI64FMTD.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleActivateTaxiExpressOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 191 of file TaxiHandler.cpp.
References Player::ActivateTaxiPathTo(), Player::GetNPCIfCanInteractWith(), GetPlayer(), GUID_LOPART(), ByteBuffer::ReadBits(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SF_LOG_DEBUG, and UNIT_NPC_FLAG_FLIGHTMASTER.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleActivateTaxiOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 301 of file TaxiHandler.cpp.
References Player::ActivateTaxiPathTo(), Player::GetNPCIfCanInteractWith(), GetPlayer(), GUID_LOPART(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SF_LOG_DEBUG, and UNIT_NPC_FLAG_FLIGHTMASTER.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleAddFriendOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 1225 of file MiscHandler.cpp.
References _addFriendCallback, CHAR_SEL_GUID_RACE_ACC_BY_NAME, CharacterDatabase, GetPlayer(), normalizePlayerName(), PreparedStatement::setString(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleAddFriendOpcodeCallBack | ( | PreparedQueryResult | result, |
| std::string const & | friendNote ) |
Definition at line 1246 of file MiscHandler.cpp.
References ObjectAccessor::FindPlayer(), FRIEND_ADDED_OFFLINE, FRIEND_ADDED_ONLINE, FRIEND_ALREADY, FRIEND_ENEMY, FRIEND_LIST_FULL, FRIEND_NOT_FOUND, FRIEND_SELF, GetPlayer(), AccountMgr::GetSecurity(), Player::GetSocial(), Field::GetUInt32(), GetVirtualRealmID(), GUID_LOPART(), HasPermission(), HIGHGUID_PLAYER, Object::IsInWorld(), AccountMgr::IsPlayerAccount(), Player::IsVisibleGloballyFor(), MAKE_NEW_GUID(), rbac::RBAC_PERM_ALLOW_GM_FRIEND, rbac::RBAC_PERM_TWO_SIDE_ADD_FRIEND, PlayerSocial::SetFriendNote(), SF_LOG_DEBUG, sSocialMgr, and Player::TeamForRace().
Referenced by ProcessQueryCallbacks().
| void WorldSession::HandleAddIgnoreOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 1313 of file MiscHandler.cpp.
References _addIgnoreCallback, CHAR_SEL_GUID_BY_NAME, CharacterDatabase, GetPlayer(), normalizePlayerName(), PreparedStatement::setString(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleAddIgnoreOpcodeCallBack | ( | PreparedQueryResult | result | ) |
Definition at line 1332 of file MiscHandler.cpp.
References FRIEND_IGNORE_ADDED, FRIEND_IGNORE_ALREADY, FRIEND_IGNORE_FULL, FRIEND_IGNORE_NOT_FOUND, FRIEND_IGNORE_SELF, GetPlayer(), GUID_LOPART(), HIGHGUID_PLAYER, MAKE_NEW_GUID(), SF_LOG_DEBUG, and sSocialMgr.
Referenced by ProcessQueryCallbacks().
| void WorldSession::HandleAddonMessagechatOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 524 of file ChatHandler.cpp.
References Group::BroadcastAddonMessagePacket(), ChatHandler::BuildChatPacket(), CHAT_MSG_ADDON, CHAT_MSG_GUILD, CHAT_MSG_INSTANCE, CHAT_MSG_OFFICER, CHAT_MSG_PARTY, CHAT_MSG_RAID, CHAT_MSG_WHISPER, CMSG_MESSAGECHAT_ADDON_BATTLEGROUND, CMSG_MESSAGECHAT_ADDON_GUILD, CMSG_MESSAGECHAT_ADDON_OFFICER, CMSG_MESSAGECHAT_ADDON_PARTY, CMSG_MESSAGECHAT_ADDON_RAID, CMSG_MESSAGECHAT_ADDON_WHISPER, CONFIG_ADDON_CHANNEL, CONFIG_CHATLOG_ADDON, DEFAULT_LOCALE, Player::GetGroup(), Object::GetGUID(), Player::GetGuildId(), Group::GetMemberGroup(), WorldPacket::GetOpcode(), GetPlayer(), ByteBuffer::hexlike(), Group::isBGGroup(), LANG_ADDON, normalizePlayerName(), ByteBuffer::ReadBits(), ByteBuffer::ReadString(), SF_LOG_ERROR, sGuildMgr, sObjectAccessor, sScriptMgr, sWorld, and Player::WhisperAddon().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleAddonRegisteredPrefixesOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 1068 of file WorldSession.cpp.
References _filterAddonMessages, _registeredAddonPrefixes, ByteBuffer::ReadBits(), ByteBuffer::ReadString(), REGISTERED_ADDON_PREFIX_SOFTCAP, ByteBuffer::rfinish(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleAlterAppearance | ( | WorldPacket & | recvData | ) |
Definition at line 2077 of file CharacterHandler.cpp.
References _player, ACHIEVEMENT_CRITERIA_TYPE_GOLD_SPENT_AT_BARBER, ACHIEVEMENT_CRITERIA_TYPE_VISIT_BARBER_SHOP, BARBER_SHOP_NOT_ENOUGH_MONEY, BARBER_SHOP_NOT_SITTING, BARBER_SHOP_SUCCESS, GameObjectTemplate::barberChair, GameObjectTemplate::chairheight, GAMEOBJECT_TYPE_BARBER_CHAIR, BarberShopStyleEntry::gender, GameObject::GetGOInfo(), BarberShopStyleEntry::hair_id, PLAYER_FIELD_HAIR_COLOR_ID, PLAYER_FIELD_REST_STATE, BarberShopStyleEntry::race, sBarberShopStyleStore, SendBarberShopResult(), SF_LOG_DEBUG, BarberShopStyleEntry::type, and UNIT_STAND_STATE_SIT_LOW_CHAIR.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleAreaSpiritHealerQueryOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 2390 of file MiscHandler.cpp.
References _player, Map::GetCreature(), WorldObject::GetMap(), GetPlayer(), Unit::IsSpiritService(), sBattlefieldMgr, sBattlegroundMgr, and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleAreaSpiritHealerQueueOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 2412 of file MiscHandler.cpp.
References _player, Battleground::AddPlayerToResurrectQueue(), Map::GetCreature(), WorldObject::GetMap(), GetPlayer(), Unit::IsSpiritService(), sBattlefieldMgr, and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleAreaTriggerOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 1466 of file MiscHandler.cpp.
References _player, Player::AreaExploredOrEventHappens(), AreaTriggerEntry::box_orientation, AreaTriggerEntry::box_x, AreaTriggerEntry::box_y, AreaTriggerEntry::box_z, TavernRestArea::BoxOrientation, TavernRestArea::BoxX, TavernRestArea::BoxY, TavernRestArea::BoxZ, Player::GetBattleground(), WorldObject::GetDistance(), Player::GetGroup(), Object::GetGUIDLow(), WorldObject::GetMap(), WorldLocation::GetMapId(), WorldObject::GetName(), Player::GetOutdoorPvP(), GetPlayer(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), Player::GetQuestStatus(), Player::GetRestType(), Player::GetSession(), Player::InnEnter(), Unit::IsAlive(), Player::isDebugAreaTriggers, Unit::IsInFlight(), Map::IsInstance(), LANG_DEBUG_AREATRIGGER_REACHED, M_PI, TavernRestArea::MapId, AreaTriggerEntry::mapid, PLAYER_FIELD_PLAYER_FLAGS, PLAYER_FLAGS_RESTING, ChatHandler::PSendSysMessage(), QUEST_STATUS_INCOMPLETE, TavernRestArea::Radius, AreaTriggerEntry::radius, Object::RemoveByteFlag(), Object::RemoveFlag(), REST_TYPE_IN_TAVERN, REST_TYPE_NO, sAreaTriggerStore, Object::SetFlag(), Player::SetRestType(), SF_LOG_DEBUG, sMapMgr, sObjectMgr, sScriptMgr, STATUS_IN_PROGRESS, sWorld, AreaTriggerStruct::target_mapId, AreaTriggerStruct::target_Orientation, AreaTriggerStruct::target_X, AreaTriggerStruct::target_Y, AreaTriggerStruct::target_Z, TELE_TO_NOT_LEAVE_TRANSPORT, Player::TeleportTo(), Player::TeleportToBGEntryPoint(), UNIT_BYTE2_FLAG_FFA_PVP, UNIT_FIELD_SHAPESHIFT_FORM, TavernRestArea::X, AreaTriggerEntry::x, TavernRestArea::Y, AreaTriggerEntry::y, TavernRestArea::Z, and AreaTriggerEntry::z.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleAttackStopOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 60 of file CombatHandler.cpp.
References Unit::AttackStop(), and GetPlayer().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleAttackSwingOpcode | ( | WorldPacket & | recvPacket | ) |
Client explicitly checks the following before sending CMSG_ATTACKSWING packet, so we'll place the same check here. Note that it might be possible to reuse this snippet in other places as well.
Definition at line 18 of file CombatHandler.cpp.
References _player, ASSERT, ObjectAccessor::GetUnit(), GUID_HIPART(), GUID_LOPART(), VehicleSeatEntry::m_flags, ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SendAttackStop(), SF_LOG_DEBUG, and VEHICLE_SEAT_FLAG_CAN_ATTACK.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleAuctionHelloOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 21 of file AuctionHouseHandler.cpp.
References Player::GetNPCIfCanInteractWith(), GetPlayer(), GUID_LOPART(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), Unit::RemoveAurasByType(), SendAuctionHello(), SF_LOG_DEBUG, SPELL_AURA_FEIGN_DEATH, UNIT_NPC_FLAG_AUCTIONEER, and UNIT_STATE_DIED.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleAuctionListBidderItems | ( | WorldPacket & | recvData | ) |
Definition at line 696 of file AuctionHouseHandler.cpp.
References AUCTION_SEARCH_DELAY, AuctionEntry::BuildAuctionInfo(), AuctionHouseObject::BuildListBidderItems(), AuctionHouseObject::GetAuction(), Unit::getFaction(), Player::GetNPCIfCanInteractWith(), GetPlayer(), GUID_LOPART(), ByteBuffer::put(), ByteBuffer::ReadBits(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), Unit::RemoveAurasByType(), ByteBuffer::rfinish(), sAuctionMgr, SendPacket(), SF_LOG_DEBUG, SMSG_AUCTION_BIDDER_LIST_RESULT, SPELL_AURA_FEIGN_DEATH, UNIT_NPC_FLAG_AUCTIONEER, and UNIT_STATE_DIED.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleAuctionListItems | ( | WorldPacket & | recvData | ) |
Definition at line 801 of file AuctionHouseHandler.cpp.
References _player, AUCTION_SEARCH_DELAY, AuctionHouseObject::BuildListAuctionItems(), Unit::getFaction(), Player::GetNPCIfCanInteractWith(), GetPlayer(), GUID_LOPART(), ByteBuffer::put(), ByteBuffer::read_skip(), ByteBuffer::ReadBit(), ByteBuffer::ReadBits(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), ByteBuffer::ReadString(), Unit::RemoveAurasByType(), sAuctionMgr, SendPacket(), SF_LOG_DEBUG, SMSG_AUCTION_LIST_RESULT, SPELL_AURA_FEIGN_DEATH, UNIT_NPC_FLAG_AUCTIONEER, UNIT_STATE_DIED, Utf8toWStr(), and wstrToLower().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleAuctionListOwnerItems | ( | WorldPacket & | recvData | ) |
Definition at line 762 of file AuctionHouseHandler.cpp.
References _player, AUCTION_SEARCH_DELAY, AuctionHouseObject::BuildListOwnerItems(), Unit::getFaction(), Player::GetNPCIfCanInteractWith(), GetPlayer(), GUID_LOPART(), ByteBuffer::put(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), Unit::RemoveAurasByType(), sAuctionMgr, SendPacket(), SF_LOG_DEBUG, SMSG_AUCTION_OWNER_LIST_RESULT, SPELL_AURA_FEIGN_DEATH, UNIT_NPC_FLAG_AUCTIONEER, and UNIT_STATE_DIED.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleAuctionListPendingSales | ( | WorldPacket & | recvData | ) |
Definition at line 875 of file AuctionHouseHandler.cpp.
References SendPacket(), SF_LOG_DEBUG, and SMSG_AUCTION_LIST_PENDING_SALES.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleAuctionPlaceBid | ( | WorldPacket & | recvData | ) |
Definition at line 486 of file AuctionHouseHandler.cpp.
References ACHIEVEMENT_CRITERIA_TYPE_HIGHEST_AUCTION_BID, AUCTION_PLACE_BID, AuctionEntry::bid, AuctionEntry::bidder, AuctionEntry::buyout, CHAR_UPD_AUCTION_BID, CharacterDatabase, AuctionEntry::DeleteFromDB(), ERR_AUCTION_BID_OWN, ERR_AUCTION_HIGHER_BID, ERR_AUCTION_NOT_ENOUGHT_MONEY, ERR_AUCTION_OK, AuctionHouseObject::GetAuction(), AuctionEntry::GetAuctionOutBid(), Unit::getFaction(), Object::GetGUIDLow(), Player::GetNPCIfCanInteractWith(), GetPlayer(), GUID_LOPART(), Player::HasEnoughMoney(), AuctionEntry::Id, AuctionEntry::itemEntry, AuctionEntry::itemGUIDLow, Player::ModifyMoney(), AuctionEntry::owner, ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), AuctionHouseObject::RemoveAuction(), Unit::RemoveAurasByType(), sAuctionMgr, Player::SaveInventoryAndGoldToDB(), SendAuctionCommandResult(), PreparedStatement::setUInt32(), PreparedStatement::setUInt64(), SF_LOG_DEBUG, SPELL_AURA_FEIGN_DEATH, UNIT_NPC_FLAG_AUCTIONEER, UNIT_STATE_DIED, and Player::UpdateAchievementCriteria().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleAuctionRemoveItem | ( | WorldPacket & | recvData | ) |
Definition at line 618 of file AuctionHouseHandler.cpp.
References MailDraft::AddItem(), AUCTION_CANCEL, AUCTION_CANCELED, AuctionEntry::bidder, AuctionEntry::BuildAuctionMailBody(), AuctionEntry::BuildAuctionMailSubject(), AuctionEntry::buyout, CharacterDatabase, AuctionEntry::DeleteFromDB(), AuctionEntry::deposit, ERR_AUCTION_DATABASE_ERROR, ERR_AUCTION_OK, AuctionHouseObject::GetAuction(), AuctionEntry::GetAuctionCut(), Unit::getFaction(), Object::GetGUIDLow(), Player::GetNPCIfCanInteractWith(), GetPlayer(), GUID_LOPART(), Player::HasEnoughMoney(), AuctionEntry::Id, AuctionEntry::itemEntry, AuctionEntry::itemGUIDLow, MAIL_CHECK_MASK_COPIED, Player::ModifyMoney(), AuctionEntry::owner, ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), AuctionHouseObject::RemoveAuction(), Unit::RemoveAurasByType(), sAuctionMgr, Player::SaveInventoryAndGoldToDB(), SendAuctionCommandResult(), MailDraft::SendMailTo(), SF_LOG_DEBUG, SF_LOG_ERROR, SPELL_AURA_FEIGN_DEATH, UNIT_NPC_FLAG_AUCTIONEER, and UNIT_STATE_DIED.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleAuctionSellItem | ( | WorldPacket & | recvData | ) |
@TODO - HARDCODED DB GUID, BAD BAD BAD
Definition at line 187 of file AuctionHouseHandler.cpp.
References _player, ACHIEVEMENT_CRITERIA_TYPE_CREATE_AUCTION, AuctionHouseObject::AddAuction(), AUCTION_SELL_ITEM, AuctionEntry::auctioneer, AuctionEntry::auctionHouseEntry, AuctionEntry::bid, AuctionEntry::bidder, AuctionEntry::buyout, Item::CanBeTraded(), CharacterDatabase, Item::CloneItem(), CONFIG_ALLOW_TWO_SIDE_INTERACTION_AUCTION, Item::DeleteFromDB(), Item::DeleteFromInventoryDB(), AuctionEntry::deposit, ERR_AUCTION_DATABASE_ERROR, ERR_AUCTION_ITEM_NOT_FOUND, ERR_AUCTION_NOT_ENOUGHT_MONEY, ERR_AUCTION_OK, AuctionEntry::expire_time, ItemTemplate::Flags, GetAccountId(), AuctionHouseMgr::GetAuctionHouseEntry(), Item::GetBagSlot(), Item::GetCount(), Object::GetEntry(), Unit::getFaction(), Object::GetGUIDLow(), AuctionEntry::GetHouseId(), Item::GetMaxStackCount(), Player::GetNPCIfCanInteractWith(), GetPlayer(), GetPlayerName(), Item::GetSlot(), Item::GetTemplate(), Object::GetUInt32Value(), GUID_LOPART(), HasPermission(), AuctionEntry::Id, Item::IsNotEmptyBag(), ITEM_CHANGED, ITEM_FIELD_EXPIRATION, ITEM_PROTO_FLAG_CONJURED, AuctionEntry::itemCount, AuctionEntry::itemEntry, AuctionEntry::itemGUIDLow, MAX_AUCTION_ITEMS, MAX_MONEY_AMOUNT, MIN_AUCTION_TIME, MINUTE, ItemTemplate::Name1, AuctionEntry::owner, RATE_AUCTION_TIME, rbac::RBAC_PERM_LOG_GM_TRADE, ByteBuffer::ReadBit(), ByteBuffer::ReadBits(), ByteBuffer::ReadByteSeq(), Unit::RemoveAurasByType(), ByteBuffer::rfinish(), sAuctionMgr, AuctionEntry::SaveToDB(), Item::SaveToDB(), SendAuctionCommandResult(), Object::SendUpdateToPlayer(), Item::SetCount(), Item::SetState(), SF_LOG_DEBUG, SF_LOG_ERROR, SF_LOG_INFO, sLog, sObjectMgr, SPELL_AURA_FEIGN_DEATH, AuctionEntry::startbid, sWorld, UI64FMTD, UNIT_NPC_FLAG_AUCTIONEER, UNIT_STATE_DIED, and Player::UpdateAchievementCriteria().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleAutoBankItemOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 941 of file ItemHandler.cpp.
References _player, EQUIP_ERR_CANT_SWAP, EQUIP_ERR_OK, Item::GetCount(), Object::GetEntry(), Item::GetPos(), NULL_BAG, NULL_SLOT, ByteBuffer::rfinish(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleAutoDeclineGuildInvites | ( | WorldPacket & | recvPacket | ) |
Definition at line 699 of file GuildHandler.cpp.
References Object::ApplyModFlag(), GetPlayer(), PLAYER_FIELD_PLAYER_FLAGS, PLAYER_FLAGS_AUTO_DECLINE_GUILD, and ByteBuffer::ReadBit().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleAutoEquipItemOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 192 of file ItemHandler.cpp.
References _player, EQUIP_ERR_OK, Item::GetBagSlot(), Item::GetPos(), Item::GetSlot(), Item::IsBag(), NULL_BAG, NULL_SLOT, and ByteBuffer::rfinish().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleAutoEquipItemSlotOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 88 of file ItemHandler.cpp.
References EQUIP_ERR_ITEM_NOT_FOUND, EQUIP_ERR_WRONG_SLOT, EQUIPMENT_SLOT_END, Player::GetItemByGuid(), GetPlayer(), Item::GetPos(), INVENTORY_SLOT_BAG_0, ByteBuffer::read(), ByteBuffer::ReadBit(), ByteBuffer::ReadBits(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), Player::SendEquipError(), and Player::SwapItem().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleAutoStoreBagItemOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 833 of file ItemHandler.cpp.
References _player, EQUIP_ERR_INTERNAL_BAG_ERROR, EQUIP_ERR_OK, EQUIP_ERR_WRONG_SLOT, Item::GetPos(), NULL_SLOT, and ByteBuffer::rfinish().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleAutoStoreBankItemOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 974 of file ItemHandler.cpp.
References _player, EQUIP_ERR_OK, NULL_BAG, NULL_SLOT, and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleAutostoreLootItemOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 26 of file LootHandler.cpp.
References _player, CLASS_ROGUE, DoLootRelease(), GAMEOBJECT_TYPE_FISHINGHOLE, Unit::getClass(), ObjectAccessor::GetCorpse(), Map::GetCreature(), Map::GetGameObject(), GameObject::GetGoType(), Player::GetItemByGuid(), Player::GetLootView(), WorldObject::GetMap(), GameObject::GetOwnerGUID(), GetPlayer(), Player::GetSession(), Loot::HasLooter(), INTERACTION_DISTANCE, IS_CORPSE_GUID(), IS_GAMEOBJECT_GUID(), IS_ITEM_GUID(), Unit::IsAlive(), Loot::isLooted(), Player::IsLootingObject(), WorldObject::IsWithinDistInMap(), Corpse::loot, Creature::loot, GameObject::loot, Item::loot, Creature::lootForPickPocketed, ByteBuffer::ReadBit(), ByteBuffer::ReadBits(), ByteBuffer::ReadByteSeq(), Player::SendLootRelease(), SF_LOG_DEBUG, and Player::StoreLootItem().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleBankerActivateOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 51 of file NPCHandler.cpp.
References Player::GetNPCIfCanInteractWith(), GetPlayer(), GUID_LOPART(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), Unit::RemoveAurasByType(), SendShowBank(), SF_LOG_DEBUG, SPELL_AURA_FEIGN_DEATH, UNIT_NPC_FLAG_BANKER, and UNIT_STATE_DIED.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleBattleCharBoost | ( | WorldPacket & | recvPacket | ) |
Definition at line 90 of file BoostHandler.cpp.
References CHARACTER_BOOST, CHARACTER_BOOST_BONUS_TEXT, CHARACTER_BOOST_BONUS_TEXT2, CHARACTER_BOOST_CHOOSED, CHARACTER_BOOST_FACTION_ALLIANCE, CHARACTER_BOOST_ITEMS, CHARACTER_BOOST_SPEC_MASK, CHARACTER_BOOST_TEXT_ID, HasBoost(), m_charBooster, ByteBuffer::read_skip(), ByteBuffer::ReadBit(), ByteBuffer::ReadByteSeq(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), ByteBuffer::rfinish(), SendBattlePayDistributionUpdate(), SendPacket(), SF_LOG_ERROR, SMSG_CHARACTER_UPGRADE_STARTED, ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleBattlefieldLeaveOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 555 of file BattleGroundHandler.cpp.
References _player, SF_LOG_DEBUG, and STATUS_WAIT_LEAVE.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleBattlefieldListOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 356 of file BattleGroundHandler.cpp.
References _player, BATTLEGROUND_SA, sBattlegroundMgr, sBattlemasterListStore, SendPacket(), SF_LOG_DEBUG, and STATUS_IN_PROGRESS.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleBattleFieldPortOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 379 of file BattleGroundHandler.cpp.
References _player, GroupQueueInfo::ArenaMatchmakerRating, GroupQueueInfo::ArenaType, BATTLEGROUND_AA, BATTLEGROUND_QUEUE_NONE, BATTLEGROUND_TYPE_NONE, BattlegroundMgr::BGTemplateId(), ERR_GROUP_JOIN_BATTLEGROUND_DESERTERS, Battleground::GetArenaType(), GetBattlegroundBracketByLevel(), PvPDifficultyEntry::GetBracketId(), Battleground::GetElapsedTime(), Battleground::GetInstanceID(), Battleground::GetMapId(), Battleground::GetMaxLevel(), BattlegroundQueue::GetPlayerGroupInfoData(), GetPlayerInfo(), Battleground::GetTypeID(), GroupQueueInfo::IsInvitedToBGInstanceGUID, GroupQueueInfo::IsRated, ByteBuffer::ReadBit(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), BattlegroundQueue::RemovePlayer(), sBattlegroundMgr, SendPacket(), SF_LOG_DEBUG, SF_LOG_ERROR, STATUS_IN_PROGRESS, STATUS_NONE, and GroupQueueInfo::Team.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleBattlefieldRatedInfoRequest | ( | WorldPacket & | recvData | ) |
Definition at line 237 of file BattlefieldHandler.cpp.
References SendPacket(), and SMSG_BATTLEFIELD_RATED_INFO.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleBattlefieldStatusOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 568 of file BattleGroundHandler.cpp.
References _player, BattlegroundMgr::BGArenaType(), BattlegroundMgr::BGTemplateId(), Battleground::GetArenaType(), BattlegroundQueue::GetAverageQueueWaitTime(), GetBattlegroundBracketByLevel(), PvPDifficultyEntry::GetBracketId(), Battleground::GetElapsedTime(), Battleground::GetMapId(), getMSTime(), getMSTimeDiff(), GetPlayer(), BattlegroundQueue::GetPlayerGroupInfoData(), GroupQueueInfo::IsInvitedToBGInstanceGUID, PLAYER_MAX_BATTLEGROUND_QUEUES, GroupQueueInfo::RemoveInviteTime, sBattlegroundMgr, SendPacket(), SF_LOG_DEBUG, STATUS_IN_PROGRESS, STATUS_WAIT_JOIN, and STATUS_WAIT_QUEUE.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleBattlegroundPlayerPositionsOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 246 of file BattleGroundHandler.cpp.
References _player, ObjectAccessor::FindPlayer(), ByteBuffer::FlushBits(), Battleground::GetFlagPickerGUID(), Object::GetGUID(), Position::GetPositionX(), Position::GetPositionY(), SendPacket(), SF_LOG_DEBUG, SMSG_BATTLEFIELD_PLAYER_POSITIONS, TEAM_ALLIANCE, TEAM_HORDE, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), and ByteBuffer::WriteByteSeq().
| void WorldSession::HandleBattlemasterHelloOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 25 of file BattleGroundHandler.cpp.
References _player, Map::GetCreature(), Object::GetEntry(), WorldObject::GetMap(), GetPlayer(), GUID_HIPART(), GUID_LOPART(), GuidHigh2TypeId(), Unit::IsBattleMaster(), LANG_YOUR_BG_LEVEL_REQ_ERROR, sBattlegroundMgr, SendBattleGroundList(), SendNotification(), SF_LOG_DEBUG, and Unit::StopMoving().
| void WorldSession::HandleBattlemasterJoinArena | ( | WorldPacket & | recvData | ) |
Definition at line 633 of file BattleGroundHandler.cpp.
References _player, Player::AddBattlegroundQueueId(), Player::AddBattlegroundQueueJoinTime(), BattlegroundQueue::AddGroup(), BATTLEGROUND_AA, BattlegroundMgr::BGQueueTypeId(), Group::CanJoinBattlegroundQueue(), DISABLE_TYPE_BATTLEGROUND, ERR_BATTLEGROUND_NONE, BattlegroundQueue::GetAverageQueueWaitTime(), GetBattlegroundBracketByLevel(), PvPDifficultyEntry::GetBracketId(), Group::GetFirstMember(), Object::GetGUIDLow(), Group::GetLeaderGUID(), Battleground::GetMapId(), WorldObject::GetName(), Player::GetSession(), ArenaTeam::GetTypeBySlot(), Battleground::GetTypeID(), DisableMgr::IsDisabledFor(), GroupQueueInfo::JoinTime, LANG_ARENA_DISABLED, GroupReference::next(), ChatHandler::PSendSysMessage(), sBattlegroundMgr, SendPacket(), SF_LOG_DEBUG, SF_LOG_ERROR, and STATUS_WAIT_QUEUE.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleBattlemasterJoinOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 60 of file BattleGroundHandler.cpp.
References _player, Player::AddBattlegroundQueueId(), Player::AddBattlegroundQueueJoinTime(), BattlegroundQueue::AddGroup(), GroupQueueInfo::ArenaType, BATTLEGROUND_RB, BattlegroundMgr::BGQueueTypeId(), Group::CanJoinBattlegroundQueue(), DISABLE_TYPE_BATTLEGROUND, ERR_BATTLEGROUND_NONE, ERR_BATTLEGROUND_TOO_MANY_QUEUES, ERR_GROUP_JOIN_BATTLEGROUND_DESERTERS, ERR_IN_NON_RANDOM_BG, ERR_IN_RANDOM_BG, ERR_LFG_CANT_USE_BATTLEGROUND, BattlegroundQueue::GetAverageQueueWaitTime(), GetBattlegroundBracketByLevel(), PvPDifficultyEntry::GetBracketId(), Group::GetFirstMember(), Object::GetGUIDLow(), Group::GetLeaderGUID(), Battleground::GetMapId(), Battleground::GetMaxPlayersPerTeam(), Group::GetMembersCount(), Battleground::GetMinPlayersPerTeam(), WorldObject::GetName(), GetPlayer(), Player::GetSession(), GUID_LOPART(), DisableMgr::IsDisabledFor(), GroupQueueInfo::JoinTime, LANG_BG_DISABLED, GroupReference::next(), PLAYER_MAX_BATTLEGROUND_QUEUES, ChatHandler::PSendSysMessage(), ByteBuffer::read_skip(), ByteBuffer::ReadBit(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), sBattlegroundMgr, sBattlemasterListStore, SendPacket(), SF_LOG_DEBUG, SF_LOG_ERROR, and STATUS_WAIT_QUEUE.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleBattlePetCage | ( | WorldPacket & | recvData | ) |
Definition at line 1797 of file BattlePetHandler.cpp.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleBattlePetDelete | ( | WorldPacket & | recvData | ) |
Definition at line 1024 of file BattlePetHandler.cpp.
References BATTLE_PET_FLAG_RELEASABLE, BATTLE_PET_LOADOUT_SLOT_NONE, BattlePetSpeciesHasFlag(), BattlePetMgr::Delete(), BattlePetMgr::GetBattlePet(), Player::GetBattlePetMgr(), BattlePetMgr::GetLoadoutSlotForBattlePet(), GetPlayer(), BattlePet::GetSpecies(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), BattlePetMgr::SaveToDb(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleBattlePetFinalNotify | ( | WorldPacket & | recvData | ) |
Definition at line 1577 of file BattlePetHandler.cpp.
References Player::GetBattlePetMgr(), GetPlayer(), BattlePetMgr::HasActivePetBattle(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleBattlePetInput | ( | WorldPacket & | recvData | ) |
Definition at line 1424 of file BattlePetHandler.cpp.
References Skyfire::BattlePetPackets::BattlePetInputCommand::AbilityID, Skyfire::BattlePetPackets::BattlePetInputCommand::Action, BattlePetMgr::ApplyBattlePetAbilityExchangeInput(), BattlePetMgr::ApplyBattlePetForfeitInput(), BattlePetMgr::ApplyBattlePetSwapInput(), BattlePetMgr::ApplyBattlePetTrapInput(), BATTLE_PET_ABILITY_SLOT_INVALID, Skyfire::BattlePetPackets::BATTLE_PET_INPUT_ACTION_ABILITY, Skyfire::BattlePetPackets::BATTLE_PET_INPUT_ACTION_FORFEIT, Skyfire::BattlePetPackets::BATTLE_PET_INPUT_ACTION_NONE, Skyfire::BattlePetPackets::BATTLE_PET_INPUT_ACTION_SWAP, Skyfire::BattlePetPackets::BATTLE_PET_INPUT_ACTION_TRAP, BattlePetAbilityCooldown(), BattlePetGetSpeciesAbility(), BattlePetIncomingDamageReductionRounds(), BattlePetInputDamageForAbility(), BattlePetInputEffectForAbility(), BattlePetInputIncomingDamageReductionForAbility(), Skyfire::BattlePetPackets::BuildBattlePetInputCommand(), ActivePetBattle::EnemyGUID, ActivePetBattle::EnemyLevel, ActivePetBattle::EnemySpecies, BattlePetMgr::GetActivePetBattle(), Player::GetBattlePetMgr(), GetPlayer(), BattlePetMgr::GetTrapAbility(), BattlePetMgr::HasActivePetBattle(), ActivePetBattle::IsPvP(), Skyfire::BattlePetPackets::BattlePetInputCommand::NewFrontPet, Skyfire::BattlePetPackets::BattlePetFinalRound::Pets, Skyfire::BattlePetPackets::ReadBattlePetInput(), ActivePetBattle::RoundID, and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleBattlePetInputFirstPet | ( | WorldPacket & | recvData | ) |
Definition at line 1544 of file BattlePetHandler.cpp.
References ActivePetBattle::AllyFrontPet, BattlePetMgr::ApplyBattlePetSwapInput(), Skyfire::BattlePetPackets::BuildFirstRoundPacket(), ActivePetBattle::EnemyFrontPet, BattlePetMgr::GetActivePetBattle(), BattlePetMgr::GetActivePetBattleTrapStatus(), Player::GetBattlePetMgr(), GetPlayer(), BattlePetMgr::HasActivePetBattle(), PET_BATTLE_TRAP_STATUS_UNAVAILABLE, Skyfire::BattlePetPackets::BattlePetFirstPetSelection::PetID, Skyfire::BattlePetPackets::ReadBattlePetFirstPetSelection(), ActivePetBattle::RoundID, BattlePetMgr::SelectActivePetBattleFrontPet(), Player::SendDirectMessage(), SF_LOG_DEBUG, and ActivePetBattle::WaitingForAllyFrontPet.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleBattlePetLearn | ( | WorldPacket & | recvData | ) |
Definition at line 1223 of file BattlePetHandler.cpp.
References BattlePetMgr::Create(), Player::DestroyItem(), Item::GetBagSlot(), Player::GetBattlePetMgr(), Object::GetEntry(), Object::GetGUIDLow(), Player::GetItemByGuid(), GetPlayer(), Item::GetSlot(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), BattlePetMgr::SaveToDb(), sBattlePetItemXSpeciesStore, SF_LOG_DEBUG, and UI64FMTD.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleBattlePetModifyName | ( | WorldPacket & | recvData | ) |
Definition at line 1063 of file BattlePetHandler.cpp.
References BATTLE_PET_MAX_DECLINED_NAMES, BATTLE_PET_MAX_NAME_LENGTH, BattlePetMgr::GetBattlePet(), Player::GetBattlePetMgr(), BattlePetMgr::GetCurrentSummon(), BattlePetMgr::GetCurrentSummonId(), GetPlayer(), BattlePet::GetTimestamp(), ByteBuffer::ReadBit(), ByteBuffer::ReadBits(), ByteBuffer::ReadByteSeq(), ByteBuffer::ReadString(), BattlePetMgr::SaveToDb(), BattlePet::SetNickname(), BattlePet::SetTimestamp(), Object::SetUInt32Value(), SF_LOG_DEBUG, and UNIT_FIELD_BATTLE_PET_COMPANION_NAME_TIMESTAMP.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleBattlePetQueryName | ( | WorldPacket & | recvData | ) |
Definition at line 1134 of file BattlePetHandler.cpp.
References BATTLE_PET_MAX_DECLINED_NAMES, ByteBuffer::FlushBits(), BattlePetMgr::GetBattlePet(), Player::GetBattlePetMgr(), BattlePetMgr::GetCurrentSummonId(), BattlePet::GetNickname(), GetPlayer(), BattlePet::GetSpecies(), TempSummon::GetSummoner(), BattlePet::GetTimestamp(), BattlePetSpeciesEntry::NpcId, ByteBuffer::ReadBit(), ByteBuffer::ReadByteSeq(), sBattlePetSpeciesStore, SendPacket(), SF_LOG_DEBUG, SMSG_BATTLE_PET_QUERY_NAME_RESPONSE, sObjectAccessor, Object::ToPlayer(), Unit::ToTempSummon(), ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), and ByteBuffer::WriteString().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleBattlePetQuitNotify | ( | WorldPacket & | recvData | ) |
Definition at line 1592 of file BattlePetHandler.cpp.
References BattlePetMgr::ApplyBattlePetForfeitInput(), ActivePetBattle::EnemyGUID, BattlePetMgr::GetActivePetBattle(), Player::GetBattlePetMgr(), GetPlayer(), BattlePetMgr::HasActivePetBattle(), ActivePetBattle::IsPvP(), ActivePetBattle::RoundID, and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleBattlePetRequestJournal | ( | WorldPacket & | recvData | ) |
Definition at line 1215 of file BattlePetHandler.cpp.
References Player::GetBattlePetMgr(), GetPlayer(), BattlePetMgr::SendBattlePetJournal(), BattlePetMgr::SendBattlePetJournalLock(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleBattlePetRequestUpdate | ( | WorldPacket & | recvData | ) |
Definition at line 1618 of file BattlePetHandler.cpp.
References BattlePetMgr::ApplyBattlePetForfeitInput(), Skyfire::BattlePetPackets::BattlePetRequestUpdate::Cancelled, ActivePetBattle::EnemyGUID, BattlePetMgr::GetActivePetBattle(), Player::GetBattlePetMgr(), GetPlayer(), BattlePetMgr::HasActivePetBattle(), BattlePetMgr::IsPetBattlePvpQueued(), ActivePetBattle::IsPvP(), Skyfire::BattlePetPackets::PET_BATTLE_QUEUE_STATUS_QUEUED, Skyfire::BattlePetPackets::ReadBattlePetRequestUpdate(), ActivePetBattle::RoundID, and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleBattlePetSetBattleSlot | ( | WorldPacket & | recvData | ) |
Definition at line 1256 of file BattlePetHandler.cpp.
References BATTLE_PET_FLAG_COMPANION, BATTLE_PET_LOADOUT_SLOT_NONE, BattlePetSpeciesHasFlag(), BattlePetMgr::GetBattlePet(), Player::GetBattlePetMgr(), BattlePetMgr::GetLoadoutSlot(), BattlePetMgr::GetLoadoutSlotForBattlePet(), GetPlayer(), BattlePet::GetSpecies(), BattlePetMgr::HasLoadoutSlot(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), BattlePetMgr::SaveToDb(), BattlePetMgr::SendBattlePetSlotUpdate(), BattlePetMgr::SetLoadoutSlot(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleBattlePetSetFlags | ( | WorldPacket & | recvData | ) |
Definition at line 1313 of file BattlePetHandler.cpp.
References BATTLE_PET_ABILITY_SLOT_INVALID, BATTLE_PET_FLAG_MODE_SET, BATTLE_PET_FLAG_MODE_UNSET, BATTLE_PET_JOURNAL_FLAG_ABILITY_1, BATTLE_PET_JOURNAL_FLAG_ABILITY_2, BATTLE_PET_JOURNAL_FLAG_ABILITY_3, BATTLE_PET_JOURNAL_FLAG_FAVORITES, BattlePetAbilitySlotForJournalFlag(), BattlePetHasSpeciesAbility(), BattlePetMgr::GetBattlePet(), Player::GetBattlePetMgr(), BattlePet::GetFlags(), BattlePet::GetLevel(), GetPlayer(), BattlePet::GetSpecies(), ByteBuffer::ReadBits(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), BattlePetMgr::SaveToDb(), BattlePetMgr::SendBattlePetUpdate(), BattlePet::SetFlag(), SF_LOG_DEBUG, and BattlePet::UnSetFlag().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleBattlePetSummonCompanion | ( | WorldPacket & | recvData | ) |
Definition at line 1385 of file BattlePetHandler.cpp.
References BattlePetGetSummonSpell(), Unit::CastSpell(), BattlePetMgr::GetBattlePet(), Player::GetBattlePetMgr(), BattlePet::GetCurrentHealth(), BattlePetMgr::GetCurrentSummonId(), Object::GetGUIDLow(), GetPlayer(), BattlePet::GetSpecies(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), BattlePetMgr::SetCurrentSummonId(), SF_LOG_DEBUG, and BattlePetMgr::UnSummonCurrentBattlePet().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleBattlePetWildRequest | ( | WorldPacket & | recvData | ) |
Definition at line 1662 of file BattlePetHandler.cpp.
References BattlePetMgr::ApplyActivePetBattlePlayerState(), BATTLE_PET_MAX_LOADOUT_SLOTS, Skyfire::BattlePetPackets::BuildFinalizeLocationPacket(), Skyfire::BattlePetPackets::BuildInitialUpdatePacket(), Skyfire::BattlePetPackets::BuildInitialUpdatePetData(), PetBattleRequest::Challenger, Skyfire::BattlePetPackets::InitialUpdatePetData::CurrentHealth, PetBattleRequest::Enemy, PetBattleRequest::EnemyGUID, Skyfire::BattlePetPackets::InitialUpdateTeamData::FrontPet, BattlePetMgr::GetActivePetBattleTrapStatus(), BattlePetMgr::GetBattlePet(), Player::GetBattlePetMgr(), ObjectAccessor::GetCreatureOrPetOrVehicle(), BattlePet::GetCurrentHealth(), BattlePetMgr::GetFirstAliveLoadoutBattlePet(), Object::GetGUID(), BattlePet::GetId(), BattlePetMgr::GetLoadoutSlot(), BattlePet::GetMaxHealth(), GetPlayer(), BattlePetMgr::GetTrapAbility(), Object::HasFlag(), BattlePetMgr::HasLoadoutBattlePet(), BattlePetMgr::HideActivePetBattleWorldObject(), Skyfire::BattlePetPackets::InitialUpdatePetData::Id, Skyfire::BattlePetPackets::INITIAL_UPDATE_MAX_TEAM_PETS, Unit::IsInCombat(), PetBattleRequest::LocationResult, Skyfire::BattlePetPackets::InitialUpdatePetData::MaxHealth, PetBattleRequest::Orientation, PetBattleRequest::Origin, Skyfire::BattlePetPackets::InitialUpdateTeamData::OwnerGuid, PET_BATTLE_REQUEST_FAILED_ALL_PETS_DEAD, PET_BATTLE_REQUEST_FAILED_INVALID_TARGET, PET_BATTLE_REQUEST_FAILED_NO_PETS, PET_BATTLE_TRAP_STATUS_UNAVAILABLE, PetBattleRequest::PET_BATTLE_TYPE_PVE, Skyfire::BattlePetPackets::InitialUpdateTeamData::PetCount, Skyfire::BattlePetPackets::InitialUpdateTeamData::Pets, PetBattleRequest::Positions, ByteBuffer::ReadBit(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), Skyfire::BattlePetPackets::ResolveBattlePetFacing(), BattlePetMgr::SelectActivePetBattleFrontPet(), Player::SendDirectMessage(), BattlePetMgr::SendPetBattleRequestFailed(), BattlePetMgr::SetActivePetBattleAllyPet(), SF_LOG_DEBUG, BattlePetMgr::StartWildPetBattle(), Skyfire::BattlePetPackets::InitialUpdateTeamData::TrapAbility, Skyfire::BattlePetPackets::InitialUpdateTeamData::TrapStatus, PetBattleRequest::Type, UNIT_FIELD_NPC_FLAGS, and UNIT_NPC_FLAG_WILDPET_CAPTURABLE.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleBeginTradeOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 586 of file TradeHandler.cpp.
References _player, Player::GetSession(), TradeData::GetTrader(), SendTradeStatus(), and TRADE_STATUS_INITIATED.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleBfEntryInviteResponse | ( | WorldPacket & | recvData | ) |
Definition at line 200 of file BattlefieldHandler.cpp.
References _player, Battlefield::GetZoneId(), Battlefield::KickPlayerFromBattlefield(), Battlefield::PlayerAcceptInviteToWar(), ByteBuffer::ReadBit(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), sBattlefieldMgr, SF_LOG_ERROR, and UI64FMTD.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleBfExitRequest | ( | WorldPacket & | recvData | ) |
Definition at line 224 of file BattlefieldHandler.cpp.
References _player, ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), sBattlefieldMgr, SF_LOG_ERROR, and UI64FMTD.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleBfQueueInviteResponse | ( | WorldPacket & | recvData | ) |
Definition at line 178 of file BattlefieldHandler.cpp.
References _player, Battlefield::PlayerAcceptInviteToQueue(), ByteBuffer::ReadBit(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), sBattlefieldMgr, SF_LOG_ERROR, and UI64FMTD.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleBinderActivateOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 442 of file NPCHandler.cpp.
References Player::GetNPCIfCanInteractWith(), GetPlayer(), GUID_LOPART(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), Unit::RemoveAurasByType(), SendBindPoint(), SF_LOG_DEBUG, SPELL_AURA_FEIGN_DEATH, UNIT_NPC_FLAG_INNKEEPER, and UNIT_STATE_DIED.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleBlackMarketBidOnItem | ( | WorldPacket & | recvData | ) |
Definition at line 55 of file BlackMarketHandler.cpp.
References BlackMarketAuction::GetCurrentBid(), BlackMarketAuction::GetCurrentBidder(), BlackMarketAuction::GetMinIncrement(), GetPlayer(), BlackMarketAuction::GetTemplate(), BlackMarketAuctionTemplate::MinBid, ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), sBlackMarketMgr, SendBlackMarketBidOnItemResult(), SendBlackMarketRequestItemsResult(), SF_LOG_DEBUG, and UI64FMTD.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleBlackMarketHelloOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 15 of file BlackMarketHandler.cpp.
References GetPlayer(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), Unit::RemoveAurasByType(), sBlackMarketMgr, SendBlackMarketHello(), SPELL_AURA_FEIGN_DEATH, and UNIT_STATE_DIED.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleBlackMarketRequestItemOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 36 of file BlackMarketHandler.cpp.
References ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), and SendBlackMarketRequestItemsResult().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleBugOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 1389 of file MiscHandler.cpp.
References CHAR_INS_BUG_REPORT, CharacterDatabase, PreparedStatement::setString(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleBusyTradeOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 68 of file TradeHandler.cpp.
References _player, SF_LOG_DEBUG, and TRADE_STATUS_PLAYER_BUSY.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleBuybackItem | ( | WorldPacket & | recvPacket | ) |
Definition at line 494 of file ItemHandler.cpp.
References _player, ACHIEVEMENT_CRITERIA_TYPE_RECEIVE_EPIC_ITEM, BUY_ERR_CANT_FIND_ITEM, BUY_ERR_NOT_ENOUGHT_MONEY, BUYBACK_SLOT_START, EQUIP_ERR_OK, Item::GetCount(), Object::GetEntry(), Player::GetNPCIfCanInteractWith(), GetPlayer(), GUID_LOPART(), NULL_BAG, NULL_SLOT, PLAYER_FIELD_BUYBACK_PRICE, ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), Unit::RemoveAurasByType(), SELL_ERR_CANT_FIND_VENDOR, SF_LOG_DEBUG, SPELL_AURA_FEIGN_DEATH, UNIT_NPC_FLAG_VENDOR, and UNIT_STATE_DIED.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleBuyBankSlotOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 886 of file ItemHandler.cpp.
References _player, ACHIEVEMENT_CRITERIA_TYPE_BUY_BANK_SLOT, ERR_BANKSLOT_FAILED_TOO_MANY, ERR_BANKSLOT_INSUFFICIENT_FUNDS, ERR_BANKSLOT_OK, BankBagSlotPricesEntry::price, ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), sBankBagSlotPricesStore, SendPacket(), SF_LOG_DEBUG, SF_LOG_INFO, and SMSG_BUY_BANK_SLOT_RESULT.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleBuyItemInSlotOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 545 of file ItemHandler.cpp.
References _player, Player::BuyItemFromVendorSlot(), GetPlayer(), Item::GetSlot(), INVENTORY_SLOT_BAG_0, Item::IsBag(), NULL_BAG, and SF_LOG_DEBUG.
| void WorldSession::HandleBuyItemOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 578 of file ItemHandler.cpp.
References _player, Player::BuyCurrencyFromVendorSlot(), Player::BuyItemFromVendorSlot(), ByteBuffer::FlushBits(), GetPlayer(), Item::GetSlot(), INVENTORY_SLOT_BAG_0, Item::IsBag(), ITEM_VENDOR_TYPE_CURRENCY, ITEM_VENDOR_TYPE_ITEM, NULL_BAG, ByteBuffer::ReadBit(), ByteBuffer::ReadBits(), ByteBuffer::ReadByteSeq(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleBuyStableSlot | ( | WorldPacket & | recvPacket | ) |
Definition at line 727 of file NPCHandler.cpp.
References CheckStableMaster(), GetPlayer(), MAX_PET_STABLES, Unit::RemoveAurasByType(), SendStableResult(), SF_LOG_DEBUG, SPELL_AURA_FEIGN_DEATH, STABLE_ERR_STABLE, and UNIT_STATE_DIED.
| void WorldSession::HandleCalendarAddEvent | ( | WorldPacket & | recvData | ) |
Definition at line 248 of file CalendarHandler.cpp.
References _player, CALENDAR_RANK_PLAYER, CALENDAR_SENDTYPE_ADD, CALENDAR_STATUS_NOT_SIGNED_UP, ObjectAccessor::FindPlayer(), CalendarEvent::GetEventId(), CalendarInvitePacketInfo::Guid, CalendarEvent::IsGuildAnnouncement(), CalendarEvent::IsGuildEvent(), ByteBuffer::ReadBit(), ByteBuffer::ReadBits(), ByteBuffer::ReadByteSeq(), ByteBuffer::ReadPackedTime(), ByteBuffer::readPackGUID(), ByteBuffer::ReadString(), sCalendarMgr, and CalendarEvent::SetGuildId().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleCalendarComplain | ( | WorldPacket & | recvData | ) |
Definition at line 731 of file CalendarHandler.cpp.
References _player, ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SF_LOG_DEBUG, and UI64FMTD.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleCalendarCopyEvent | ( | WorldPacket & | recvData | ) |
Definition at line 427 of file CalendarHandler.cpp.
References _player, CALENDAR_ERROR_EVENT_INVALID, CALENDAR_SENDTYPE_COPY, CalendarEvent::GetEventId(), ByteBuffer::ReadPackedTime(), sCalendarMgr, CalendarEvent::SetEventTime(), SF_LOG_DEBUG, and UI64FMTD.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleCalendarEventInvite | ( | WorldPacket & | recvData | ) |
Definition at line 454 of file CalendarHandler.cpp.
References _player, CALENDAR_ERROR_EVENT_INVALID, CALENDAR_ERROR_EVENT_PASSED, CALENDAR_ERROR_IGNORING_YOU_S, CALENDAR_ERROR_NO_GUILD_INVITES, CALENDAR_ERROR_NOT_ALLIED, CALENDAR_ERROR_PLAYER_NOT_FOUND, CALENDAR_RANK_PLAYER, CALENDAR_STATUS_INVITED, CHAR_SEL_GUID_RACE_ACC_BY_NAME, CharacterDatabase, CONFIG_ALLOW_TWO_SIDE_INTERACTION_CALENDAR, Object::GetGUID(), Player::GetGuildId(), Player::GetGuildIdFromDB(), Player::GetTeam(), HIGHGUID_PLAYER, MAKE_NEW_GUID(), ByteBuffer::ReadBit(), ByteBuffer::ReadBits(), ByteBuffer::ReadString(), sCalendarMgr, PreparedStatement::setString(), SF_LOG_DEBUG, sObjectAccessor, SOCIAL_FLAG_IGNORED, sWorld, Player::TeamForRace(), and UI64FMTD.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleCalendarEventModeratorStatus | ( | WorldPacket & | recvData | ) |
Definition at line 692 of file CalendarHandler.cpp.
References _player, CALENDAR_ERROR_EVENT_INVALID, CALENDAR_ERROR_NO_INVITE, CALENDAR_ERROR_NO_MODERATOR, ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), sCalendarMgr, SF_LOG_DEBUG, and UI64FMTD.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleCalendarEventRemoveInvite | ( | WorldPacket & | recvData | ) |
Definition at line 624 of file CalendarHandler.cpp.
References _player, CALENDAR_ERROR_DELETE_CREATOR_FAILED, CALENDAR_ERROR_NO_INVITE, ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), sCalendarMgr, SF_LOG_DEBUG, and UI64FMTD.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleCalendarEventRsvp | ( | WorldPacket & | recvData | ) |
Definition at line 586 of file CalendarHandler.cpp.
References _player, CALENDAR_ERROR_EVENT_INVALID, CALENDAR_ERROR_EVENT_LOCKED, CALENDAR_ERROR_NO_INVITE, CALENDAR_FLAG_INVITES_LOCKED, CALENDAR_STATUS_REMOVED, sCalendarMgr, SF_LOG_DEBUG, and UI64FMTD.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleCalendarEventSignup | ( | WorldPacket & | recvData | ) |
Definition at line 558 of file CalendarHandler.cpp.
References _player, CALENDAR_ERROR_EVENT_INVALID, CALENDAR_ERROR_GUILD_PLAYER_NOT_IN_GUILD, CALENDAR_RANK_PLAYER, CALENDAR_STATUS_SIGNED_UP, CALENDAR_STATUS_TENTATIVE, ByteBuffer::ReadBit(), sCalendarMgr, SF_LOG_DEBUG, and UI64FMTD.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleCalendarEventStatus | ( | WorldPacket & | recvData | ) |
Definition at line 656 of file CalendarHandler.cpp.
References _player, CALENDAR_ERROR_EVENT_INVALID, CALENDAR_ERROR_NO_INVITE, ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), sCalendarMgr, SF_LOG_DEBUG, and UI64FMTD.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleCalendarGetCalendar | ( | WorldPacket & | recvData | ) |
Definition at line 37 of file CalendarHandler.cpp.
References _player, ByteBuffer::append(), ByteBuffer::AppendPackedTime(), ByteBuffer::bitwpos(), ByteBuffer::FlushBits(), CalendarEvent::GetCreatorGUID(), InstanceSave::GetDifficulty(), CalendarEvent::GetDungeonId(), CalendarEvent::GetEventId(), CalendarEvent::GetEventTime(), CalendarEvent::GetFlags(), Guild::GetGUID(), CalendarEvent::GetGuildId(), InstanceSave::GetInstanceId(), InstanceSave::GetMapId(), InstanceSave::GetResetTime(), CalendarEvent::GetTitle(), CalendarEvent::GetType(), CalendarEvent::IsGuildEvent(), MapEntry::IsRaid(), PAIR32_LOPART(), ByteBuffer::PutBits(), sCalendarMgr, SendPacket(), SF_LOG_DEBUG, sGuildMgr, sInstanceSaveMgr, sMapStore, SMSG_CALENDAR_SEND_CALENDAR, UI64FMTD, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), ByteBuffer::WriteByteSeq(), and ByteBuffer::WriteString().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleCalendarGetEvent | ( | WorldPacket & | recvData | ) |
Definition at line 207 of file CalendarHandler.cpp.
References _player, CALENDAR_ERROR_EVENT_INVALID, CALENDAR_SENDTYPE_GET, sCalendarMgr, SF_LOG_DEBUG, and UI64FMTD.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleCalendarGetNumPending | ( | WorldPacket & | recvData | ) |
Definition at line 748 of file CalendarHandler.cpp.
References _player, sCalendarMgr, SendPacket(), SF_LOG_DEBUG, SMSG_CALENDAR_SEND_NUM_PENDING, and UI64FMTD.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleCalendarGuildFilter | ( | WorldPacket & | recvData | ) |
Definition at line 221 of file CalendarHandler.cpp.
References _player, SF_LOG_DEBUG, sGuildMgr, and UI64FMTD.
| void WorldSession::HandleCalendarRemoveEvent | ( | WorldPacket & | recvData | ) |
Definition at line 415 of file CalendarHandler.cpp.
References _player, ByteBuffer::read_skip(), ByteBuffer::rfinish(), and sCalendarMgr.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleCalendarUpdateEvent | ( | WorldPacket & | recvData | ) |
Definition at line 335 of file CalendarHandler.cpp.
References _player, CALENDAR_ERROR_EVENT_INVALID, ByteBuffer::ReadBit(), ByteBuffer::ReadBits(), ByteBuffer::ReadByteSeq(), ByteBuffer::ReadPackedTime(), ByteBuffer::ReadString(), sCalendarMgr, SF_LOG_DEBUG, and UI64FMTD.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleCancelAuraOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 1639 of file SpellHandler.cpp.
References _player, and AURA_REMOVE_BY_CANCEL.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleCancelAutoRepeatSpellOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 1673 of file SpellHandler.cpp.
References _player, and CURRENT_AUTOREPEAT_SPELL.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleCancelCastOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 1631 of file SpellHandler.cpp.
References _player.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleCancelChanneling | ( | WorldPacket & | recvData | ) |
Definition at line 1680 of file SpellHandler.cpp.
References _player, CURRENT_CHANNELED_SPELL, Object::GetTypeId(), Unit::InterruptSpell(), and TYPEID_PLAYER.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleCancelGrowthAuraOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 1671 of file SpellHandler.cpp.
| void WorldSession::HandleCancelMountAuraOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 2269 of file MiscHandler.cpp.
References _player, LANG_CHAR_NON_MOUNTED, LANG_YOU_IN_FLIGHT, ChatHandler::SendSysMessage(), SF_LOG_DEBUG, and SPELL_AURA_MOUNTED.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleCancelTempEnchantmentOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 1482 of file ItemHandler.cpp.
References Player::ApplyEnchantment(), Item::ClearEnchantment(), Item::GetEnchantmentId(), Player::GetItemByPos(), GetPlayer(), INVENTORY_SLOT_BAG_0, Player::IsEquipmentPos(), SF_LOG_DEBUG, and TEMP_ENCHANTMENT_SLOT.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleCancelTradeOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 604 of file TradeHandler.cpp.
References _player.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleCastSpellOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 1479 of file SpellHandler.cpp.
References _player, SpellInfo::BaseLevel, Player::GetActiveSpec(), Unit::GetAuraEffectsByType(), SpellInfo::GetAuraRankForLevel(), Unit::getClass(), Unit::getLevel(), Player::GetTalentSpecialization(), SpellCastTargets::GetUnitTarget(), Player::HasActiveSpell(), SpellInfo::Id, Spell::m_cast_count, Spell::m_glyphIndex, Spell::m_researchData, TalentEntry::OverrideSpellID, TalentEntry::playerClass, Spell::prepare(), SpecializationSpellsEntry::RemovesSpellId, SF_LOG_DEBUG, ByteBuffer::size(), SpecializationSpellsEntry::SpecializationId, SPELL_AURA_OVERRIDE_ACTIONBAR_SPELLS, SPELL_AURA_OVERRIDE_ACTIONBAR_SPELLS_2, SpecializationSpellsEntry::SpellId, TalentEntry::SpellId, SpellInfo::SpellLevel, sSpecializationSpellsStore, sSpellMgr, sTalentStore, Object::ToPlayer(), and TRIGGERED_NONE.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleChallengeModeRequestLeaders | ( | WorldPacket & | recvData | ) |
Definition at line 25 of file ChallengeModeHandler.cpp.
References ByteBuffer::FlushBits(), GetPlayerInfo(), ByteBuffer::read(), ByteBuffer::read_skip(), SendPacket(), SF_LOG_DEBUG, SMSG_CHALLENGE_MODE_REQUEST_LEADERS_RESULT, and ByteBuffer::WriteBits().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleChallengeModeRequestMapStats | ( | WorldPacket & | recvData | ) |
Definition at line 44 of file ChallengeModeHandler.cpp.
References ByteBuffer::FlushBits(), GetPlayerInfo(), SendPacket(), SF_LOG_DEBUG, SMSG_CHALLENGE_MODE_ALL_MAP_STATS, and ByteBuffer::WriteBits().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleChangeCurrencyFlags | ( | WorldPacket & | recvPacket | ) |
Definition at line 576 of file LootHandler.cpp.
References GetPlayer(), Player::ModifyCurrencyFlag(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleChangePlayerNameOpcodeCallBack | ( | PreparedQueryResult | result, |
| std::string const & | newName ) |
Definition at line 1932 of file CharacterHandler.cpp.
References AT_LOGIN_RENAME, CHAR_CREATE_ERROR, CHAR_DEL_DECLINED_NAME, CHAR_UPD_NAME, CharacterDatabase, GetAccountId(), GetRemoteAddress(), Field::GetString(), Field::GetUInt32(), HIGHGUID_PLAYER, MAKE_NEW_GUID(), RESPONSE_SUCCESS, SendPacket(), PreparedStatement::setString(), PreparedStatement::setUInt16(), PreparedStatement::setUInt32(), SF_LOG_INFO, SMSG_CHAR_RENAME, and sWorld.
Referenced by ProcessQueryCallbacks().
| void WorldSession::HandleChangeSeatsOnControlledVehicle | ( | WorldPacket & | recvData | ) |
Definition at line 35 of file VehicleHandler.cpp.
References Movement::ExtraMovementStatusElement::byteData, VehicleSeatEntry::CanSwitchFromSeat(), Unit::ChangeSeat(), CMSG_CHANGE_SEATS_ON_CONTROLLED_VEHICLE, CMSG_REQUEST_VEHICLE_NEXT_SEAT, CMSG_REQUEST_VEHICLE_PREV_SEAT, CMSG_REQUEST_VEHICLE_SWITCH_SEAT, Movement::ExtraMovementStatusElement::Data, Object::GetGUID(), WorldPacket::GetOpcode(), GetPlayer(), Vehicle::GetSeatForPassenger(), Unit::GetUnit(), Unit::GetVehicle(), Unit::GetVehicleBase(), Movement::ExtraMovementStatusElement::guid, MovementInfo::guid, VehicleSeatEntry::m_flags, WorldObject::m_movementInfo, MSEExtraInt8, MSEGuidByte0, MSEGuidByte1, MSEGuidByte2, MSEGuidByte3, MSEGuidByte4, MSEGuidByte5, MSEGuidByte6, MSEGuidByte7, MSEHasGuidByte0, MSEHasGuidByte1, MSEHasGuidByte2, MSEHasGuidByte3, MSEHasGuidByte4, MSEHasGuidByte5, MSEHasGuidByte6, MSEHasGuidByte7, ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), Player::ReadMovementInfo(), ByteBuffer::rfinish(), SF_LOG_DEBUG, and SF_LOG_ERROR.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleChannelAnnouncements | ( | WorldPacket & | recvPacket | ) |
Definition at line 292 of file ChannelHandler.cpp.
References ChannelMgr::forTeam(), GetPlayer(), GetPlayerInfo(), ByteBuffer::ReadBits(), ByteBuffer::ReadString(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleChannelBan | ( | WorldPacket & | recvPacket | ) |
Definition at line 251 of file ChannelHandler.cpp.
References ChannelMgr::forTeam(), GetPlayer(), GetPlayerInfo(), normalizePlayerName(), ByteBuffer::ReadBits(), ByteBuffer::ReadString(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleChannelDeclineInvite | ( | WorldPacket & | recvPacket | ) |
Definition at line 823 of file ChatHandler.cpp.
References WorldPacket::GetOpcode(), and SF_LOG_DEBUG.
| void WorldSession::HandleChannelDisplayListQuery | ( | WorldPacket & | recvPacket | ) |
Definition at line 305 of file ChannelHandler.cpp.
References HandleChannelList().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleChannelInvite | ( | WorldPacket & | recvPacket | ) |
Definition at line 213 of file ChannelHandler.cpp.
References ChannelMgr::forTeam(), GetPlayer(), GetPlayerInfo(), normalizePlayerName(), ByteBuffer::ReadBits(), ByteBuffer::ReadString(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleChannelKick | ( | WorldPacket & | recvPacket | ) |
Definition at line 232 of file ChannelHandler.cpp.
References ChannelMgr::forTeam(), GetPlayer(), GetPlayerInfo(), normalizePlayerName(), ByteBuffer::ReadBits(), ByteBuffer::ReadString(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleChannelList | ( | WorldPacket & | recvPacket | ) |
Definition at line 74 of file ChannelHandler.cpp.
References CMSG_CHANNEL_DISPLAY_LIST, ChannelMgr::forTeam(), WorldPacket::GetOpcode(), GetPlayer(), GetPlayerInfo(), ByteBuffer::ReadBits(), ByteBuffer::ReadString(), and SF_LOG_DEBUG.
Referenced by HandleChannelDisplayListQuery(), and OpcodeTable::InitializeClientTable().
| void WorldSession::HandleChannelModerator | ( | WorldPacket & | recvPacket | ) |
Definition at line 137 of file ChannelHandler.cpp.
References ChannelMgr::forTeam(), GetPlayer(), GetPlayerInfo(), normalizePlayerName(), ByteBuffer::ReadBits(), ByteBuffer::ReadString(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleChannelMute | ( | WorldPacket & | recvPacket | ) |
Definition at line 175 of file ChannelHandler.cpp.
References ChannelMgr::forTeam(), GetPlayer(), GetPlayerInfo(), normalizePlayerName(), ByteBuffer::ReadBits(), ByteBuffer::ReadString(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleChannelOwner | ( | WorldPacket & | recvPacket | ) |
Definition at line 124 of file ChannelHandler.cpp.
References ChannelMgr::forTeam(), GetPlayer(), GetPlayerInfo(), ByteBuffer::ReadBits(), ByteBuffer::ReadString(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleChannelPassword | ( | WorldPacket & | recvPacket | ) |
Definition at line 88 of file ChannelHandler.cpp.
References ChannelMgr::forTeam(), GetPlayer(), GetPlayerInfo(), ByteBuffer::ReadBits(), ByteBuffer::ReadString(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleChannelSetOwner | ( | WorldPacket & | recvPacket | ) |
Definition at line 104 of file ChannelHandler.cpp.
References ChannelMgr::forTeam(), GetPlayer(), GetPlayerInfo(), normalizePlayerName(), ByteBuffer::ReadBit(), ByteBuffer::ReadBits(), ByteBuffer::ReadString(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleChannelUnban | ( | WorldPacket & | recvPacket | ) |
Definition at line 273 of file ChannelHandler.cpp.
References ChannelMgr::forTeam(), GetPlayer(), GetPlayerInfo(), normalizePlayerName(), ByteBuffer::ReadBits(), ByteBuffer::ReadString(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleChannelUnmoderator | ( | WorldPacket & | recvPacket | ) |
Definition at line 156 of file ChannelHandler.cpp.
References ChannelMgr::forTeam(), GetPlayer(), GetPlayerInfo(), normalizePlayerName(), ByteBuffer::ReadBits(), ByteBuffer::ReadString(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleChannelUnmute | ( | WorldPacket & | recvPacket | ) |
Definition at line 194 of file ChannelHandler.cpp.
References ChannelMgr::forTeam(), GetPlayer(), GetPlayerInfo(), normalizePlayerName(), ByteBuffer::ReadBits(), ByteBuffer::ReadString(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleChannelVoiceOnOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 20 of file VoiceChatHandler.cpp.
References ByteBuffer::ReadBits(), ByteBuffer::ReadString(), and SF_LOG_DEBUG.
| void WorldSession::HandleCharCreateCallback | ( | PreparedQueryResult | result, |
| CharacterCreateInfo * | createInfo ) |
This is a series of callbacks executed consecutively as a result from the database becomes available. This is much more efficient than synchronous requests on packet handler, and much less DoS prone. It also prevents data syncrhonisation errors.
Definition at line 1053 of file CharacterHandler.cpp.
References _charCreateCallback, ASSERT, AT_LOGIN_FIRST, CHAR_CREATE_ACCOUNT_LIMIT, CHAR_CREATE_ERROR, CHAR_CREATE_LEVEL_REQUIREMENT, CHAR_CREATE_NAME_IN_USE, CHAR_CREATE_PVP_TEAMS_VIOLATION, CHAR_CREATE_SERVER_LIMIT, CHAR_CREATE_SUCCESS, CHAR_CREATE_UNIQUE_CLASS_LIMIT, CHAR_SEL_CHAR_CREATE_INFO, CHAR_SEL_SUM_CHARS, CharacterDatabase, CharacterCreateInfo::CharCount, CharacterCreateInfo::Class, CLASS_DEATH_KNIGHT, Player::CleanupsBeforeDelete(), CONFIG_CHARACTER_CREATING_MIN_LEVEL_FOR_HEROIC_CHARACTER, CONFIG_CHARACTERS_PER_ACCOUNT, CONFIG_CHARACTERS_PER_REALM, CONFIG_HEROIC_CHARACTERS_PER_REALM, CONFIG_SKIP_CINEMATICS, Player::Create(), CharacterCreateInfo::Data, GetAccountId(), Unit::getClass(), Field::GetCString(), Unit::getGender(), Object::GetGUIDLow(), Unit::getLevel(), Unit::GetMotionMaster(), WorldObject::GetName(), Unit::getRace(), GetRemoteAddress(), Field::GetUInt8(), Unit::getVirtualRealm(), GetVirtualRealmID(), HandleCharCreateCallback(), HasPermission(), HIGHGUID_PLAYER, MotionMaster::Initialize(), LOGIN_DEL_REALM_CHARACTERS_BY_REALM, LOGIN_INS_REALM_CHARACTERS, LOGIN_SEL_SUM_REALM_CHARACTERS, LoginDatabase, CharacterCreateInfo::Name, CharacterCreateInfo::Race, rbac::RBAC_PERM_SKIP_CHECK_CHARACTER_CREATION_HEROIC_CHARACTER, rbac::RBAC_PERM_TWO_SIDE_CHARACTER_CREATION, ByteBuffer::rpos(), Player::SaveToDB(), SendPacket(), Player::SetAtLoginFlag(), Player::setCinematic(), PreparedStatement::setUInt32(), SF_LOG_DEBUG, SF_LOG_INFO, SMSG_CHAR_CREATE, sObjectMgr, sScriptMgr, sWorld, Player::TeamForRace(), and ByteBuffer::wpos().
Referenced by HandleCharCreateCallback(), and ProcessQueryCallbacks().
| void WorldSession::HandleCharCreateOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 900 of file CharacterHandler.cpp.
References _charCreateCallback, ALLIANCE, CHAR_CREATE_DISABLED, CHAR_CREATE_FAILED, CHAR_CREATE_LEVEL_REQUIREMENT, CHAR_CREATE_UNIQUE_CLASS_LIMIT, CHAR_NAME_NO_NAME, CHAR_NAME_RESERVED, CHAR_NAME_SUCCESS, CHAR_SEL_CHECK_NAME, CharacterDatabase, ObjectMgr::CheckPlayerName(), CLASS_DEATH_KNIGHT, CONFIG_CHARACTER_CREATING_DISABLED, CONFIG_CHARACTER_CREATING_DISABLED_CLASSMASK, CONFIG_CHARACTER_CREATING_DISABLED_RACEMASK, CONFIG_CHARACTER_CREATING_MIN_LEVEL_FOR_HEROIC_CHARACTER, CONFIG_HEROIC_CHARACTERS_PER_REALM, CONFIG_MAX_PLAYER_LEVEL, GetAccountId(), HasPermission(), HORDE, normalizePlayerName(), rbac::RBAC_PERM_SKIP_CHECK_CHARACTER_CREATION_CLASSMASK, rbac::RBAC_PERM_SKIP_CHECK_CHARACTER_CREATION_HEROIC_CHARACTER, rbac::RBAC_PERM_SKIP_CHECK_CHARACTER_CREATION_RACEMASK, rbac::RBAC_PERM_SKIP_CHECK_CHARACTER_CREATION_RESERVEDNAME, rbac::RBAC_PERM_SKIP_CHECK_CHARACTER_CREATION_TEAMMASK, ByteBuffer::read_skip(), ByteBuffer::ReadBit(), ByteBuffer::ReadBits(), ByteBuffer::ReadString(), sChrClassesStore, sChrRacesStore, SendPacket(), PreparedStatement::setString(), SF_LOG_ERROR, SMSG_CHAR_CREATE, sObjectMgr, sWorld, and Player::TeamForRace().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleCharCustomize | ( | WorldPacket & | recvData | ) |
Definition at line 2145 of file CharacterHandler.cpp.
References AT_LOGIN_CUSTOMIZE, CHAR_CREATE_ERROR, CHAR_CREATE_NAME_IN_USE, CHAR_DEL_DECLINED_NAME, CHAR_NAME_NO_NAME, CHAR_NAME_RESERVED, CHAR_NAME_SUCCESS, CHAR_SEL_CHARACTER_AT_LOGIN, CHAR_SEL_CHARACTER_NAME, CHAR_UPD_CHAR_NAME_AT_LOGIN, CharacterDatabase, ObjectMgr::CheckPlayerName(), Player::Customize(), GetAccountId(), GetRemoteAddress(), Field::GetUInt16(), GUID_LOPART(), HasPermission(), IsLegitCharacterForAccount(), KickPlayer(), normalizePlayerName(), rbac::RBAC_PERM_SKIP_CHECK_CHARACTER_CREATION_RESERVEDNAME, RESPONSE_SUCCESS, ByteBuffer::rfinish(), SendPacket(), PreparedStatement::setString(), PreparedStatement::setUInt16(), PreparedStatement::setUInt32(), SF_LOG_ERROR, SF_LOG_INFO, SMSG_CHAR_CUSTOMIZE, sObjectMgr, sWorld, ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleCharDeleteOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 1334 of file CharacterHandler.cpp.
References CHAR_DELETE_FAILED_GUILD_LEADER, CHAR_DELETE_SUCCESS, CHAR_SEL_CHARACTER_DATA_BY_GUID, CharacterDatabase, Player::DeleteFromDB(), ObjectAccessor::FindPlayer(), GetAccountId(), GetRemoteAddress(), Field::GetString(), Field::GetUInt32(), Field::GetUInt8(), GUID_LOPART(), LOG_LEVEL_INFO, sCalendarMgr, SendPacket(), PreparedStatement::setUInt32(), SF_LOG_DEBUG, SF_LOG_INFO, sGuildMgr, sLog, SMSG_CHAR_DELETE, and sScriptMgr.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleCharEnum | ( | PreparedQueryResult | result | ) |
Definition at line 817 of file CharacterHandler.cpp.
References _legitCharacters, ByteBuffer::append(), Player::BuildEnumData(), CHARACTER_BOOST_APPLIED, CHARACTER_BOOST_ITEMS, ByteBuffer::FlushBits(), GetAccountId(), m_charBooster, ByteBuffer::reserve(), SendPacket(), SF_LOG_INFO, ByteBuffer::size(), SMSG_ENUM_CHARACTERS_RESULT, sWorld, ByteBuffer::WriteBit(), and ByteBuffer::WriteBits().
Referenced by ProcessQueryCallbacks().
| void WorldSession::HandleCharEnumOpcode | ( | WorldPacket & | recvPacket | ) |
get all the data necessary for loading all characters (along with their pets) on the account
Definition at line 881 of file CharacterHandler.cpp.
References _charEnumCallback, CHAR_DEL_EXPIRED_BANS, CHAR_SEL_ENUM, CHAR_SEL_ENUM_DECLINED_NAME, CharacterDatabase, CONFIG_DECLINED_NAMES_USED, GetAccountId(), GetVirtualRealmID(), PreparedStatement::setUInt32(), and sWorld.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleCharFactionOrRaceChange | ( | WorldPacket & | recvData | ) |
Definition at line 2382 of file CharacterHandler.cpp.
References AT_LOGIN_CHANGE_FACTION, AT_LOGIN_CHANGE_RACE, CharTitlesEntry::bit_index, CHAR_CREATE_ERROR, CHAR_CREATE_NAME_IN_USE, CHAR_DEL_CHAR_ACHIEVEMENT_BY_ACHIEVEMENT, CHAR_DEL_CHAR_DECLINED_NAME, CHAR_DEL_CHAR_QUESTSTATUS, CHAR_DEL_CHAR_QUESTSTATUS_REWARDED_BY_QUEST, CHAR_DEL_CHAR_REP_BY_FACTION, CHAR_DEL_CHAR_SKILL_LANGUAGES, CHAR_DEL_CHAR_SOCIAL_BY_FRIEND, CHAR_DEL_CHAR_SOCIAL_BY_GUID, CHAR_DEL_CHAR_SPELL_BY_SPELL, CHAR_DEL_PLAYER_HOMEBIND, CHAR_INS_CHAR_SKILL_LANGUAGE, CHAR_INS_PLAYER_HOMEBIND, CHAR_NAME_NO_NAME, CHAR_NAME_RESERVED, CHAR_NAME_SUCCESS, CHAR_RES_CHAR_TITLES_FACTION_CHANGE, CHAR_SEL_CHAR_AT_LOGIN_TITLES, CHAR_SEL_CHAR_REP_BY_FACTION, CHAR_SEL_GUILD_MEMBER, CHAR_UPD_CHAR_ACHIEVEMENT, CHAR_UPD_CHAR_INVENTORY_FACTION_CHANGE, CHAR_UPD_CHAR_QUESTSTATUS_REWARDED_ACTIVE, CHAR_UPD_CHAR_QUESTSTATUS_REWARDED_ACTIVE_BY_QUEST, CHAR_UPD_CHAR_QUESTSTATUS_REWARDED_FACTION_CHANGE, CHAR_UPD_CHAR_REP_FACTION_CHANGE, CHAR_UPD_CHAR_SPELL_FACTION_CHANGE, CHAR_UPD_CHAR_TAXI_PATH, CHAR_UPD_CHAR_TAXIMASK, CHAR_UPD_CHAR_TITLES_FACTION_CHANGE, CHAR_UPD_FACTION_OR_RACE, CharacterDatabase, ObjectMgr::CheckPlayerName(), CLASS_DEATH_KNIGHT, CONFIG_ALLOW_TWO_SIDE_INTERACTION_GUILD, CONFIG_CHARACTER_CREATING_DISABLED_RACEMASK, Player::Customize(), GetAccountId(), Field::GetCString(), Field::GetInt32(), GetPlayerInfo(), Quest::GetQuestId(), GetRemoteAddress(), Quest::GetRequiredRaces(), Field::GetUInt16(), GUID_LOPART(), HasPermission(), HIGHGUID_PLAYER, IsLegitCharacterForAccount(), KickPlayer(), KNOWN_TITLES_SIZE, CharacterNameData::m_class, CharacterNameData::m_level, CharacterNameData::m_race, MAKE_NEW_GUID(), normalizePlayerName(), RACE_BLOODELF, RACE_DRAENEI, RACE_DWARF, RACE_GNOME, RACE_GOBLIN, RACE_HUMAN, RACE_NIGHTELF, RACE_ORC, RACE_PANDAREN_NEUTRAL, RACE_TAUREN, RACE_TROLL, RACE_UNDEAD_PLAYER, RACE_WORGEN, RACEMASK_ALLIANCE, RACEMASK_HORDE, rbac::RBAC_PERM_SKIP_CHECK_CHARACTER_CREATION_RACEMASK, rbac::RBAC_PERM_SKIP_CHECK_CHARACTER_CREATION_RESERVEDNAME, rbac::RBAC_PERM_TWO_SIDE_ADD_FRIEND, RESPONSE_SUCCESS, sAllianceTaxiNodesMask, Player::SavePositionInDB(), sCharTitlesStore, sDeathKnightTaxiNodesMask, SendPacket(), PreparedStatement::setFloat(), PreparedStatement::setInt32(), PreparedStatement::setString(), PreparedStatement::setUInt16(), PreparedStatement::setUInt32(), PreparedStatement::setUInt8(), SF_LOG_DEBUG, SF_LOG_ERROR, sFactionStore, sGuildMgr, sHordeTaxiNodesMask, Tokenizer::size(), SMSG_CHAR_FACTION_CHANGE, sObjectMgr, sWorld, TEAM_ALLIANCE, and TEAM_HORDE.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleCharRenameOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 1881 of file CharacterHandler.cpp.
References _charRenameCallback, AT_LOGIN_RENAME, CHAR_NAME_NO_NAME, CHAR_NAME_RESERVED, CHAR_NAME_SUCCESS, CHAR_SEL_FREE_NAME, CharacterDatabase, ObjectMgr::CheckPlayerName(), GetAccountId(), GUID_LOPART(), HasPermission(), normalizePlayerName(), rbac::RBAC_PERM_SKIP_CHECK_CHARACTER_CREATION_RESERVEDNAME, SendPacket(), PreparedStatement::setString(), PreparedStatement::setUInt16(), PreparedStatement::setUInt32(), SMSG_CHAR_RENAME, sObjectMgr, ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleChatIgnoredOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 802 of file ChatHandler.cpp.
References _player, ChatHandler::BuildChatPacket(), CHAT_MSG_IGNORED, ObjectAccessor::FindPlayer(), GetPlayer(), Player::GetSession(), LANG_UNIVERSAL, ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), and SendPacket().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleClearTradeItemOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 797 of file TradeHandler.cpp.
References _player, TradeData::SetItem(), and TRADE_SLOT_COUNT.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleClientCastFlags | ( | WorldPacket & | recvPacket, |
| uint8 | castFlags, | ||
| SpellCastTargets & | targets ) |
Definition at line 1254 of file SpellHandler.cpp.
References HandleMovementOpcodes(), SpellCastTargets::SetElevation(), and SpellCastTargets::SetSpeed().
| void WorldSession::HandleComplainOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 1993 of file MiscHandler.cpp.
References GUID_LOPART(), SendPacket(), SF_LOG_DEBUG, and SMSG_COMPLAIN_RESULT.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleCompleteCinematic | ( | WorldPacket & | recvPacket | ) |
Definition at line 1752 of file MiscHandler.cpp.
References GetPlayer(), SF_LOG_DEBUG, and Player::StopCinematic().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleContactListOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 1218 of file MiscHandler.cpp.
References _player, and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleCorpseMapPositionQuery | ( | WorldPacket & | recvPacket | ) |
Definition at line 509 of file QueryHandler.cpp.
References ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SendPacket(), SF_LOG_DEBUG, and SMSG_CORPSE_MAP_POSITION_QUERY_RESPONSE.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleCorpseQueryOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 337 of file QueryHandler.cpp.
References _player, Player::GetCorpse(), Object::GetGUID(), WorldLocation::GetMapId(), GetPlayer(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), MAX_HEIGHT, SendPacket(), SF_LOG_DEBUG, sMapMgr, sMapStore, SMSG_CORPSE_QUERY, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleCreatureQueryOpcode | ( | WorldPacket & | recvPacket | ) |
Only static data is sent in this packet !!!
Definition at line 182 of file QueryHandler.cpp.
References CreatureTemplate::expansion, CreatureTemplate::family, ByteBuffer::FlushBits(), ObjectMgr::GetLocaleString(), GetSessionDbLocaleIndex(), CreatureTemplate::IconName, CreatureTemplate::KillCredit, MAX_CREATURE_QUEST_ITEMS, CreatureTemplate::Modelid1, CreatureTemplate::Modelid2, CreatureTemplate::Modelid3, CreatureTemplate::Modelid4, CreatureTemplate::ModHealth, CreatureTemplate::ModMana, CreatureTemplate::movementId, CreatureTemplate::Name, CreatureTemplate::questItems, CreatureTemplate::RacialLeader, CreatureTemplate::rank, SendPacket(), SF_LOG_DEBUG, SMSG_CREATURE_QUERY_RESPONSE, sObjectMgr, CreatureTemplate::SubName, CreatureTemplate::type, CreatureTemplate::type_flags, CreatureTemplate::type_flags2, ByteBuffer::WriteBit(), and ByteBuffer::WriteBits().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleDelFriendOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 1300 of file MiscHandler.cpp.
References _player, FRIEND_REMOVED, GetPlayer(), GUID_LOPART(), SF_LOG_DEBUG, and sSocialMgr.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleDelIgnoreOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 1369 of file MiscHandler.cpp.
References _player, FRIEND_IGNORE_REMOVED, GetPlayer(), GUID_LOPART(), SF_LOG_DEBUG, and sSocialMgr.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleDestroyItemOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 287 of file ItemHandler.cpp.
References _player, EQUIP_ERR_DROP_BOUND_ITEM, EQUIP_ERR_ITEM_NOT_FOUND, EQUIP_ERR_OK, ItemTemplate::Flags, Item::GetTemplate(), and ITEM_PROTO_FLAG_INDESTRUCTIBLE.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleDiscardedTimeSyncAcks | ( | WorldPacket & | recvData | ) |
Definition at line 2940 of file MiscHandler.cpp.
References _player, and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleDismissControlledVehicle | ( | WorldPacket & | recvData | ) |
Definition at line 15 of file VehicleHandler.cpp.
References _player, ByteBuffer::rfinish(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleDismissCritter | ( | WorldPacket & | recvData | ) |
Definition at line 748 of file PetHandler.cpp.
References _player, GetAccountId(), ObjectAccessor::GetCreatureOrPetOrVehicle(), Object::GetGUID(), GetPlayer(), Object::GetTypeId(), GUID_LOPART(), Unit::IsSummon(), SF_LOG_DEBUG, Object::ToCreature(), Unit::ToTempSummon(), TYPEID_UNIT, and TempSummon::UnSummon().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleDuelProposedOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 18 of file DuelHandler.cpp.
References _player, ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), sObjectAccessor, SPELL_DUEL, and SPELL_MOUNTED_DUEL.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleDuelResponseOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 34 of file DuelHandler.cpp.
References Unit::CastSpell(), Unit::CombatStopWithPets(), Player::duel, DUEL_INTERRUPTED, DUEL_WON, Player::DuelComplete(), Object::GetGUIDLow(), WorldObject::GetName(), GetPlayer(), HandlePendingPetBattlePvpDuelResponse(), DuelInfo::initiator, DuelInfo::opponent, ByteBuffer::ReadBit(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), Player::SendDuelCountdown(), SF_LOG_DEBUG, DuelInfo::startTime, and DuelInfo::startTimer.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleEjectPassenger | ( | WorldPacket & | data | ) |
Definition at line 147 of file VehicleHandler.cpp.
References _player, ASSERT, Unit::ExitVehicle(), ObjectAccessor::FindPlayer(), Vehicle::GetBase(), GetPlayer(), Vehicle::GetSeatForPassenger(), ObjectAccessor::GetUnit(), GUID_LOPART(), IS_CREATURE_GUID(), IS_PLAYER_GUID(), VehicleSeatEntry::IsEjectable(), Unit::IsOnVehicle(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), ByteBuffer::rfinish(), and SF_LOG_ERROR.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleEmoteOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 664 of file ChatHandler.cpp.
References GetPlayer(), Unit::HandleEmoteCommand(), sScriptMgr, and UNIT_STATE_DIED.
Referenced by OpcodeTable::InitializeClientTable().
| int32 WorldSession::HandleEnableNagleAlgorithm | ( | ) |
Definition at line 1729 of file MiscHandler.cpp.
Referenced by WorldSocket::ProcessIncoming().
| void WorldSession::HandleEquipmentSetDelete | ( | WorldPacket & | recvData | ) |
Definition at line 2316 of file CharacterHandler.cpp.
References _player, and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleEquipmentSetSave | ( | WorldPacket & | recvData | ) |
Definition at line 2271 of file CharacterHandler.cpp.
References _player, EQUIPMENT_SET_NEW, EQUIPMENT_SLOT_END, Object::GetGUID(), EquipmentSet::Guid, GUID_LOPART(), EquipmentSet::IconName, EquipmentSet::IgnoreMask, INVENTORY_SLOT_BAG_0, EquipmentSet::Items, MAX_EQUIPMENT_SET_INDEX, EquipmentSet::Name, SF_LOG_DEBUG, and EquipmentSet::state.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleEquipmentSetUse | ( | WorldPacket & | recvData | ) |
Definition at line 2326 of file CharacterHandler.cpp.
References _player, EQUIP_ERR_OK, EQUIPMENT_SLOT_END, EQUIPMENT_SLOT_MAINHAND, EQUIPMENT_SLOT_START, Item::GetPos(), INVENTORY_SLOT_BAG_0, NULL_BAG, NULL_SLOT, ByteBuffer::rfinish(), SendPacket(), SF_LOG_DEBUG, and SMSG_USE_EQUIPMENT_SET_RESULT.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleFarSightOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 2028 of file MiscHandler.cpp.
References _player, GetPlayer(), GUID_LOPART(), PLAYER_FIELD_FARSIGHT_OBJECT, SF_LOG_DEBUG, SF_LOG_ERROR, UI64FMTD, and Player::UpdateVisibilityForPlayer().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleFeatherFallAck | ( | WorldPacket & | recvData | ) |
Definition at line 1777 of file MiscHandler.cpp.
References ByteBuffer::rfinish(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleForceSpeedChangeAck | ( | WorldPacket & | recvData | ) |
Definition at line 652 of file MovementHandler.cpp.
References _player, CMSG_MOVE_FORCE_FLIGHT_BACK_SPEED_CHANGE_ACK, CMSG_MOVE_FORCE_FLIGHT_SPEED_CHANGE_ACK, CMSG_MOVE_FORCE_PITCH_RATE_CHANGE_ACK, CMSG_MOVE_FORCE_RUN_BACK_SPEED_CHANGE_ACK, CMSG_MOVE_FORCE_RUN_SPEED_CHANGE_ACK, CMSG_MOVE_FORCE_SWIM_BACK_SPEED_CHANGE_ACK, CMSG_MOVE_FORCE_SWIM_SPEED_CHANGE_ACK, CMSG_MOVE_FORCE_TURN_RATE_CHANGE_ACK, CMSG_MOVE_FORCE_WALK_SPEED_CHANGE_ACK, GetPlayer(), MAX_MOVE_TYPE, MOVE_FLIGHT, MOVE_FLIGHT_BACK, MOVE_PITCH_RATE, MOVE_RUN, MOVE_RUN_BACK, MOVE_SWIM, MOVE_SWIM_BACK, MOVE_TURN_RATE, MOVE_WALK, SF_LOG_DEBUG, and SF_LOG_ERROR.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGameObjectQueryOpcode | ( | WorldPacket & | recvPacket | ) |
Only static data is sent in this packet !!!
Definition at line 265 of file QueryHandler.cpp.
References ByteBuffer::append(), GameObjectTemplate::castBarCaption, GameObjectTemplate::data, GameObjectTemplate::displayId, ObjectMgr::GetLocaleString(), GetSessionDbLocaleIndex(), GUID_LOPART(), GameObjectTemplate::IconName, MAX_GAMEOBJECT_DATA, MAX_GAMEOBJECT_QUEST_ITEMS, GameObjectTemplate::name, ByteBuffer::put(), GameObjectTemplate::questItems, GameObjectTemplate::raw, ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SendPacket(), SF_LOG_DEBUG, GameObjectTemplate::size, SMSG_GAMEOBJECT_QUERY_RESPONSE, sObjectMgr, GameObjectTemplate::type, GameObjectTemplate::unk1, GameObjectTemplate::unkInt32, ByteBuffer::wpos(), and ByteBuffer::WriteBit().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGameobjectReportUse | ( | WorldPacket & | recvPacket | ) |
Definition at line 1451 of file SpellHandler.cpp.
References _player, ACHIEVEMENT_CRITERIA_TYPE_USE_GAMEOBJECT, GameObject::AI(), GAMEOBJECT_FIELD_FLAGS, Object::GetEntry(), Map::GetGameObject(), WorldObject::GetMap(), GetPlayer(), GO_FLAG_NOT_SELECTABLE, GameObjectAI::GossipHello(), GUID_LOPART(), Object::HasFlag(), INTERACTION_DISTANCE, WorldObject::IsWithinDistInMap(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGameObjectUseOpcode | ( | WorldPacket & | recPacket | ) |
Definition at line 1433 of file SpellHandler.cpp.
References _player, GetPlayer(), GUID_LOPART(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGetChallengeModeRewards | ( | WorldPacket & | recvData | ) |
Definition at line 13 of file ChallengeModeHandler.cpp.
References ByteBuffer::FlushBits(), GetPlayerInfo(), SendPacket(), SF_LOG_DEBUG, SMSG_CHALLENGE_MODE_REWARDS, and ByteBuffer::WriteBits().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGetChannelMemberCount | ( | WorldPacket & | recvPacket | ) |
Definition at line 311 of file ChannelHandler.cpp.
References ChannelMgr::forTeam(), GetPlayer(), GetPlayerInfo(), SendPacket(), SF_LOG_DEBUG, and SMSG_CHANNEL_MEMBER_COUNT.
| void WorldSession::HandleGetMailList | ( | WorldPacket & | recvData | ) |
Definition at line 883 of file MailHandler.cpp.
References Player::_LoadMail(), _player, ByteBuffer::append(), ByteBuffer::bitwpos(), Mail::body, Mail::checked, Mail::COD, DAY, Mail::expire_time, ByteBuffer::FlushBits(), Item::GetCount(), Item::GetEnchantmentCharges(), Item::GetEnchantmentDuration(), Item::GetEnchantmentId(), Object::GetEntry(), Object::GetGUIDLow(), Item::GetItemRandomPropertyId(), Item::GetItemSuffixFactor(), Player::GetMailBegin(), Player::GetMailEnd(), Player::GetMItem(), Item::GetSpellCharges(), Object::GetUInt32Value(), HIGHGUID_PLAYER, ITEM_FIELD_DURABILITY, ITEM_FIELD_MAX_DURABILITY, Mail::items, Player::m_mailsLoaded, MAIL_NORMAL, MAIL_STATE_DELETED, Mail::mailTemplateId, MAKE_NEW_GUID(), MAX_INSPECTED_ENCHANTMENT_SLOT, MAX_MAIL_ITEMS, Mail::messageID, Mail::messageType, Mail::money, ByteBuffer::put(), ByteBuffer::PutBits(), Mail::sender, SendPacket(), SMSG_MAIL_LIST_RESULT, Mail::state, Mail::stationery, Mail::subject, ByteBuffer::wpos(), ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), ByteBuffer::WriteByteSeq(), and ByteBuffer::WriteString().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGMResponseResolve | ( | WorldPacket & | recvPacket | ) |
Definition at line 267 of file TicketHandler.cpp.
References CONFIG_CHANCE_OF_GM_SURVEY, ByteBuffer::FlushBits(), GetPlayer(), GMTICKET_RESPONSE_TICKET_DELETED, rand_chance(), SendPacket(), SMSG_GM_TICKET_RESOLVE_RESPONSE, SMSG_GM_TICKET_UPDATE, sTicketMgr, sWorld, and ByteBuffer::WriteBit().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGMSurveySubmit | ( | WorldPacket & | recvPacket | ) |
Definition at line 188 of file TicketHandler.cpp.
References CHAR_INS_GM_SUBSURVEY, CHAR_INS_GM_SURVEY, CharacterDatabase, GetPlayer(), GUID_LOPART(), PreparedStatement::setString(), PreparedStatement::setUInt32(), and sTicketMgr.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGMTicketCaseStatusOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 177 of file TicketHandler.cpp.
References ByteBuffer::AppendPackedTime(), ByteBuffer::FlushBits(), SendPacket(), SMSG_GM_TICKET_CASE_STATUS, and ByteBuffer::WriteBits().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGMTicketCreateOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 20 of file TicketHandler.cpp.
References CONFIG_TICKET_LEVEL_REQ, ByteBuffer::contents(), ByteBuffer::FlushBits(), GetPlayer(), GetSkyFireString(), TicketInfo::GetTicketId(), GMTICKET_QUEUE_STATUS_DISABLED, GMTICKET_RESPONSE_CREATE_ERROR, GMTICKET_RESPONSE_CREATE_SUCCESS, TicketInfo::IsClosed(), GmTicket::IsCompleted(), LANG_COMMAND_TICKETNEW, LANG_TICKET_REQ, ByteBuffer::read_skip(), ByteBuffer::ReadBit(), ByteBuffer::ReadBits(), ByteBuffer::ReadString(), ByteBuffer::resize(), ByteBuffer::rfinish(), ByteBuffer::rpos(), SendNotification(), GmTicket::SetChatLog(), GmTicket::SetGmAction(), GmTicket::SetMessage(), TicketInfo::SetPosition(), SF_LOG_ERROR, ByteBuffer::size(), SMSG_GM_TICKET_UPDATE, sTicketMgr, and sWorld.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGMTicketDeleteOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 140 of file TicketHandler.cpp.
References GetPlayer(), GMTICKET_RESPONSE_TICKET_DELETED, LANG_COMMAND_TICKETPLAYERABANDON, SMSG_GM_TICKET_UPDATE, sTicketMgr, and sWorld.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGMTicketGetTicketOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 153 of file TicketHandler.cpp.
References GetPlayer(), SendQueryTimeResponse(), and sTicketMgr.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGMTicketSystemStatusOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 168 of file TicketHandler.cpp.
References GMTICKET_QUEUE_STATUS_DISABLED, GMTICKET_QUEUE_STATUS_ENABLED, SendPacket(), SMSG_GM_TICKET_SYSTEM_STATUS, and sTicketMgr.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGMTicketUpdateOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 114 of file TicketHandler.cpp.
References GetPlayer(), GMTICKET_RESPONSE_UPDATE_ERROR, GMTICKET_RESPONSE_UPDATE_SUCCESS, LANG_COMMAND_TICKETUPDATED, ByteBuffer::ReadBits(), ByteBuffer::ReadString(), SMSG_GM_TICKET_UPDATE, sTicketMgr, and sWorld.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGossipHelloOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 291 of file NPCHandler.cpp.
References _player, Battleground::AddPlayerToResurrectQueue(), Creature::AI(), AURA_INTERRUPT_FLAG_TALK, Creature::GetCreatureTemplate(), Object::GetEntry(), Unit::getFaction(), Object::GetGUID(), Player::GetNPCIfCanInteractWith(), GetPlayer(), CreatureTemplate::GossipMenuId, GUID_LOPART(), Unit::IsArmorer(), Unit::IsBMAuctioner(), Creature::IsCivilian(), Creature::IsGuard(), Unit::IsQuestGiver(), Unit::IsServiceProvider(), Unit::IsSpiritGuide(), UnitAI::OnGossipHello(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), Unit::RemoveAurasWithInterruptFlags(), sBattlegroundMgr, sBlackMarketMgr, SF_LOG_DEBUG, sFactionTemplateStore, sScriptMgr, Unit::StopMoving(), and UNIT_NPC_FLAG_NONE.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGossipSelectOptionOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 650 of file MiscHandler.cpp.
References _player, Creature::AI(), GameObject::AI(), Creature::GetCreatureTemplate(), GameObject::GetGOInfo(), Player::GetNPCIfCanInteractWith(), GetPlayer(), GameObjectAI::GossipSelect(), GameObjectAI::GossipSelectCode(), GUID_HIPART(), GUID_LOPART(), IS_CRE_OR_VEH_GUID(), IS_GAMEOBJECT_GUID(), WorldObject::LastUsedScriptID, Unit::RemoveAurasByType(), CreatureTemplate::ScriptID, GameObjectTemplate::ScriptId, SF_LOG_DEBUG, UnitAI::sGossipSelect(), UnitAI::sGossipSelectCode(), SPELL_AURA_FEIGN_DEATH, sScriptMgr, UNIT_NPC_FLAG_NONE, and UNIT_STATE_DIED.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGrantLevel | ( | WorldPacket & | recvData | ) |
Definition at line 12 of file ReferAFriendHandler.cpp.
References _player, CONFIG_MAX_RECRUIT_A_FRIEND_BONUS_PLAYER_LEVEL, ERR_REFER_A_FRIEND_DIFFERENT_FACTION, ERR_REFER_A_FRIEND_GRANT_LEVEL_MAX_I, ERR_REFER_A_FRIEND_INSUFFICIENT_GRANTABLE_LEVELS, ERR_REFER_A_FRIEND_NO_TARGET, ERR_REFER_A_FRIEND_NOT_IN_GROUP, ERR_REFER_A_FRIEND_NOT_REFERRED_BY, ERR_REFER_A_FRIEND_TARGET_TOO_HIGH, GetAccountId(), Player::GetGroup(), Unit::getLevel(), WorldObject::GetName(), ObjectAccessor::GetObjectInWorld(), GetRecruiterId(), Player::GetSession(), Player::GetTeamId(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SendPacket(), SF_LOG_DEBUG, SMSG_PROPOSE_LEVEL_GRANT, SMSG_REFER_A_FRIEND_FAILURE, sWorld, ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGroupAssistantLeaderOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 736 of file GroupHandler.cpp.
References Player::GetGroup(), GetPlayer(), Group::IsLeader(), MEMBER_FLAG_ASSISTANT, ByteBuffer::ReadBit(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), Group::SendUpdate(), Group::SetGroupMemberFlag(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGroupChangeSubGroupOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 692 of file GroupHandler.cpp.
References Group::ChangeMembersGroup(), Player::GetGroup(), Object::GetGUID(), GetPlayer(), Group::HasFreeSlotSubGroup(), Group::IsAssistant(), Group::IsLeader(), MAX_RAID_SUBGROUPS, ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SF_LOG_DEBUG, and sObjectAccessor.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGroupDisbandOpcode | ( | WorldPacket & | recvPacket | ) |
error handling
Definition at line 473 of file GroupHandler.cpp.
References _player, Group::Disband(), ERR_INVITE_RESTRICTED, ERR_PARTY_RESULT_OK, Player::GetGroup(), Group::GetGUID(), GetPlayer(), GROUP_REMOVEMETHOD_LEAVE, Group::isLFGGroup(), lfg::LFG_STATE_DUNGEON, lfg::LFG_STATE_FINISHED_DUNGEON, PARTY_OP_INVITE, PARTY_OP_LEAVE, Player::RemoveFromGroup(), SendPartyResult(), SF_LOG_DEBUG, and sLFGMgr.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGroupEveryoneIsAssistantOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 763 of file GroupHandler.cpp.
References Group::ChangeFlagEveryoneAssistant(), ByteBuffer::FlushBits(), Player::GetGroup(), GetPlayer(), Group::IsLeader(), ByteBuffer::read_skip(), ByteBuffer::ReadBit(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGroupInitiatePollRole | ( | WorldPacket & | recvData | ) |
Definition at line 1293 of file GroupHandler.cpp.
References SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGroupInviteOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 96 of file GroupHandler.cpp.
References _player, Group::AddInvite(), Group::AddLeaderInvite(), CONFIG_ALLOW_GM_GROUP, CONFIG_ALLOW_TWO_SIDE_INTERACTION_GROUP, ERR_ALREADY_IN_GROUP_S, ERR_BAD_PLAYER_NAME_S, ERR_GROUP_FULL, ERR_IGNORING_YOU_S, ERR_NOT_LEADER, ERR_PARTY_RESULT_OK, ERR_PLAYER_WRONG_FACTION, ERR_TARGET_NOT_IN_INSTANCE_S, Player::GetDungeonDifficulty(), Player::GetGroup(), Player::GetGroupInvite(), WorldObject::GetInstanceId(), WorldLocation::GetMapId(), Player::GetOriginalGroup(), GetPlayer(), Player::GetSession(), Player::GetSocial(), Player::GetTeam(), GUID_LOPART(), PlayerSocial::HasIgnore(), Group::IsAssistant(), Group::isBGGroup(), Group::IsFull(), Player::IsGameMaster(), Group::IsLeader(), CharacterNameData::m_realm, normalizePlayerName(), PARTY_OP_INVITE, ByteBuffer::read_skip(), ByteBuffer::ReadBits(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), ByteBuffer::ReadString(), realmNameStore, SendGroupInviteNotification(), SendPartyResult(), SF_LOG_DEBUG, sObjectAccessor, and sWorld.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGroupInviteResponseOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 249 of file GroupHandler.cpp.
References Group::AddMember(), ASSERT, Group::BroadcastGroupUpdate(), Group::Create(), ERR_GROUP_FULL, ObjectAccessor::FindPlayer(), Player::GetGroupInvite(), Group::GetLeaderGUID(), WorldObject::GetName(), GetPlayer(), Player::GetSession(), Group::IsCreated(), Group::IsFull(), PARTY_OP_INVITE, ByteBuffer::read_skip(), ByteBuffer::ReadBit(), Group::RemoveAllInvites(), Group::RemoveInvite(), SendPacket(), SendPartyResult(), SF_LOG_DEBUG, SF_LOG_ERROR, sGroupMgr, SMSG_GROUP_DECLINE, and Player::UninviteFromGroup().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGroupRaidConvertOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 663 of file GroupHandler.cpp.
References _player, Group::ConvertToGroup(), Group::ConvertToRaid(), ERR_PARTY_RESULT_OK, Player::GetGroup(), Group::GetMembersCount(), GetPlayer(), Group::IsLeader(), PARTY_OP_INVITE, ByteBuffer::ReadBit(), SendPartyResult(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGroupSetLeaderOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 394 of file GroupHandler.cpp.
References Group::ChangeLeader(), ObjectAccessor::FindPlayer(), Player::GetGroup(), GetPlayer(), Group::IsLeader(), ByteBuffer::read_skip(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), Group::SendUpdate(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGroupSetRolesOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 419 of file GroupHandler.cpp.
References Group::BroadcastPacket(), ObjectAccessor::FindPlayer(), Player::GetGroup(), Object::GetGUID(), Group::GetMemberRole(), GetPlayer(), ByteBuffer::read_skip(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), Group::SendUpdate(), Group::SetMemberRole(), SF_LOG_DEBUG, SMSG_GROUP_SET_ROLE, ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGroupSwapSubGroupOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 726 of file GroupHandler.cpp.
References SF_LOG_DEBUG.
| void WorldSession::HandleGroupUninviteGuidOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 326 of file GroupHandler.cpp.
References Player::CanUninviteFromGroup(), ERR_NOT_LEADER, ERR_PARTY_RESULT_OK, ERR_TARGET_NOT_IN_GROUP_S, Player::GetGroup(), Group::GetInvited(), GetPlayer(), GROUP_REMOVEMETHOD_KICK, Group::IsLeader(), Group::IsMember(), PARTY_OP_UNINVITE, ByteBuffer::read_skip(), ByteBuffer::ReadBit(), ByteBuffer::ReadBits(), ByteBuffer::ReadByteSeq(), ByteBuffer::ReadString(), Player::RemoveFromGroup(), SendPartyResult(), SF_LOG_DEBUG, and SF_LOG_ERROR.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildAcceptOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 91 of file GuildHandler.cpp.
References GetPlayer(), GetPlayerInfo(), SF_LOG_DEBUG, and sGuildMgr.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildAchievementProgressQuery | ( | WorldPacket & | recvData | ) |
Definition at line 2327 of file MiscHandler.cpp.
References _player, and sGuildMgr.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildAddRankOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 258 of file GuildHandler.cpp.
References GetPlayer(), GetPlayerInfo(), ByteBuffer::ReadBits(), ByteBuffer::ReadString(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildAssignRankOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 153 of file GuildHandler.cpp.
References _player, GetPlayer(), GetPlayerInfo(), GUID_LOPART(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildBankBuyTab | ( | WorldPacket & | recvData | ) |
Definition at line 520 of file GuildHandler.cpp.
References GetPlayer(), GetPlayerInfo(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SF_LOG_DEBUG, and UI64FMTD.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildBankDepositMoney | ( | WorldPacket & | recvData | ) |
Definition at line 396 of file GuildHandler.cpp.
References GAMEOBJECT_TYPE_GUILD_BANK, GetPlayer(), GetPlayerInfo(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SF_LOG_DEBUG, and UI64FMTD.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildBankerActivate | ( | WorldPacket & | recvData | ) |
Definition at line 347 of file GuildHandler.cpp.
References ERR_GUILD_PLAYER_NOT_IN_GUILD, GAMEOBJECT_TYPE_GUILD_BANK, Player::GetGameObjectIfCanInteractWith(), Player::GetGuild(), GetPlayer(), GetPlayerInfo(), GUILD_COMMAND_VIEW_TAB, ByteBuffer::ReadBit(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), Guild::SendBankList(), Guild::SendCommandResult(), SF_LOG_DEBUG, and UI64FMTD.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildBankLogQuery | ( | WorldPacket & | recvData | ) |
Definition at line 575 of file GuildHandler.cpp.
References GetPlayer(), GetPlayerInfo(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildBankMoneyWithdrawn | ( | WorldPacket & | recvData | ) |
Definition at line 329 of file GuildHandler.cpp.
References GetPlayer(), GetPlayerInfo(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildBankQueryTab | ( | WorldPacket & | recvData | ) |
Definition at line 375 of file GuildHandler.cpp.
References GAMEOBJECT_TYPE_GUILD_BANK, GetPlayer(), GetPlayerInfo(), ByteBuffer::ReadBit(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SF_LOG_DEBUG, and UI64FMTD.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildBankSwapItems | ( | WorldPacket & | recvData | ) |
Definition at line 431 of file GuildHandler.cpp.
References EQUIP_ERR_INTERNAL_BAG_ERROR, GAMEOBJECT_TYPE_GUILD_BANK, Player::GetGuild(), GetPlayer(), GetPlayerInfo(), Player::IsInventoryPos(), NULL_BAG, NULL_SLOT, ByteBuffer::ReadBit(), ByteBuffer::ReadByteSeq(), ByteBuffer::rfinish(), Player::SendEquipError(), SF_LOG_DEBUG, Guild::SwapItems(), and Guild::SwapItemsWithInventory().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildBankTabNote | ( | WorldPacket & | recvData | ) |
Definition at line 802 of file GuildHandler.cpp.
References ByteBuffer::FlushBits(), GetPlayer(), ByteBuffer::ReadBits(), and ByteBuffer::ReadString().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildBankUpdateTab | ( | WorldPacket & | recvData | ) |
Definition at line 536 of file GuildHandler.cpp.
References GAMEOBJECT_TYPE_GUILD_BANK, GetPlayer(), GetPlayerInfo(), ByteBuffer::ReadBit(), ByteBuffer::ReadBits(), ByteBuffer::ReadByteSeq(), ByteBuffer::ReadString(), SF_LOG_DEBUG, and UI64FMTD.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildBankWithdrawMoney | ( | WorldPacket & | recvData | ) |
Definition at line 414 of file GuildHandler.cpp.
References GAMEOBJECT_TYPE_GUILD_BANK, GetPlayer(), GetPlayerInfo(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SF_LOG_DEBUG, and UI64FMTD.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildChangeInfoTextOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 283 of file GuildHandler.cpp.
References GetPlayer(), GetPlayerInfo(), ByteBuffer::ReadBits(), ByteBuffer::ReadString(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildDeclineOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 100 of file GuildHandler.cpp.
References ObjectAccessor::FindPlayer(), GetPlayer(), GetPlayerInfo(), Player::SetGuildIdInvited(), Player::SetInGuild(), Player::SetLastGuildInviterGUID(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildDelRankOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 272 of file GuildHandler.cpp.
References GetPlayer(), GetPlayerInfo(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildDemoteOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 140 of file GuildHandler.cpp.
References GetPlayer(), GetPlayerInfo(), GUID_LOPART(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildDisbandOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 178 of file GuildHandler.cpp.
References GetPlayer(), GetPlayerInfo(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildEventLogQueryOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 321 of file GuildHandler.cpp.
References GetPlayer(), GetPlayerInfo(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildFinderAddApplication | ( | WorldPacket & | recvPacket | ) |
Definition at line 13 of file GuildFinderHandler.cpp.
References ALL_INTERESTS, AVAILABILITY_ALWAYS, GetPlayer(), GUID_LOPART(), GUILDFINDER_ALL_ROLES, IS_GUILD_GUID(), ByteBuffer::ReadBits(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), ByteBuffer::ReadString(), SF_LOG_DEBUG, and sGuildFinderMgr.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildFinderBrowse | ( | WorldPacket & | recvPacket | ) |
Definition at line 50 of file GuildFinderHandler.cpp.
References ALL_INTERESTS, ANY_FINDER_LEVEL, AVAILABILITY_ALWAYS, CONFIG_MAX_PLAYER_LEVEL, ByteBuffer::FlushBits(), Guild::GetAchievementMgr(), AchievementMgr< T >::GetAchievementPoints(), LFGuildPlayer::GetAvailability(), EmblemInfo::GetBackgroundColor(), EmblemInfo::GetBorderColor(), EmblemInfo::GetBorderStyle(), LFGuildPlayer::GetClassRoles(), EmblemInfo::GetColor(), LFGuildPlayer::GetComment(), Guild::GetEmblemInfo(), Guild::GetGUID(), Object::GetGUIDLow(), LFGuildPlayer::GetInterests(), Guild::GetLevel(), Guild::GetMembersCount(), Guild::GetName(), GetPlayer(), EmblemInfo::GetStyle(), Player::GetTeamId(), GUILDFINDER_ALL_ROLES, Player::SendDirectMessage(), SF_LOG_DEBUG, sGuildFinderMgr, sGuildMgr, SMSG_LF_GUILD_BROWSE_UPDATED, sWorld, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), ByteBuffer::WriteByteSeq(), and ByteBuffer::WriteString().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildFinderDeclineRecruit | ( | WorldPacket & | recvPacket | ) |
Definition at line 137 of file GuildFinderHandler.cpp.
References GetPlayer(), GUID_LOPART(), IS_PLAYER_GUID(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SF_LOG_DEBUG, and sGuildFinderMgr.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildFinderGetApplications | ( | WorldPacket & | recvPacket | ) |
Definition at line 152 of file GuildFinderHandler.cpp.
References LFGuildPlayer::GetAvailability(), LFGuildPlayer::GetClassRoles(), MembershipRequest::GetComment(), MembershipRequest::GetExpiryTime(), Guild::GetGUID(), LFGuildPlayer::GetInterests(), Guild::GetName(), GetPlayer(), MembershipRequest::GetSubmitTime(), Player::SendDirectMessage(), SF_LOG_DEBUG, sGuildFinderMgr, sGuildMgr, SMSG_LF_GUILD_MEMBERSHIP_LIST_UPDATED, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), ByteBuffer::WriteByteSeq(), and ByteBuffer::WriteString().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildFinderGetRecruits | ( | WorldPacket & | recvPacket | ) |
Definition at line 207 of file GuildFinderHandler.cpp.
References ByteBuffer::append(), ByteBuffer::FlushBits(), MembershipRequest::GetAvailability(), MembershipRequest::GetClass(), MembershipRequest::GetClassRoles(), MembershipRequest::GetComment(), MembershipRequest::GetExpiryTime(), Player::GetGuildId(), MembershipRequest::GetInterests(), MembershipRequest::GetLevel(), MembershipRequest::GetName(), GetPlayer(), MembershipRequest::GetPlayerGUID(), MembershipRequest::GetSubmitTime(), HIGHGUID_PLAYER, MAKE_NEW_GUID(), Player::SendDirectMessage(), SF_LOG_DEBUG, sGuildFinderMgr, SMSG_LF_GUILD_RECRUIT_LIST_UPDATED, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), ByteBuffer::WriteByteSeq(), and ByteBuffer::WriteString().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildFinderPostRequest | ( | WorldPacket & | recvPacket | ) |
Definition at line 276 of file GuildFinderHandler.cpp.
References ByteBuffer::FlushBits(), LFGuildPlayer::GetAvailability(), LFGuildPlayer::GetClassRoles(), LFGuildPlayer::GetComment(), Object::GetGUID(), Player::GetGuildId(), LFGuildPlayer::GetInterests(), LFGuildPlayer::GetLevel(), GetPlayer(), LFGuildSettings::IsListed(), Player::SendDirectMessage(), SF_LOG_DEBUG, sGuildFinderMgr, sGuildMgr, SMSG_LF_GUILD_POST_UPDATED, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), and ByteBuffer::WriteString().
| void WorldSession::HandleGuildFinderRemoveApplication | ( | WorldPacket & | recvPacket | ) |
Definition at line 312 of file GuildFinderHandler.cpp.
References GetPlayer(), GUID_LOPART(), IS_GUILD_GUID(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SF_LOG_DEBUG, and sGuildFinderMgr.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildFinderSetGuildPost | ( | WorldPacket & | recvPacket | ) |
Definition at line 328 of file GuildFinderHandler.cpp.
References ALL_GUILDFINDER_LEVELS, ALL_INTERESTS, ANY_FINDER_LEVEL, AVAILABILITY_ALWAYS, Object::GetGUID(), Player::GetGuildId(), GetPlayer(), Player::GetTeamId(), GUILDFINDER_ALL_ROLES, ByteBuffer::ReadBit(), ByteBuffer::ReadBits(), ByteBuffer::ReadString(), SF_LOG_DEBUG, sGuildFinderMgr, and sGuildMgr.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildInviteOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 67 of file GuildHandler.cpp.
References GetPlayer(), GetPlayerInfo(), normalizePlayerName(), ByteBuffer::ReadBits(), ByteBuffer::ReadString(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildLeaveOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 170 of file GuildHandler.cpp.
References GetPlayer(), GetPlayerInfo(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildMOTDOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 186 of file GuildHandler.cpp.
References GetPlayer(), GetPlayerInfo(), ByteBuffer::ReadBits(), ByteBuffer::ReadString(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildNewsUpdateStickyOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 747 of file GuildHandler.cpp.
References GetPlayer(), ByteBuffer::ReadBit(), ByteBuffer::ReadGuidBytes(), and ByteBuffer::ReadGuidMask().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildPermissions | ( | WorldPacket & | recvData | ) |
Definition at line 337 of file GuildHandler.cpp.
References GetPlayer(), GetPlayerInfo(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildPromoteOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 127 of file GuildHandler.cpp.
References GetPlayer(), GetPlayerInfo(), GUID_LOPART(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildQueryNewsOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 738 of file GuildHandler.cpp.
References GetPlayer(), GetPlayerInfo(), ByteBuffer::rfinish(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildQueryOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 20 of file GuildHandler.cpp.
References GetPlayerInfo(), GUID_LOPART(), ByteBuffer::ReadBit(), ByteBuffer::ReadByteSeq(), SF_LOG_ERROR, and sGuildMgr.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildQueryRanksOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 243 of file GuildHandler.cpp.
References _player, GetPlayerInfo(), GUID_LOPART(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SF_LOG_DEBUG, and sGuildMgr.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildQueryXPOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 611 of file GuildHandler.cpp.
References _player, GetPlayerInfo(), GUID_LOPART(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SF_LOG_DEBUG, and sGuildMgr.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildRemoveOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 78 of file GuildHandler.cpp.
References GetPlayer(), GetPlayerInfo(), GUID_LOPART(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildReplaceGuildMaster | ( | WorldPacket & | recvPacket | ) |
Definition at line 776 of file GuildHandler.cpp.
References GetPlayer().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildRequestChallengeUpdate | ( | WorldPacket & | recvPacket | ) |
Definition at line 782 of file GuildHandler.cpp.
References GuildChallengeGoldReward, GuildChallengeMaxLevelGoldReward, GuildChallengeWeeklyMaximum, GuildChallengeXPReward, SendPacket(), and SMSG_GUILD_CHALLENGE_UPDATED.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildRequestMaxDailyXP | ( | WorldPacket & | recvPacket | ) |
Definition at line 682 of file GuildHandler.cpp.
References _player, CONFIG_GUILD_DAILY_XP_CAP, ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SendPacket(), sGuildMgr, SMSG_GUILD_MAX_DAILY_XP, and sWorld.
| void WorldSession::HandleGuildRequestPartyState | ( | WorldPacket & | recvPacket | ) |
Definition at line 669 of file GuildHandler.cpp.
References ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SF_LOG_DEBUG, and sGuildMgr.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildRewardsQueryOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 705 of file GuildHandler.cpp.
References _player, ByteBuffer::FlushBits(), ByteBuffer::read_skip(), SendPacket(), sGuildMgr, SMSG_GUILD_REWARDS_LIST, and ByteBuffer::WriteBits().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildRosterOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 116 of file GuildHandler.cpp.
References ERR_GUILD_PLAYER_NOT_IN_GUILD, GetPlayer(), GetPlayerInfo(), GUILD_COMMAND_ROSTER, ByteBuffer::rfinish(), Guild::SendCommandResult(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildSetAchievementTracking | ( | WorldPacket & | recvPacket | ) |
Definition at line 217 of file GuildHandler.cpp.
References GetPlayerInfo(), ByteBuffer::ReadBits(), ByteBuffer::rfinish(), and SF_LOG_DEBUG.
| void WorldSession::HandleGuildSetGuildMaster | ( | WorldPacket & | recvPacket | ) |
Definition at line 765 of file GuildHandler.cpp.
References GetPlayer(), normalizePlayerName(), ByteBuffer::ReadBits(), and ByteBuffer::ReadString().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildSetNoteOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 196 of file GuildHandler.cpp.
References GetPlayer(), GetPlayerInfo(), GUID_LOPART(), ByteBuffer::ReadBit(), ByteBuffer::ReadBits(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), ByteBuffer::ReadString(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleGuildSetRankPermissionsOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 627 of file GuildHandler.cpp.
References Player::GetGuild(), GetPlayer(), GetPlayerInfo(), GUILD_BANK_MAX_TABS, Guild::HandleSetRankInfo(), ByteBuffer::ReadBits(), ByteBuffer::ReadString(), ByteBuffer::rfinish(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleHearthAndResurrect | ( | WorldPacket & | recvData | ) |
Definition at line 2434 of file MiscHandler.cpp.
References _player, AREA_FLAG_WINTERGRASP_2, AreaTableEntry::m_flags, sAreaStore, and sBattlefieldMgr.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleIgnoreTradeOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 62 of file TradeHandler.cpp.
References _player, SF_LOG_DEBUG, and TRADE_STATUS_PLAYER_IGNORED.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleInitiateTradeOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 611 of file TradeHandler.cpp.
References _player, CONFIG_ALLOW_TWO_SIDE_TRADE, CONFIG_TRADE_LEVEL_REQ, ObjectAccessor::FindPlayer(), Unit::getLevel(), GetPlayer(), Player::GetSession(), GetSkyFireString(), Player::GetTeam(), Unit::HasUnitState(), Unit::IsAlive(), Unit::IsInFlight(), isLogingOut(), WorldObject::IsWithinDistInMap(), LANG_TRADE_OTHER_REQ, LANG_TRADE_REQ, Player::m_trade, ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SendNotification(), SendPacket(), SendTradeStatus(), SMSG_TRADE_STATUS, sWorld, TRADE_STATUS_ALREADY_TRADING, TRADE_STATUS_DEAD, TRADE_STATUS_LOGGING_OUT, TRADE_STATUS_PLAYER_NOT_FOUND, TRADE_STATUS_PROPOSED, TRADE_STATUS_STUNNED, TRADE_STATUS_TARGET_DEAD, TRADE_STATUS_TARGET_LOGGING_OUT, TRADE_STATUS_TARGET_STUNNED, TRADE_STATUS_TOO_FAR_AWAY, TRADE_STATUS_WRONG_FACTION, UNIT_STATE_STUNNED, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleInspectHonorStatsOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 1882 of file MiscHandler.cpp.
References ObjectAccessor::FindPlayer(), Object::GetGUID(), Object::GetUInt16Value(), Object::GetUInt32Value(), PLAYER_FIELD_LIFETIME_HONORABLE_KILLS, PLAYER_FIELD_YESTERDAY_HONORABLE_KILLS, SendPacket(), SF_LOG_DEBUG, SMSG_INSPECT_HONOR_STATS, UI64FMTD, ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleInspectOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 1866 of file MiscHandler.cpp.
References _player, ObjectAccessor::FindPlayer(), SF_LOG_DEBUG, and UI64FMTD.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleInstanceLockResponse | ( | WorldPacket & | recvPacket | ) |
Definition at line 2454 of file MiscHandler.cpp.
References _player, and SF_LOG_INFO.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleItemRefund | ( | WorldPacket & | recvData | ) |
Definition at line 1525 of file ItemHandler.cpp.
References _player, GetPlayer(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), Player::RefundItem(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleItemRefundInfoRequest | ( | WorldPacket & | recvData | ) |
Definition at line 1506 of file ItemHandler.cpp.
References _player, GetPlayer(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), Player::SendRefundInfo(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleItemTextQuery | ( | WorldPacket & | recvData | ) |
Handles the packet sent by the client when requesting information about item text.
This function is called when player clicks on item which has some flag set
Definition at line 1547 of file ItemHandler.cpp.
References _player, GUID_LOPART(), SendPacket(), SF_LOG_DEBUG, and SMSG_ITEM_TEXT_QUERY_RESPONSE.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleJoinChannel | ( | WorldPacket & | recvPacket | ) |
Definition at line 11 of file ChannelHandler.cpp.
References ChannelMgr::forTeam(), GetAreaEntryByAreaID(), GetPlayer(), GetPlayerInfo(), ByteBuffer::ReadBit(), ByteBuffer::ReadBits(), ByteBuffer::ReadString(), sChatChannelsStore, and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleLearnPreviewTalents | ( | WorldPacket & | recvPacket | ) |
Definition at line 62 of file SkillHandler.cpp.
References SF_LOG_DEBUG.
| void WorldSession::HandleLearnPreviewTalentsPet | ( | WorldPacket & | recvPacket | ) |
Definition at line 1385 of file PetHandler.cpp.
References SF_LOG_DEBUG.
| void WorldSession::HandleLearnTalentOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 45 of file SkillHandler.cpp.
References _player, and ByteBuffer::ReadBits().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleLeaveChannel | ( | WorldPacket & | recvPacket | ) |
Definition at line 52 of file ChannelHandler.cpp.
References ChannelMgr::forTeam(), GetPlayer(), GetPlayerInfo(), ByteBuffer::ReadBits(), ByteBuffer::ReadString(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleLFDGetLockInfoOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 309 of file LFGHandler.cpp.
References GetPlayerInfo(), ByteBuffer::ReadBit(), SendLfgPartyLockInfo(), SendLfgPlayerLockInfo(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleLFDSetBootVoteOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 288 of file LFGHandler.cpp.
References Object::GetGUID(), GetPlayer(), GetPlayerInfo(), SF_LOG_DEBUG, and sLFGMgr.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleLFDTeleportOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 299 of file LFGHandler.cpp.
References GetPlayer(), GetPlayerInfo(), SF_LOG_DEBUG, and sLFGMgr.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleLfgGetStatus | ( | WorldPacket & | recvData | ) |
Definition at line 543 of file LFGHandler.cpp.
References lfg::LfgUpdateData::dungeons, Object::GetGUID(), GetPlayer(), GetPlayerInfo(), GUID_LOPART(), lfg::LFG_STATE_DUNGEON, lfg::LFG_STATE_FINISHED_DUNGEON, lfg::LFG_STATE_NONE, lfg::LFG_STATE_PROPOSAL, lfg::LFG_UPDATETYPE_UPDATE_STATUS, SendLfgLfrList(), SendLfgUpdateStatus(), SF_LOG_DEBUG, sLFGMgr, lfg::LfgUpdateData::state, and lfg::LfgUpdateData::updateType.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleLfgJoinOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 93 of file LFGHandler.cpp.
References GetPlayer(), GetPlayerInfo(), lfg::LFG_OPTION_ENABLE_DUNGEON_FINDER, lfg::LFG_OPTION_ENABLE_RAID_BROWSER, ByteBuffer::read_skip(), ByteBuffer::ReadBit(), ByteBuffer::ReadBits(), ByteBuffer::ReadString(), ByteBuffer::rfinish(), SendRolePollInform(), SF_LOG_DEBUG, and sLFGMgr.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleLfgLeaveOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 144 of file LFGHandler.cpp.
References Group::Disband(), Player::GetGroup(), Group::GetGUID(), Object::GetGUID(), Group::GetLeaderGUID(), GetPlayer(), GetPlayerInfo(), Group::isLFGGroup(), lfg::LFG_STATE_DUNGEON, lfg::LFG_STATE_FINISHED_DUNGEON, ByteBuffer::read(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SendLfgClearStatus(), SF_LOG_DEBUG, ByteBuffer::size(), and sLFGMgr.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleLfgProposalResultOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 221 of file LFGHandler.cpp.
References GetPlayer(), GetPlayerInfo(), ByteBuffer::read_skip(), ByteBuffer::ReadBit(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SF_LOG_DEBUG, and sLFGMgr.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleLfgSetCommentOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 277 of file LFGHandler.cpp.
References GetPlayer(), GetPlayerInfo(), SF_LOG_DEBUG, and sLFGMgr.
| void WorldSession::HandleLfgSetRolesOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 259 of file LFGHandler.cpp.
References Player::GetGroup(), Group::GetGUID(), Object::GetGUID(), GetPlayer(), GetPlayerInfo(), GUID_LOPART(), ByteBuffer::read(), ByteBuffer::read_skip(), SF_LOG_DEBUG, and sLFGMgr.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleLfrJoinOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 493 of file LFGHandler.cpp.
References GetPlayerInfo(), lfg::LFG_JOIN_DUNGEON_INVALID, lfg::LFG_JOIN_INTERNAL_ERROR, SendLfgJoinResult(), SF_LOG_DEBUG, ByteBuffer::size(), and sLFGMgr.
| void WorldSession::HandleLfrLeaveOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 523 of file LFGHandler.cpp.
References GetPlayerInfo(), SF_LOG_DEBUG, ByteBuffer::size(), and sLFGMgr.
| void WorldSession::HandleListInventoryOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 648 of file ItemHandler.cpp.
References GetPlayer(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SendListInventory(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleLoadScreenOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 1431 of file CharacterHandler.cpp.
References SF_LOG_INFO.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleLogoutCancelOpcode | ( | WorldPacket & | recvPacket | ) |
we can move again
Stand Up
DISABLE_ROTATE
Definition at line 1090 of file MiscHandler.cpp.
References GetPlayer(), LogoutRequest(), Object::RemoveFlag(), SendPacket(), Unit::SetRooted(), Unit::SetStandState(), SF_LOG_DEBUG, SMSG_LOGOUT_CANCEL_ACK, UNIT_FIELD_FLAGS, UNIT_FLAG_STUNNED, and UNIT_STAND_STATE_STAND.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleLogoutRequestOpcode | ( | WorldPacket & | recvPacket | ) |
TODO: Possibly add RBAC permission to log out in combat
Definition at line 1034 of file MiscHandler.cpp.
References DoLootRelease(), ByteBuffer::FlushBits(), GetPlayer(), GetSecurity(), Object::HasFlag(), HasPermission(), Unit::IsInCombat(), Unit::IsInFlight(), LogoutPlayer(), LogoutRequest(), PLAYER_FIELD_PLAYER_FLAGS, PLAYER_FLAGS_RESTING, rbac::RBAC_PERM_INSTANT_LOGOUT, SendPacket(), Object::SetFlag(), Unit::SetRooted(), Unit::SetStandState(), SF_LOG_DEBUG, SMSG_LOGOUT_RESPONSE, UNIT_FIELD_FLAGS, UNIT_FLAG_STUNNED, UNIT_STAND_STATE_SIT, and ByteBuffer::WriteBit().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleLootMasterGiveOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 493 of file LootHandler.cpp.
References _player, ACHIEVEMENT_CRITERIA_TYPE_LOOT_EPIC_ITEM, ACHIEVEMENT_CRITERIA_TYPE_LOOT_ITEM, ACHIEVEMENT_CRITERIA_TYPE_LOOT_TYPE, LootItem::AllowedForPlayer(), Player::CanStoreNewItem(), LootItem::count, EQUIP_ERR_CANT_EQUIP_EVER, EQUIP_ERR_OK, ObjectAccessor::FindPlayer(), LootItem::follow_loot_rules, LootItem::GetAllowedLooters(), Map::GetCreature(), Map::GetGameObject(), WorldObject::GetMap(), WorldObject::GetName(), GetPlayer(), HIGHGUID_PLAYER, IS_CRE_OR_VEH_GUID(), IS_GAMEOBJECT_GUID(), LootItem::is_looted, LootItem::itemid, Loot::items, Creature::loot, GameObject::loot, Loot::loot_type, MAKE_NEW_GUID(), Loot::NotifyItemRemoved(), NULL_BAG, NULL_SLOT, Loot::quest_items, LootItem::randomPropertyId, Player::SendEquipError(), Player::SendNewItem(), SF_LOG_DEBUG, Player::StoreNewItem(), Loot::unlootedCount, and Player::UpdateAchievementCriteria().
| void WorldSession::HandleLootMethodOpcode | ( | WorldPacket & | recvPacket | ) |
error handling
Definition at line 506 of file GroupHandler.cpp.
References Player::GetGroup(), GetPlayer(), Group::IsLeader(), ByteBuffer::read_skip(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), Group::SendUpdate(), Group::SetLooterGuid(), Group::SetLootMethod(), Group::SetLootThreshold(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleLootMoneyOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 127 of file LootHandler.cpp.
References ACHIEVEMENT_CRITERIA_TYPE_LOOT_MONEY, CalculatePct(), CLASS_ROGUE, CONFIG_GROUP_XP_DISTANCE, Loot::containerID, Loot::DeleteLootMoneyFromContainerItemDB(), DoLootRelease(), ByteBuffer::FlushBits(), Unit::getClass(), ObjectAccessor::GetCorpse(), Map::GetCreature(), Group::GetFirstMember(), Map::GetGameObject(), Player::GetGroup(), Object::GetGUID(), Player::GetGuildId(), Player::GetItemByGuid(), Player::GetLootGUID(), Player::GetLootView(), WorldObject::GetMap(), GameObject::GetOwnerGUID(), GetPlayer(), Player::GetSession(), Unit::GetTotalAuraModifier(), Loot::gold, GUID_HIPART(), HIGHGUID_CORPSE, HIGHGUID_GAMEOBJECT, HIGHGUID_ITEM, HIGHGUID_UNIT, HIGHGUID_VEHICLE, INTERACTION_DISTANCE, IS_ITEM_GUID(), Unit::IsAlive(), Loot::isLooted(), WorldObject::IsWithinDistInMap(), Corpse::loot, Creature::loot, GameObject::loot, Creature::lootForPickPocketed, Player::ModifyMoney(), GroupReference::next(), Loot::NotifyMoneyRemoved(), SendPacket(), SF_LOG_DEBUG, sGuildMgr, SMSG_LOOT_MONEY_NOTIFY, SPELL_AURA_DEPOSIT_BONUS_MONEY_IN_GUILD_BANK_ON_LOOT, sWorld, Player::UpdateAchievementCriteria(), and ByteBuffer::WriteBit().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleLootOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 293 of file LootHandler.cpp.
References _player, CONFIG_LOOT_AOE_RADIUS, GetPlayer(), Unit::InterruptNonMeleeSpells(), LOOT_CORPSE, ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), Player::SendLoot(), SendPacket(), SF_LOG_DEBUG, SMSG_AE_LOOT_TARGETS, and sWorld.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleLootReleaseOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 326 of file LootHandler.cpp.
References DoLootRelease(), GetPlayer(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleLootRoll | ( | WorldPacket & | recvData | ) |
Definition at line 536 of file GroupHandler.cpp.
References ACHIEVEMENT_CRITERIA_TYPE_ROLL_GREED, ACHIEVEMENT_CRITERIA_TYPE_ROLL_NEED, Group::CountRollVote(), Player::GetGroup(), GetPlayer(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), ROLL_GREED, ROLL_NEED, and Player::UpdateAchievementCriteria().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleMailCreateTextItem | ( | WorldPacket & | recvData | ) |
Definition at line 1040 of file MailHandler.cpp.
References _player, Mail::body, Mail::checked, MailTemplateEntry::content, Item::Create(), EQUIP_ERR_OK, HIGHGUID_ITEM, ITEM_FIELD_CREATOR, ITEM_FIELD_DYNAMIC_FLAGS, ITEM_FLAG_MAIL_TEXT_MASK, Player::m_mailsUpdated, MAIL_BODY_ITEM_TEMPLATE, MAIL_CHECK_MASK_COPIED, MAIL_ERR_EQUIP_ERROR, MAIL_ERR_INTERNAL_ERROR, MAIL_MADE_PERMANENT, MAIL_OK, MAIL_STATE_CHANGED, Mail::mailTemplateId, NULL_BAG, NULL_SLOT, Mail::sender, Player::SendMailResult(), Object::SetFlag(), Item::SetText(), Object::SetUInt32Value(), SF_LOG_INFO, sMailTemplateStore, sObjectMgr, Mail::state, and Player::StoreItem().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleMailDelete | ( | WorldPacket & | recvData | ) |
Definition at line 689 of file MailHandler.cpp.
References _player, MAIL_DELETED, MAIL_OK, MAIL_STATE_DELETED, and Mail::state.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleMailMarkAsRead | ( | WorldPacket & | recvData | ) |
Definition at line 667 of file MailHandler.cpp.
References _player, Mail::checked, MAIL_CHECK_MASK_READ, MAIL_STATE_CHANGED, and Mail::state.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleMailReturnToSender | ( | WorldPacket & | recvData | ) |
Definition at line 707 of file MailHandler.cpp.
References _player, MailDraft::AddItem(), MailDraft::AddMoney(), Mail::body, CHAR_DEL_MAIL_BY_ID, CHAR_DEL_MAIL_ITEM_BY_ID, CharacterDatabase, GetAccountId(), Player::GetMItem(), Mail::HasItems(), Mail::items, MAIL_NORMAL, MAIL_OK, MAIL_RETURNED_TO_SENDER, Mail::mailTemplateId, Mail::messageType, Mail::money, Mail::receiver, Player::RemoveMail(), Player::RemoveMItem(), Mail::sender, Player::SendMailResult(), MailDraft::SendReturnToSender(), PreparedStatement::setUInt32(), and Mail::subject.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleMailTakeItem | ( | WorldPacket & | recvData | ) |
Definition at line 759 of file MailHandler.cpp.
References _player, Player::_SaveMail(), MailDraft::AddMoney(), CharacterDatabase, Mail::COD, EQUIP_ERR_OK, ObjectAccessor::FindPlayer(), GetAccountId(), Item::GetCount(), Object::GetEntry(), Object::GetGUIDLow(), Player::GetMItem(), WorldObject::GetName(), GetPlayerName(), Player::GetSession(), Item::GetTemplate(), HasPermission(), HIGHGUID_PLAYER, ITEM_UNCHANGED, LANG_UNKNOWN, Player::m_mailsUpdated, MAIL_CHECK_MASK_COD_PAYMENT, MAIL_ERR_EQUIP_ERROR, MAIL_ITEM_TAKEN, MAIL_NORMAL, MAIL_OK, MAIL_STATE_CHANGED, MAKE_NEW_GUID(), Player::ModifyMoney(), Player::MoveItemToInventory(), ItemTemplate::Name1, NULL_BAG, NULL_SLOT, rbac::RBAC_PERM_LOG_GM_TRADE, Mail::receiver, Mail::removedItems, Mail::RemoveItem(), Player::RemoveMItem(), Player::SaveInventoryAndGoldToDB(), Mail::sender, Player::SendMailResult(), MailDraft::SendMailTo(), Item::SetState(), sLog, sObjectMgr, Mail::state, Mail::subject, and UI64FMTD.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleMailTakeMoney | ( | WorldPacket & | recvData | ) |
Definition at line 847 of file MailHandler.cpp.
References _player, Player::_SaveMail(), CharacterDatabase, EQUIP_ERR_TOO_MUCH_GOLD, Player::m_mailsUpdated, MAIL_ERR_EQUIP_ERROR, MAIL_MONEY_TAKEN, MAIL_OK, MAIL_STATE_CHANGED, Player::ModifyMoney(), Mail::money, Player::SaveGoldToDB(), Player::SendMailResult(), and Mail::state.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleMessagechatOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 30 of file ChatHandler.cpp.
References _player, Player::AddWhisperWhiteList(), Group::BroadcastPacket(), ChatHandler::BuildChatPacket(), Player::CanSpeak(), CHAT_MSG_ADDON, CHAT_MSG_AFK, CHAT_MSG_CHANNEL, CHAT_MSG_DND, CHAT_MSG_EMOTE, CHAT_MSG_GUILD, CHAT_MSG_INSTANCE, CHAT_MSG_INSTANCE_LEADER, CHAT_MSG_OFFICER, CHAT_MSG_PARTY, CHAT_MSG_PARTY_LEADER, CHAT_MSG_RAID, CHAT_MSG_RAID_LEADER, CHAT_MSG_RAID_WARNING, CHAT_MSG_SAY, CHAT_MSG_WHISPER, CHAT_MSG_YELL, CMSG_CHAT_MESSAGE_AFK, CMSG_MESSAGECHAT_CHANNEL, CMSG_MESSAGECHAT_DND, CMSG_MESSAGECHAT_EMOTE, CMSG_MESSAGECHAT_GUILD, CMSG_MESSAGECHAT_OFFICER, CMSG_MESSAGECHAT_PARTY, CMSG_MESSAGECHAT_RAID, CMSG_MESSAGECHAT_RAID_WARNING, CMSG_MESSAGECHAT_SAY, CMSG_MESSAGECHAT_WHISPER, CMSG_MESSAGECHAT_YELL, CONFIG_ADDON_CHANNEL, CONFIG_ALLOW_TWO_SIDE_INTERACTION_GROUP, CONFIG_ALLOW_TWO_SIDE_INTERACTION_GUILD, CONFIG_CHAT_CHANNEL_LEVEL_REQ, CONFIG_CHAT_FAKE_MESSAGE_PREVENTING, CONFIG_CHAT_GM_WHISPER_FILTER_BYPASS, CONFIG_CHAT_SAY_LEVEL_REQ, CONFIG_CHAT_STRICT_LINK_CHECKING_KICK, CONFIG_CHAT_STRICT_LINK_CHECKING_SEVERITY, CONFIG_CHAT_WHISPER_LEVEL_REQ, CONFIG_CHATLOG_ADDON, ChannelMgr::forTeam(), Unit::GetAuraEffectsByType(), Player::GetGroup(), Object::GetGUID(), GetLanguageDescByID(), Unit::getLevel(), Group::GetMemberGroup(), WorldObject::GetName(), WorldPacket::GetOpcode(), Player::GetOriginalGroup(), GetPlayer(), GetSecurity(), Player::GetSession(), GetSkyFireString(), Player::GetTeam(), Unit::HasAura(), HasPermission(), Player::HasSkill(), ByteBuffer::hexlike(), Player::isAcceptWhispers(), Group::IsAssistant(), Group::isBGGroup(), Player::IsGameMaster(), Player::IsInWhisperWhiteList(), Group::IsLeader(), Group::isRaidGroup(), KickPlayer(), LANG_ADDON, LANG_CHANNEL_REQ, LANG_GM_SILENCE, LANG_NOT_LEARNED_LANGUAGE, LANG_PLAYER_AFK_DEFAULT, LANG_PLAYER_DND_DEFAULT, LANG_SAY_REQ, LANG_UNIVERSAL, LANG_UNKNOWN_LANGUAGE, LANG_WAIT_BEFORE_SPEAKING, LANG_WHISPER_REQ, m_muteTime, MSG_NULL_ACTION, normalizePlayerName(), rbac::RBAC_PERM_CAN_FILTER_WHISPERS, rbac::RBAC_PERM_SKIP_CHECK_CHAT_CHANNEL_REQ, rbac::RBAC_PERM_TWO_SIDE_INTERACTION_CHAT, ByteBuffer::ReadBits(), ByteBuffer::ReadString(), ByteBuffer::rfinish(), Player::Say(), SEC_PLAYER, secsToTimeString(), SendNotification(), SendPlayerNotFoundNotice(), SendWrongFactionNotice(), SF_LOG_ERROR, sGuildMgr, LanguageDesc::skill_id, sObjectAccessor, SPELL_AURA_COMPREHEND_LANGUAGE, SPELL_AURA_MOD_LANGUAGE, sScriptMgr, stripLineInvisibleChars(), sWorld, Player::TextEmote(), Player::Whisper(), and Player::Yell().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleMinimapPingOpcode | ( | WorldPacket & | recvData | ) |
error handling
Definition at line 567 of file GroupHandler.cpp.
References Group::BroadcastPacket(), Player::GetGroup(), Object::GetGUID(), GetPlayer(), ByteBuffer::read_skip(), SF_LOG_DEBUG, SMSG_MINIMAP_PING, ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleMirrorImageDataRequest | ( | WorldPacket & | recvData | ) |
Definition at line 1751 of file SpellHandler.cpp.
References ItemTemplate::DisplayInfoID, EQUIPMENT_SLOT_BACK, EQUIPMENT_SLOT_BODY, EQUIPMENT_SLOT_CHEST, EQUIPMENT_SLOT_END, EQUIPMENT_SLOT_FEET, EQUIPMENT_SLOT_HANDS, EQUIPMENT_SLOT_HEAD, EQUIPMENT_SLOT_LEGS, EQUIPMENT_SLOT_SHOULDERS, EQUIPMENT_SLOT_TABARD, EQUIPMENT_SLOT_WAIST, EQUIPMENT_SLOT_WRISTS, ByteBuffer::FlushBits(), Unit::GetAuraEffectsByType(), Object::GetByteValue(), Unit::getClass(), Unit::GetDisplayId(), Unit::getGender(), Guild::GetGUID(), Player::GetGuild(), Player::GetItemByPos(), ObjectAccessor::GetObjectInWorld(), Unit::getRace(), Item::GetTemplate(), Unit::HasAuraType(), Object::HasFlag(), INVENTORY_SLOT_BAG_0, PLAYER_FIELD_HAIR_COLOR_ID, PLAYER_FIELD_PLAYER_FLAGS, PLAYER_FIELD_REST_STATE, PLAYER_FLAGS_HIDE_CLOAK, PLAYER_FLAGS_HIDE_HELM, SendPacket(), SF_LOG_DEBUG, SMSG_MIRROR_IMAGE_COMPONENTED_DATA, SMSG_MIRROR_IMAGE_CREATURE_DATA, SPELL_AURA_CLONE_CASTER, Object::ToPlayer(), ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), ByteBuffer::WriteByteSeq(), ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleMountSpecialAnimOpcode | ( | WorldPacket & | recvdata | ) |
Definition at line 743 of file MovementHandler.cpp.
References Object::GetGUID(), GetPlayer(), Player::SendMessageToSet(), SMSG_MOUNTSPECIAL_ANIM, ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleMoveGravityAck | ( | WorldPacket & | recvData | ) |
Definition at line 1835 of file MiscHandler.cpp.
References ByteBuffer::rfinish().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleMoveHoverAck | ( | WorldPacket & | recvData | ) |
Definition at line 771 of file MovementHandler.cpp.
References GetPlayer(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleMoveKnockBackAck | ( | WorldPacket & | recvPacket | ) |
Definition at line 755 of file MovementHandler.cpp.
References _player, GetPlayer(), SF_LOG_DEBUG, and SMSG_MOVE_UPDATE_KNOCK_BACK.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleMovementForceAck | ( | WorldPacket & | recvPacket | ) |
Definition at line 825 of file MovementHandler.cpp.
References CMSG_MOVE_APPLY_MOVEMENT_FORCE_ACK, WorldPacket::GetOpcode(), GetPlayer(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleMovementOpcodes | ( | WorldPacket & | recvPacket | ) |
Definition at line 486 of file MovementHandler.cpp.
References _player, Transport::AddPassenger(), ASSERT, Skyfire::PetTransport::BoardOwnerHunterPet(), DAMAGE_FALL_TO_VOID, Player::EnvironmentalDamage(), MovementInfo::flags, GAMEOBJECT_TYPE_TRANSPORT, GetAreaEntryByAreaID(), WorldObject::GetAreaId(), WorldObject::GetBaseMap(), Player::GetBattleground(), Map::GetGameObject(), GameObject::GetGoType(), Object::GetGUID(), WorldObject::GetMap(), getMSTime(), WorldPacket::GetOpcode(), Position::GetOrientation(), GetPlayer(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), Map::GetTransport(), WorldObject::GetTransport(), Object::GetUInt32Value(), Unit::GetVehicle(), MovementInfo::guid, MovementInfo::TransportInfo::guid, Player::HandleFall(), Battleground::HandlePlayerUnderMap(), Unit::IsAlive(), Player::IsInCinematic(), Unit::IsInFlight(), Player::IsInWater(), Map::IsUnderWater(), Player::KillPlayer(), m_clientTimeDelay, AreaTableEntry::m_MinElevation, WorldObject::m_movementInfo, Position::m_orientation, Position::m_positionX, Position::m_positionY, Position::m_positionZ, WorldObject::m_transport, MOVEMENT_PACKET_TIME_DELAY, MOVEMENTFLAG_SWIMMING, MSG_MOVE_FALL_LAND, MovementInfo::pos, MovementInfo::TransportInfo::pos, Position::Relocate(), Skyfire::PetTransport::RemoveOwnerHunterPet(), Transport::RemovePassenger(), MovementInfo::ResetTransport(), WorldObject::SendMessageToSet(), Player::SetInWater(), Position::SetOrientation(), Object::SetUInt32Value(), ByteBuffer::size(), SMSG_PLAYER_MOVE, MovementInfo::time, Object::ToPlayer(), MovementInfo::transport, UNIT_FIELD_NPC_EMOTESTATE, Player::UpdateFallInformationIfNeed(), Unit::UpdatePosition(), and Unit::WriteMovementInfo().
Referenced by HandleClientCastFlags(), HandleUpdateMissileTrajectory(), and OpcodeTable::InitializeClientTable().
| void WorldSession::HandleMoveNotActiveMover | ( | WorldPacket & | recvData | ) |
Definition at line 735 of file MovementHandler.cpp.
References _player, GetPlayer(), and SF_LOG_DEBUG.
| void WorldSession::HandleMoveRootAck | ( | WorldPacket & | recvPacket | ) |
Definition at line 1811 of file MiscHandler.cpp.
References ByteBuffer::rfinish().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleMoveSetCanFlyAckOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 808 of file MovementHandler.cpp.
References _player, MovementInfo::GetMovementFlags(), GetPlayer(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleMoveSetCanTurnWhileFallingAck | ( | WorldPacket & | recvData | ) |
Definition at line 832 of file MovementHandler.cpp.
References ByteBuffer::rfinish(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleMoveSetVehicleRecAck | ( | WorldPacket & | recvData | ) |
Definition at line 230 of file VehicleHandler.cpp.
References Movement::ExtraMovementStatusElement::Data, Movement::ExtraMovementStatusElement::extraInt32Data, Object::GetGUID(), GetPlayer(), MSEExtraInt32, Player::ReadMovementInfo(), Player::SendMessageToSet(), SF_LOG_DEBUG, SMSG_SET_VEHICLE_REC_ID, ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleMoveSplineDoneOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 226 of file TaxiHandler.cpp.
References _player, Unit::CastSpell(), Player::CleanupAfterTaxiFlight(), PlayerTaxi::ClearTaxiDestinations(), FLIGHT_MOTION_TYPE, PathMovementBase< T, P >::GetCurrentNode(), FlightPathMovementGenerator::GetPath(), GetPlayer(), PlayerTaxi::GetTaxiDestination(), PlayerTaxi::GetTaxiSource(), Player::m_taxi, TaxiNodesEntry::map_id, PlayerTaxi::NextTaxiDestination(), SendDoFlight(), FlightPathMovementGenerator::SetCurrentNodeAfterTeleport(), Player::SetFallInformation(), SF_LOG_DEBUG, FlightPathMovementGenerator::SkipCurrentNode(), SMSG_NEW_TAXI_PATH, sObjectMgr, sTaxiNodesStore, Player::TeleportTo(), TaxiPathNodeEntry::x, TaxiPathNodeEntry::y, and TaxiPathNodeEntry::z.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleMoveTeleportAck | ( | WorldPacket & | recvPacket | ) |
Definition at line 435 of file MovementHandler.cpp.
References _player, Unit::CastSpell(), Player::GetBattlePetMgr(), GetPlayer(), Player::GetTeleportDest(), WorldObject::GetZoneAndAreaId(), WorldObject::GetZoneId(), Object::HasFlag(), IN_MILLISECONDS, PvPInfo::IsHostile, Unit::IsPvP(), PLAYER_FIELD_PLAYER_FLAGS, PLAYER_FLAGS_IN_PVP, Player::ProcessDelayedOperations(), Player::pvpInfo, BattlePetMgr::ResummonLastBattlePet(), Player::ResummonPetTemporaryUnSummonedIfAny(), Player::SetSemaphoreTeleportNear(), SF_LOG_DEBUG, UI64FMTD, Player::UpdatePosition(), Player::UpdatePvP(), and Player::UpdateZone().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleMoveTimeSkippedOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 1764 of file MiscHandler.cpp.
References SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleMoveUnRootAck | ( | WorldPacket & | recvPacket | ) |
Definition at line 1785 of file MiscHandler.cpp.
References ByteBuffer::rfinish().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleMoveWaterWalkAck | ( | WorldPacket & | recvPacket | ) |
Definition at line 778 of file MovementHandler.cpp.
References GetPlayer(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleMoveWorldportAckOpcode | ( | ) |
Definition at line 279 of file MovementHandler.cpp.
References _player, InstanceTemplate::AllowMount, BATTLEGROUND_TYPE_NONE, Map::CanEnter(), Unit::CastSpell(), Player::CleanupAfterTaxiFlight(), CORPSE_BONES, FLIGHT_MOTION_TYPE, Player::GetBattlePetMgr(), Player::GetCorpse(), Player::GetDifficulty(), Map::GetId(), WorldObject::GetMap(), GetMapDifficultyData(), WorldLocation::GetMapId(), Map::GetMapName(), Unit::GetMotionMaster(), GetPlayer(), Player::GetTeleportDest(), Corpse::GetType(), WorldObject::GetZoneAndAreaId(), GUID_LOPART(), MovementGeneratorMedium< T, D >::Initialize(), MapEntry::IsBattlegroundOrArena(), MapEntry::IsInstance(), MapManager::IsValidMapCoord(), LogoutPlayer(), Player::m_InstanceValid, MapEntry::MapID, MotionMaster::MovementExpired(), PLAYER_FIELD_PLAYER_FLAGS, PLAYER_FLAGS_IN_PVP, Player::ProcessDelayedOperations(), Position::Relocate(), Map::RemovePlayerFromMap(), Player::ResetMap(), BattlePetMgr::ResummonLastBattlePet(), Player::ResummonPetTemporaryUnSummonedIfAny(), Player::ResurrectPlayer(), Player::SendInitialPacketsAfterAddToMap(), Player::SendInitialPacketsBeforeAddToMap(), Player::SendInstanceResetWarning(), Player::SetMap(), Player::SetSemaphoreTeleportFar(), Player::SetSemaphoreTeleportForcedFar(), SF_LOG_ERROR, sInstanceSaveMgr, sMapMgr, sMapStore, sObjectMgr, Player::SpawnCorpseBones(), SPELL_AURA_MOUNTED, Player::TeleportTo(), Player::UpdatePvP(), and Player::UpdateZone().
Referenced by HandleMoveWorldportAckOpcode(), and LogoutPlayer().
| void WorldSession::HandleMoveWorldportAckOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 273 of file MovementHandler.cpp.
References HandleMoveWorldportAckOpcode(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleNameQueryOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 107 of file QueryHandler.cpp.
References ByteBuffer::ReadBit(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), and SendNameQueryOpcode().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleNextCinematicCamera | ( | WorldPacket & | recvPacket | ) |
Definition at line 1759 of file MiscHandler.cpp.
References SF_LOG_DEBUG.
| void WorldSession::HandleNpcTextQueryOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 400 of file QueryHandler.cpp.
References ByteBuffer::append(), ByteBuffer::FlushBits(), GossipText::Options, ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SendPacket(), SF_LOG_DEBUG, SF_LOG_ERROR, ByteBuffer::size(), SMSG_NPC_TEXT_UPDATE, sObjectMgr, GossipTextOption::Text_0, and ByteBuffer::WriteBit().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleObjectUpdateFailedOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 2751 of file MiscHandler.cpp.
References GetGuidLow(), WorldObject::GetName(), GetPlayer(), GetPlayerName(), ObjectAccessor::GetWorldObject(), SF_LOG_DEBUG, SF_LOG_ERROR, and UI64FMTD.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleOfferPetitionOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 474 of file PetitionsHandler.cpp.
References _player, CHAR_SEL_PETITION_SIGNATURE, CharacterDatabase, CONFIG_ALLOW_TWO_SIDE_INTERACTION_GUILD, ERR_ALREADY_IN_GUILD_S, ERR_ALREADY_INVITED_TO_GUILD_S, ERR_GUILD_NOT_ALLIED, ObjectAccessor::FindPlayer(), ByteBuffer::FlushBits(), Player::GetGuildId(), Player::GetGuildIdInvited(), GetPlayer(), Player::GetSession(), Player::GetTeam(), Field::GetUInt32(), GUID_LOPART(), GUILD_COMMAND_CREATE, GUILD_COMMAND_INVITE, HIGHGUID_PLAYER, MAKE_NEW_GUID(), ByteBuffer::read_skip(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), Guild::SendCommandResult(), SendPacket(), PreparedStatement::setUInt32(), SF_LOG_DEBUG, SMSG_PETITION_SHOW_SIGNATURES, sWorld, ByteBuffer::WriteBits(), ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleOpeningCinematic | ( | WorldPacket & | recvData | ) |
Definition at line 2983 of file CharacterHandler.cpp.
References _player, PLAYER_FIELD_XP, sChrClassesStore, and sChrRacesStore.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleOpenItemOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 1339 of file SpellHandler.cpp.
References _player, CHAR_DEL_GIFT, CHAR_SEL_CHARACTER_GIFT_BY_ITEM, CharacterDatabase, Player::DestroyItem(), EQUIP_ERR_CLIENT_LOCKED_OUT, EQUIP_ERR_ITEM_LOCKED, EQUIP_ERR_ITEM_NOT_FOUND, ItemTemplate::Flags, Item::GetBagSlot(), Object::GetGUID(), Object::GetGUIDLow(), Player::GetItemByPos(), WorldObject::GetName(), Item::GetSlot(), Item::GetTemplate(), Field::GetUInt32(), Object::HasFlag(), Item::IsLocked(), ITEM_CHANGED, ITEM_FIELD_DYNAMIC_FLAGS, ITEM_FIELD_GIFT_CREATOR, ITEM_FLAG_WRAPPED, ITEM_PROTO_FLAG_OPENABLE, ItemTemplate::ItemId, ItemTemplate::LockID, LOOT_CORPSE, Player::m_mover, Player::SendEquipError(), Player::SendLoot(), Object::SetEntry(), Item::SetState(), PreparedStatement::setUInt32(), Object::SetUInt32Value(), Object::SetUInt64Value(), SF_LOG_DEBUG, SF_LOG_ERROR, SF_LOG_INFO, ByteBuffer::size(), and sLockStore.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleOptOutOfLootOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 1276 of file GroupHandler.cpp.
References GetPlayer(), ByteBuffer::ReadBit(), Player::SetPassOnGroupLoot(), SF_LOG_DEBUG, and SF_LOG_ERROR.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandlePageTextQueryOpcode | ( | WorldPacket & | recvPacket | ) |
Only static data is sent in this packet !!!
Definition at line 456 of file QueryHandler.cpp.
References ByteBuffer::FlushBits(), ObjectMgr::GetLocaleString(), GetSessionDbLocaleIndex(), PageText::NextPage, ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SendPacket(), SF_LOG_DEBUG, SMSG_PAGE_TEXT_QUERY_RESPONSE, sObjectMgr, PageText::Text, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), and ByteBuffer::WriteString().
Referenced by OpcodeTable::InitializeClientTable().
| bool WorldSession::HandlePendingPetBattlePvpDuelResponse | ( | bool | accepted | ) |
Definition at line 1015 of file BattlePetHandler.cpp.
References GetPlayer().
Referenced by HandleDuelResponseOpcode().
| void WorldSession::HandlePetAbandon | ( | WorldPacket & | recvData | ) |
Definition at line 1251 of file PetHandler.cpp.
References _player, Object::GetGUID(), GetPlayer(), GUID_LOPART(), Unit::IsPet(), PET_SAVE_AS_DELETED, and SF_LOG_INFO.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandlePetAction | ( | WorldPacket & | recvData | ) |
Definition at line 770 of file PetHandler.cpp.
References Object::GetEntry(), GetPlayer(), GUID_LOPART(), HandlePetActionHelper(), SF_LOG_DEBUG, UNIT_ACTION_BUTTON_ACTION, and UNIT_ACTION_BUTTON_TYPE.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandlePetActionHelper | ( | Unit * | pet, |
| uint64 | guid1, | ||
| uint32 | spellid, | ||
| uint16 | flag, | ||
| uint64 | guid2, | ||
| float | x, | ||
| float | y, | ||
| float | z ) |
Definition at line 811 of file PetHandler.cpp.
References _player, ACT_COMMAND, ACT_DISABLED, ACT_ENABLED, ACT_PASSIVE, ACT_REACTION, Creature::AddCreatureSpellCooldown(), Creature::AI(), ASSERT, Unit::Attack(), UnitAI::AttackStart(), Unit::AttackStop(), Spell::CheckPetCast(), MotionMaster::Clear(), Unit::ClearUnitState(), COMMAND_ABANDON, COMMAND_ATTACK, COMMAND_FOLLOW, COMMAND_MOVE_TO, COMMAND_STAY, CORPSE, SpellInfo::Effects, Spell::finish(), Unit::GetCharmerGUID(), Unit::GetCharmerOrOwner(), Unit::GetCharmInfo(), Unit::GetFollowAngle(), Object::GetGUIDLow(), Unit::GetMotionMaster(), Unit::GetOwner(), Unit::GetOwnerGUID(), GetPlayer(), SpellImplicitTargetInfo::GetTarget(), Object::GetTypeId(), ObjectAccessor::GetUnit(), SpellCastTargets::GetUnitTarget(), Unit::GetVictim(), Unit::HasSpell(), Creature::HasSpellCooldown(), Unit::HasUnitTypeMask(), HUNTER_PET, Unit::InterruptNonMeleeSpells(), Unit::IsAIEnabled, CharmInfo::IsCommandAttack(), SpellInfo::IsPassive(), Unit::IsPet(), Unit::isPossessed(), Unit::IsVehicle(), Spell::m_targets, MAX_SPELL_EFFECTS, MotionMaster::MoveFollow(), MotionMaster::MoveIdle(), MotionMaster::MovePoint(), PET_FOLLOW_DIST, PET_SAVE_AS_DELETED, PET_TALK_ATTACK, PET_TALK_SPECIAL_SPELL, Spell::prepare(), REACT_AGGRESSIVE, REACT_ASSIST, REACT_DEFENSIVE, REACT_PASSIVE, Player::RemovePet(), CharmInfo::SaveStayPosition(), Spell::SendCastResult(), Player::SendClearCooldown(), Unit::SendPetAIReaction(), Spell::SendPetCastResult(), Unit::SendPetTalk(), Object::SendUpdateToPlayer(), CharmInfo::SetCommandState(), Pet::setDeathState(), Unit::SetInFront(), CharmInfo::SetIsAtStay(), CharmInfo::SetIsCommandAttack(), CharmInfo::SetIsCommandFollow(), CharmInfo::SetIsFollowing(), CharmInfo::SetIsReturning(), Creature::SetReactState(), SF_LOG_ERROR, SPELL_AURA_MOD_PACIFY, SPELL_CAST_OK, SPELL_FAILED_UNIT_NOT_INFRONT, sSpellMgr, Unit::StopMoving(), SUMMON_PET, TARGET_DEST_DYNOBJ_ENEMY, TARGET_UNIT_DEST_AREA_ENEMY, TARGET_UNIT_SRC_AREA_ENEMY, SpellEffectInfo::TargetA, Object::ToCreature(), Object::ToPlayer(), TRIGGERED_NONE, TYPEID_PLAYER, TYPEID_UNIT, UI64FMTD, UNIT_MASK_MINION, and UNIT_STATE_FOLLOW.
Referenced by HandlePetAction().
| void WorldSession::HandlePetBattleQueueProposeMatchResult | ( | WorldPacket & | recvData | ) |
Definition at line 889 of file BattlePetHandler.cpp.
References BATTLE_PET_ACHIEVEMENT_SOURCE_PVP_MATCHMAKING, ObjectAccessor::FindPlayer(), Player::GetBattlePetMgr(), Object::GetGUID(), GetPlayer(), Skyfire::BattlePetPackets::PET_BATTLE_QUEUE_STATUS_JOIN_FAILED, Skyfire::BattlePetPackets::PET_BATTLE_QUEUE_STATUS_NONE, Skyfire::BattlePetPackets::PET_BATTLE_QUEUE_STATUS_OPPONENT_DECLINED, Skyfire::BattlePetPackets::PET_BATTLE_QUEUE_STATUS_PROPOSAL_DECLINED, PetBattlePvpStateStore::Proposals(), BattlePetMgr::SetPetBattlePvpQueued(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandlePetBattleRequestPvp | ( | WorldPacket & | recvData | ) |
Definition at line 967 of file BattlePetHandler.cpp.
References PetBattlePvpStateStore::AddChallenge(), Skyfire::BattlePetPackets::BuildPvpChallengePacket(), PetBattlePvpChallenge::ChallengerGuid, PetBattlePvpChallenge::CreatedAt, Object::GetGUID(), GetPlayer(), Player::GetSelectedPlayer(), PetBattlePvpChallenge::HasLocationResult, PetBattlePvpChallenge::LocationResult, PetBattleRequest::LocationResult, PetBattlePvpChallenge::Orientation, PetBattleRequest::Orientation, PetBattlePvpChallenge::Origin, PetBattleRequest::Origin, PetBattlePvpChallenge::Positions, PetBattleRequest::Positions, Skyfire::BattlePetPackets::ResolveBattlePetFacing(), Player::SendDirectMessage(), SF_LOG_DEBUG, and PetBattlePvpChallenge::TargetGuid.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandlePetBattleStartPvpMatchmaking | ( | WorldPacket & | recvData | ) |
Definition at line 870 of file BattlePetHandler.cpp.
References GetPlayer(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandlePetBattleStopPvpMatchmaking | ( | WorldPacket & | recvData | ) |
Definition at line 881 of file BattlePetHandler.cpp.
References GetPlayer(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandlePetCancelAuraOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 1658 of file SpellHandler.cpp.
References _player, Creature::AddCreatureSpellCooldown(), AURA_REMOVE_BY_CANCEL, and Unit::RemoveOwnedAura().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandlePetCastSpellOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 1288 of file PetHandler.cpp.
References _player, Spell::CheckPetCast(), Unit::ClearUnitState(), Spell::finish(), Vehicle::GetPassenger(), GetPlayer(), Object::GetTypeId(), ObjectAccessor::GetUnit(), Unit::GetVehicleKit(), Creature::HasSpellCooldown(), Player::HasSpellCooldown(), SpellCastTargets::Initialize(), Spell::m_cast_count, Spell::m_targets, PET_TALK_SPECIAL_SPELL, Spell::prepare(), Player::SendClearCooldown(), Unit::SendPetAIReaction(), Spell::SendPetCastResult(), Unit::SendPetTalk(), SpellCastTargets::SetElevation(), SpellCastTargets::SetSpeed(), SF_LOG_DEBUG, SPELL_CAST_OK, SUMMON_PET, Object::ToCreature(), Unit::ToPet(), Object::ToPlayer(), TRIGGERED_NONE, TYPEID_PLAYER, UI64FMTD, UNIT_STATE_FOLLOW, and SpellCastTargets::Update().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandlePetitionBuyOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 27 of file PetitionsHandler.cpp.
References _player, BUY_ERR_CANT_FIND_ITEM, BUY_ERR_NOT_ENOUGHT_MONEY, ItemTemplate::BuyCount, CHAR_INS_PETITION, CHAR_SEL_PETITION_BY_OWNER, CharacterDatabase, EQUIP_ERR_OK, ERR_GUILD_NAME_EXISTS_S, ERR_GUILD_NAME_INVALID, Object::GetGUIDLow(), Player::GetNPCIfCanInteractWith(), Object::GetObjectGUID(), GetPlayer(), Field::GetUInt32(), GUID_LOPART(), GUILD_CHARTER, GUILD_CHARTER_COST, GUILD_CHARTER_TYPE, GUILD_COMMAND_CREATE, ObjectMgr::IsValidCharterName(), ITEM_CHANGED, ITEM_FIELD_ENCHANTMENT, NULL_BAG, NULL_SLOT, ByteBuffer::ReadBits(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), ByteBuffer::ReadString(), Unit::RemoveAurasByType(), Guild::SendCommandResult(), Item::SetState(), PreparedStatement::setString(), PreparedStatement::setUInt32(), Object::SetUInt32Value(), PreparedStatement::setUInt8(), SF_LOG_DEBUG, sGuildMgr, sObjectMgr, SPELL_AURA_FEIGN_DEATH, UNIT_NPC_FLAG_PETITIONER, and UNIT_STATE_DIED.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandlePetitionDeclineOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 445 of file PetitionsHandler.cpp.
References _player, CHAR_SEL_PETITION_OWNER_BY_GUID, CharacterDatabase, ObjectAccessor::FindPlayer(), Player::GetSession(), GUID_LOPART(), HIGHGUID_PLAYER, MAKE_NEW_GUID(), PETITION_SIGN_OK, ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SendPetitionSignResults(), PreparedStatement::setUInt32(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandlePetitionQueryOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 221 of file PetitionsHandler.cpp.
References GUID_LOPART(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SendPetitionQueryOpcode(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandlePetitionRenameOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 303 of file PetitionsHandler.cpp.
References _player, CHAR_UPD_PETITION_NAME, CharacterDatabase, ERR_GUILD_NAME_EXISTS_S, ERR_GUILD_NAME_INVALID, ByteBuffer::FlushBits(), GUID_LOPART(), GUILD_COMMAND_CREATE, ObjectMgr::IsValidCharterName(), ByteBuffer::ReadBits(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), ByteBuffer::ReadString(), Guild::SendCommandResult(), SendPacket(), PreparedStatement::setString(), PreparedStatement::setUInt32(), SF_LOG_DEBUG, sGuildMgr, SMSG_PETITION_RENAME_RESULT, sObjectMgr, ByteBuffer::WriteBits(), ByteBuffer::WriteGuidBytes(), ByteBuffer::WriteGuidMask(), and ByteBuffer::WriteString().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandlePetitionShowListOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 719 of file PetitionsHandler.cpp.
References Player::GetNPCIfCanInteractWith(), GetPlayer(), GUID_LOPART(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SendPetitionShowList(), SF_LOG_DEBUG, and UNIT_NPC_FLAG_PETITIONER.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandlePetitionShowSignOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 143 of file PetitionsHandler.cpp.
References _player, CHAR_SEL_PETITION_SIGNATURE, CharacterDatabase, ByteBuffer::FlushBits(), Field::GetUInt32(), GUID_LOPART(), HIGHGUID_PLAYER, MAKE_NEW_GUID(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SendPacket(), PreparedStatement::setUInt32(), SF_LOG_DEBUG, SMSG_PETITION_SHOW_SIGNATURES, ByteBuffer::WriteBits(), ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandlePetitionSignOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 351 of file PetitionsHandler.cpp.
References _player, CHAR_INS_PETITION_SIGNATURE, CHAR_SEL_PETITION_SIG_BY_ACCOUNT, CHAR_SEL_PETITION_SIGNATURES, CharacterDatabase, CONFIG_ALLOW_TWO_SIDE_INTERACTION_GUILD, ERR_ALREADY_IN_GUILD_S, ERR_ALREADY_INVITED_TO_GUILD_S, ERR_GUILD_NOT_ALLIED, ObjectAccessor::FindPlayer(), GetAccountId(), GetPlayer(), Field::GetUInt64(), Field::GetUInt8(), GUID_LOPART(), GUILD_COMMAND_CREATE, GUILD_COMMAND_INVITE, HIGHGUID_PLAYER, MAKE_NEW_GUID(), PETITION_SIGN_ALREADY_SIGNED, PETITION_SIGN_OK, ByteBuffer::read_skip(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), Guild::SendCommandResult(), SendPetitionSignResults(), PreparedStatement::setUInt32(), SF_LOG_DEBUG, SF_LOG_ERROR, sObjectMgr, and sWorld.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandlePetLearnTalent | ( | WorldPacket & | recvPacket | ) |
Definition at line 1380 of file PetHandler.cpp.
References SF_LOG_DEBUG.
| void WorldSession::HandlePetNameQuery | ( | WorldPacket & | recvData | ) |
Definition at line 1080 of file PetHandler.cpp.
References SendPetNameQuery(), and SF_LOG_INFO.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandlePetRename | ( | WorldPacket & | recvData | ) |
Definition at line 1200 of file PetHandler.cpp.
References _player, CHAR_ADD_CHAR_PET_DECLINEDNAME, CHAR_DEL_CHAR_PET_DECLINEDNAME, CHAR_UPD_CHAR_PET_NAME, CharacterDatabase, Unit::GetCharmInfo(), CharmInfo::GetPetNumber(), GetPlayer(), GROUP_UPDATE_FLAG_PET_NAME, DeclinedName::name, Object::RemoveByteFlag(), WorldObject::SetName(), PreparedStatement::setString(), PreparedStatement::setUInt32(), Object::SetUInt32Value(), SF_LOG_INFO, UNIT_CAN_BE_RENAMED, UNIT_FIELD_PET_NAME_TIMESTAMP, and UNIT_FIELD_SHAPESHIFT_FORM.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandlePetSetAction | ( | WorldPacket & | recvData | ) |
Definition at line 1153 of file PetHandler.cpp.
References _player, ACT_DISABLED, ACT_ENABLED, ACT_PASSIVE, Object::GetEntry(), GetPlayer(), Object::GetTypeId(), Unit::HasSpell(), Unit::IsPet(), CharmInfo::SetActionBar(), SF_LOG_INFO, sSpellMgr, Object::ToCreature(), TYPEID_UNIT, UNIT_ACTION_BUTTON_ACTION, and UNIT_ACTION_BUTTON_TYPE.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandlePetSpellAutocastOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 1268 of file PetHandler.cpp.
References Unit::GetCharmInfo(), GetPlayer(), Unit::IsPet(), CharmInfo::SetSpellAutocast(), SF_LOG_INFO, and CharmInfo::ToggleCreatureAutocast().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandlePetStopAttack | ( | WorldPacket & | recvData | ) |
Definition at line 798 of file PetHandler.cpp.
References Unit::AttackStop(), GetPlayer(), SF_LOG_DEBUG, and UI64FMTD.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandlePlayedTime | ( | WorldPacket & | recvPacket | ) |
Definition at line 1855 of file MiscHandler.cpp.
References _player, SendPacket(), and SMSG_PLAYED_TIME.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandlePlayerLogin | ( | LoginQueryHolder * | holder | ) |
Definition at line 1440 of file CharacterHandler.cpp.
References Map::AddPlayerToMap(), ALIVE, ByteBuffer::append(), AT_LOGIN_FIRST, AT_LOGIN_RESET_PET_TALENTS, AT_LOGIN_RESET_SPELLS, AT_LOGIN_RESET_TALENTS, Unit::CastSpell(), CHAR_LOGIN_FAILED, CHAR_UPD_CHAR_ONLINE, CharacterDatabase, Player::CheckInstanceLoginValid(), CLASS_HUNTER, CLASS_MONK, CONFIG_ALL_TAXI_PATHS, CONFIG_ARENA_SEASON_ID, CONFIG_ENABLE_SINFO_LOGIN, CONFIG_TICKETS_FEEDBACK_SYSTEM_ENABLED, Player::ContinueTaxiFlight(), ByteBuffer::FlushBits(), FRIEND_ONLINE, GetAccountId(), Player::getCinematic(), Unit::getClass(), Player::GetGroup(), LoginQueryHolder::GetGuid(), Object::GetGUIDLow(), Player::GetGuildId(), Unit::getLevel(), WorldObject::GetMap(), WorldLocation::GetMapId(), Unit::GetMotionMaster(), getMSTime(), WorldObject::GetName(), Position::GetOrientation(), Player::GetPet(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), SQLQueryHolder::GetPreparedResult(), Unit::getRace(), GetRemoteAddress(), Player::GetSession(), GUID_LOPART(), Player::HasAtLoginFlag(), Object::HasFlag(), Unit::HasUnitState(), MotionMaster::Initialize(), WorldPacket::Initialize(), Player::IsGameMaster(), Unit::IsStandState(), LANG_GM_ON, LANG_RESET_SPELLS, LANG_RESET_TALENTS, LoadAccountData(), Player::LoadCorpse(), Player::LoadFromDB(), Player::LoadPet(), Pet::LoadPetFromDB(), LOGIN_UPD_ACCOUNT_ONLINE, LoginDatabase, Unit::m_deathState, Player::m_homebindMapId, Player::m_homebindX, Player::m_homebindY, Player::m_homebindZ, m_playerLoading, PER_CHARACTER_CACHE_MASK, PET_SAVE_AS_CURRENT, PLAYER_FIELD_PLAYER_FLAGS, PLAYER_FLAGS_CONTESTED_PVP, PLAYER_FLAGS_RESTING, PLAYER_LOGIN_QUERY_LOAD_ACCOUNT_DATA, PLAYER_LOGIN_QUERY_LOAD_GUILD, ChatHandler::PSendSysMessage(), ByteBuffer::PutBits(), RACE_NIGHTELF, Player::RemoveAtLoginFlag(), Player::resetSpells(), Player::ResetTalents(), Pet::resetTalentsForAllPetsOf(), Pet::SavePetToDB(), sChrClassesStore, sChrRacesStore, SendAccountDataTimes(), SendCharacterLoginFailed(), Player::SendCinematicStart(), Player::SendDungeonDifficulty(), Player::SendInitialPacketsAfterAddToMap(), Player::SendInitialPacketsBeforeAddToMap(), SendNotification(), SendPacket(), Player::SendTalentsInfoData(), SendTimezoneInformation(), Object::SetByteFlag(), Player::setCinematic(), Unit::SetContestedPvP(), Player::SetGuildLevel(), Player::SetInGameTime(), Player::SetInGuild(), SetPlayer(), Player::SetRank(), Unit::SetStandState(), Player::SetTaxiCheater(), PreparedStatement::setUInt32(), Unit::SetWaterWalking(), SF_LOG_DEBUG, SF_LOG_ERROR, SF_LOG_INFO, sGuildMgr, SMSG_FEATURE_SYSTEM_STATUS, SMSG_HOTFIX_NOTIFY_BLOB, SMSG_LOGIN_VERIFY_WORLD, SMSG_MOTD, SMSG_PVP_SEASON, sObjectAccessor, sObjectMgr, PlayerInfo::spell_cast, sScriptMgr, sSocialMgr, sWorld, AreaTriggerStruct::target_mapId, AreaTriggerStruct::target_X, AreaTriggerStruct::target_Y, AreaTriggerStruct::target_Z, Player::TeleportTo(), UNIT_BYTE2_FLAG_FFA_PVP, UNIT_FIELD_SHAPESHIFT_FORM, UNIT_STAND_STATE_STAND, UNIT_STATE_STUNNED, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), and ByteBuffer::WriteString().
Referenced by ProcessQueryCallbacks().
| void WorldSession::HandlePlayerLoginOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 1393 of file CharacterHandler.cpp.
References _charLoginCallback, CHAR_LOGIN_FAILED, CHAR_LOGIN_IN_PROGRESS, CHAR_LOGIN_NO_CHARACTER, CharacterDatabase, GetAccountId(), GetPlayer(), GUID_LOPART(), LoginQueryHolder::Initialize(), IsLegitCharacterForAccount(), m_playerLoading, PlayerLoading(), SendCharacterLoginFailed(), SF_LOG_DEBUG, and SF_LOG_ERROR.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandlePlayerLogoutOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 1085 of file MiscHandler.cpp.
References SF_LOG_DEBUG.
| void WorldSession::HandlePushQuestToParty | ( | WorldPacket & | recvPacket | ) |
Definition at line 624 of file QuestHandler.cpp.
References _player, Player::AddQuest(), Player::CanAddQuest(), Player::CanCompleteQuest(), Player::CanCompleteRepeatableQuest(), Player::CanTakeQuest(), Player::CompleteQuest(), Player::GetDivider(), Group::GetFirstMember(), Player::GetGroup(), Object::GetGUID(), GetPlayer(), Player::GetQuestStatus(), Quest::HasFlag(), Quest::IsAutoAccept(), Quest::IsAutoComplete(), Quest::IsDailyOrWeekly(), Quest::IsRepeatable(), GroupReference::next(), Player::PlayerTalkClass, QUEST_FLAGS_AUTOCOMPLETE, QUEST_PARTY_MSG_BUSY, QUEST_PARTY_MSG_CANT_TAKE_QUEST, QUEST_PARTY_MSG_FINISH_QUEST, QUEST_PARTY_MSG_HAVE_QUEST, QUEST_PARTY_MSG_LOG_FULL, QUEST_PARTY_MSG_SHARING_QUEST, QUEST_STATUS_COMPLETE, Player::SatisfyQuestLog(), Player::SatisfyQuestStatus(), Player::SendPushToPartyResponse(), PlayerMenu::SendQuestGiverQuestDetails(), PlayerMenu::SendQuestGiverRequestItems(), Player::SetDivider(), SF_LOG_DEBUG, and sObjectMgr.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandlePVPLogDataOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 337 of file BattleGroundHandler.cpp.
References _player, Battleground::isArena(), sBattlegroundMgr, SendPacket(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleQueryGuildBankTabText | ( | WorldPacket & | recvData | ) |
Definition at line 586 of file GuildHandler.cpp.
References GetPlayer(), GetPlayerInfo(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleQueryInspectAchievements | ( | WorldPacket & | recvData | ) |
Definition at line 2313 of file MiscHandler.cpp.
References _player, ObjectAccessor::FindPlayer(), Player::SendRespondInspectAchievements(), SF_LOG_DEBUG, and UI64FMTD.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleQueryNextMailTime | ( | WorldPacket & | recvData | ) |
Definition at line 1101 of file MailHandler.cpp.
References _player, ByteBuffer::append(), ByteBuffer::bitwpos(), Mail::checked, Mail::deliver_time, ByteBuffer::FlushBits(), HIGHGUID_PLAYER, MAIL_CHECK_MASK_READ, MAIL_NORMAL, MAKE_NEW_GUID(), Mail::messageType, ByteBuffer::PutBits(), realmID, Mail::sender, SendPacket(), SMSG_MAIL_QUERY_NEXT_TIME_RESULT, Mail::stationery, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), and ByteBuffer::WriteByteSeq().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleQueryQuestsCompleted | ( | WorldPacket & | recvData | ) |
Definition at line 924 of file QuestHandler.cpp.
References _player, SendPacket(), and SMSG_QUERY_QUESTS_COMPLETED_RESPONSE.
| void WorldSession::HandleQueryTimeOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 168 of file QueryHandler.cpp.
References SendQueryTimeResponse().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleQuestConfirmAccept | ( | WorldPacket & | recvData | ) |
Definition at line 526 of file QuestHandler.cpp.
References _player, Player::CanShareQuest(), ObjectAccessor::FindPlayer(), QUEST_FLAGS_START_EVENT_MUST_COMPLETE, SF_LOG_DEBUG, and sObjectMgr.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleQuestgiverAcceptQuestOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 105 of file QuestHandler.cpp.
References _player, Player::CanTakeQuest(), CLOSE_GOSSIP_CLEAR_DIVIDER, ObjectAccessor::FindPlayer(), Item::GetBagSlot(), Object::GetEntry(), ObjectAccessor::GetObjectByTypeMask(), GetPlayer(), Item::GetSlot(), Item::GetTemplate(), Object::GetTypeId(), GUID_LOPART(), Object::hasQuest(), ItemTemplate::MaxCount, GroupReference::next(), Player::PlayerTalkClass, QUEST_FLAGS_START_EVENT_MUST_COMPLETE, QUEST_OBJECTIVE_TYPE_ITEM, QUEST_PARTY_MSG_ACCEPT_QUEST, ByteBuffer::ReadBit(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), PlayerMenu::SendCloseGossip(), Player::SendPushToPartyResponse(), Player::SetDivider(), SF_LOG_DEBUG, sObjectMgr, Object::ToPlayer(), TYPEID_CONTAINER, TYPEID_GAMEOBJECT, TYPEID_ITEM, TYPEID_UNIT, TYPEMASK_GAMEOBJECT, TYPEMASK_ITEM, TYPEMASK_PLAYER, and TYPEMASK_UNIT.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleQuestgiverCancel | ( | WorldPacket & | recvData | ) |
Definition at line 467 of file QuestHandler.cpp.
References _player, and SF_LOG_DEBUG.
| void WorldSession::HandleQuestgiverChooseRewardOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 333 of file QuestHandler.cpp.
References _player, Creature::AI(), GameObject::AI(), ObjectAccessor::GetObjectByTypeMask(), Quest::GetRewardPackageItemId(), Object::GetTypeId(), GUID_LOPART(), Quest::HasFlag(), Object::hasInvolvedQuest(), Quest::IsAutoComplete(), Quest::IsRewChoiceItemValid(), QUEST_FLAGS_PLAYER_CAST_ACCEPT, QUEST_STATUS_COMPLETE, QUEST_STATUS_NONE, GameObjectAI::QuestReward(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SF_LOG_DEBUG, SF_LOG_ERROR, sObjectMgr, UnitAI::sQuestReward(), sScriptMgr, Object::ToCreature(), Object::ToGameObject(), TYPEID_GAMEOBJECT, TYPEID_UNIT, TYPEMASK_GAMEOBJECT, and TYPEMASK_UNIT.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleQuestgiverCompleteQuest | ( | WorldPacket & | recvData | ) |
Definition at line 559 of file QuestHandler.cpp.
References _player, ObjectAccessor::GetObjectByTypeMask(), Quest::GetQuestObjectiveCountType(), GUID_LOPART(), Object::hasInvolvedQuest(), Quest::IsRepeatable(), QUEST_OBJECTIVE_TYPE_ITEM, QUEST_STATUS_COMPLETE, QUEST_STATUS_NONE, ByteBuffer::ReadBit(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SF_LOG_DEBUG, SF_LOG_ERROR, sObjectMgr, sScriptMgr, Object::ToCreature(), TYPEMASK_GAMEOBJECT, and TYPEMASK_UNIT.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleQuestgiverHelloOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 74 of file QuestHandler.cpp.
References _player, Creature::AI(), Creature::GetCreatureTemplate(), Player::GetNPCIfCanInteractWith(), GetPlayer(), CreatureTemplate::GossipMenuId, GUID_LOPART(), UnitAI::OnGossipHello(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), Unit::RemoveAurasByType(), SF_LOG_DEBUG, SPELL_AURA_FEIGN_DEATH, sScriptMgr, Unit::StopMoving(), UNIT_NPC_FLAG_NONE, and UNIT_STATE_DIED.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleQuestgiverQueryQuestOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 257 of file QuestHandler.cpp.
References _player, Object::GetGUID(), ObjectAccessor::GetObjectByTypeMask(), GUID_LOPART(), Object::hasInvolvedQuest(), Object::hasQuest(), QUEST_FLAGS_AUTOCOMPLETE, ByteBuffer::ReadBit(), ByteBuffer::ReadByteSeq(), SF_LOG_DEBUG, sObjectMgr, TYPEMASK_GAMEOBJECT, TYPEMASK_ITEM, and TYPEMASK_UNIT.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleQuestgiverQuestAutoLaunch | ( | WorldPacket & | recvPacket | ) |
Definition at line 619 of file QuestHandler.cpp.
References SF_LOG_DEBUG.
| void WorldSession::HandleQuestgiverRequestRewardOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 437 of file QuestHandler.cpp.
References _player, ObjectAccessor::GetObjectByTypeMask(), GUID_LOPART(), Object::hasInvolvedQuest(), QUEST_STATUS_COMPLETE, ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SF_LOG_DEBUG, sObjectMgr, TYPEMASK_GAMEOBJECT, and TYPEMASK_UNIT.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleQuestgiverStatusMultipleQuery | ( | WorldPacket & | recvPacket | ) |
Definition at line 818 of file QuestHandler.cpp.
References _player, isLogingOut(), SendQuestgiverStatusMultiple(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleQuestgiverStatusQueryOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 22 of file QuestHandler.cpp.
References _player, DIALOG_STATUS_NONE, getDialogStatus(), ObjectAccessor::GetObjectByTypeMask(), Object::GetTypeId(), GUID_HIPART(), GUID_LOPART(), GuidHigh2TypeId(), Unit::IsHostileTo(), isLogingOut(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SF_LOG_DEBUG, SF_LOG_ERROR, SF_LOG_INFO, sScriptMgr, Object::ToCreature(), TYPEID_GAMEOBJECT, TYPEID_UNIT, TYPEMASK_GAMEOBJECT, and TYPEMASK_UNIT.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleQuestLogRemoveQuest | ( | WorldPacket & | recvData | ) |
Definition at line 487 of file QuestHandler.cpp.
References _player, ACHIEVEMENT_CRITERIA_TYPE_QUEST_ABANDONED, ACHIEVEMENT_TIMED_TYPE_QUEST, MAX_QUEST_LOG_SIZE, QUEST_FLAGS_FLAGS_PVP, QUEST_SPECIAL_FLAGS_TIMED, SF_LOG_DEBUG, SF_LOG_INFO, and sObjectMgr.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleQuestLogSwapQuest | ( | WorldPacket & | recvData | ) |
Definition at line 474 of file QuestHandler.cpp.
References GetPlayer(), MAX_QUEST_LOG_SIZE, SF_LOG_DEBUG, and Player::SwapQuestSlot().
| void WorldSession::HandleQuestNPCQuery | ( | WorldPacket & | recvData | ) |
Definition at line 525 of file QueryHandler.cpp.
References _player, ByteBuffer::FlushBits(), QUEST_STATUS_COMPLETE, SendPacket(), SMSG_QUEST_NPC_QUERY_RESPONSE, sObjectMgr, and ByteBuffer::WriteBits().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleQuestPOIQuery | ( | WorldPacket & | recvData | ) |
Definition at line 567 of file QueryHandler.cpp.
References _player, ByteBuffer::append(), ByteBuffer::FlushBits(), MAX_QUEST_LOG_SIZE, ByteBuffer::ReadBits(), ByteBuffer::rfinish(), SendPacket(), SMSG_QUEST_POI_QUERY_RESPONSE, sObjectMgr, and ByteBuffer::WriteBits().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleQuestPushResult | ( | WorldPacket & | recvPacket | ) |
Definition at line 700 of file QuestHandler.cpp.
References _player, ObjectAccessor::FindPlayerInOrOutOfWorld(), ByteBuffer::read(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleQuestQueryOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 314 of file QuestHandler.cpp.
References _player, ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SF_LOG_DEBUG, and sObjectMgr.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleRaidReadyCheckConfirmOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 889 of file GroupHandler.cpp.
References Group::BroadcastPacket(), ObjectAccessor::FindPlayer(), ByteBuffer::FlushBits(), Player::GetGroup(), Group::GetGUID(), Object::GetGUID(), Group::GetLeaderGUID(), GetPlayer(), ByteBuffer::read_skip(), ByteBuffer::ReadBit(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), Group::ReadyCheck(), Group::ReadyCheckAllResponded(), Group::ReadyCheckInProgress(), Group::ReadyCheckMemberHasResponded(), Group::ReadyCheckResetResponded(), Group::SendReadyCheckCompleted(), Player::SetReadyCheckTimer(), SF_LOG_DEBUG, SMSG_RAID_READY_CHECK_CONFIRM, ByteBuffer::WriteBit(), and ByteBuffer::WriteByteSeq().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleRaidReadyCheckFinishedOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 965 of file GroupHandler.cpp.
| void WorldSession::HandleRaidReadyCheckOpcode | ( | WorldPacket & | recvData | ) |
error handling
Definition at line 819 of file GroupHandler.cpp.
References Group::BroadcastPacket(), Player::GetGroup(), Group::GetGUID(), Object::GetGUID(), GetPlayer(), Group::IsAssistant(), Group::IsLeader(), Group::OfflineReadyCheck(), Group::ReadyCheck(), Group::ReadyCheckInProgress(), Group::ReadyCheckMemberHasResponded(), Player::SetReadyCheckTimer(), SF_LOG_DEBUG, SMSG_RAID_READY_CHECK, ByteBuffer::WriteBit(), and ByteBuffer::WriteByteSeq().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleRaidTargetUpdateOpcode | ( | WorldPacket & | recvData | ) |
error handling
Definition at line 632 of file GroupHandler.cpp.
References _player, Player::GetGroup(), GetPlayer(), Group::IsAssistant(), Group::IsLeader(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), Group::SendTargetIconList(), Group::SetTargetIcon(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleRandomizeCharNameOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 2938 of file CharacterHandler.cpp.
References ByteBuffer::FlushBits(), GetAccountId(), GetRandomCharacterName(), Player::IsValidGender(), Player::IsValidRace(), SendPacket(), SF_LOG_ERROR, SMSG_RANDOMIZE_CHAR_NAME, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), and ByteBuffer::WriteString().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleRandomRollOpcode | ( | WorldPacket & | recvData | ) |
error handling
Definition at line 597 of file GroupHandler.cpp.
References Group::BroadcastPacket(), Player::GetGroup(), Object::GetGUID(), GetPlayer(), ByteBuffer::read_skip(), SendPacket(), SF_LOG_DEBUG, SMSG_RANDOM_ROLL, ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleReadItem | ( | WorldPacket & | recvPacket | ) |
Definition at line 332 of file ItemHandler.cpp.
References _player, EQUIP_ERR_ITEM_NOT_FOUND, EQUIP_ERR_OK, Object::GetGUID(), Item::GetTemplate(), WorldPacket::Initialize(), ItemTemplate::PageText, SendPacket(), SF_LOG_INFO, SMSG_READ_ITEM_RESULT_FAILED, and SMSG_READ_ITEM_RESULT_OK.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleReadyForAccountDataTimes | ( | WorldPacket & | recvData | ) |
Definition at line 2345 of file MiscHandler.cpp.
References GLOBAL_CACHE_MASK, SendAccountDataTimes(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleRealmNameQueryOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 161 of file QueryHandler.cpp.
References SendRealmNameQueryOpcode().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleRealmSplitOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 2011 of file MiscHandler.cpp.
References SendPacket(), SF_LOG_DEBUG, SMSG_REALM_SPLIT, ByteBuffer::WriteBits(), and ByteBuffer::WriteString().
| void WorldSession::HandleReclaimCorpseOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 1409 of file MiscHandler.cpp.
References CORPSE_RECLAIM_RADIUS, CORPSE_RESURRECTABLE_PVP, Player::GetCorpse(), Corpse::GetGhostTime(), GetPlayer(), Corpse::GetType(), WorldObject::IsWithinDistInMap(), PLAYER_FIELD_PLAYER_FLAGS, PLAYER_FLAGS_GHOST, Player::ResurrectPlayer(), SF_LOG_DEBUG, and Player::SpawnCorpseBones().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleReforgeItemOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 1785 of file ItemHandler.cpp.
References Player::ApplyReforgeEnchantment(), ItemReforgeEntry::FinalStat, Object::GetDynamicUInt32Value(), Object::GetGUIDLow(), Player::GetItemByPos(), WorldObject::GetName(), Player::GetNPCIfCanInteractWith(), GetPlayer(), Item::GetReforgableStat(), Item::GetSpecialPrice(), GUID_LOPART(), Player::HasEnoughMoney(), Item::IsEquipped(), ITEM_CHANGED, ITEM_DYNAMIC_MODIFIERS, ITEM_FIELD_MODIFIERS_MASK, Player::ModifyMoney(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SendReforgeResult(), Object::SetDynamicUInt32Value(), Object::SetFlag(), Item::SetState(), SF_LOG_INFO, sItemReforgeStore, ItemReforgeEntry::SourceStat, and UNIT_NPC_FLAG_REFORGER.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleReorderCharacters | ( | WorldPacket & | recvData | ) |
Definition at line 2965 of file CharacterHandler.cpp.
References CHAR_UPD_CHAR_LIST_SLOT, CharacterDatabase, GUID_LOPART(), PreparedStatement::setUInt32(), and PreparedStatement::setUInt8().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleRepairItemOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 859 of file NPCHandler.cpp.
References _player, Player::GetNPCIfCanInteractWith(), GetPlayer(), Item::GetPos(), GUID_LOPART(), ByteBuffer::ReadBit(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), Unit::RemoveAurasByType(), SF_LOG_DEBUG, SPELL_AURA_FEIGN_DEATH, UNIT_NPC_FLAG_REPAIR, and UNIT_STATE_DIED.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleRepopRequestOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 620 of file MiscHandler.cpp.
References Player::BuildPlayerRepop(), GetPlayer(), JUST_DIED, Player::KillPlayer(), PET_SAVE_NOT_IN_SLOT, PLAYER_FIELD_PLAYER_FLAGS, PLAYER_FLAGS_GHOST, Player::RemovePet(), Player::RepopAtGraveyard(), SF_LOG_DEBUG, and SPELL_AURA_PREVENT_RESURRECTION.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleReportLag | ( | WorldPacket & | recvPacket | ) |
Definition at line 243 of file TicketHandler.cpp.
References CHAR_INS_LAG_REPORT, CharacterDatabase, GetLatency(), GetPlayer(), GUID_LOPART(), PreparedStatement::setFloat(), PreparedStatement::setUInt16(), PreparedStatement::setUInt32(), and PreparedStatement::setUInt8().
| void WorldSession::HandleReportPvPAFK | ( | WorldPacket & | recvData | ) |
Definition at line 737 of file BattleGroundHandler.cpp.
References _player, ObjectAccessor::FindPlayer(), WorldObject::GetName(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), Player::ReportedAfkBy(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleRequestAccountData | ( | WorldPacket & | recvPacket | ) |
Definition at line 1680 of file MiscHandler.cpp.
References ByteBuffer::append(), ByteBuffer::contents(), AccountData::Data, GetAccountData(), NUM_ACCOUNT_DATA_TYPES, ByteBuffer::resize(), SendPacket(), SF_LOG_DEBUG, SMSG_UPDATE_ACCOUNT_DATA, AccountData::Time, ByteBuffer::WriteBits(), ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleRequestCategoryCooldowns | ( | WorldPacket & | recvPacket | ) |
Definition at line 1895 of file SpellHandler.cpp.
References _player, ByteBuffer::FlushBits(), SendPacket(), SMSG_CATEGORY_COOLDOWN, SPELL_AURA_MOD_SPELL_CATEGORY_COOLDOWN, and ByteBuffer::WriteBits().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleRequestCemeteryList | ( | WorldPacket & | recvPacket | ) |
Definition at line 1169 of file MiscHandler.cpp.
References _player, m_GUIDLow, SendPacket(), SF_LOG_DEBUG, SMSG_REQUEST_CEMETERY_LIST_RESPONSE, sObjectMgr, and ByteBuffer::WriteBits().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleRequestConquestFormulaConstants | ( | WorldPacket & | recvData | ) |
Definition at line 781 of file BattleGroundHandler.cpp.
References SendPacket(), SF_LOG_DEBUG, and SMSG_CONQUEST_FORMULA_CONSTANTS.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleRequestForcedReactionsOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 1860 of file CharacterHandler.cpp.
References _player, and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleRequestHotfix | ( | WorldPacket & | recvPacket | ) |
Definition at line 2586 of file MiscHandler.cpp.
References ByteBuffer::append(), DB2_REPLY_BROADCAST_TEXT, GetDB2Storage(), GetSessionDbcLocale(), DB2StorageBase::HasRecord(), ByteBuffer::ReadBits(), ByteBuffer::ReadByteSeq(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), ByteBuffer::rfinish(), SendBroadcastText(), SendPacket(), SF_LOG_DEBUG, SF_LOG_ERROR, SF_LOG_INFO, ByteBuffer::size(), SMSG_DB_REPLY, and DB2StorageBase::WriteRecord().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleRequestPartyMemberStatsOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 1252 of file GroupHandler.cpp.
References BuildPartyMemberStatsChangedPacket(), HashMapHolder< T >::Find(), ByteBuffer::read_skip(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleRequestPetInfoOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 2289 of file MiscHandler.cpp.
References _player, and UNIT_MASK_CONTROLABLE_GUARDIAN.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleRequestPvpOptions | ( | WorldPacket & | recvData | ) |
Definition at line 757 of file BattleGroundHandler.cpp.
References ByteBuffer::FlushBits(), SendPacket(), SF_LOG_DEBUG, SMSG_PVP_OPTIONS_ENABLED, and ByteBuffer::WriteBit().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleRequestPvpReward | ( | WorldPacket & | recvData | ) |
Definition at line 774 of file BattleGroundHandler.cpp.
References _player, and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleRequestRaidInfoOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 1270 of file GroupHandler.cpp.
References _player.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleRequestResearchHistory | ( | WorldPacket & | recvPacket | ) |
Definition at line 112 of file SkillHandler.cpp.
References _player.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleRequestStabledPetsOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 480 of file NPCHandler.cpp.
References CheckStableMaster(), GetPlayer(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), Unit::RemoveAurasByType(), SendStablePet(), SF_LOG_DEBUG, SPELL_AURA_FEIGN_DEATH, SPELL_AURA_MOUNTED, and UNIT_STATE_DIED.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleRequestVehicleExit | ( | WorldPacket & | recvData | ) |
Definition at line 213 of file VehicleHandler.cpp.
References Unit::ExitVehicle(), GetPlayer(), SF_LOG_DEBUG, and SF_LOG_ERROR.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleResetInstancesOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 2121 of file MiscHandler.cpp.
References _player, INSTANCE_RESET_ALL, and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleRespecWipeConfirmOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 67 of file SkillHandler.cpp.
References _player, GetPlayer(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), Unit::RemoveAurasByType(), Player::SendTalentWipeConfirm(), SF_LOG_DEBUG, SPELL_AURA_FEIGN_DEATH, and UNIT_STATE_DIED.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleResurrectResponseOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 1445 of file MiscHandler.cpp.
References Player::ClearResurrectRequestData(), GetPlayer(), Player::ResurectUsingRequestData(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleReturnToGraveyard | ( | WorldPacket & | recvPacket | ) |
Definition at line 1161 of file MiscHandler.cpp.
References GetPlayer(), PLAYER_FIELD_PLAYER_FLAGS, PLAYER_FLAGS_GHOST, and Player::RepopAtGraveyard().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleRideVehicleInteract | ( | WorldPacket & | recvData | ) |
Definition at line 128 of file VehicleHandler.cpp.
References _player, ObjectAccessor::FindPlayer(), INTERACTION_DISTANCE, ByteBuffer::ReadGuidBytes(), and ByteBuffer::ReadGuidMask().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSaveCUFProfiles | ( | WorldPacket & | recvPacket | ) |
Definition at line 2772 of file MiscHandler.cpp.
References CUFProfile::BoolOptions, CUF_AUTO_ACTIVATE_10_PLAYERS, CUF_AUTO_ACTIVATE_15_PLAYERS, CUF_AUTO_ACTIVATE_25_PLAYERS, CUF_AUTO_ACTIVATE_2_PLAYERS, CUF_AUTO_ACTIVATE_3_PLAYERS, CUF_AUTO_ACTIVATE_40_PLAYERS, CUF_AUTO_ACTIVATE_5_PLAYERS, CUF_AUTO_ACTIVATE_PVE, CUF_AUTO_ACTIVATE_PVP, CUF_AUTO_ACTIVATE_SPEC_1, CUF_AUTO_ACTIVATE_SPEC_2, CUF_DISPLAY_AGGRO_HIGHLIGHT, CUF_DISPLAY_BORDER, CUF_DISPLAY_HEAL_PREDICTION, CUF_DISPLAY_HORIZONTAL_GROUPS, CUF_DISPLAY_MAIN_TANK_AND_ASSIST, CUF_DISPLAY_NON_BOSS_DEBUFFS, CUF_DISPLAY_ONLY_DISPELLABLE_DEBUFFS, CUF_DISPLAY_PETS, CUF_DISPLAY_POWER_BAR, CUF_KEEP_GROUPS_TOGETHER, CUF_UNK_145, CUF_UNK_156, CUF_UNK_157, CUF_USE_CLASS_COLORS, CUFProfile::FrameHeight, CUFProfile::FrameWidth, GetPlayer(), GetPlayerName(), CUFProfile::HealthText, MAX_CUF_PROFILES, CUFProfile::ProfileName, ByteBuffer::ReadBit(), ByteBuffer::ReadBits(), ByteBuffer::ReadString(), ByteBuffer::rfinish(), Player::SaveCUFProfile(), SF_LOG_DEBUG, SF_LOG_ERROR, CUFProfile::SortBy, CUFProfile::Unk146, CUFProfile::Unk147, CUFProfile::Unk148, CUFProfile::Unk150, CUFProfile::Unk152, and CUFProfile::Unk154.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSaveGuildEmblemOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 294 of file GuildHandler.cpp.
References ERR_GUILDEMBLEM_INVALIDVENDOR, ERR_GUILDEMBLEM_NOGUILD, EmblemInfo::GetBackgroundColor(), EmblemInfo::GetBorderColor(), EmblemInfo::GetBorderStyle(), EmblemInfo::GetColor(), GetPlayer(), GetPlayerInfo(), EmblemInfo::GetStyle(), EmblemInfo::ReadPacket(), Unit::RemoveAurasByType(), Guild::SendSaveEmblemResult(), SF_LOG_DEBUG, SPELL_AURA_FEIGN_DEATH, UI64FMTD, UNIT_NPC_FLAG_TABARDDESIGNER, and UNIT_STATE_DIED.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSceneCompleted | ( | WorldPacket & | recvPacket | ) |
Definition at line 2979 of file MiscHandler.cpp.
References SF_LOG_ERROR.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSelectFactionOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 2904 of file MiscHandler.cpp.
References _player, JOIN_THE_ALLIANCE, JOIN_THE_HORDE, QUEST_STATUS_INCOMPLETE, RACE_PANDAREN_ALLIANCE, RACE_PANDAREN_HORDE, RACE_PANDAREN_NEUTRAL, and UNIT_FIELD_SEX.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSelfResOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 1712 of file SpellHandler.cpp.
References _player, PLAYER_FIELD_SELF_RES_SPELL, SF_LOG_DEBUG, SPELL_AURA_PREVENT_RESURRECTION, and sSpellMgr.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSellItemOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 362 of file ItemHandler.cpp.
References _player, ACHIEVEMENT_CRITERIA_TYPE_MONEY_FROM_VENDORS, Item::CloneItem(), Item::GetBagSlot(), Item::GetCount(), Object::GetEntry(), Object::GetGUID(), Player::GetNPCIfCanInteractWith(), Item::GetOwnerGUID(), GetPlayer(), Item::GetSlot(), Item::GetTemplate(), GUID_LOPART(), Object::HasFlag(), Item::IsNotEmptyBag(), ITEM_CHANGED, ITEM_FIELD_DYNAMIC_FLAGS, ITEM_FLAG_REFUNDABLE, ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), Unit::RemoveAurasByType(), Item::RemoveFromUpdateQueueOf(), SELL_ERR_CANT_FIND_ITEM, SELL_ERR_CANT_FIND_VENDOR, SELL_ERR_CANT_SELL_ITEM, ItemTemplate::SellPrice, Object::SendUpdateToPlayer(), Item::SetCount(), Item::SetState(), SF_LOG_DEBUG, SF_LOG_ERROR, SPELL_AURA_FEIGN_DEATH, UNIT_NPC_FLAG_VENDOR, and UNIT_STATE_DIED.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSendMail | ( | WorldPacket & | recvData | ) |
Definition at line 470 of file MailHandler.cpp.
References _player, ACHIEVEMENT_CRITERIA_TYPE_GOLD_SPENT_FOR_MAIL, MailDraft::AddCOD(), MailDraft::AddItem(), MailDraft::AddMoney(), CHAR_SEL_CHAR_LEVEL, CHAR_SEL_MAIL_COUNT, CharacterDatabase, CONFIG_MAIL_DELIVERY_DELAY, CONFIG_MAIL_LEVEL_REQ, Item::DeleteFromInventoryDB(), ObjectAccessor::FindPlayer(), GetAccountId(), Item::GetCount(), Object::GetEntry(), Object::GetGUID(), Object::GetGUIDLow(), GetGuidLow(), Player::GetGuildId(), Unit::getLevel(), Player::GetMailSize(), GetPlayer(), GetPlayerName(), Player::GetSession(), GetSkyFireString(), Item::GetSlot(), Player::GetTeam(), Item::GetTemplate(), Field::GetUInt64(), Field::GetUInt8(), GUID_LOPART(), HasPermission(), LANG_MAIL_RECEIVER_REQ, LANG_MAIL_SENDER_REQ, MAIL_CHECK_MASK_COPIED, MAIL_CHECK_MASK_HAS_BODY, MAIL_ERR_CANNOT_SEND_TO_SELF, MAIL_ERR_RECIPIENT_NOT_FOUND, MAIL_ERR_TOO_MANY_ATTACHMENTS, MAIL_OK, MAIL_SEND, MAX_MAIL_ITEMS, Player::ModifyMoney(), Player::MoveItemFromInventory(), ItemTemplate::Name1, normalizePlayerName(), rbac::RBAC_PERM_LOG_GM_TRADE, rbac::RBAC_PERM_TWO_SIDE_INTERACTION_MAIL, ByteBuffer::rfinish(), Player::SaveInventoryAndGoldToDB(), Item::SaveToDB(), Player::SendMailResult(), MailDraft::SendMailTo(), SendNotification(), Item::SetNotRefundable(), Item::SetOwnerGUID(), PreparedStatement::setUInt32(), SF_LOG_INFO, sGuildMgr, sLog, sObjectMgr, sWorld, UI64FMTD, and Player::UpdateAchievementCriteria().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSetActionBarToggles | ( | WorldPacket & | recvData | ) |
Definition at line 1841 of file MiscHandler.cpp.
References GetPlayer(), PLAYER_FIELD_LIFETIME_MAX_RANK, Object::SetByteValue(), and SF_LOG_ERROR.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSetActionButtonOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 1736 of file MiscHandler.cpp.
References ACTION_BUTTON_ACTION, ACTION_BUTTON_TYPE, Player::addActionButton(), GetPlayer(), ActionButtonPACKET::id, Player::removeActionButton(), SF_LOG_DEBUG, and ActionButtonPACKET::unk.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSetActiveMoverOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 725 of file MovementHandler.cpp.
References _player, and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSetActiveVoiceChannel | ( | WorldPacket & | recvData | ) |
Definition at line 28 of file VoiceChatHandler.cpp.
References ByteBuffer::read_skip(), and SF_LOG_DEBUG.
| void WorldSession::HandleSetCollisionHeightAck | ( | WorldPacket & | recvPacket | ) |
Definition at line 818 of file MovementHandler.cpp.
References GetPlayer(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSetContactNotesOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 1382 of file MiscHandler.cpp.
References _player, GUID_LOPART(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSetDungeonDifficultyOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 2134 of file MiscHandler.cpp.
References _player, DifficultyEntry::DiffID, Group::GetFirstMember(), Object::GetGUIDLow(), WorldObject::GetMap(), WorldObject::GetName(), INSTANCE_RESET_CHANGE_DIFFICULTY, WorldObject::IsInMap(), Group::IsLeader(), Map::IsNonRaidInstance(), MAP_DUNGEON, DifficultyEntry::maptype, GroupReference::next(), Group::ResetInstances(), sDifficultyStore, Group::SetDungeonDifficulty(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSetFactionAtWar | ( | WorldPacket & | recvData | ) |
Definition at line 1787 of file CharacterHandler.cpp.
References GetPlayer(), Player::GetReputationMgr(), ReputationMgr::SetAtWar(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSetFactionCheat | ( | WorldPacket & | recvData | ) |
Definition at line 1808 of file CharacterHandler.cpp.
References GetPlayer(), Player::GetReputationMgr(), ReputationMgr::SendStates(), and SF_LOG_ERROR.
| void WorldSession::HandleSetFactionInactiveOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 1850 of file CharacterHandler.cpp.
References _player, and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSetFactionNotAtWar | ( | WorldPacket & | recvData | ) |
Definition at line 1797 of file CharacterHandler.cpp.
References GetPlayer(), Player::GetReputationMgr(), ReputationMgr::SetNotAtWar(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSetGuildBankTabText | ( | WorldPacket & | recvData | ) |
Definition at line 597 of file GuildHandler.cpp.
References GetPlayer(), GetPlayerInfo(), ByteBuffer::ReadBits(), ByteBuffer::ReadString(), and SF_LOG_DEBUG.
| void WorldSession::HandleSetLfgBonusFactionID | ( | WorldPacket & | recvData | ) |
Definition at line 1779 of file CharacterHandler.cpp.
References GetPlayer(), PLAYER_FIELD_LFG_BONUS_FACTION_ID, Object::SetUInt32Value(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSetLootSpecialization | ( | WorldPacket & | recvData | ) |
Definition at line 1877 of file ItemHandler.cpp.
References GetPlayer(), sChrSpecializationStore, Player::SetLootSpecialization(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSetPartyAssignmentOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 781 of file GroupHandler.cpp.
References ByteBuffer::FlushBits(), Player::GetGroup(), Object::GetGUID(), GetPlayer(), GROUP_ASSIGN_MAINASSIST, GROUP_ASSIGN_MAINTANK, Group::IsAssistant(), Group::IsLeader(), MEMBER_FLAG_MAINASSIST, MEMBER_FLAG_MAINTANK, ByteBuffer::ReadBit(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), Group::RemoveUniqueGroupMemberFlag(), Group::SendUpdate(), Group::SetGroupMemberFlag(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSetPetSpecialization | ( | WorldPacket & | recvData | ) |
Definition at line 1390 of file PetHandler.cpp.
References Pet::GetPetSpecByTalentTab(), GetPlayer(), Pet::SetSpec(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSetPlayerDeclinedNames | ( | WorldPacket & | recvData | ) |
Definition at line 1976 of file CharacterHandler.cpp.
References CHAR_DEL_CHAR_DECLINED_NAME, CHAR_INS_CHAR_DECLINED_NAME, CharacterDatabase, ObjectMgr::CheckDeclinedNames(), ByteBuffer::FlushBits(), GUID_LOPART(), isCyrillicCharacter(), MAX_DECLINED_NAME_CASES, DeclinedName::name, normalizePlayerName(), SendPacket(), PreparedStatement::setString(), PreparedStatement::setUInt32(), SMSG_SET_PLAYER_DECLINED_NAMES_RESULT, sObjectMgr, Utf8toWStr(), ByteBuffer::WriteBit(), ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSetPvP | ( | WorldPacket & | recvPacket | ) |
Definition at line 1119 of file MiscHandler.cpp.
References Object::ApplyModFlag(), GetPlayer(), PLAYER_FIELD_PLAYER_FLAGS, PLAYER_FLAGS_IN_PVP, and PLAYER_FLAGS_PVP_TIMER.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSetRaidDifficultyOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 2203 of file MiscHandler.cpp.
References _player, DifficultyEntry::DiffID, Group::GetFirstMember(), WorldObject::GetMap(), INSTANCE_RESET_CHANGE_DIFFICULTY, WorldObject::IsInMap(), Group::IsLeader(), Map::IsRaid(), MAP_RAID, DifficultyEntry::maptype, GroupReference::next(), Group::ResetInstances(), sDifficultyStore, Group::SetRaidDifficulty(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSetSavedInstanceExtend | ( | WorldPacket & | recvData | ) |
Definition at line 761 of file CalendarHandler.cpp.
References SF_LOG_DEBUG.
| void WorldSession::HandleSetSelectionOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 1204 of file MiscHandler.cpp.
References _player.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSetSheathedOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 65 of file CombatHandler.cpp.
References GetPlayer(), MAX_SHEATH_STATE, ByteBuffer::ReadBit(), Player::SetSheath(), and SF_LOG_ERROR.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSetTaxiBenchmarkOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 2302 of file MiscHandler.cpp.
References _player, PLAYER_FIELD_PLAYER_FLAGS, PLAYER_FLAGS_TAXI_BENCHMARK, and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSetTitleOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 2050 of file MiscHandler.cpp.
References GetPlayer(), MAX_TITLE_INDEX, PLAYER_FIELD_PLAYER_TITLE, Object::SetUInt32Value(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSetTradeGoldOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 722 of file TradeHandler.cpp.
References _player, TradeData::GetTrader(), Unit::getVirtualRealm(), SendTradeStatus(), TradeData::SetMoney(), and TRADE_STATUS_WRONG_REALM.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSetTradeItemOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 743 of file TradeHandler.cpp.
References _player, Item::CanBeTraded(), ItemTemplate::Class, Object::GetGUID(), Item::GetTemplate(), TradeData::GetTrader(), Unit::getVirtualRealm(), TradeData::HasItem(), ITEM_CLASS_CONSUMABLE, SendTradeStatus(), TradeData::SetItem(), TRADE_SLOT_COUNT, TRADE_SLOT_NONTRADED, TRADE_STATUS_CANCELLED, and TRADE_STATUS_WRONG_REALM.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSetWatchedFactionOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 1842 of file CharacterHandler.cpp.
References GetPlayer(), PLAYER_FIELD_WATCHED_FACTION_INDEX, Object::SetUInt32Value(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleShowingCloakOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 1874 of file CharacterHandler.cpp.
References _player, PLAYER_FIELD_PLAYER_FLAGS, PLAYER_FLAGS_HIDE_CLOAK, and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleShowingHelmOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 1867 of file CharacterHandler.cpp.
References _player, PLAYER_FIELD_PLAYER_FLAGS, PLAYER_FLAGS_HIDE_HELM, and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSocketOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 1224 of file ItemHandler.cpp.
References _player, BONUS_ENCHANTMENT_SLOT, Item::ClearSoulboundTradeable(), _Socket::Color, GemPropertiesEntry::color, EQUIP_ERR_ITEM_UNIQUE_EQUIPPABLE_SOCKETED, ItemTemplate::Flags, Item::GemsFitSockets(), Item::GetEnchantmentId(), Object::GetEntry(), Object::GetGUID(), Item::GetSlot(), Item::GetTemplate(), Item::IsEquipped(), ITEM_PROTO_FLAG_UNIQUE_EQUIPPED, ItemTemplate::ItemId, ItemTemplate::ItemLimitCategory, MAX_GEM_SOCKETS, NULL_SLOT, PRISMATIC_ENCHANTMENT_SLOT, ByteBuffer::ReadBit(), ByteBuffer::ReadByteSeq(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SendUpdateSockets(), Item::SetEnchantment(), SF_LOG_DEBUG, sGemPropertiesStore, sItemLimitCategoryStore, sObjectMgr, SOCK_ENCHANTMENT_SLOT, ItemTemplate::Socket, SOCKET_COLOR_COGWHEEL, SOCKET_COLOR_META, ItemTemplate::socketBonus, and sSpellItemEnchantmentStore.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSpellClick | ( | WorldPacket & | recvData | ) |
Definition at line 1729 of file SpellHandler.cpp.
References _player, ObjectAccessor::GetCreatureOrPetOrVehicle(), Unit::HandleSpellClick(), Object::IsInWorld(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSpiritHealerActivateOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 386 of file NPCHandler.cpp.
References Player::GetNPCIfCanInteractWith(), GetPlayer(), GUID_LOPART(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), Unit::RemoveAurasByType(), SendSpiritResurrect(), SF_LOG_DEBUG, SPELL_AURA_FEIGN_DEATH, UNIT_NPC_FLAG_SPIRITHEALER, and UNIT_STATE_DIED.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSplitItemOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 21 of file ItemHandler.cpp.
References _player, EQUIP_ERR_ITEM_NOT_FOUND, EQUIP_ERR_WRONG_SLOT, and ByteBuffer::rfinish().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleStablePet | ( | WorldPacket & | recvPacket | ) |
Definition at line 573 of file NPCHandler.cpp.
References _player, _stablePetCallback, CHAR_SEL_PET_SLOTS, CharacterDatabase, CheckStableMaster(), Pet::getPetType(), GetPlayer(), HUNTER_PET, Unit::IsAlive(), PET_SAVE_FIRST_STABLE_SLOT, PET_SAVE_LAST_STABLE_SLOT, Unit::RemoveAurasByType(), SendStableResult(), PreparedStatement::setUInt32(), PreparedStatement::setUInt8(), SF_LOG_DEBUG, SPELL_AURA_FEIGN_DEATH, STABLE_ERR_STABLE, and UNIT_STATE_DIED.
| void WorldSession::HandleStablePetCallback | ( | PreparedQueryResult | result | ) |
Definition at line 614 of file NPCHandler.cpp.
References _player, GetPlayer(), Field::GetUInt8(), SendStableResult(), STABLE_ERR_INVALID_SLOT, and STABLE_SUCCESS_STABLE.
Referenced by ProcessQueryCallbacks().
| void WorldSession::HandleStableRevivePet | ( | WorldPacket & | recvPacket | ) |
Definition at line 760 of file NPCHandler.cpp.
References SF_LOG_DEBUG.
| void WorldSession::HandleStableSwapPet | ( | WorldPacket & | recvPacket | ) |
Definition at line 765 of file NPCHandler.cpp.
References _player, _stableSwapCallback, CHAR_SEL_PET_SLOT_BY_ID, CharacterDatabase, CheckStableMaster(), Pet::getPetType(), GetPlayer(), HUNTER_PET, Unit::RemoveAurasByType(), SendStableResult(), PreparedStatement::setUInt32(), SF_LOG_DEBUG, SPELL_AURA_FEIGN_DEATH, STABLE_ERR_STABLE, and UNIT_STATE_DIED.
| void WorldSession::HandleStableSwapPetCallback | ( | PreparedQueryResult | result, |
| uint32 | petId ) |
Definition at line 802 of file NPCHandler.cpp.
References _player, GetPlayer(), Field::GetUInt32(), Field::GetUInt8(), Unit::IsAlive(), CreatureTemplate::IsTameable(), Pet::LoadPetFromDB(), PET_SAVE_AS_DELETED, SendStableResult(), sObjectMgr, STABLE_ERR_EXOTIC, STABLE_ERR_STABLE, and STABLE_SUCCESS_UNSTABLE.
Referenced by ProcessQueryCallbacks().
| void WorldSession::HandleStandStateChangeOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 1210 of file MiscHandler.cpp.
References _player.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSubmitBugOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 289 of file TicketHandler.cpp.
References CONFIG_TICKET_LEVEL_REQ, GetPlayer(), GetSkyFireString(), LANG_TICKET_REQ, SendNotification(), sTicketMgr, and sWorld.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSubmitSuggestOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 304 of file TicketHandler.cpp.
References CONFIG_TICKET_LEVEL_REQ, GetPlayer(), GetSkyFireString(), LANG_TICKET_REQ, SendNotification(), sTicketMgr, and sWorld.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSummonResponseOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 797 of file MovementHandler.cpp.
References _player.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSwapInvItemOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 58 of file ItemHandler.cpp.
References _player, EQUIP_ERR_ITEM_NOT_FOUND, EQUIP_ERR_WRONG_SLOT, and INVENTORY_SLOT_BAG_0.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleSwapItem | ( | WorldPacket & | recvPacket | ) |
Definition at line 142 of file ItemHandler.cpp.
References _player, EQUIP_ERR_ITEM_NOT_FOUND, EQUIP_ERR_WRONG_SLOT, ByteBuffer::read(), ByteBuffer::ReadBit(), and ByteBuffer::ReadBits().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleTaxiNodeStatusQueryOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 19 of file TaxiHandler.cpp.
References ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SendTaxiStatus(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleTaxiQueryAvailableNodes | ( | WorldPacket & | recvPacket | ) |
Definition at line 77 of file TaxiHandler.cpp.
References Player::GetNPCIfCanInteractWith(), GetPlayer(), GUID_LOPART(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), Unit::RemoveAurasByType(), SendLearnNewTaxiNode(), SendTaxiMenu(), SF_LOG_DEBUG, SPELL_AURA_FEIGN_DEATH, UNIT_NPC_FLAG_FLIGHTMASTER, and UNIT_STATE_DIED.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleTextEmoteOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 738 of file ChatHandler.cpp.
References _player, ACHIEVEMENT_CRITERIA_TYPE_DO_EMOTE, Skyfire::ComputeCellCoord(), CONFIG_LISTEN_RANGE_TEXTEMOTE, EMOTE_ONESHOT_NONE, EMOTE_STATE_KNEEL, EMOTE_STATE_SIT, EMOTE_STATE_SLEEP, GetPlayer(), GetSkyFireString(), Object::GetTypeId(), ObjectAccessor::GetUnit(), Unit::HandleEmoteCommand(), LANG_WAIT_BEFORE_SPEAKING, m_muteTime, ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), secsToTimeString(), sEmotesTextStore, SendNotification(), Cell::SetNoCreate(), sScriptMgr, sWorld, EmotesTextEntry::textid, TYPEID_UNIT, UNIT_STATE_DIED, Player::UpdateAchievementCriteria(), and Cell::Visit().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleTimeSyncResp | ( | WorldPacket & | recvData | ) |
Definition at line 2083 of file MiscHandler.cpp.
References _player, GetLatency(), getMSTime(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleTogglePvP | ( | WorldPacket & | recvPacket | ) |
Definition at line 1128 of file MiscHandler.cpp.
References PvPInfo::EndTimer, GetPlayer(), PLAYER_FIELD_PLAYER_FLAGS, PLAYER_FLAGS_IN_PVP, PLAYER_FLAGS_PVP_TIMER, Player::pvpInfo, Object::ToggleFlag(), and Player::UpdatePvP().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleTotemDestroyed | ( | WorldPacket & | recvData | ) |
Definition at line 1692 of file SpellHandler.cpp.
References _player, Map::GetCreature(), Object::GetGUID(), WorldObject::GetMap(), GetPlayer(), Unit::IsTotem(), MAX_TOTEM_SLOT, Unit::ToTotem(), and Totem::UnSummon().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleTrainerBuySpellOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 211 of file NPCHandler.cpp.
References _player, TrainerSpellData::Find(), Player::GetNPCIfCanInteractWith(), GetPlayer(), Creature::GetTrainerSpells(), GUID_LOPART(), TrainerSpell::IsCastable(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), Unit::RemoveAurasByType(), Unit::SendPlaySpellVisualKit(), SendTrainerBuyFailed(), SF_LOG_DEBUG, TrainerSpell::spell, SPELL_AURA_FEIGN_DEATH, TrainerSpell::spellCost, UNIT_NPC_FLAG_TRAINER, and UNIT_STATE_DIED.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleTrainerListOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 84 of file NPCHandler.cpp.
References ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), and SendTrainerList().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleTransmogrifyItems | ( | WorldPacket & | recvData | ) |
Definition at line 1570 of file ItemHandler.cpp.
References BIND_WHEN_EQUIPED, BIND_WHEN_USE, ItemTemplate::Bonding, Item::CanTransmogrifyItemWithItem(), Item::ClearSoulboundTradeable(), EQUIPMENT_SLOT_END, Object::GetEntry(), Object::GetGUID(), Object::GetGUIDLow(), Player::GetItemByGuid(), Player::GetItemByPos(), WorldObject::GetName(), Player::GetNPCIfCanInteractWith(), GetPlayer(), Item::GetSpecialPrice(), Item::GetTemplate(), GUID_LOPART(), INVENTORY_SLOT_BAG_0, ITEM_CHANGED, ITEM_DYNAMIC_MODIFIERS, ITEM_FIELD_MODIFIERS_MASK, Player::ModifyMoney(), ByteBuffer::ReadBit(), ByteBuffer::ReadBits(), ByteBuffer::ReadByteSeq(), Object::RemoveFlag(), ByteBuffer::rfinish(), Item::SetBinding(), Object::SetDynamicUInt32Value(), Object::SetFlag(), Item::SetNotRefundable(), Item::SetOwnerGUID(), Item::SetState(), Player::SetVisibleItemSlot(), SF_LOG_DEBUG, sObjectMgr, UNIT_NPC_FLAG_TRANSMOGRIFIER, and Item::UpdatePlayedTime().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleTurnInPetitionOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 585 of file PetitionsHandler.cpp.
References _player, Guild::AddMember(), CHAR_DEL_PETITION_BY_GUID, CHAR_DEL_PETITION_SIGNATURE_BY_GUID, CHAR_SEL_PETITION, CHAR_SEL_PETITION_SIGNATURE, CharacterDatabase, CONFIG_MIN_PETITION_SIGNS, Guild::Create(), ERR_GUILD_COMMAND_SUCCESS, ERR_GUILD_NAME_EXISTS_S, ByteBuffer::FlushBits(), Item::GetBagSlot(), Item::GetSlot(), Field::GetString(), Field::GetUInt32(), Field::GetUInt8(), GUID_LOPART(), GUILD_COMMAND_CREATE, HIGHGUID_PLAYER, WorldPacket::Initialize(), MAKE_NEW_GUID(), PETITION_TURN_ALREADY_IN_GUILD, PETITION_TURN_NEED_MORE_SIGNATURES, PETITION_TURN_OK, ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), Guild::SendCommandResult(), SendPacket(), PreparedStatement::setUInt32(), SF_LOG_DEBUG, SF_LOG_ERROR, sGuildMgr, SMSG_TURN_IN_PETITION_RESULTS, sWorld, and ByteBuffer::WriteBits().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleTutorialClear | ( | WorldPacket & | recvData | ) |
Definition at line 1830 of file CharacterHandler.cpp.
References MAX_ACCOUNT_TUTORIAL_VALUES, and SetTutorialInt().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleTutorialFlag | ( | WorldPacket & | recvData | ) |
Definition at line 1814 of file CharacterHandler.cpp.
References GetTutorialInt(), MAX_ACCOUNT_TUTORIAL_VALUES, and SetTutorialInt().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleTutorialReset | ( | WorldPacket & | recvData | ) |
Definition at line 1836 of file CharacterHandler.cpp.
References MAX_ACCOUNT_TUTORIAL_VALUES, and SetTutorialInt().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleUnacceptTradeOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 577 of file TradeHandler.cpp.
References _player, and TradeData::SetAccepted().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleUnlearnSkillOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 101 of file SkillHandler.cpp.
References GetPlayer(), IsPrimaryProfessionSkill(), and Player::SetSkill().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleUnregisterAddonPrefixesOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 1061 of file WorldSession.cpp.
References _registeredAddonPrefixes, and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleUnstablePet | ( | WorldPacket & | recvPacket | ) |
Definition at line 646 of file NPCHandler.cpp.
References _player, _unstablePetCallback, CHAR_SEL_PET_ENTRY, CharacterDatabase, CheckStableMaster(), GetPlayer(), PET_SAVE_FIRST_STABLE_SLOT, PET_SAVE_LAST_STABLE_SLOT, Unit::RemoveAurasByType(), SendStableResult(), PreparedStatement::setUInt32(), PreparedStatement::setUInt8(), SF_LOG_DEBUG, SPELL_AURA_FEIGN_DEATH, STABLE_ERR_STABLE, and UNIT_STATE_DIED.
| void WorldSession::HandleUnstablePetCallback | ( | PreparedQueryResult | result, |
| uint32 | petId ) |
Definition at line 675 of file NPCHandler.cpp.
References _player, GetPlayer(), Field::GetUInt32(), HUNTER_PET, Unit::IsAlive(), CreatureTemplate::IsTameable(), Pet::LoadPetFromDB(), PET_SAVE_AS_DELETED, SendStableResult(), sObjectMgr, STABLE_ERR_EXOTIC, STABLE_ERR_STABLE, and STABLE_SUCCESS_UNSTABLE.
Referenced by ProcessQueryCallbacks().
| void WorldSession::HandleUpdateAccountData | ( | WorldPacket & | recvPacket | ) |
Definition at line 1619 of file MiscHandler.cpp.
References ByteBuffer::contents(), NUM_ACCOUNT_DATA_TYPES, ByteBuffer::ReadBits(), ByteBuffer::resize(), ByteBuffer::rfinish(), ByteBuffer::rpos(), SendPacket(), SetAccountData(), SF_LOG_DEBUG, and SMSG_UPDATE_ACCOUNT_DATA_COMPLETE.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleUpdateMissileTrajectory | ( | WorldPacket & | recvPacket | ) |
Definition at line 2710 of file MiscHandler.cpp.
References _player, CURRENT_GENERIC_SPELL, Unit::GetCurrentSpell(), SpellCastTargets::GetDstPos(), SpellCastTargets::GetSrcPos(), ObjectAccessor::GetUnit(), HandleMovementOpcodes(), SpellCastTargets::HasDst(), SpellCastTargets::HasSrc(), SpellInfo::Id, Spell::m_spellInfo, Spell::m_targets, SpellCastTargets::ModDst(), SpellCastTargets::ModSrc(), MSG_MOVE_STOP, Position::Relocate(), ByteBuffer::rfinish(), SpellCastTargets::SetElevation(), WorldPacket::SetOpcode(), SpellCastTargets::SetSpeed(), and SF_LOG_DEBUG.
| void WorldSession::HandleUpdateProjectilePosition | ( | WorldPacket & | recvPacket | ) |
Definition at line 1868 of file SpellHandler.cpp.
References _player, Unit::FindCurrentSpellBySpellId(), SpellCastTargets::GetDstPos(), ObjectAccessor::GetUnit(), SpellCastTargets::HasDst(), Spell::m_targets, SpellCastTargets::ModDst(), Position::Relocate(), WorldObject::SendMessageToSet(), SF_LOG_DEBUG, and SMSG_SET_PROJECTILE_POSITION.
| void WorldSession::HandleUseItemOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 1295 of file SpellHandler.cpp.
References _player, BIND_QUEST_ITEM, BIND_WHEN_PICKED_UP, BIND_WHEN_USE, ItemTemplate::Bonding, Player::CastItemUseSpell(), Object::GetEntry(), Item::IsSoulBound(), ITEM_CHANGED, Item::SetBinding(), Item::SetState(), SF_LOG_DEBUG, ByteBuffer::size(), and sScriptMgr.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleViolenceLevel | ( | WorldPacket & | recvPacket | ) |
Definition at line 2744 of file MiscHandler.cpp.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleVoiceSessionEnableOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 12 of file VoiceChatHandler.cpp.
References ByteBuffer::ReadBit(), and SF_LOG_DEBUG.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleVoidStorageQuery | ( | WorldPacket & | recvData | ) |
Definition at line 53 of file VoidStorageHandler.cpp.
References ByteBuffer::append(), VoidStorageItem::CreatorGuid, ByteBuffer::FlushBits(), Object::GetGUIDLow(), WorldObject::GetName(), Player::GetNPCIfCanInteractWith(), GetPlayer(), Player::GetVoidStorageItem(), GUID_LOPART(), Player::IsVoidStorageUnlocked(), VoidStorageItem::ItemEntry, VoidStorageItem::ItemId, VoidStorageItem::ItemRandomPropertyId, VoidStorageItem::ItemSuffixFactor, ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SendPacket(), SF_LOG_DEBUG, SMSG_VOID_STORAGE_CONTENTS, UNIT_NPC_FLAG_VAULTKEEPER, VOID_STORAGE_MAX_SLOT, ByteBuffer::WriteBits(), ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleVoidStorageTransfer | ( | WorldPacket & | recvData | ) |
Definition at line 139 of file VoidStorageHandler.cpp.
References Player::AddVoidStorageItem(), Player::CanStoreNewItem(), VoidStorageItem::CreatorGuid, Player::DeleteVoidStorageItem(), Player::DestroyItem(), EQUIP_ERR_OK, ByteBuffer::FlushBits(), Player::GetBagByPos(), Item::GetBagSlot(), Object::GetEntry(), Object::GetGUIDLow(), Player::GetItemByGuid(), Player::GetItemByPos(), Item::GetItemRandomPropertyId(), Item::GetItemSuffixFactor(), WorldObject::GetName(), Player::GetNPCIfCanInteractWith(), Player::GetNumOfVoidStorageFreeSlots(), GetPlayer(), Item::GetSlot(), Object::GetUInt64Value(), Player::GetVoidStorageItem(), GUID_LOPART(), Player::HasEnoughMoney(), INVENTORY_SLOT_BAG_0, INVENTORY_SLOT_BAG_END, INVENTORY_SLOT_BAG_START, INVENTORY_SLOT_ITEM_END, INVENTORY_SLOT_ITEM_START, Player::IsVoidStorageUnlocked(), ITEM_FIELD_CREATOR, VoidStorageItem::ItemEntry, VoidStorageItem::ItemId, VoidStorageItem::ItemRandomPropertyId, Player::ModifyMoney(), NULL_BAG, NULL_SLOT, ByteBuffer::ReadBits(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), ByteBuffer::rfinish(), Player::SendNewItem(), SendPacket(), SendVoidStorageTransferResult(), Item::SetBinding(), Object::SetUInt64Value(), SF_LOG_DEBUG, SMSG_VOID_STORAGE_TRANSFER_CHANGES, sObjectMgr, Player::StoreNewItem(), UI64FMTD, UNIT_NPC_FLAG_VAULTKEEPER, VOID_STORAGE_MAX_DEPOSIT, VOID_STORAGE_MAX_WITHDRAW, VOID_STORAGE_STORE_ITEM, VOID_TRANSFER_ERROR_FULL, VOID_TRANSFER_ERROR_INVENTORY_FULL, VOID_TRANSFER_ERROR_NO_ERROR, VOID_TRANSFER_ERROR_NOT_ENOUGH_MONEY, ByteBuffer::WriteBits(), ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleVoidStorageUnlock | ( | WorldPacket & | recvData | ) |
Definition at line 26 of file VoidStorageHandler.cpp.
References Object::GetGUIDLow(), WorldObject::GetName(), Player::GetNPCIfCanInteractWith(), GetPlayer(), GUID_LOPART(), Player::IsVoidStorageUnlocked(), Player::ModifyMoney(), ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SF_LOG_DEBUG, UNIT_NPC_FLAG_VAULTKEEPER, Player::UnlockVoidStorage(), and VOID_STORAGE_UNLOCK.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleVoidSwapItem | ( | WorldPacket & | recvData | ) |
Definition at line 355 of file VoidStorageHandler.cpp.
References ByteBuffer::FlushBits(), Object::GetGUIDLow(), WorldObject::GetName(), Player::GetNPCIfCanInteractWith(), GetPlayer(), Player::GetVoidStorageItem(), GUID_LOPART(), Player::IsVoidStorageUnlocked(), VoidStorageItem::ItemId, ByteBuffer::ReadGuidBytes(), ByteBuffer::ReadGuidMask(), SendPacket(), SendVoidStorageTransferResult(), SF_LOG_DEBUG, SMSG_VOID_ITEM_SWAP_RESPONSE, Player::SwapVoidStorageItem(), UI64FMTD, UNIT_NPC_FLAG_VAULTKEEPER, VOID_TRANSFER_ERROR_INTERNAL_ERROR_1, ByteBuffer::WriteBit(), ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleWardenDataOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 205 of file Warden.cpp.
References _warden, ByteBuffer::contents(), ByteBuffer::hexlike(), SF_LOG_DEBUG, ByteBuffer::size(), WARDEN_CMSG_CHEAT_CHECKS_RESULT, WARDEN_CMSG_HASH_RESULT, WARDEN_CMSG_MEM_CHECKS_RESULT, WARDEN_CMSG_MODULE_FAILED, WARDEN_CMSG_MODULE_MISSING, and WARDEN_CMSG_MODULE_OK.
| void WorldSession::HandleWhoisOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 1930 of file MiscHandler.cpp.
References ByteBuffer::FlushBits(), GetAccountId(), GetPlayer(), Player::GetSession(), Field::GetString(), HasPermission(), LANG_ACCOUNT_FOR_PLAYER_NOT_FOUND, LANG_NEED_CHARACTER_NAME, LANG_PLAYER_NOT_EXIST_OR_OFFLINE, LANG_YOU_NOT_HAVE_PERMISSION, LOGIN_SEL_ACCOUNT_WHOIS, LoginDatabase, normalizePlayerName(), rbac::RBAC_PERM_OPCODE_WHOIS, SendNotification(), SendPacket(), PreparedStatement::setUInt32(), SF_LOG_DEBUG, SMSG_WHOIS, sObjectAccessor, ByteBuffer::WriteBits(), and ByteBuffer::WriteString().
| void WorldSession::HandleWhoOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 727 of file MiscHandler.cpp.
References _player, ByteBuffer::append(), ByteBuffer::bitwpos(), CONFIG_GM_LEVEL_IN_WHO_LIST, CONFIG_MAX_WHO, ByteBuffer::FlushBits(), GetAccountId(), GetAreaEntryByAreaID(), Unit::getClass(), Unit::getGender(), Guild::GetGUID(), Object::GetGUID(), Player::GetGuild(), Player::GetGuildId(), Unit::getLevel(), HashMapHolder< T >::GetLock(), WorldObject::GetName(), Unit::getRace(), GetSecurity(), Player::GetSession(), GetSessionDbcLocale(), Player::GetTeam(), GetVirtualRealmID(), WorldObject::GetZoneId(), HasPermission(), Object::IsInWorld(), Player::IsVisibleGloballyFor(), MAX_DECLINED_NAME_CASES, MAX_LEVEL, ByteBuffer::PutBits(), rbac::RBAC_PERM_TWO_SIDE_WHO_LIST, rbac::RBAC_PERM_WHO_SEE_ALL_SEC_LEVELS, ByteBuffer::ReadBit(), ByteBuffer::ReadBits(), ByteBuffer::ReadString(), realmID, SendPacket(), SF_LOG_DEBUG, SF_SHARED_GUARD, sGuildMgr, SMSG_WHO, sObjectAccessor, STRONG_MAX_LEVEL, sWorld, timeLastWhoCommand, Utf8FitTo(), Utf8toWStr(), ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), ByteBuffer::WriteByteSeq(), ByteBuffer::WriteString(), and wstrToLower().
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleWorldStateUITimerUpdate | ( | WorldPacket & | recvData | ) |
Definition at line 2335 of file MiscHandler.cpp.
References SendPacket(), SF_LOG_DEBUG, and SMSG_UI_TIME.
Referenced by OpcodeTable::InitializeClientTable().
| void WorldSession::HandleWorldTeleportOpcode | ( | WorldPacket & | recvData | ) |
Definition at line 1908 of file MiscHandler.cpp.
References GetPlayer(), HasPermission(), LANG_YOU_NOT_HAVE_PERMISSION, rbac::RBAC_PERM_OPCODE_WORLD_TELEPORT, SendNotification(), SF_LOG_DEBUG, and Player::TeleportTo().
| void WorldSession::HandleWrapItemOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 1113 of file ItemHandler.cpp.
References _player, CHAR_INS_CHAR_GIFT, CharacterDatabase, EQUIP_ERR_CANT_WRAP_BAGS, EQUIP_ERR_CANT_WRAP_BOUND, EQUIP_ERR_CANT_WRAP_EQUIPPED, EQUIP_ERR_CANT_WRAP_STACKABLE, EQUIP_ERR_CANT_WRAP_UNIQUE, EQUIP_ERR_CANT_WRAP_WRAPPED, EQUIP_ERR_ITEM_NOT_FOUND, ItemTemplate::Flags, Object::GetEntry(), Object::GetGUIDLow(), Item::GetMaxStackCount(), Item::GetOwnerGUID(), Item::GetState(), Item::GetTemplate(), Object::GetUInt32Value(), Object::GetUInt64Value(), GUID_LOPART(), Item::IsBag(), Item::IsEquipped(), Item::IsSoulBound(), ITEM_CHANGED, ITEM_FIELD_DYNAMIC_FLAGS, ITEM_FIELD_GIFT_CREATOR, ITEM_FLAG_WRAPPED, ITEM_NEW, ITEM_PROTO_FLAG_WRAPPER, ItemTemplate::MaxCount, Item::RemoveFromUpdateQueueOf(), Item::SaveToDB(), Object::SetEntry(), Item::SetState(), PreparedStatement::setUInt32(), Object::SetUInt32Value(), Object::SetUInt64Value(), and SF_LOG_DEBUG.
| void WorldSession::HandleZoneUpdateOpcode | ( | WorldPacket & | recvPacket | ) |
Definition at line 1148 of file MiscHandler.cpp.
References GetPlayer(), WorldObject::GetZoneAndAreaId(), SF_LOG_DEBUG, and Player::UpdateZone().
|
inline |
Definition at line 516 of file WorldSession.h.
References m_hasBoost.
Referenced by World::AddSession_(), and HandleBattleCharBoost().
| bool WorldSession::HasPermission | ( | uint32 | permissionId | ) |
Definition at line 1244 of file WorldSession.cpp.
References _RBACData, GetVirtualRealmID(), LoadPermissions(), and SF_LOG_DEBUG.
Referenced by World::AddSession_(), Channel::Announce(), SocialMgr::BroadcastToFriendListers(), Spell::EffectEnchantItemPerm(), Spell::EffectEnchantItemPrismatic(), Spell::EffectEnchantItemTmp(), SocialMgr::GetFriendInfo(), lfg::LFGMgr::GetLockedDungeons(), HandleAcceptTradeOpcode(), HandleAddFriendOpcodeCallBack(), HandleAuctionSellItem(), HandleCharCreateCallback(), HandleCharCreateOpcode(), HandleCharCustomize(), HandleCharFactionOrRaceChange(), HandleCharRenameOpcode(), HandleLogoutRequestOpcode(), HandleMailTakeItem(), Guild::HandleMemberDepositMoney(), HandleMessagechatOpcode(), WorldSocket::HandlePing(), misc_commandscript::HandleReviveCommand(), misc_commandscript::HandleSaveCommand(), HandleSendMail(), misc_commandscript::HandleUnstuckCommand(), HandleWhoisOpcode(), HandleWhoOpcode(), HandleWorldTeleportOpcode(), Channel::Invite(), Channel::JoinChannel(), lfg::LFGMgr::JoinLfg(), Channel::KickOrBan(), Channel::LeaveChannel(), Channel::List(), moveItems(), Channel::Password(), AuctionHouseMgr::SendAuctionWonMail(), World::SendGlobalGMMessage(), World::SendGMText(), Channel::SetMode(), Channel::SetOwner(), and Channel::UnBan().
|
private |
Definition at line 1113 of file WorldSession.cpp.
References _charCreateCallback.
Referenced by WorldSession().
| void WorldSession::InitWarden | ( | SessionKey const & | k, |
| std::string const & | os ) |
Definition at line 1210 of file WorldSession.cpp.
References _warden.
Referenced by WorldSocket::HandleAuthSession().
| void WorldSession::InvalidateRBACData | ( | ) |
Definition at line 1256 of file WorldSession.cpp.
References _RBACData, GetVirtualRealmID(), and SF_LOG_DEBUG.
| bool WorldSession::IsAddonRegistered | ( | const std::string & | prefix | ) | const |
Definition at line 1049 of file WorldSession.cpp.
References _filterAddonMessages, and _registeredAddonPrefixes.
Referenced by Player::WhisperAddon().
|
inline |
Definition at line 513 of file WorldSession.h.
References isRecruiter.
Referenced by LuaPlayer::IsARecruiter().
|
inline |
Definition at line 509 of file WorldSession.h.
References m_inQueue, and m_timeOutTime.
Referenced by Update().
|
inlineprivate |
Definition at line 1178 of file WorldSession.h.
References _legitCharacters.
Referenced by HandleCharCustomize(), HandleCharFactionOrRaceChange(), and HandlePlayerLoginOpcode().
|
inline |
Is the user engaged in a log out process?
Definition at line 311 of file WorldSession.h.
References _logoutTime, and m_playerLogout.
Referenced by HandleInitiateTradeOpcode(), HandleQuestgiverStatusMultipleQuery(), HandleQuestgiverStatusQueryOpcode(), send_commandscript::HandleSendMessageCommand(), and SendQuestgiverStatusMultiple().
| void WorldSession::KickPlayer | ( | ) |
Kick a player out of the World.
Definition at line 620 of file WorldSession.cpp.
References m_Socket.
Referenced by World::AddSession_(), World::BanCharacter(), AccountMgr::DeleteAccount(), character_commandscript::HandleCharacterEraseCommand(), HandleCharCustomize(), HandleCharFactionOrRaceChange(), misc_commandscript::HandleKickPlayerCommand(), HandleMessagechatOpcode(), LuaGlobalFunctions::Kick(), LuaPlayer::KickPlayer(), and Update().
| void WorldSession::LoadAccountData | ( | PreparedQueryResult | result, |
| uint32 | mask ) |
Definition at line 742 of file WorldSession.cpp.
References Field::GetString(), Field::GetUInt8(), GLOBAL_CACHE_MASK, m_accountData, NUM_ACCOUNT_DATA_TYPES, and SF_LOG_ERROR.
Referenced by HandlePlayerLogin(), and LoadGlobalAccountData().
| void WorldSession::LoadGlobalAccountData | ( | ) |
Definition at line 735 of file WorldSession.cpp.
References CHAR_SEL_ACCOUNT_DATA, CharacterDatabase, GetAccountId(), GLOBAL_CACHE_MASK, LoadAccountData(), and PreparedStatement::setUInt32().
Referenced by WorldSocket::HandleAuthSession().
| void WorldSession::LoadPermissions | ( | ) |
Definition at line 1225 of file WorldSession.cpp.
References _RBACData, GetAccountId(), AccountMgr::GetName(), GetSecurity(), GetVirtualRealmID(), and SF_LOG_DEBUG.
Referenced by WorldSocket::HandleAuthSession(), and HasPermission().
| void WorldSession::LoadTutorialsData | ( | ) |
Definition at line 822 of file WorldSession.cpp.
References CHAR_SEL_TUTORIALS, CharacterDatabase, GetAccountId(), m_Tutorials, m_TutorialsChanged, MAX_ACCOUNT_TUTORIAL_VALUES, and PreparedStatement::setUInt32().
Referenced by WorldSocket::HandleAuthSession().
| void WorldSession::LogoutPlayer | ( | bool | save | ) |
Log the player out
Send update to group and reset stored max enchanting level
Broadcast a logout message to the player's friends
Call script hook before deletion
Remove the player from the world
Pointer already deleted during RemovePlayerFromMap
Send the 'logout complete' packet to the client Client will respond by sending 3x CMSG_CANCEL_TRADE, which we currently dont handle
Since each account can only have one online character at any given time, ensure all characters for active account are marked as offline
Definition at line 470 of file WorldSession.cpp.
References _player, AntiDOS, BUYBACK_SLOT_END, BUYBACK_SLOT_START, CHAR_UPD_ACCOUNT_ONLINE, CharacterDatabase, ClearPetBattlePvpQueueState(), CMSG_ENUM_CHARACTERS, DoLootRelease(), FRIEND_OFFLINE, GetAccountId(), GetRemoteAddress(), HandleMoveWorldportAckOpcode(), LogoutRequest(), m_playerLogout, m_playerRecentlyLogout, m_playerSave, m_Socket, PET_SAVE_AS_CURRENT, PLAYER_FIELD_BUYBACK_PRICE, PLAYER_FIELD_BUYBACK_TIMESTAMP, PLAYER_FIELD_VENDORBUYBACK_SLOTS, PLAYER_MAX_BATTLEGROUND_QUEUES, BattlegroundQueue::RemovePlayer(), sBattlegroundMgr, SendPacket(), SetPlayer(), PreparedStatement::setUInt32(), SF_LOG_DEBUG, SF_LOG_INFO, sGuildMgr, SMSG_LOGOUT_COMPLETE, sOutdoorPvPMgr, SPELL_AURA_MOD_SHAPESHIFT, SPELL_AURA_SPIRIT_OF_REDEMPTION, sScriptMgr, and sSocialMgr.
Referenced by AccountMgr::DeleteAccount(), HandleLogoutRequestOpcode(), HandleMoveWorldportAckOpcode(), LuaPlayer::LogoutPlayer(), Update(), and ~WorldSession().
|
inline |
Engage the logout process for the user.
Definition at line 314 of file WorldSession.h.
References _logoutTime.
Referenced by HandleLogoutCancelOpcode(), HandleLogoutRequestOpcode(), and LogoutPlayer().
| void WorldSession::LogPacketMarker | ( | std::string const & | marker | ) |
Definition at line 267 of file WorldSession.cpp.
References m_Socket.
|
private |
Logging helper for unexpected opcodes.
Definition at line 281 of file WorldSession.cpp.
References WorldPacket::GetOpcode(), GetOpcodeNameForLogging(), GetPlayerInfo(), and SF_LOG_ERROR.
Referenced by Update().
|
private |
Logging helper for unexpected opcodes.
Definition at line 288 of file WorldSession.cpp.
References WorldPacket::GetOpcode(), GetOpcodeNameForLogging(), GetPlayerInfo(), LOG_LEVEL_TRACE, ByteBuffer::print_storage(), ByteBuffer::rpos(), SF_LOG_TRACE, sLog, and ByteBuffer::wpos().
Referenced by Update().
Definition at line 183 of file TradeHandler.cpp.
References _player, Player::CanStoreItem(), EQUIP_ERR_OK, GetAccountId(), Item::GetCount(), Object::GetEntry(), WorldObject::GetName(), Player::GetSession(), Item::GetTemplate(), Player::GetTotalPlayedTime(), Object::GetUInt32Value(), HasPermission(), ITEM_FIELD_CREATE_PLAYED_TIME, ITEM_FIELD_DYNAMIC_FLAGS, ITEM_FLAG_BOP_TRADEABLE, Player::MoveItemToInventory(), ItemTemplate::Name1, NULL_BAG, NULL_SLOT, rbac::RBAC_PERM_LOG_GM_TRADE, Object::SetUInt32Value(), SF_LOG_DEBUG, SF_LOG_ERROR, sLog, and TRADE_SLOT_TRADED_COUNT.
Referenced by HandleAcceptTradeOpcode().
|
privatedelete |
References WorldSession().
|
inline |
Definition at line 263 of file WorldSession.h.
References m_Socket.
Referenced by lfg::LFGPlayerScript::OnLogout().
|
inline |
Definition at line 259 of file WorldSession.h.
References m_playerLoading.
Referenced by HandlePlayerLoginOpcode(), Player::isBeingLoaded(), Player::learnSpell(), and Player::SetSkill().
|
inline |
Definition at line 260 of file WorldSession.h.
References m_playerLogout.
Referenced by OutdoorPvP::HandlePlayerLeaveZone(), BattlefieldWG::OnPlayerLeaveWar(), and SendCancelTrade().
|
inline |
Definition at line 261 of file WorldSession.h.
References m_playerLogout, and m_playerSave.
|
inline |
Definition at line 262 of file WorldSession.h.
References m_playerRecentlyLogout.
Referenced by SendCancelTrade().
|
private |
HandleCharEnumOpcode
HandlePlayerLoginOpcode
HandleAddFriendOpcode
Definition at line 1120 of file WorldSession.cpp.
References _addFriendCallback, _addIgnoreCallback, _charCreateCallback, _charEnumCallback, _charLoginCallback, _charRenameCallback, _sendStabledPetCallback, _stablePetCallback, _stableSwapCallback, _unstablePetCallback, HandleAddFriendOpcodeCallBack(), HandleAddIgnoreOpcodeCallBack(), HandleChangePlayerNameOpcodeCallBack(), HandleCharCreateCallback(), HandleCharEnum(), HandlePlayerLogin(), HandleStablePetCallback(), HandleStableSwapPetCallback(), HandleUnstablePetCallback(), and SendStablePetCallback().
Referenced by Update().
| void WorldSession::QueuePacket | ( | WorldPacket * | new_packet | ) |
Add an incoming packet to the queue.
Definition at line 274 of file WorldSession.cpp.
References _recvQueue, Skyfire::Diagnostics::GetRuntimeMetrics(), and Skyfire::Diagnostics::RuntimeMetrics::RecordWorldSessionPacketQueued().
Referenced by WorldSocket::ProcessIncoming(), and Update().
| void WorldSession::ReadAddonsInfo | ( | WorldPacket & | data | ) |
Definition at line 861 of file WorldSession.cpp.
References ByteBuffer::contents(), AddonInfo::CRC, SavedAddon::CRC, AddonMgr::GetAddonInfo(), m_addonsList, AddonInfo::Name, ByteBuffer::resize(), ByteBuffer::rpos(), AddonMgr::SaveAddon(), SF_LOG_DEBUG, SF_LOG_ERROR, SF_LOG_INFO, and ByteBuffer::size().
Referenced by WorldSocket::HandleAuthSession().
|
inline |
Definition at line 497 of file WorldSession.h.
References m_clientTimeDelay.
Referenced by WorldSocket::HandlePing().
|
inline |
Definition at line 508 of file WorldSession.h.
References CONFIG_SOCKET_TIMEOUTTIME, m_timeOutTime, and sWorld.
Referenced by WorldSocket::ProcessIncoming(), World::RemoveQueuedPlayer(), and WorldSession().
| void WorldSession::SaveTutorialsData | ( | SQLTransaction & | trans | ) |
Definition at line 843 of file WorldSession.cpp.
References CHAR_INS_TUTORIALS, CHAR_SEL_HAS_TUTORIALS, CHAR_UPD_TUTORIALS, CharacterDatabase, GetAccountId(), m_Tutorials, m_TutorialsChanged, MAX_ACCOUNT_TUTORIAL_VALUES, and PreparedStatement::setUInt32().
Referenced by Player::SaveToDB().
| void WorldSession::SendAccountDataTimes | ( | uint32 | mask | ) |
Definition at line 805 of file WorldSession.cpp.
References ByteBuffer::FlushBits(), GetAccountData(), NUM_ACCOUNT_DATA_TYPES, SendPacket(), SMSG_ACCOUNT_DATA_TIMES, and ByteBuffer::WriteBit().
Referenced by HandlePlayerLogin(), HandleReadyForAccountDataTimes(), and World::RemoveQueuedPlayer().
| void WorldSession::SendActivateTaxiReply | ( | ActivateTaxiReply | reply | ) |
Definition at line 324 of file TaxiHandler.cpp.
References ByteBuffer::FlushBits(), SendPacket(), SMSG_ACTIVATE_TAXI_REPLY, and ByteBuffer::WriteBits().
Referenced by Player::ActivateTaxiPathTo().
| void WorldSession::SendAddonsInfo | ( | ) |
Definition at line 935 of file WorldSession.cpp.
References ByteBuffer::FlushBits(), AddonMgr::GetBannedAddons(), m_addonsList, ByteBuffer::put(), SendPacket(), SMSG_ADDON_INFO, ByteBuffer::wpos(), ByteBuffer::WriteBit(), and ByteBuffer::WriteBits().
Referenced by World::AddSession_(), and World::RemoveQueuedPlayer().
| void WorldSession::SendAttackStop | ( | Unit const * | enemy | ) |
Definition at line 87 of file CombatHandler.cpp.
References ByteBuffer::append(), Object::GetPackGUID(), GetPlayer(), SendPacket(), and SMSG_ATTACKSTOP.
Referenced by HandleAttackSwingOpcode().
| void WorldSession::SendAuctionBidderNotification | ( | uint32 | location, |
| uint32 | auctionId, | ||
| uint64 | bidder, | ||
| uint32 | bidSum, | ||
| uint32 | diff, | ||
| uint32 | item_template ) |
Definition at line 140 of file AuctionHouseHandler.cpp.
References SendPacket(), SMSG_AUCTION_BIDDER_NOTIFICATION, ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by AuctionHouseMgr::SendAuctionOutbiddedMail(), and AuctionHouseMgr::SendAuctionWonMail().
| void WorldSession::SendAuctionCommandResult | ( | AuctionEntry * | auction, |
| uint32 | Action, | ||
| uint32 | ErrorCode, | ||
| uint32 | bidError = 0 ) |
Definition at line 83 of file AuctionHouseHandler.cpp.
References ByteBuffer::FlushBits(), Object::GetGUID(), GetPlayer(), AuctionEntry::Id, SendPacket(), SMSG_AUCTION_COMMAND_RESULT, ByteBuffer::WriteBit(), and ByteBuffer::WriteByteSeq().
Referenced by HandleAuctionPlaceBid(), HandleAuctionRemoveItem(), and HandleAuctionSellItem().
| void WorldSession::SendAuctionHello | ( | ObjectGuid | guid, |
| Creature * | unit ) |
Definition at line 45 of file AuctionHouseHandler.cpp.
References CONFIG_AUCTION_LEVEL_REQ, ByteBuffer::FlushBits(), AuctionHouseMgr::GetAuctionHouseEntry(), Unit::getFaction(), GetPlayer(), GetSkyFireString(), AuctionHouseEntry::houseId, LANG_AUCTION_REQ, SendNotification(), SendPacket(), SMSG_AUCTION_HELLO, sWorld, ByteBuffer::WriteBit(), and ByteBuffer::WriteByteSeq().
Referenced by HandleAuctionHelloOpcode(), and Player::OnGossipSelect().
| void WorldSession::SendAuctionOwnerNotification | ( | AuctionEntry * | auction | ) |
Definition at line 161 of file AuctionHouseHandler.cpp.
References AuctionEntry::bid, ByteBuffer::FlushBits(), AuctionEntry::Id, AuctionEntry::itemEntry, SendPacket(), SMSG_AUCTION_OWNER_NOTIFICATION, and ByteBuffer::WriteBit().
Referenced by AuctionHouseMgr::SendAuctionExpiredMail(), and AuctionHouseMgr::SendAuctionSuccessfulMail().
| void WorldSession::SendAuctionRemovedNotification | ( | uint32 | auctionId, |
| uint32 | itemEntry, | ||
| int32 | randomPropertyId ) |
Definition at line 177 of file AuctionHouseHandler.cpp.
References SendPacket(), and SMSG_AUCTION_REMOVED_NOTIFICATION.
Referenced by AuctionHouseMgr::SendAuctionCancelledToBidderMail().
| void WorldSession::SendAuthResponse | ( | ResponseCodes | code, |
| bool | queued, | ||
| uint32 | queuePos = 0 ) |
Definition at line 48 of file AuthHandler.cpp.
References AUTH_OK, classExpansion, Expansion(), ByteBuffer::FlushBits(), GetVirtualRealmID(), PLAYABLE_CLASSES_COUNT, PLAYABLE_RACES_COUNT, raceExpansion, realmNameStore, SendPacket(), SF_LOG_DEBUG, SMSG_AUTH_RESPONSE, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), and ByteBuffer::WriteString().
Referenced by World::AddQueuedPlayer(), and World::AddSession_().
| void WorldSession::SendAuthWaitQue | ( | uint32 | position | ) |
Handle the authentication waiting queue (to be completed).
Definition at line 711 of file WorldSession.cpp.
References AUTH_OK, AUTH_WAIT_QUEUE, ByteBuffer::FlushBits(), SendPacket(), SMSG_AUTH_RESPONSE, and ByteBuffer::WriteBit().
Referenced by World::RemoveQueuedPlayer().
| void WorldSession::SendBarberShopResult | ( | BarberShopResult | result | ) |
Definition at line 2138 of file CharacterHandler.cpp.
References SendPacket(), and SMSG_BARBER_SHOP_RESULT.
Referenced by HandleAlterAppearance().
| void WorldSession::SendBattleGroundList | ( | uint64 | guid, |
| BattlegroundTypeId | bgTypeId = BattlegroundTypeId::BATTLEGROUND_RB ) |
Definition at line 53 of file BattleGroundHandler.cpp.
References _player, sBattlegroundMgr, and SendPacket().
Referenced by HandleBattlemasterHelloOpcode(), and Player::OnGossipSelect().
| void WorldSession::SendBattlePayDistributionUpdate | ( | uint64 | playerGuid, |
| int8 | bonusId, | ||
| int32 | bonusFlag, | ||
| int32 | textId, | ||
| std::string const & | bonusText, | ||
| std::string const & | bonusText2 ) |
Definition at line 22 of file BoostHandler.cpp.
References ByteBuffer::FlushBits(), GUID_LOPART(), SendPacket(), SMSG_BATTLE_PAY_DISTRIBUTION_UPDATE, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), ByteBuffer::WriteByteSeq(), ByteBuffer::WriteGuidBytes(), ByteBuffer::WriteGuidMask(), and ByteBuffer::WriteString().
Referenced by World::AddSession_(), and HandleBattleCharBoost().
| void WorldSession::SendBfEntered | ( | uint64 | guid | ) |
Definition at line 130 of file BattlefieldHandler.cpp.
References _player, ByteBuffer::FlushBits(), SendPacket(), SMSG_BATTLEFIELD_MGR_ENTERED, ByteBuffer::WriteBit(), and ByteBuffer::WriteByteSeq().
Referenced by Battlefield::PlayerAcceptInviteToWar().
| void WorldSession::SendBfInvitePlayerToQueue | ( | uint64 | guid | ) |
Definition at line 41 of file BattlefieldHandler.cpp.
References ByteBuffer::FlushBits(), SendPacket(), SMSG_BATTLEFIELD_MGR_QUEUE_INVITE, ByteBuffer::WriteBit(), and ByteBuffer::WriteByteSeq().
Referenced by Battlefield::InvitePlayerToQueue().
Definition at line 22 of file BattlefieldHandler.cpp.
References SendPacket(), SMSG_BATTLEFIELD_MGR_ENTRY_INVITE, ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by Battlefield::InvitePlayerToWar().
| void WorldSession::SendBfLeaveMessage | ( | uint64 | guid, |
| BFLeaveReason | reason = BF_LEAVE_REASON_EXITED ) |
Definition at line 161 of file BattlefieldHandler.cpp.
References SendPacket(), SMSG_BATTLEFIELD_MGR_EJECTED, ByteBuffer::WriteBit(), ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by Battlefield::HandlePlayerLeaveZone().
| void WorldSession::SendBfQueueInviteResponse | ( | uint64 | guid, |
| uint32 | zoneId, | ||
| bool | canQueue = true, | ||
| bool | full = false ) |
Definition at line 84 of file BattlefieldHandler.cpp.
References ByteBuffer::FlushBits(), SendPacket(), SMSG_BATTLEFIELD_MGR_QUEUE_REQUEST_RESPONSE, ByteBuffer::WriteBit(), and ByteBuffer::WriteByteSeq().
Referenced by Battlefield::PlayerAcceptInviteToQueue().
| void WorldSession::SendBindPoint | ( | Creature * | npc | ) |
Definition at line 466 of file NPCHandler.cpp.
References _player, and GetPlayer().
Referenced by HandleBinderActivateOpcode().
| void WorldSession::SendBlackMarketBidOnItemResult | ( | uint32 | ItemID | ) |
Definition at line 111 of file BlackMarketHandler.cpp.
References SendPacket(), and SMSG_BLACKMARKET_BID_RESULT.
Referenced by HandleBlackMarketBidOnItem().
| void WorldSession::SendBlackMarketHello | ( | ObjectGuid | NpcGUID, |
| bool | Open ) |
Definition at line 27 of file BlackMarketHandler.cpp.
References SendPacket(), SMSG_BLACKMARKET_HELLO, ByteBuffer::WriteBit(), ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by HandleBlackMarketHelloOpcode().
| void WorldSession::SendBlackMarketRequestItemsResult | ( | ) |
Definition at line 46 of file BlackMarketHandler.cpp.
References GetPlayer(), sBlackMarketMgr, SendPacket(), and SMSG_BLACKMARKET_REQUEST_ITEMS_RESULT.
Referenced by HandleBlackMarketBidOnItem(), and HandleBlackMarketRequestItemOpcode().
| void WorldSession::SendBroadcastText | ( | uint32 | entry | ) |
Definition at line 2668 of file MiscHandler.cpp.
References ByteBuffer::append(), DB2_REPLY_BROADCAST_TEXT, GossipTextOption::Language, MAX_GOSSIP_TEXT_OPTIONS, GossipText::Options, SendPacket(), ByteBuffer::size(), SMSG_DB_REPLY, sObjectMgr, GossipTextOption::Text_0, and GossipTextOption::Text_1.
Referenced by HandleRequestHotfix().
| void WorldSession::SendCalendarRaidLockout | ( | InstanceSave const * | save, |
| bool | add ) |
Definition at line 781 of file CalendarHandler.cpp.
References ByteBuffer::AppendPackedTime(), ByteBuffer::FlushBits(), InstanceSave::GetDifficulty(), InstanceSave::GetInstanceId(), InstanceSave::GetMapId(), InstanceSave::GetResetTime(), SendPacket(), SF_LOG_DEBUG, SMSG_CALENDAR_RAID_LOCKOUT_ADDED, SMSG_CALENDAR_RAID_LOCKOUT_REMOVED, ByteBuffer::WriteBit(), and ByteBuffer::WriteByteSeq().
Referenced by Player::BindToInstance(), InstanceMap::PermBindAllPlayers(), and Player::UnbindInstance().
| void WorldSession::SendCalendarRaidLockoutUpdated | ( | InstanceSave const * | save | ) |
Definition at line 844 of file CalendarHandler.cpp.
References _player, ByteBuffer::AppendPackedTime(), InstanceSave::GetDifficulty(), InstanceSave::GetMapId(), InstanceSave::GetResetTime(), SendPacket(), SF_LOG_DEBUG, SMSG_CALENDAR_RAID_LOCKOUT_UPDATED, and UI64FMTD.
| void WorldSession::SendCancelTrade | ( | TradeStatus | status | ) |
Definition at line 596 of file TradeHandler.cpp.
References PlayerLogout(), PlayerRecentlyLoggedOut(), and SendTradeStatus().
Referenced by Player::TradeCancel(), and Player::UpdatePosition().
| void WorldSession::SendCharacterLoginFailed | ( | ResponseCodes | reason | ) |
Definition at line 678 of file WorldSession.cpp.
References SendPacket(), and SMSG_CHARACTER_LOGIN_FAILED.
Referenced by HandlePlayerLogin(), and HandlePlayerLoginOpcode().
| void WorldSession::SendChatRestrictedNotice | ( | ChatRestrictionType | restriction | ) |
Definition at line 852 of file ChatHandler.cpp.
References SendPacket(), and SMSG_CHAT_RESTRICTED.
| void WorldSession::SendClientCacheVersion | ( | uint32 | version | ) |
Definition at line 126 of file AuthHandler.cpp.
References SendPacket(), and SMSG_CLIENTCACHE_VERSION.
Referenced by World::AddSession_(), and World::RemoveQueuedPlayer().
| void WorldSession::SendCrossedInebriationThreshold | ( | ObjectGuid | guid, |
| uint32 | ItemID, | ||
| DrunkenState | drunkenState ) |
Definition at line 2986 of file MiscHandler.cpp.
References _player, SMSG_CROSSED_INEBRIATION_THRESHOLD, ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by Player::SetDrunkValue().
| void WorldSession::SendDiscoverNewTaxiNode | ( | uint32 | nodeid | ) |
Definition at line 182 of file TaxiHandler.cpp.
References GetPlayer(), SendPacket(), and SMSG_NEW_TAXI_PATH.
Definition at line 138 of file TaxiHandler.cpp.
References FLIGHT_MOTION_TYPE, Unit::GetMotionMaster(), GetPlayer(), Unit::Mount(), MotionMaster::MovementExpired(), MotionMaster::MoveTaxiFlight(), Unit::RemoveAurasByType(), SPELL_AURA_FEIGN_DEATH, and UNIT_STATE_DIED.
Referenced by Player::ActivateTaxiPathTo(), Player::ContinueTaxiFlight(), and HandleMoveSplineDoneOpcode().
| void WorldSession::SendEnchantmentLog | ( | uint64 | target, |
| uint64 | caster, | ||
| uint64 | itemGuid, | ||
| uint32 | itemId, | ||
| uint32 | enchantId, | ||
| uint32 | enchantmentSlot ) |
Definition at line 1015 of file ItemHandler.cpp.
References GetPlayer(), Player::SendMessageToSet(), SMSG_ENCHANTMENT_LOG, ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by Item::SetEnchantment().
| void WorldSession::SendFeatureSystemStatusGlueScreen | ( | ) |
Definition at line 133 of file AuthHandler.cpp.
References ByteBuffer::FlushBits(), SendPacket(), SMSG_FEATURE_SYSTEM_STATUS_GLUE_SCREEN, and ByteBuffer::WriteBit().
Referenced by World::AddSession_(), and World::RemoveQueuedPlayer().
| void WorldSession::SendGroupInviteNotification | ( | const std::string & | inviterName, |
| const std::string & | realmName, | ||
| bool | inGroup ) |
Definition at line 49 of file GroupHandler.cpp.
References ByteBuffer::FlushBits(), Object::GetGUID(), GetPlayer(), SendPacket(), SF_LOG_DEBUG, SMSG_GROUP_INVITE, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), ByteBuffer::WriteByteSeq(), and ByteBuffer::WriteString().
Referenced by HandleGroupInviteOpcode().
| void WorldSession::SendItemEnchantTimeUpdate | ( | ObjectGuid | Playerguid, |
| ObjectGuid | Itemguid, | ||
| uint32 | slot, | ||
| uint32 | Duration ) |
Definition at line 1068 of file ItemHandler.cpp.
References ByteBuffer::FlushBits(), SendPacket(), SMSG_ITEM_ENCHANT_TIME_UPDATE, ByteBuffer::WriteBit(), and ByteBuffer::WriteByteSeq().
Referenced by Player::AddEnchantmentDuration(), and Player::SendEnchantmentDurations().
| void WorldSession::SendItemExpirePurchaseRefund | ( | ObjectGuid | itemGuid | ) |
Definition at line 1867 of file ItemHandler.cpp.
References SendPacket(), SMSG_ITEM_EXPIRE_PURCHASE_REFUND, ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
| bool WorldSession::SendLearnNewTaxiNode | ( | Creature * | unit | ) |
Definition at line 153 of file TaxiHandler.cpp.
References Object::GetGUID(), WorldLocation::GetMapId(), GetPlayer(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), SendPacket(), SMSG_NEW_TAXI_PATH, SMSG_TAXI_NODE_STATUS, sObjectMgr, ByteBuffer::WriteBit(), ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by HandleTaxiQueryAvailableNodes(), and Player::PrepareGossipMenu().
| void WorldSession::SendLfgBootProposalUpdate | ( | lfg::LfgPlayerBoot const & | boot | ) |
Definition at line 892 of file LFGHandler.cpp.
References lfg::LfgPlayerBoot::cancelTime, ByteBuffer::FlushBits(), Object::GetGUID(), GetPlayer(), GetPlayerInfo(), GUID_LOPART(), lfg::LfgPlayerBoot::inProgress, lfg::LFG_ANSWER_AGREE, lfg::LFG_ANSWER_PENDING, lfg::LFG_GROUP_KICK_VOTES_NEEDED, lfg::LfgPlayerBoot::reason, SendPacket(), SF_LOG_DEBUG, SMSG_LFD_BOOT_PROPOSAL_UPDATE, lfg::LfgPlayerBoot::victim, lfg::LfgPlayerBoot::votes, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), ByteBuffer::WriteGuidBytes(), ByteBuffer::WriteGuidMask(), and ByteBuffer::WriteString().
| void WorldSession::SendLfgClearStatus | ( | uint64 | lfgGroupGuid = 0, |
| uint8 | queueIdOverride = 0, | ||
| bool | groupLeave = false ) |
Definition at line 1048 of file LFGHandler.cpp.
References lfg::LFG_UPDATETYPE_LEADER_UNK1, lfg::LFG_UPDATETYPE_REMOVED_FROM_QUEUE, SendLfgLfrList(), and SendLfgUpdateStatus().
Referenced by Group::Disband(), and HandleLfgLeaveOpcode().
| void WorldSession::SendLfgDisabled | ( | ) |
Definition at line 1059 of file LFGHandler.cpp.
References GetPlayerInfo(), SendPacket(), SF_LOG_DEBUG, and SMSG_LFD_DISABLED.
| void WorldSession::SendLfgJoinResult | ( | lfg::LfgJoinResultData const & | joinData | ) |
Definition at line 790 of file LFGHandler.cpp.
References _player, ByteBuffer::FlushBits(), Object::GetGUID(), GetPlayer(), GetPlayerInfo(), lfg::LfgJoinResultData::lockmap, lfg::LfgJoinResultData::result, SendPacket(), SF_LOG_DEBUG, sLFGMgr, SMSG_LFD_JOIN_RESULT, lfg::LfgJoinResultData::state, ByteBuffer::WriteBits(), ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by HandleLfrJoinOpcode(), and lfg::LFGMgr::JoinLfg().
| void WorldSession::SendLfgLfrList | ( | bool | update | ) |
Definition at line 1039 of file LFGHandler.cpp.
References GetPlayerInfo(), SendPacket(), SF_LOG_DEBUG, and SMSG_LFG_UPDATE_SEARCH.
Referenced by HandleLfgGetStatus(), and SendLfgClearStatus().
| void WorldSession::SendLfgOfferContinue | ( | uint32 | dungeonEntry | ) |
Definition at line 1066 of file LFGHandler.cpp.
References GetPlayerInfo(), SendPacket(), SF_LOG_DEBUG, and SMSG_LFD_OFFER_CONTINUE.
Referenced by lfg::LFGGroupScript::OnRemoveMember().
| void WorldSession::SendLfgPartyLockInfo | ( | ) |
Definition at line 461 of file LFGHandler.cpp.
References BuildPartyLockDungeonBlock(), Group::GetFirstMember(), Player::GetGroup(), Object::GetGUID(), GetPlayer(), GetPlayerInfo(), GroupReference::next(), SendPacket(), SF_LOG_DEBUG, sLFGMgr, and SMSG_LFD_PARTY_INFO.
Referenced by HandleLFDGetLockInfoOpcode().
| void WorldSession::SendLfgPlayerLockInfo | ( | ) |
Definition at line 322 of file LFGHandler.cpp.
References ByteBuffer::append(), Player::CanRewardQuest(), ItemTemplate::DisplayInfoID, Expansion(), lfg::LfgReward::firstQuest, ByteBuffer::FlushBits(), Player::GetGroup(), Object::GetGUID(), Unit::getLevel(), GetPlayer(), GetPlayerInfo(), Quest::GetRewCurrencyCount(), Quest::GetRewItemsCount(), Quest::GetRewMoney(), lfg::LFG_ROLE_SHORTAGE_MAX, lfg::LfgReward::otherQuest, lfg::PLAYER_ROLE_DAMAGE, lfg::PLAYER_ROLE_HEALER, lfg::PLAYER_ROLE_TANK, QUEST_REWARD_CURRENCY_COUNT, QUEST_REWARDS_COUNT, Quest::RewardCurrencyCount, Quest::RewardCurrencyId, Quest::RewardItemId, Quest::RewardItemIdCount, SendPacket(), SF_LOG_DEBUG, sLFGMgr, SMSG_LFD_PLAYER_INFO, sObjectMgr, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), ByteBuffer::WriteGuidBytes(), ByteBuffer::WriteGuidMask(), and Quest::XPValue().
Referenced by HandleLFDGetLockInfoOpcode().
| void WorldSession::SendLfgPlayerReward | ( | lfg::LfgPlayerRewardData const & | lfgPlayerRewardData | ) |
Definition at line 875 of file LFGHandler.cpp.
References BuildQuestReward(), lfg::LfgPlayerRewardData::done, GetPlayer(), GetPlayerInfo(), Quest::GetRewCurrencyCount(), Quest::GetRewItemsCount(), lfg::LfgPlayerRewardData::quest, lfg::LfgPlayerRewardData::rdungeonEntry, lfg::LfgPlayerRewardData::sdungeonEntry, SendPacket(), SF_LOG_DEBUG, and SMSG_LFG_PLAYER_REWARD.
Referenced by lfg::LFGMgr::FinishDungeon().
| void WorldSession::SendLfgQueueStatus | ( | lfg::LfgQueueStatusData const & | queueData | ) |
Definition at line 842 of file LFGHandler.cpp.
References _player, lfg::LfgQueueStatusData::dps, lfg::LfgQueueStatusData::dungeonId, GetPlayerInfo(), lfg::LfgQueueStatusData::healers, lfg::LfgQueueStatusData::joinTime, lfg::LfgQueueStatusData::queuedTime, lfg::LfgQueueStatusData::queueId, SendPacket(), SF_LOG_DEBUG, SMSG_LFD_QUEUE_STATUS, lfg::LfgQueueStatusData::tanks, lfg::LfgQueueStatusData::waitTime, lfg::LfgQueueStatusData::waitTimeAvg, lfg::LfgQueueStatusData::waitTimeDps, lfg::LfgQueueStatusData::waitTimeHealer, lfg::LfgQueueStatusData::waitTimeTank, ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
| void WorldSession::SendLfgRoleCheckUpdate | ( | lfg::LfgRoleCheck const & | pRoleCheck | ) |
Definition at line 718 of file LFGHandler.cpp.
References lfg::LfgRoleCheck::dungeons, ObjectAccessor::FindPlayer(), ByteBuffer::FlushBits(), Unit::getLevel(), GetPlayerInfo(), lfg::LfgRoleCheck::leader, lfg::LFG_ROLECHECK_FINISHED, lfg::LFG_ROLECHECK_INITIALITING, lfg::LfgRoleCheck::rDungeonId, lfg::LfgRoleCheck::roles, SendPacket(), SF_LOG_DEBUG, sLFGMgr, SMSG_LFD_ROLE_CHECK_UPDATE, lfg::LfgRoleCheck::state, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Definition at line 700 of file LFGHandler.cpp.
References ByteBuffer::FlushBits(), GetPlayerInfo(), GUID_LOPART(), SendPacket(), SF_LOG_DEBUG, SMSG_LFG_ROLE_CHOSEN, ByteBuffer::WriteBit(), ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
| void WorldSession::SendLfgTeleportError | ( | uint8 | err | ) |
Definition at line 1075 of file LFGHandler.cpp.
References ByteBuffer::FlushBits(), GetPlayerInfo(), SendPacket(), SF_LOG_DEBUG, SMSG_LFD_TELEPORT_DENIED, and ByteBuffer::WriteBits().
Referenced by lfg::LFGMgr::TeleportPlayer().
| void WorldSession::SendLfgUpdateProposal | ( | lfg::LfgProposal const & | proposal | ) |
Definition at line 950 of file LFGHandler.cpp.
References ByteBuffer::append(), lfg::LfgProposal::dungeonId, lfg::LfgProposal::encounters, ByteBuffer::FlushBits(), Object::GetGUID(), GetPlayer(), GetPlayerInfo(), lfg::LfgProposal::group, lfg::LfgProposal::id, lfg::LfgProposal::isNew, lfg::LfgProposal::leader, lfg::LFG_ANSWER_AGREE, lfg::LFG_ANSWER_PENDING, lfg::LfgProposal::players, SendPacket(), SF_LOG_DEBUG, sLFGMgr, SMSG_LFD_PROPOSAL_UPDATE, lfg::LfgProposal::state, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
| void WorldSession::SendLfgUpdateStatus | ( | lfg::LfgUpdateData const & | updateData, |
| bool | party, | ||
| uint64 | queueGuidOverride = 0, | ||
| uint8 | queueIdOverride = 0 ) |
Definition at line 593 of file LFGHandler.cpp.
References _player, lfg::LfgUpdateData::comment, lfg::LfgUpdateData::dungeons, ByteBuffer::FlushBits(), GetPlayerInfo(), lfg::LFG_STATE_QUEUED, lfg::LFG_UPDATETYPE_ADDED_TO_QUEUE, lfg::LFG_UPDATETYPE_JOIN_QUEUE, lfg::LFG_UPDATETYPE_JOIN_QUEUE_INITIAL, lfg::LFG_UPDATETYPE_PROPOSAL_BEGIN, lfg::LFG_UPDATETYPE_REMOVED_FROM_QUEUE, lfg::LFG_UPDATETYPE_UPDATE_STATUS, SendPacket(), SF_LOG_DEBUG, sLFGMgr, SMSG_LFD_UPDATE_STATUS, lfg::LfgUpdateData::state, lfg::LfgUpdateData::updateType, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), ByteBuffer::WriteGuidBytes(), ByteBuffer::WriteGuidMask(), and ByteBuffer::WriteString().
Referenced by HandleLfgGetStatus(), lfg::LFGMgr::JoinLfg(), lfg::LFGPlayerScript::OnLogin(), lfg::LFGGroupScript::OnRemoveMember(), and SendLfgClearStatus().
| void WorldSession::SendListInventory | ( | uint64 | guid | ) |
Definition at line 663 of file ItemHandler.cpp.
References _player, ALLIANCE, ItemTemplate::AllowableClass, ByteBuffer::append(), BIND_WHEN_PICKED_UP, ItemTemplate::Bonding, ItemTemplate::BuyCount, ItemTemplate::BuyPrice, CalculatePct(), ItemTemplate::DisplayInfoID, VendorItem::ExtendedCost, ItemTemplate::Flags2, Object::GetEntry(), VendorItemData::GetItem(), VendorItemData::GetItemCount(), Player::GetNPCIfCanInteractWith(), GetPlayer(), Creature::GetVendorItemCurrentCount(), Creature::GetVendorItems(), GUID_LOPART(), Unit::HasUnitState(), HORDE, Unit::IsArmorer(), VendorItem::IsGoldRequired(), VendorItem::item, ITEM_FLAGS_EXTRA_ALLIANCE_ONLY, ITEM_FLAGS_EXTRA_HORDE_ONLY, ITEM_VENDOR_TYPE_CURRENCY, ITEM_VENDOR_TYPE_ITEM, MAX_VENDOR_ITEMS, VendorItem::maxcount, Unit::RemoveAurasByType(), sConditionMgr, sCurrencyTypesStore, SELL_ERR_CANT_FIND_VENDOR, SendPacket(), SF_LOG_DEBUG, ByteBuffer::size(), SMSG_LIST_INVENTORY, sObjectMgr, SPELL_AURA_FEIGN_DEATH, SPELL_AURA_MOD_VENDOR_ITEMS_PRICES, Unit::StopMoving(), VendorItem::Type, UNIT_NPC_FLAG_VENDOR, UNIT_STATE_DIED, UNIT_STATE_MOVING, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), and ByteBuffer::WriteByteSeq().
Referenced by HandleListInventoryOpcode(), Player::OnGossipSelect(), npc_prof_alchemy::SendActionMenu(), npc_prof_blacksmith::SendActionMenu(), npc_prof_leather::SendActionMenu(), npc_prof_tailor::SendActionMenu(), LuaPlayer::SendListInventory(), and LuaPlayer::SendVendorWindow().
| void WorldSession::SendLoadCUFProfiles | ( | ) |
Definition at line 2840 of file MiscHandler.cpp.
References ByteBuffer::append(), CUFProfile::BoolOptions, CUF_AUTO_ACTIVATE_10_PLAYERS, CUF_AUTO_ACTIVATE_15_PLAYERS, CUF_AUTO_ACTIVATE_25_PLAYERS, CUF_AUTO_ACTIVATE_2_PLAYERS, CUF_AUTO_ACTIVATE_3_PLAYERS, CUF_AUTO_ACTIVATE_40_PLAYERS, CUF_AUTO_ACTIVATE_5_PLAYERS, CUF_AUTO_ACTIVATE_PVE, CUF_AUTO_ACTIVATE_PVP, CUF_AUTO_ACTIVATE_SPEC_1, CUF_AUTO_ACTIVATE_SPEC_2, CUF_DISPLAY_AGGRO_HIGHLIGHT, CUF_DISPLAY_BORDER, CUF_DISPLAY_HEAL_PREDICTION, CUF_DISPLAY_HORIZONTAL_GROUPS, CUF_DISPLAY_MAIN_TANK_AND_ASSIST, CUF_DISPLAY_NON_BOSS_DEBUFFS, CUF_DISPLAY_ONLY_DISPELLABLE_DEBUFFS, CUF_DISPLAY_PETS, CUF_DISPLAY_POWER_BAR, CUF_KEEP_GROUPS_TOGETHER, CUF_UNK_145, CUF_UNK_156, CUF_UNK_157, CUF_USE_CLASS_COLORS, ByteBuffer::FlushBits(), CUFProfile::FrameHeight, CUFProfile::FrameWidth, Player::GetCUFProfile(), Player::GetCUFProfilesCount(), GetPlayer(), CUFProfile::HealthText, MAX_CUF_PROFILES, CUFProfile::ProfileName, SendPacket(), SMSG_LOAD_CUF_PROFILES, CUFProfile::SortBy, CUFProfile::Unk146, CUFProfile::Unk147, CUFProfile::Unk148, CUFProfile::Unk150, CUFProfile::Unk152, CUFProfile::Unk154, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), and ByteBuffer::WriteString().
Referenced by Player::SendInitialPacketsAfterAddToMap().
| void WorldSession::SendModifyCooldown | ( | ObjectGuid | UnitGUID, |
| int32 | DeltaTime, | ||
| int32 | SpellID ) |
Definition at line 1933 of file SpellHandler.cpp.
References SendPacket(), SMSG_MODIFY_COOLDOWN, ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by Unit::HandleDummyAuraProc(), and Player::ModifySpellCooldown().
| void WorldSession::SendNameQueryOpcode | ( | ObjectGuid | guid | ) |
Definition at line 22 of file QueryHandler.cpp.
References ObjectAccessor::FindPlayer(), ByteBuffer::FlushBits(), GetAccountId(), Player::GetDeclinedNames(), GUID_LOPART(), CharacterNameData::m_class, CharacterNameData::m_gender, CharacterNameData::m_level, CharacterNameData::m_name, CharacterNameData::m_race, CharacterNameData::m_realm, MAX_DECLINED_NAME_CASES, DeclinedName::name, SendPacket(), SMSG_QUERY_PLAYER_NAME_RESPONSE, sWorld, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), ByteBuffer::WriteByteSeq(), ByteBuffer::WriteGuidBytes(), ByteBuffer::WriteGuidMask(), and ByteBuffer::WriteString().
Referenced by HandleNameQueryOpcode(), and lfg::LFGPlayerScript::OnMapChanged().
| void WorldSession::SendNotification | ( | const char * | format, |
| ... ) |
Definition at line 626 of file WorldSession.cpp.
References ByteBuffer::append(), ByteBuffer::FlushBits(), SendPacket(), SMSG_NOTIFICATION, vsnprintf, and ByteBuffer::WriteBits().
Referenced by MapManager::CanPlayerEnter(), HandleAcceptTradeOpcode(), BattlegroundAB::HandleAreaTrigger(), BattlegroundAV::HandleAreaTrigger(), HandleBattlemasterHelloOpcode(), misc_commandscript::HandleDevCommand(), gm_commandscript::HandleGMCommand(), HandleGMTicketCreateOpcode(), gm_commandscript::HandleGMVisibleCommand(), HandleInitiateTradeOpcode(), HandleMessagechatOpcode(), HandlePlayerLogin(), HandleSendMail(), send_commandscript::HandleSendMessageCommand(), HandleSubmitBugOpcode(), HandleSubmitSuggestOpcode(), HandleTextEmoteOpcode(), HandleWhoisOpcode(), HandleWorldTeleportOpcode(), Player::Satisfy(), SendAuctionHello(), and LuaPlayer::SendNotification().
| void WorldSession::SendNotification | ( | uint32 | string_id, |
| ... ) |
Definition at line 646 of file WorldSession.cpp.
References ByteBuffer::append(), ByteBuffer::FlushBits(), GetSkyFireString(), SendPacket(), SMSG_NOTIFICATION, vsnprintf, and ByteBuffer::WriteBits().
| void WorldSession::SendPacket | ( | WorldPacket const * | packet, |
| bool | forced = false ) |
Send a packet to the client.
Definition at line 196 of file WorldSession.cpp.
References WorldPacket::GetOpcode(), GetOpcodeNameForLogging(), GetPlayerInfo(), m_Socket, NULL_OPCODE, serverOpcodeTable, SF_LOG_ERROR, SF_LOG_INFO, ByteBuffer::size(), OpcodeHandler::Status, STATUS_UNHANDLED, UI64FMTD, UNKNOWN_OPCODE, and ByteBuffer::wpos().
Referenced by Player::_GetCurrencyWeekCap(), Pet::_LoadSpellCooldowns(), Player::_StoreOrEquipNewItem(), Battleground::AddPlayer(), InstanceMap::AddPlayerToMap(), Player::AddRunePower(), Player::addSpell(), Player::ApplyEquipCooldown(), Player::BindToInstance(), Group::BroadcastPacket(), Group::BroadcastReadyCheck(), SocialMgr::BroadcastToFriendListers(), Player::BuildPlayerRepop(), MapManager::CanPlayerEnter(), Player::CharmSpellInitialize(), Player::CheckDuelDistance(), Player::ConvertRune(), Object::DestroyForPlayer(), Group::Disband(), Player::DuelComplete(), Spell::EffectDuel(), Player::EquipItem(), BGQueueInviteEvent::Execute(), BGQueueRemoveEvent::Execute(), ChannelMgr::GetChannel(), Player::GiveLevel(), Guild::GiveXP(), LuaPlayer::GossipSendPOI(), HandleAuctionListBidderItems(), HandleAuctionListItems(), HandleAuctionListOwnerItems(), HandleAuctionListPendingSales(), AuraEffect::HandleAuraForceWeather(), HandleBattleCharBoost(), HandleBattlefieldListOpcode(), HandleBattleFieldPortOpcode(), HandleBattlefieldRatedInfoRequest(), HandleBattlefieldStatusOpcode(), HandleBattlegroundPlayerPositionsOpcode(), HandleBattlemasterJoinArena(), HandleBattlemasterJoinOpcode(), HandleBattlePetQueryName(), HandleBuyBankSlotOpcode(), HandleCalendarGetCalendar(), HandleCalendarGetNumPending(), HandleChallengeModeRequestLeaders(), HandleChallengeModeRequestMapStats(), HandleChangePlayerNameOpcodeCallBack(), HandleCharCreateCallback(), HandleCharCreateOpcode(), HandleCharCustomize(), HandleCharDeleteOpcode(), HandleCharEnum(), HandleCharFactionOrRaceChange(), HandleCharRenameOpcode(), HandleChatIgnoredOpcode(), HandleComplainOpcode(), HandleCorpseMapPositionQuery(), HandleCorpseQueryOpcode(), HandleCreatureQueryOpcode(), debug_commandscript::HandleDebugSendChannelNotifyCommand(), debug_commandscript::HandleDebugSendChatMsgCommand(), debug_commandscript::HandleDebugSendSpellFailCommand(), spell_gen_spirit_healer_res::spell_gen_spirit_healer_res_SpellScript::HandleDummy(), HandleEquipmentSetUse(), HandleGameObjectQueryOpcode(), HandleGetChallengeModeRewards(), HandleGetChannelMemberCount(), HandleGetMailList(), HandleGMResponseResolve(), HandleGMTicketCaseStatusOpcode(), HandleGMTicketSystemStatusOpcode(), HandleGrantLevel(), HandleGroupInviteResponseOpcode(), Guild::HandleGuildPartyRequest(), HandleGuildRequestChallengeUpdate(), HandleGuildRequestMaxDailyXP(), HandleGuildRewardsQueryOpcode(), HandleInitiateTradeOpcode(), HandleInspectHonorStatsOpcode(), Guild::HandleInviteMember(), HandleItemTextQuery(), HandleLogoutCancelOpcode(), HandleLogoutRequestOpcode(), HandleLootMoneyOpcode(), HandleLootOpcode(), HandleMirrorImageDataRequest(), modify_commandscript::HandleModifySpellCommand(), Guild::HandleNewsSetSticky(), HandleNpcTextQueryOpcode(), HandleOfferPetitionOpcode(), HandlePageTextQueryOpcode(), HandlePetitionRenameOpcode(), HandlePetitionShowSignOpcode(), HandlePlayedTime(), HandlePlayerLogin(), AuraEffect::HandlePlayScene(), HandlePVPLogDataOpcode(), Guild::HandleQuery(), HandleQueryNextMailTime(), HandleQueryQuestsCompleted(), HandleQuestNPCQuery(), HandleQuestPOIQuery(), HandleRandomizeCharNameOpcode(), HandleRandomRollOpcode(), HandleReadItem(), HandleRealmSplitOpcode(), HandleRequestAccountData(), HandleRequestCategoryCooldowns(), HandleRequestCemeteryList(), HandleRequestConquestFormulaConstants(), HandleRequestHotfix(), HandleRequestPvpOptions(), Guild::HandleRoster(), Guild::HandleSetMemberNote(), HandleSetPlayerDeclinedNames(), HandleTurnInPetitionOpcode(), HandleUpdateAccountData(), HandleVoidStorageQuery(), HandleVoidStorageTransfer(), HandleVoidSwapItem(), HandleWhoisOpcode(), HandleWhoOpcode(), HandleWorldStateUITimerUpdate(), BattlegroundQueue::InviteGroupToBG(), Pet::learnSpell(), Player::learnSpell(), LogoutPlayer(), ArenaTeam::MassInviteToEvent(), Guild::MassInviteToEvent(), Group::MasterLoot(), Player::ModifyCurrency(), WorldObject::MonsterWhisper(), WorldObject::MonsterWhisper(), InstanceMap::PermBindAllPlayers(), Player::PetSpellInitialize(), Player::PossessSpellInitialize(), Player::ProhibitSpellSchool(), Group::RemoveMember(), Player::RemovePet(), Player::removeSpell(), Player::RepopAtGraveyard(), Player::ResurrectPlayer(), Player::ResyncRunes(), Player::RewardHonor(), Player::SatisfyQuestLog(), SendAccountDataTimes(), AchievementMgr< Guild >::SendAchievementInfo(), Player::SendActionButtons(), SendActivateTaxiReply(), SendAddonsInfo(), AchievementMgr< Guild >::SendAllAchievementData(), Battlefield::SendAreaSpiritHealerQueryOpcode(), BattlegroundMgr::SendAreaSpiritHealerQueryOpcode(), SendAttackStop(), Player::SendAttackSwingCancelAttack(), Player::SendAttackSwingError(), SendAuctionBidderNotification(), SendAuctionCommandResult(), SendAuctionHello(), LuaPlayer::SendAuctionMenu(), BlackMarketMgr::SendAuctionOutbidded(), SendAuctionOwnerNotification(), SendAuctionRemovedNotification(), BlackMarketMgr::SendAuctionWon(), Player::SendAurasForTarget(), SendAuthResponse(), SendAuthWaitQue(), Player::SendAutoRepeatCancel(), Guild::SendBankList(), Guild::SendBankLog(), SendBarberShopResult(), SendBattleGroundList(), SendBattlePayDistributionUpdate(), SendBfEntered(), SendBfInvitePlayerToQueue(), SendBfInvitePlayerToWar(), SendBfLeaveMessage(), SendBfQueueInviteResponse(), SendBlackMarketBidOnItemResult(), SendBlackMarketHello(), SendBlackMarketRequestItemsResult(), SendBroadcastText(), Player::SendBuyFailed(), SendCalendarRaidLockout(), SendCalendarRaidLockoutUpdated(), Player::SendCanTakeQuestResponse(), Spell::SendCastResult(), SendCharacterLoginFailed(), SendChatRestrictedNotice(), SendClientCacheVersion(), Player::SendComboPoints(), Guild::SendCommandResult(), Player::SendCorpseReclaimDelay(), Player::SendCurrencies(), Player::SendDeclineGuildInvitation(), Object::SendDestroyObject(), SendDiscoverNewTaxiNode(), Player::SendDuelCountdown(), Player::SendDungeonDifficulty(), Unit::SendDurabilityLoss(), Player::SendEquipError(), Player::SendEquipmentSetList(), Guild::SendEventLog(), Player::SendExplorationExperience(), SendFeatureSystemStatusGlueScreen(), WeatherMgr::SendFineWeatherUpdateToPlayer(), SocialMgr::SendFriendStatus(), Player::SendGameError(), World::SendGlobalGMMessage(), TicketMgr::SendGmResponsee(), TicketMgr::SendGmTicket(), TicketMgr::SendGmTicketUpdate(), SendGroupInviteNotification(), Guild::SendGuildRankInfo(), Guild::SendGuildReputationWeeklyCap(), Guild::SendGuildXP(), Player::SendInitialPacketsBeforeAddToMap(), Player::SendInitialSpells(), Map::SendInitSelf(), Map::SendInitTransports(), Player::SendInstanceResetWarning(), SendItemEnchantTimeUpdate(), SendItemExpirePurchaseRefund(), Player::SendItemRefundResult(), SendLearnNewTaxiNode(), SendLfgBootProposalUpdate(), SendLfgDisabled(), SendLfgJoinResult(), SendLfgLfrList(), SendLfgOfferContinue(), SendLfgPartyLockInfo(), SendLfgPlayerLockInfo(), SendLfgPlayerReward(), SendLfgQueueStatus(), SendLfgRoleCheckUpdate(), SendLfgRoleChosen(), SendLfgTeleportError(), SendLfgUpdateProposal(), SendLfgUpdateStatus(), SendListInventory(), SendLoadCUFProfiles(), Guild::SendLoginInfo(), Player::SendLogXPGain(), Group::SendLootAllPassed(), Group::SendLootRoll(), Group::SendLootRollWon(), Group::SendLootStartRoll(), Group::SendLootStartRollToPlayer(), Player::SendMailResult(), Player::SendMessageToSet(), Player::SendMessageToSetInRange(), Player::SendMessageToSetInRange(), Player::SendMirrorTimer(), SendModifyCooldown(), Guild::SendMoneyInfo(), Unit::SendMoveKnockBack(), SendNameQueryOpcode(), Player::SendNewCurrency(), Player::SendNewItem(), Player::SendNewMail(), Guild::SendNewsUpdate(), CreatureTextMgr::SendNonChatPacket(), SendNotification(), SendNotification(), Player::SendNotifyLootItemRemoved(), Player::SendNotifyLootMoneyRemoved(), Player::SendOnCancelExpectedVehicleRideAura(), WorldStateBuilder::SendPacket(), LuaPlayer::SendPacketToPlayer(), SendPartyResult(), Guild::SendPermissions(), Unit::SendPetActionFeedback(), Unit::SendPetAIReaction(), SendPetitionQueryOpcode(), SendPetitionShowList(), SendPetitionSignResults(), SendPetNameInvalid(), Unit::SendPetTalk(), SendPlayerAmbiguousNotice(), SendPlayerNotFoundNotice(), SendPlayMusic(), WorldObject::SendPlaySound(), Player::SendProficiency(), Player::SendPushToPartyResponse(), Player::SendPvpRewards(), SendQueryTimeResponse(), Player::SendQuestComplete(), Player::SendQuestConfirmAccept(), Player::SendQuestFailed(), SendQuestgiverStatusMultiple(), Player::SendQuestReward(), Player::SendQuestTimerFailed(), Player::SendQuestUpdateAddCredit(), Player::SendQuestUpdateAddPlayer(), Player::SendRaidDifficulty(), Player::SendRaidInfo(), SendRealmNameQueryOpcode(), SendReforgeResult(), Player::SendRefundInfo(), Player::SendRemoveControlBar(), Map::SendRemoveTransports(), Player::SendResearchHistory(), Player::SendResetFailedNotify(), Player::SendResetInstanceFailed(), Player::SendResetInstanceSuccess(), Spell::SendResurrectRequest(), Player::SendSavedInstances(), Guild::SendSaveEmblemResult(), Player::SendSellResponse(), World::SendServerMessage(), SendSetPhaseShift(), SendShowBank(), PlayerSocial::SendSocialList(), SendStablePetCallback(), SendStableResult(), ArenaTeam::SendStats(), Player::SendSurveyCastInfo(), SendTabardVendorActivate(), Player::SendTalentsInfoData(), Player::SendTalentWipeConfirm(), Group::SendTargetIconList(), SendTaxiMenu(), SendTaxiStatus(), Guild::BankTab::SendText(), Player::SendTimeSync(), Item::SendTimeUpdate(), SendTimezoneInformation(), SendTitleEarned(), SendTitleLost(), SendTradeStatus(), SendTrainerBuyFailed(), SendTrainerList(), Player::SendTransferAborted(), SendTutorialsData(), SendUpdateSockets(), Group::SendUpdateToPlayer(), Object::SendUpdateToPlayer(), SendUpdateTrade(), Player::SendUpdateWorldState(), SendVoidStorageTransferResult(), Weather::SendWeatherUpdateToPlayer(), SendWrongFactionNotice(), Player::SetBindPoint(), Player::SetClientControl(), Player::SetEquipmentSet(), Unit::SetStandState(), Player::ShowNeutralPlayerFactionSelectUI(), Player::SolveResearchProject(), Player::StopMirrorTimer(), LuaPlayer::SummonPlayer(), Player::TeleportTo(), Pet::unlearnSpell(), Player::UpdateConquestCurrencyCap(), Player::UpdateForQuestWorldObjects(), Player::UpdateHomebindTime(), Group::UpdatePlayerOutOfRange(), Player::UpdateTriggerVisibility(), Player::VehicleSpellInitialize(), Player::Whisper(), and Player::WhisperAddon().
| void WorldSession::SendPageText | ( | ObjectGuid | GameObjectGUID | ) |
Definition at line 2971 of file MiscHandler.cpp.
References _player, SMSG_PAGETEXT, ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by GameObject::Use().
| void WorldSession::SendPartyResult | ( | PartyOperation | operation, |
| std::string const & | member, | ||
| PartyResult | res, | ||
| uint32 | val = 0 ) |
Definition at line 37 of file GroupHandler.cpp.
References SendPacket(), and SMSG_PARTY_COMMAND_RESULT.
Referenced by HandleGroupDisbandOpcode(), HandleGroupInviteOpcode(), HandleGroupInviteResponseOpcode(), HandleGroupRaidConvertOpcode(), and HandleGroupUninviteGuidOpcode().
| void WorldSession::SendPetitionQueryOpcode | ( | uint64 | petitionguid | ) |
Definition at line 238 of file PetitionsHandler.cpp.
References CHAR_SEL_PETITION, CharacterDatabase, CONFIG_MIN_PETITION_SIGNS, ByteBuffer::FlushBits(), Field::GetString(), Field::GetUInt8(), GUID_LOPART(), HIGHGUID_PLAYER, MAKE_NEW_GUID(), SendPacket(), PreparedStatement::setUInt32(), SF_LOG_DEBUG, SMSG_PETITION_QUERY_RESPONSE, sWorld, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), ByteBuffer::WriteGuidBytes(), ByteBuffer::WriteGuidMask(), ByteBuffer::WriteString(), and YEAR.
Referenced by HandlePetitionQueryOpcode(), and Player::RemovePetitionsAndSigns().
| void WorldSession::SendPetitionShowList | ( | uint64 | guid | ) |
Definition at line 738 of file PetitionsHandler.cpp.
References Player::GetNPCIfCanInteractWith(), GetPlayer(), GUID_LOPART(), GUILD_CHARTER_COST, SendPacket(), SF_LOG_DEBUG, SMSG_PETITION_SHOWLIST, UNIT_NPC_FLAG_PETITIONER, ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by HandlePetitionShowListOpcode(), and Player::OnGossipSelect().
| void WorldSession::SendPetitionSignResults | ( | ObjectGuid | petitionGuid, |
| ObjectGuid | playerGuid, | ||
| uint8 | result ) |
Definition at line 760 of file PetitionsHandler.cpp.
References ByteBuffer::FlushBits(), SendPacket(), SMSG_PETITION_SIGN_RESULTS, ByteBuffer::WriteBits(), ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by HandlePetitionDeclineOpcode(), and HandlePetitionSignOpcode().
| void WorldSession::SendPetNameInvalid | ( | uint32 | error, |
| std::string const & | name, | ||
| DeclinedName * | declinedName, | ||
| uint32 | petNumber ) |
Definition at line 1356 of file PetHandler.cpp.
References ByteBuffer::FlushBits(), MAX_DECLINED_NAME_CASES, DeclinedName::name, SendPacket(), SMSG_PET_NAME_INVALID, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), and ByteBuffer::WriteString().
| void WorldSession::SendPetNameQuery | ( | ObjectGuid | guid, |
| uint64 | petNumber ) |
Definition at line 1088 of file PetHandler.cpp.
References _player, ByteBuffer::FlushBits(), ObjectAccessor::GetCreatureOrPetOrVehicle(), WorldObject::GetName(), Object::GetUInt32Value(), Unit::IsPet(), MAX_DECLINED_NAME_CASES, SMSG_PET_NAME_QUERY_RESPONSE, UNIT_FIELD_PET_NAME_TIMESTAMP, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), and ByteBuffer::WriteString().
Referenced by HandlePetNameQuery().
| void WorldSession::SendPlayerAmbiguousNotice | ( | std::string const & | name | ) |
Definition at line 837 of file ChatHandler.cpp.
References ByteBuffer::FlushBits(), SendPacket(), SMSG_CHAT_PLAYER_AMBIGUOUS, and ByteBuffer::WriteBits().
| void WorldSession::SendPlayerNotFoundNotice | ( | std::string const & | name | ) |
Definition at line 828 of file ChatHandler.cpp.
References ByteBuffer::FlushBits(), SendPacket(), SMSG_CHAT_PLAYER_NOT_FOUND, and ByteBuffer::WriteBits().
Referenced by HandleMessagechatOpcode().
| void WorldSession::SendPlayMusic | ( | uint32 | SoundKitID | ) |
Definition at line 2964 of file MiscHandler.cpp.
References SendPacket(), and SMSG_PLAY_MUSIC.
| void WorldSession::SendQueryTimeResponse | ( | ) |
Definition at line 173 of file QueryHandler.cpp.
References SendPacket(), SMSG_QUERY_TIME_RESPONSE, and sWorld.
Referenced by HandleGMTicketGetTicketOpcode(), and HandleQueryTimeOpcode().
| void WorldSession::SendQuestgiverStatusMultiple | ( | ) |
Definition at line 828 of file QuestHandler.cpp.
References _player, ByteBuffer::append(), ByteBuffer::bitwpos(), DIALOG_STATUS_NONE, ByteBuffer::FlushBits(), GAMEOBJECT_TYPE_QUESTGIVER, ObjectAccessor::GetCreatureOrPetOrVehicle(), getDialogStatus(), Map::GetGameObject(), GameObject::GetGoType(), Object::GetGUID(), WorldObject::GetMap(), GetPlayer(), Object::HasFlag(), IS_CRE_OR_VEH_OR_PET_GUID(), IS_GAMEOBJECT_GUID(), Unit::IsHostileTo(), isLogingOut(), ByteBuffer::PutBits(), SendPacket(), SMSG_QUEST_GIVER_STATUS_MULTIPLE, sScriptMgr, UNIT_FIELD_NPC_FLAGS, UNIT_NPC_FLAG_QUESTGIVER, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), and ByteBuffer::WriteByteSeq().
Referenced by HandleQuestgiverStatusMultipleQuery(), and Player::StopCinematic().
| void WorldSession::SendRealmNameQueryOpcode | ( | uint32 | realmId | ) |
Definition at line 136 of file QueryHandler.cpp.
References ByteBuffer::FlushBits(), GetVirtualRealmID(), realmNameStore, SendPacket(), SMSG_REALM_NAME_QUERY_RESPONSE, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), and ByteBuffer::WriteString().
Referenced by HandleRealmNameQueryOpcode().
| void WorldSession::SendReforgeResult | ( | bool | success | ) |
Definition at line 1858 of file ItemHandler.cpp.
References ByteBuffer::FlushBits(), SendPacket(), SMSG_REFORGE_RESULT, and ByteBuffer::WriteBit().
Referenced by HandleReforgeItemOpcode().
| void WorldSession::SendRolePollInform | ( | ObjectGuid | guid, |
| uint8 | Index ) |
Definition at line 1301 of file GroupHandler.cpp.
References Group::BroadcastPacket(), Player::GetGroup(), GetPlayer(), SMSG_GROUP_ROLE_POLL_INFORM, ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by HandleLfgJoinOpcode().
| void WorldSession::SendSetPhaseShift | ( | std::set< uint32 > const & | phaseIds, |
| std::set< uint32 > const & | terrainswaps, | ||
| std::set< uint32 > const & | worldAreas ) |
Definition at line 2353 of file MiscHandler.cpp.
References _player, SendPacket(), SMSG_PHASE_SHIFT_CHANGE, ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by debug_commandscript::HandleDebugSendSetPhaseShiftCommand(), WorldObject::UpdateAreaPhase(), and Player::UpdatePhasing().
| void WorldSession::SendShowBank | ( | ObjectGuid | guid | ) |
Definition at line 74 of file NPCHandler.cpp.
References SendPacket(), SMSG_SHOW_BANK, ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by misc_commandscript::HandleBankCommand(), HandleBankerActivateOpcode(), Player::OnGossipSelect(), and LuaPlayer::SendShowBank().
| void WorldSession::SendSpiritResurrect | ( | ) |
Definition at line 409 of file NPCHandler.cpp.
References _player, WorldLocation::GetMapId(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), WorldSafeLocsEntry::map_id, sObjectMgr, WorldSafeLocsEntry::x, WorldSafeLocsEntry::y, and WorldSafeLocsEntry::z.
Referenced by HandleSpiritHealerActivateOpcode(), and LuaPlayer::SendSpiritResurrect().
| void WorldSession::SendStablePet | ( | uint64 | guid | ) |
Definition at line 502 of file NPCHandler.cpp.
References _player, _sendStabledPetCallback, CHAR_SEL_PET_SLOTS_DETAIL, CharacterDatabase, PET_SAVE_FIRST_STABLE_SLOT, PET_SAVE_LAST_STABLE_SLOT, PreparedStatement::setUInt32(), and PreparedStatement::setUInt8().
Referenced by HandleRequestStabledPetsOpcode(), and Player::OnGossipSelect().
| void WorldSession::SendStablePetCallback | ( | PreparedQueryResult | result, |
| uint64 | guid ) |
Definition at line 514 of file NPCHandler.cpp.
References _player, Unit::GetCharmInfo(), Object::GetEntry(), Unit::getLevel(), WorldObject::GetName(), CharmInfo::GetPetNumber(), Pet::getPetType(), GetPlayer(), Field::GetString(), HUNTER_PET, Unit::IsAlive(), ByteBuffer::put(), SendPacket(), SF_LOG_DEBUG, SMSG_PET_STABLE_LIST, and ByteBuffer::wpos().
Referenced by ProcessQueryCallbacks().
| void WorldSession::SendStableResult | ( | uint8 | guid | ) |
Definition at line 566 of file NPCHandler.cpp.
References SendPacket(), and SMSG_STABLE_RESULT.
Referenced by HandleBuyStableSlot(), HandleStablePet(), HandleStablePetCallback(), HandleStableSwapPet(), HandleStableSwapPetCallback(), HandleUnstablePet(), and HandleUnstablePetCallback().
| void WorldSession::SendTabardVendorActivate | ( | uint64 | guid | ) |
Definition at line 40 of file NPCHandler.cpp.
References SendPacket(), SMSG_TABARD_VENDOR_ACTIVATE, ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by Player::OnGossipSelect(), and LuaPlayer::SendTabardVendorActivate().
| void WorldSession::SendTaxiMenu | ( | Creature * | unit | ) |
Definition at line 106 of file TaxiHandler.cpp.
References PlayerTaxi::AppendTaximaskTo(), ByteBuffer::FlushBits(), Object::GetEntry(), Object::GetGUID(), WorldLocation::GetMapId(), GetPlayer(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), Player::isTaxiCheater(), Player::m_taxi, SendPacket(), Player::SetTaxiCheater(), SF_LOG_DEBUG, SMSG_SHOW_TAXI_NODES, sObjectMgr, TaxiMaskSize, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by HandleTaxiQueryAvailableNodes(), Player::OnGossipSelect(), and LuaPlayer::SendTaxiMenu().
| void WorldSession::SendTaxiStatus | ( | uint64 | guid | ) |
Definition at line 31 of file TaxiHandler.cpp.
References ByteBuffer::FlushBits(), Map::GetCreature(), WorldObject::GetMap(), WorldLocation::GetMapId(), GetPlayer(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), GUID_LOPART(), SendPacket(), SF_LOG_DEBUG, SMSG_TAXI_NODE_STATUS, sObjectMgr, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), and ByteBuffer::WriteByteSeq().
Referenced by HandleTaxiNodeStatusQueryOpcode().
| void WorldSession::SendTimezoneInformation | ( | ) |
Definition at line 1030 of file WorldSession.cpp.
References ByteBuffer::FlushBits(), SendPacket(), SMSG_SET_TIME_ZONE_INFORMATION, ByteBuffer::WriteBits(), and ByteBuffer::WriteString().
Referenced by World::AddSession_(), HandlePlayerLogin(), and World::RemoveQueuedPlayer().
| void WorldSession::SendTitleEarned | ( | uint32 | TitleIndex | ) |
Definition at line 2069 of file MiscHandler.cpp.
References SendPacket(), and SMSG_TITLE_EARNED.
Referenced by Player::SetTitle().
| void WorldSession::SendTitleLost | ( | uint32 | TitleIndex | ) |
Definition at line 2076 of file MiscHandler.cpp.
References SendPacket(), and SMSG_TITLE_LOST.
Referenced by Player::SetTitle().
| void WorldSession::SendTotemCreated | ( | ObjectGuid | TotemGUID, |
| uint32 | Duration, | ||
| uint32 | SpellID, | ||
| uint8 | Slot ) |
Definition at line 1921 of file SpellHandler.cpp.
References _player, SMSG_TOTEM_CREATED, ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by Totem::InitStats().
| void WorldSession::SendTradeStatus | ( | TradeStatus | status | ) |
Definition at line 20 of file TradeHandler.cpp.
References ByteBuffer::FlushBits(), WorldPacket::Initialize(), SendPacket(), SMSG_TRADE_STATUS, TRADE_STATUS_CURRENCY_NOT_TRADABLE, TRADE_STATUS_FAILED, TRADE_STATUS_INITIATED, TRADE_STATUS_NOT_ENOUGH_CURRENCY, TRADE_STATUS_NOT_ON_TAPLIST, TRADE_STATUS_PROPOSED, TRADE_STATUS_WRONG_REALM, ByteBuffer::WriteBit(), and ByteBuffer::WriteBits().
Referenced by HandleAcceptTradeOpcode(), HandleBeginTradeOpcode(), HandleInitiateTradeOpcode(), HandleSetTradeGoldOpcode(), HandleSetTradeItemOpcode(), and SendCancelTrade().
| void WorldSession::SendTrainerBuyFailed | ( | ObjectGuid | guid, |
| uint32 | spellId, | ||
| uint32 | reason ) |
Definition at line 279 of file NPCHandler.cpp.
References SendPacket(), SMSG_TRAINER_BUY_FAILED, ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by HandleTrainerBuySpellOpcode().
| void WorldSession::SendTrainerList | ( | uint64 | guid | ) |
Definition at line 94 of file NPCHandler.cpp.
References GetSkyFireString(), LANG_NPC_TAINER_HELLO, and SendTrainerList().
Referenced by HandleTrainerListOpcode(), Player::OnGossipSelect(), npc_prof_alchemy::SendActionMenu(), npc_prof_blacksmith::SendActionMenu(), npc_prof_leather::SendActionMenu(), npc_prof_tailor::SendActionMenu(), LuaPlayer::SendTrainerList(), and SendTrainerList().
| void WorldSession::SendTrainerList | ( | uint64 | guid, |
| std::string const & | strTitle ) |
Definition at line 100 of file NPCHandler.cpp.
References _player, ByteBuffer::bitwpos(), ByteBuffer::FlushBits(), Creature::GetCreatureTemplate(), Object::GetEntry(), Player::GetNPCIfCanInteractWith(), GetPlayer(), Creature::GetTrainerSpells(), GUID_LOPART(), TrainerSpell::learnedSpell, MAX_SPELL_EFFECTS, ByteBuffer::PutBits(), Unit::RemoveAurasByType(), TrainerSpell::reqLevel, TrainerSpell::reqSkill, TrainerSpell::reqSkillValue, SendPacket(), SF_LOG_DEBUG, SMSG_TRAINER_LIST, TrainerSpell::spell, SPELL_AURA_FEIGN_DEATH, TrainerSpell::spellCost, TrainerSpellData::spellList, sSpellMgr, TRAINER_SPELL_GREEN, TRAINER_SPELL_GREEN_DISABLED, TrainerSpellData::trainerType, UNIT_NPC_FLAG_TRAINER, UNIT_STATE_DIED, ByteBuffer::WriteBits(), ByteBuffer::WriteGuidBytes(), ByteBuffer::WriteGuidMask(), and ByteBuffer::WriteString().
| void WorldSession::SendTutorialsData | ( | ) |
Definition at line 835 of file WorldSession.cpp.
References m_Tutorials, MAX_ACCOUNT_TUTORIAL_VALUES, SendPacket(), and SMSG_TUTORIAL_FLAGS.
Referenced by World::AddSession_(), and World::RemoveQueuedPlayer().
| void WorldSession::SendUpdateSockets | ( | ObjectGuid | ItemGUID, |
| Item * | item ) |
Definition at line 1467 of file ItemHandler.cpp.
References BONUS_ENCHANTMENT_SLOT, Item::GetEnchantmentId(), SendPacket(), SMSG_SOCKET_GEMS_RESULT, SOCK_ENCHANTMENT_SLOT, SOCK_ENCHANTMENT_SLOT_3, ByteBuffer::WriteGuidBytes(), and ByteBuffer::WriteGuidMask().
Referenced by HandleSocketOpcode().
| void WorldSession::SendUpdateTrade | ( | bool | trader_data = true | ) |
Definition at line 74 of file TradeHandler.cpp.
References _player, ByteBuffer::append(), ByteBuffer::FlushBits(), Item::GetCount(), Object::GetDynamicUInt32Value(), Item::GetEnchantmentId(), TradeData::GetItem(), Item::GetItemRandomPropertyId(), Item::GetItemSuffixFactor(), TradeData::GetMoney(), TradeData::GetSpell(), Item::GetSpellCharges(), Item::GetTemplate(), Object::GetUInt32Value(), Object::GetUInt64Value(), Object::HasFlag(), ITEM_DYNAMIC_MODIFIERS, ITEM_FIELD_CREATOR, ITEM_FIELD_DURABILITY, ITEM_FIELD_DYNAMIC_FLAGS, ITEM_FIELD_GIFT_CREATOR, ITEM_FIELD_MAX_DURABILITY, ITEM_FLAG_WRAPPED, ItemTemplate::ItemId, ItemTemplate::LockID, MAX_GEM_SOCKETS, PERM_ENCHANTMENT_SLOT, SendPacket(), SMSG_TRADE_STATUS_EXTENDED, SOCK_ENCHANTMENT_SLOT, TRADE_SLOT_COUNT, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), and ByteBuffer::WriteByteSeq().
| void WorldSession::SendVoidStorageTransferResult | ( | VoidTransferError | result | ) |
Definition at line 19 of file VoidStorageHandler.cpp.
References SendPacket(), and SMSG_VOID_TRANSFER_RESULT.
Referenced by Player::AddVoidStorageItem(), Player::AddVoidStorageItemAtSlot(), Player::DeleteVoidStorageItem(), Player::GetVoidStorageItem(), HandleVoidStorageTransfer(), and HandleVoidSwapItem().
| void WorldSession::SendWrongFactionNotice | ( | ) |
Definition at line 846 of file ChatHandler.cpp.
References SendPacket(), and SMSG_CHAT_WRONG_FACTION.
Referenced by HandleMessagechatOpcode().
| void WorldSession::SetAccountData | ( | AccountDataType | type, |
| time_t | tm, | ||
| std::string const & | data ) |
Definition at line 775 of file WorldSession.cpp.
References CHAR_REP_ACCOUNT_DATA, CHAR_REP_PLAYER_ACCOUNT_DATA, CharacterDatabase, GetAccountId(), GLOBAL_CACHE_MASK, m_accountData, m_GUIDLow, PreparedStatement::setString(), PreparedStatement::setUInt32(), and PreparedStatement::setUInt8().
Referenced by HandleUpdateAccountData().
| void WorldSession::SetBoosting | ( | bool | boost, |
| bool | saveToDB = true ) |
Definition at line 9 of file BoostHandler.cpp.
References _accountId, LOGIN_UPD_ACCOUNT_BOOST, LoginDatabase, m_hasBoost, PreparedStatement::setBool(), and PreparedStatement::setUInt32().
|
inline |
Session in auth.queue currently.
Definition at line 308 of file WorldSession.h.
References m_inQueue.
Referenced by World::AddQueuedPlayer(), and World::RemoveQueuedPlayer().
|
inline |
Definition at line 496 of file WorldSession.h.
References m_latency.
Referenced by WorldSocket::HandlePing().
| void WorldSession::SetPlayer | ( | Player * | player | ) |
Definition at line 1100 of file WorldSession.cpp.
References _player, m_GUIDLow, and m_Socket.
Referenced by HandlePlayerLogin(), Player::LoadFromDB(), and LogoutPlayer().
|
inline |
Definition at line 300 of file WorldSession.h.
References _security.
Definition at line 442 of file WorldSession.h.
References m_Tutorials, and m_TutorialsChanged.
Referenced by HandleTutorialClear(), HandleTutorialFlag(), and HandleTutorialReset().
|
inline |
Definition at line 290 of file WorldSession.h.
References m_virtualRealmID, and SetVirtualRealmID().
Referenced by WorldSocket::HandleAuthSession(), and SetVirtualRealmID().
|
inline |
Is logout cooldown expired?
Definition at line 320 of file WorldSession.h.
References _logoutTime.
Referenced by Update().
| bool WorldSession::Update | ( | uint32 | diff, |
| PacketFilter & | updater ) |
Update the WorldSession (triggered by World update).
Update Timeout timer.
Delete packet after processing by default
To prevent infinite loop
If _recvQueue.peek() == firstDelayedPacket it means that in this Update call, we've processed all properly timed packets, and we're now at the part of the queue where we find delayed packets that were re-enqueued due to improper timing. To prevent an infinite loop caused by re-enqueueing the same packets over and over again, we stop updating this session and continue updating others. The re-enqueued packets will be handled in the next Update call for this session.
If player didn't log out a while ago, it means packets are being sent while the server does not recognize the client to be in world yet. We will re-add the packets to the bottom of the queue and process them later.
Prevent infinite loop
Because checking a bool is faster than reallocating memory
Definition at line 299 of file WorldSession.cpp.
References _player, _recvQueue, _warden, AntiDOS, clientOpcodeTable, CMSG_ENUM_CHARACTERS, GetAccountId(), WorldPacket::GetOpcode(), GetOpcodeNameForLogging(), GetPlayer(), GetPlayerInfo(), GetRemoteAddress(), Skyfire::Diagnostics::GetRuntimeMetrics(), OpcodeHandler::Handler, ByteBuffer::hexlike(), IsConnectionIdle(), KickPlayer(), LogoutPlayer(), LogUnexpectedOpcode(), LogUnprocessedTail(), m_charBooster, m_inQueue, m_playerLoading, m_playerLogout, m_playerRecentlyLogout, m_Socket, MAX_PROCESSED_PACKETS_IN_SAME_WORLDSESSION_UPDATE, PacketFilter::ProcessLogout(), ProcessQueryCallbacks(), QueuePacket(), Skyfire::Diagnostics::RuntimeMetrics::RecordWorldSessionPacketProcessed(), SF_LOG_DEBUG, SF_LOG_ERROR, ShouldLogOut(), sScriptMgr, OpcodeHandler::Status, STATUS_AUTHED, STATUS_LOGGEDIN, STATUS_LOGGEDIN_OR_RECENTLY_LOGGOUT, STATUS_NEVER, STATUS_TRANSFER, STATUS_UNHANDLED, UpdatePetBattlePvpQueueState(), and UpdateTimeOutTime().
Referenced by Map::Update(), and World::UpdateSessions().
| void WorldSession::UpdatePetBattlePvpQueueState | ( | ) |
Definition at line 848 of file BattlePetHandler.cpp.
References GetPlayer().
Referenced by Update().
|
inline |
|
friend |
|
private |
Definition at line 1193 of file WorldSession.h.
Referenced by GetAccountId(), SetBoosting(), and WorldSession().
|
private |
Definition at line 1125 of file WorldSession.h.
Referenced by HandleAddFriendOpcode(), and ProcessQueryCallbacks().
|
private |
Definition at line 1122 of file WorldSession.h.
Referenced by HandleAddIgnoreOpcode(), and ProcessQueryCallbacks().
|
private |
Definition at line 1129 of file WorldSession.h.
Referenced by HandleCharCreateCallback(), HandleCharCreateOpcode(), InitializeQueryCallbackParameters(), and ProcessQueryCallbacks().
|
private |
Definition at line 1121 of file WorldSession.h.
Referenced by HandleCharEnumOpcode(), and ProcessQueryCallbacks().
|
private |
Definition at line 1130 of file WorldSession.h.
Referenced by HandlePlayerLoginOpcode(), and ProcessQueryCallbacks().
|
private |
Definition at line 1124 of file WorldSession.h.
Referenced by HandleCharRenameOpcode(), and ProcessQueryCallbacks().
|
private |
Definition at line 1224 of file WorldSession.h.
Referenced by GetCompressionStream(), WorldSession(), and ~WorldSession().
|
private |
Definition at line 1218 of file WorldSession.h.
Referenced by HandleAddonRegisteredPrefixesOpcode(), IsAddonRegistered(), and WorldSession().
|
private |
Definition at line 1185 of file WorldSession.h.
Referenced by HandleCharEnum(), and IsLegitCharacterForAccount().
|
private |
Definition at line 1203 of file WorldSession.h.
Referenced by isLogingOut(), LogoutRequest(), ShouldLogOut(), and WorldSession().
|
private |
Definition at line 1188 of file WorldSession.h.
Referenced by DoLootRelease(), GetPlayer(), GetPlayerInfo(), GetPlayerName(), HandeSetTalentSpecialization(), HandleAcceptGrantLevel(), HandleAcceptTradeOpcode(), HandleAlterAppearance(), HandleAreaSpiritHealerQueryOpcode(), HandleAreaSpiritHealerQueueOpcode(), HandleAreaTriggerOpcode(), HandleAttackSwingOpcode(), HandleAuctionListItems(), HandleAuctionListOwnerItems(), HandleAuctionSellItem(), HandleAutoBankItemOpcode(), HandleAutoEquipItemOpcode(), HandleAutoStoreBagItemOpcode(), HandleAutoStoreBankItemOpcode(), HandleAutostoreLootItemOpcode(), HandleBattlefieldLeaveOpcode(), HandleBattlefieldListOpcode(), HandleBattleFieldPortOpcode(), HandleBattlefieldStatusOpcode(), HandleBattlegroundPlayerPositionsOpcode(), HandleBattlemasterHelloOpcode(), HandleBattlemasterJoinArena(), HandleBattlemasterJoinOpcode(), HandleBeginTradeOpcode(), HandleBfEntryInviteResponse(), HandleBfExitRequest(), HandleBfQueueInviteResponse(), HandleBusyTradeOpcode(), HandleBuybackItem(), HandleBuyBankSlotOpcode(), HandleBuyItemInSlotOpcode(), HandleBuyItemOpcode(), HandleCalendarAddEvent(), HandleCalendarComplain(), HandleCalendarCopyEvent(), HandleCalendarEventInvite(), HandleCalendarEventModeratorStatus(), HandleCalendarEventRemoveInvite(), HandleCalendarEventRsvp(), HandleCalendarEventSignup(), HandleCalendarEventStatus(), HandleCalendarGetCalendar(), HandleCalendarGetEvent(), HandleCalendarGetNumPending(), HandleCalendarGuildFilter(), HandleCalendarRemoveEvent(), HandleCalendarUpdateEvent(), HandleCancelAuraOpcode(), HandleCancelAutoRepeatSpellOpcode(), HandleCancelCastOpcode(), HandleCancelChanneling(), HandleCancelMountAuraOpcode(), HandleCancelTradeOpcode(), HandleCastSpellOpcode(), HandleChatIgnoredOpcode(), HandleClearTradeItemOpcode(), HandleContactListOpcode(), HandleCorpseQueryOpcode(), HandleDelFriendOpcode(), HandleDelIgnoreOpcode(), HandleDestroyItemOpcode(), HandleDiscardedTimeSyncAcks(), HandleDismissControlledVehicle(), HandleDismissCritter(), HandleDuelProposedOpcode(), HandleEjectPassenger(), HandleEquipmentSetDelete(), HandleEquipmentSetSave(), HandleEquipmentSetUse(), HandleFarSightOpcode(), HandleForceSpeedChangeAck(), HandleGameobjectReportUse(), HandleGameObjectUseOpcode(), HandleGetMailList(), HandleGossipHelloOpcode(), HandleGossipSelectOptionOpcode(), HandleGrantLevel(), HandleGroupDisbandOpcode(), HandleGroupInviteOpcode(), HandleGroupRaidConvertOpcode(), HandleGuildAchievementProgressQuery(), HandleGuildAssignRankOpcode(), HandleGuildQueryRanksOpcode(), HandleGuildQueryXPOpcode(), HandleGuildRequestMaxDailyXP(), HandleGuildRewardsQueryOpcode(), HandleHearthAndResurrect(), HandleIgnoreTradeOpcode(), HandleInitiateTradeOpcode(), HandleInspectOpcode(), HandleInstanceLockResponse(), HandleItemRefund(), HandleItemRefundInfoRequest(), HandleItemTextQuery(), HandleLearnTalentOpcode(), HandleLootMasterGiveOpcode(), HandleLootOpcode(), HandleMailCreateTextItem(), HandleMailDelete(), HandleMailMarkAsRead(), HandleMailReturnToSender(), HandleMailTakeItem(), HandleMailTakeMoney(), HandleMessagechatOpcode(), HandleMoveKnockBackAck(), HandleMovementOpcodes(), HandleMoveNotActiveMover(), HandleMoveSetCanFlyAckOpcode(), HandleMoveSplineDoneOpcode(), HandleMoveTeleportAck(), HandleMoveWorldportAckOpcode(), HandleOfferPetitionOpcode(), HandleOpeningCinematic(), HandleOpenItemOpcode(), HandlePetAbandon(), HandlePetActionHelper(), HandlePetCancelAuraOpcode(), HandlePetCastSpellOpcode(), HandlePetitionBuyOpcode(), HandlePetitionDeclineOpcode(), HandlePetitionRenameOpcode(), HandlePetitionShowSignOpcode(), HandlePetitionSignOpcode(), HandlePetRename(), HandlePetSetAction(), HandlePlayedTime(), HandlePushQuestToParty(), HandlePVPLogDataOpcode(), HandleQueryInspectAchievements(), HandleQueryNextMailTime(), HandleQueryQuestsCompleted(), HandleQuestConfirmAccept(), HandleQuestgiverAcceptQuestOpcode(), HandleQuestgiverCancel(), HandleQuestgiverChooseRewardOpcode(), HandleQuestgiverCompleteQuest(), HandleQuestgiverHelloOpcode(), HandleQuestgiverQueryQuestOpcode(), HandleQuestgiverRequestRewardOpcode(), HandleQuestgiverStatusMultipleQuery(), HandleQuestgiverStatusQueryOpcode(), HandleQuestLogRemoveQuest(), HandleQuestNPCQuery(), HandleQuestPOIQuery(), HandleQuestPushResult(), HandleQuestQueryOpcode(), HandleRaidTargetUpdateOpcode(), HandleReadItem(), HandleRepairItemOpcode(), HandleReportPvPAFK(), HandleRequestCategoryCooldowns(), HandleRequestCemeteryList(), HandleRequestForcedReactionsOpcode(), HandleRequestPetInfoOpcode(), HandleRequestPvpReward(), HandleRequestRaidInfoOpcode(), HandleRequestResearchHistory(), HandleResetInstancesOpcode(), HandleRespecWipeConfirmOpcode(), HandleRideVehicleInteract(), HandleSelectFactionOpcode(), HandleSelfResOpcode(), HandleSellItemOpcode(), HandleSendMail(), HandleSetActiveMoverOpcode(), HandleSetContactNotesOpcode(), HandleSetDungeonDifficultyOpcode(), HandleSetFactionInactiveOpcode(), HandleSetRaidDifficultyOpcode(), HandleSetSelectionOpcode(), HandleSetTaxiBenchmarkOpcode(), HandleSetTradeGoldOpcode(), HandleSetTradeItemOpcode(), HandleShowingCloakOpcode(), HandleShowingHelmOpcode(), HandleSocketOpcode(), HandleSpellClick(), HandleSplitItemOpcode(), HandleStablePet(), HandleStablePetCallback(), HandleStableSwapPet(), HandleStableSwapPetCallback(), HandleStandStateChangeOpcode(), HandleSummonResponseOpcode(), HandleSwapInvItemOpcode(), HandleSwapItem(), HandleTextEmoteOpcode(), HandleTimeSyncResp(), HandleTotemDestroyed(), HandleTrainerBuySpellOpcode(), HandleTurnInPetitionOpcode(), HandleUnacceptTradeOpcode(), HandleUnstablePet(), HandleUnstablePetCallback(), HandleUpdateMissileTrajectory(), HandleUpdateProjectilePosition(), HandleUseItemOpcode(), HandleWhoOpcode(), HandleWrapItemOpcode(), LogoutPlayer(), moveItems(), SendBattleGroundList(), SendBfEntered(), SendBindPoint(), SendCalendarRaidLockoutUpdated(), SendCrossedInebriationThreshold(), SendLfgJoinResult(), SendLfgQueueStatus(), SendLfgUpdateStatus(), SendListInventory(), SendPageText(), SendPetNameQuery(), SendQuestgiverStatusMultiple(), SendSetPhaseShift(), SendSpiritResurrect(), SendStablePet(), SendStablePetCallback(), SendTotemCreated(), SendTrainerList(), SendUpdateTrade(), SetPlayer(), Update(), WorldSession(), and ~WorldSession().
|
private |
Definition at line 1225 of file WorldSession.h.
Referenced by GetRBACData(), HasPermission(), InvalidateRBACData(), LoadPermissions(), WorldSession(), and ~WorldSession().
|
private |
Definition at line 1222 of file WorldSession.h.
Referenced by QueuePacket(), Update(), and ~WorldSession().
|
private |
Definition at line 1217 of file WorldSession.h.
Referenced by HandleAddonRegisteredPrefixesOpcode(), HandleUnregisterAddonPrefixesOpcode(), and IsAddonRegistered().
|
private |
Definition at line 1192 of file WorldSession.h.
Referenced by GetSecurity(), SetSecurity(), and WorldSession().
|
private |
Definition at line 1128 of file WorldSession.h.
Referenced by ProcessQueryCallbacks(), and SendStablePet().
|
private |
Definition at line 1123 of file WorldSession.h.
Referenced by HandleStablePet(), and ProcessQueryCallbacks().
|
private |
Definition at line 1127 of file WorldSession.h.
Referenced by HandleStableSwapPet(), and ProcessQueryCallbacks().
|
private |
Definition at line 1126 of file WorldSession.h.
Referenced by HandleUnstablePet(), and ProcessQueryCallbacks().
|
private |
Definition at line 1201 of file WorldSession.h.
Referenced by HandleWardenDataOpcode(), InitWarden(), Update(), WorldSession(), and ~WorldSession().
|
protected |
Referenced by LogoutPlayer(), Update(), and WorldSession().
|
private |
Definition at line 1220 of file WorldSession.h.
Referenced by IsARecruiter(), and WorldSession().
|
private |
Definition at line 1213 of file WorldSession.h.
Referenced by GetAccountData(), LoadAccountData(), and SetAccountData().
|
private |
Definition at line 1216 of file WorldSession.h.
Referenced by ReadAddonsInfo(), and SendAddonsInfo().
|
private |
Definition at line 1190 of file WorldSession.h.
Referenced by GetRemoteAddress(), and WorldSession().
|
private |
Definition at line 1196 of file WorldSession.h.
Referenced by HandleBattleCharBoost(), HandleCharEnum(), Update(), WorldSession(), and ~WorldSession().
|
private |
Definition at line 1212 of file WorldSession.h.
Referenced by HandleMovementOpcodes(), ResetClientTimeDelay(), and WorldSession().
|
private |
Definition at line 1195 of file WorldSession.h.
Referenced by Expansion(), and WorldSession().
|
private |
Definition at line 1187 of file WorldSession.h.
Referenced by HandleRequestCemeteryList(), SetAccountData(), and SetPlayer().
|
private |
Definition at line 1221 of file WorldSession.h.
Referenced by HasBoost(), SetBoosting(), and WorldSession().
|
private |
Definition at line 1204 of file WorldSession.h.
Referenced by IsConnectionIdle(), SetInQueue(), Update(), and WorldSession().
|
private |
Definition at line 1211 of file WorldSession.h.
Referenced by GetLatency(), SetLatency(), and WorldSession().
| time_t WorldSession::m_muteTime |
Definition at line 488 of file WorldSession.h.
Referenced by Player::CanSpeak(), HandleMessagechatOpcode(), misc_commandscript::HandleMuteCommand(), misc_commandscript::HandlePInfoCommand(), HandleTextEmoteOpcode(), misc_commandscript::HandleUnmuteCommand(), Player::Update(), Player::UpdateSpeakTime(), and WorldSession().
|
private |
Definition at line 1205 of file WorldSession.h.
Referenced by HandlePlayerLogin(), HandlePlayerLoginOpcode(), PlayerLoading(), Update(), and WorldSession().
|
private |
Definition at line 1206 of file WorldSession.h.
Referenced by isLogingOut(), LogoutPlayer(), PlayerLogout(), PlayerLogoutWithSave(), Update(), and WorldSession().
|
private |
Definition at line 1207 of file WorldSession.h.
Referenced by LogoutPlayer(), PlayerRecentlyLoggedOut(), Update(), and WorldSession().
|
private |
Definition at line 1208 of file WorldSession.h.
Referenced by LogoutPlayer(), PlayerLogoutWithSave(), and WorldSession().
|
private |
Definition at line 1209 of file WorldSession.h.
Referenced by GetSessionDbcLocale(), and WorldSession().
|
private |
Definition at line 1210 of file WorldSession.h.
Referenced by GetSessionDbLocaleIndex(), and WorldSession().
|
private |
Definition at line 1189 of file WorldSession.h.
Referenced by KickPlayer(), LogoutPlayer(), LogPacketMarker(), PlayerDisconnected(), SendPacket(), SetPlayer(), Update(), WorldSession(), and ~WorldSession().
| std::atomic<time_t> WorldSession::m_timeOutTime |
Definition at line 500 of file WorldSession.h.
Referenced by IsConnectionIdle(), ResetTimeOutTime(), UpdateTimeOutTime(), and WorldSession().
|
private |
Definition at line 1214 of file WorldSession.h.
Referenced by GetTutorialInt(), LoadTutorialsData(), SaveTutorialsData(), SendTutorialsData(), and SetTutorialInt().
|
private |
Definition at line 1215 of file WorldSession.h.
Referenced by LoadTutorialsData(), SaveTutorialsData(), SetTutorialInt(), and WorldSession().
|
private |
Definition at line 1194 of file WorldSession.h.
Referenced by GetVirtualRealmID(), SetVirtualRealmID(), and WorldSession().
|
private |
Definition at line 1219 of file WorldSession.h.
Referenced by GetRecruiterId(), and WorldSession().
|
private |
Definition at line 1223 of file WorldSession.h.
Referenced by HandleWhoOpcode(), and WorldSession().