![]() |
AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "ScriptMgr.h"
Public Types | |
| typedef void(* | ScriptLoaderCallbackType) () |
| typedef void(* | ModulesLoaderCallbackType) () |
Static Public Member Functions | |
| static ScriptMgr * | instance () |
Private Member Functions | |
| ScriptMgr () | |
| virtual | ~ScriptMgr () |
Private Attributes | |
| uint32 | _scriptCount |
| std::atomic< long > | _scheduledScripts |
| ScriptLoaderCallbackType | _script_loader_callback |
| ModulesLoaderCallbackType | _modules_loader_callback |
Friends | |
| class | ScriptObject |
| typedef void(* ScriptMgr::ModulesLoaderCallbackType) () |
| typedef void(* ScriptMgr::ScriptLoaderCallbackType) () |
|
private |
| void ScriptMgr::AfterInstanceGameObjectCreate | ( | Map * | instance, |
| GameObject * | go | ||
| ) |
Called when a game object is created inside an instance.
| instance | A pointer to the [map] object of the instance |
| go | The object being added |
References GlobalScript::AfterInstanceGameObjectCreate(), CALL_ENABLED_HOOKS, GLOBALHOOK_AFTER_INSTANCE_GAME_OBJECT_CREATE, and instance().
| bool ScriptMgr::AnticheatCheckMovementInfo | ( | Player * | player, |
| MovementInfo const & | movementInfo, | ||
| Unit * | mover, | ||
| bool | jump | ||
| ) |
References PlayerScript::AnticheatCheckMovementInfo(), CALL_ENABLED_BOOLEAN_HOOKS, and PLAYERHOOK_ANTICHEAT_CHECK_MOVEMENT_INFO.
References PlayerScript::AnticheatHandleDoubleJump(), CALL_ENABLED_BOOLEAN_HOOKS, and PLAYERHOOK_ANTICHEAT_HANDLE_DOUBLE_JUMP.
| void ScriptMgr::AnticheatSetCanFlybyServer | ( | Player * | player, |
| bool | apply | ||
| ) |
References PlayerScript::AnticheatSetCanFlybyServer(), CALL_ENABLED_HOOKS, and PLAYERHOOK_ANTICHEAT_SET_CAN_FLY_BY_SERVER.
| void ScriptMgr::AnticheatSetJumpingbyOpcode | ( | Player * | player, |
| bool | jump | ||
| ) |
References PlayerScript::AnticheatSetJumpingbyOpcode(), CALL_ENABLED_HOOKS, and PLAYERHOOK_ANTICHEAT_SET_JUMPING_BY_OPCODE.
| void ScriptMgr::AnticheatSetRootACKUpd | ( | Player * | player | ) |
References PlayerScript::AnticheatSetRootACKUpd(), CALL_ENABLED_HOOKS, and PLAYERHOOK_ANTICHEAT_SET_ROOT_ACK_UPD.
| void ScriptMgr::AnticheatSetUnderACKmount | ( | Player * | player | ) |
References PlayerScript::AnticheatSetUnderACKmount(), CALL_ENABLED_HOOKS, and PLAYERHOOK_ANTICHEAT_SET_UNDER_ACK_MOUNT.
| void ScriptMgr::AnticheatUpdateMovementInfo | ( | Player * | player, |
| MovementInfo const & | movementInfo | ||
| ) |
References PlayerScript::AnticheatUpdateMovementInfo(), CALL_ENABLED_HOOKS, and PLAYERHOOK_ANTICHEAT_UPDATE_MOVEMENT_INFO.
References ACCOUNTHOOK_CAN_ACCOUNT_CREATE_CHARACTER, CALL_ENABLED_BOOLEAN_HOOKS, and AccountScript::CanAccountCreateCharacter().
| bool ScriptMgr::CanAddGroupToMatchingPool | ( | BattlegroundQueue * | queue, |
| GroupQueueInfo * | group, | ||
| uint32 | poolPlayerCount, | ||
| Battleground * | bg, | ||
| BattlegroundBracketId | bracketId | ||
| ) |
References ALLBATTLEGROUNDHOOK_CAN_ADD_GROUP_TO_MATCHING_POOL, CALL_ENABLED_BOOLEAN_HOOKS, and AllBattlegroundScript::CanAddGroupToMatchingPool().
| bool ScriptMgr::CanAddMember | ( | ArenaTeam * | team, |
| ObjectGuid | PlayerGuid | ||
| ) |
References ARENAHOOK_CAN_ADD_MEMBER, CALL_ENABLED_BOOLEAN_HOOKS, and ArenaScript::CanAddMember().
| bool ScriptMgr::CanApplySoulboundFlag | ( | Item * | item, |
| ItemTemplate const * | proto | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, MiscScript::CanApplySoulboundFlag(), and MISCHOOK_CAN_APPLY_SOULBOUND_FLAG.
| bool ScriptMgr::CanCheckCriteria | ( | AchievementMgr * | mgr, |
| AchievementCriteriaEntry const * | achievementCriteria | ||
| ) |
References ACHIEVEMENTHOOK_CAN_CHECK_CRITERIA, CALL_ENABLED_BOOLEAN_HOOKS, and AchievementScript::CanCheckCriteria().
| bool ScriptMgr::CanFillPlayersToBG | ( | BattlegroundQueue * | queue, |
| Battleground * | bg, | ||
| BattlegroundBracketId | bracket_id | ||
| ) |
References ALLBATTLEGROUNDHOOK_CAN_FILL_PLAYERS_TO_BG, CALL_ENABLED_BOOLEAN_HOOKS, and AllBattlegroundScript::CanFillPlayersToBG().
| bool ScriptMgr::CanGroupJoinBattlegroundQueue | ( | Group const * | group, |
| Player * | member, | ||
| Battleground const * | bgTemplate, | ||
| uint32 | MinPlayerCount, | ||
| bool | isRated, | ||
| uint32 | arenaSlot | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, GroupScript::CanGroupJoinBattlegroundQueue(), and GROUPHOOK_CAN_GROUP_JOIN_BATTLEGROUND_QUEUE.
| bool ScriptMgr::CanGuildSendBankList | ( | Guild const * | guild, |
| WorldSession * | session, | ||
| uint8 | tabId, | ||
| bool | sendAllSlots | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, GuildScript::CanGuildSendBankList(), and GUILDHOOK_CAN_GUILD_SEND_BANK_LIST.
References CALL_ENABLED_BOOLEAN_HOOKS, MiscScript::CanItemApplyEquipSpell(), and MISCHOOK_CAN_ITEM_APPLY_EQUIP_SPELL.
| bool ScriptMgr::CanPacketReceive | ( | WorldSession * | session, |
| WorldPacket const & | packet | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, ServerScript::CanPacketReceive(), and SERVERHOOK_CAN_PACKET_RECEIVE.
| bool ScriptMgr::CanPacketSend | ( | WorldSession * | session, |
| WorldPacket const & | packet | ||
| ) |
References ASSERT, CALL_ENABLED_BOOLEAN_HOOKS, ServerScript::CanPacketSend(), and SERVERHOOK_CAN_PACKET_SEND.
| bool ScriptMgr::CanPrepare | ( | Spell * | spell, |
| SpellCastTargets const * | targets, | ||
| AuraEffect const * | triggeredByAura | ||
| ) |
References ALLSPELLHOOK_CAN_PREPARE, CALL_ENABLED_BOOLEAN_HOOKS, and AllSpellScript::CanPrepare().
| bool ScriptMgr::CanResetTalents | ( | Pet * | pet | ) |
References CALL_ENABLED_BOOLEAN_HOOKS, PetScript::CanResetTalents(), and PETHOOK_CAN_RESET_TALENTS.
| bool ScriptMgr::CanSaveArenaStatsForMember | ( | ArenaTeam * | team, |
| ObjectGuid | playerGuid | ||
| ) |
References ARENAHOOK_CAN_SAVE_ARENA_STATS_FOR_MEMBER, CALL_ENABLED_BOOLEAN_HOOKS, and ArenaScript::CanSaveArenaStatsForMember().
| bool ScriptMgr::CanSaveToDB | ( | ArenaTeam * | team | ) |
References ARENAHOOK_CAN_SAVE_TO_DB, CALL_ENABLED_BOOLEAN_HOOKS, and ArenaScript::CanSaveToDB().
| bool ScriptMgr::CanScalingEverything | ( | Spell * | spell | ) |
References ALLSPELLHOOK_CAN_SCALING_EVERYTHING, CALL_ENABLED_BOOLEAN_HOOKS_WITH_DEFAULT_FALSE, and AllSpellScript::CanScalingEverything().
| bool ScriptMgr::CanSelectSpecTalent | ( | Spell * | spell | ) |
References ALLSPELLHOOK_CAN_SELECT_SPEC_TALENT, CALL_ENABLED_BOOLEAN_HOOKS, and AllSpellScript::CanSelectSpecTalent().
| bool ScriptMgr::CanSendAuctionHello | ( | WorldSession const * | session, |
| ObjectGuid | guid, | ||
| Creature * | creature | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, MiscScript::CanSendAuctionHello(), and MISCHOOK_CAN_SEND_AUCTIONHELLO.
| bool ScriptMgr::CanSendMessageBGQueue | ( | BattlegroundQueue * | queue, |
| Player * | leader, | ||
| Battleground * | bg, | ||
| PvPDifficultyEntry const * | bracketEntry | ||
| ) |
References ALLBATTLEGROUNDHOOK_CAN_SEND_MESSAGE_BG_QUEUE, CALL_ENABLED_BOOLEAN_HOOKS, and AllBattlegroundScript::CanSendMessageBGQueue().
References CALL_ENABLED_BOOLEAN_HOOKS, UnitScript::CanSetPhaseMask(), and UNITHOOK_CAN_SET_PHASE_MASK.
References CALL_ENABLED_BOOLEAN_HOOKS, PetScript::CanUnlearnSpellDefault(), and PETHOOK_CAN_UNLEARN_SPELL_DEFAULT.
References CALL_ENABLED_BOOLEAN_HOOKS, PetScript::CanUnlearnSpellSet(), and PETHOOK_CAN_UNLEARN_SPELL_SET.
| void ScriptMgr::CheckIfScriptsInDatabaseExist | ( | ) |
References ScriptRegistry< TScript >::GetScriptById(), LOG_ERROR, and sObjectMgr.
Referenced by LoadDatabase().
| void ScriptMgr::CreateAuraScripts | ( | uint32 | spellId, |
| std::list< AuraScript * > & | scriptVector | ||
| ) |
References _SpellScript::_Init(), SpellScriptLoader::GetAuraScript(), ScriptObject::GetName(), ScriptRegistry< TScript >::GetScriptById(), and sObjectMgr.
| Battleground * ScriptMgr::CreateBattleground | ( | BattlegroundTypeId | typeId | ) |
| InstanceScript * ScriptMgr::CreateInstanceScript | ( | InstanceMap * | map | ) |
References ASSERT, ScriptRegistry< TScript >::GetScriptById(), and InstanceMap::GetScriptId().
| OutdoorPvP * ScriptMgr::CreateOutdoorPvP | ( | OutdoorPvPData const * | data | ) |
References ASSERT, ScriptRegistry< TScript >::GetScriptById(), and OutdoorPvPData::ScriptId.
| void ScriptMgr::CreateSpellScriptLoaders | ( | uint32 | spellId, |
| std::vector< std::pair< SpellScriptLoader *, std::multimap< uint32, uint32 >::iterator > > & | scriptVector | ||
| ) |
References ScriptRegistry< TScript >::GetScriptById(), and sObjectMgr.
| void ScriptMgr::CreateSpellScripts | ( | uint32 | spellId, |
| std::list< SpellScript * > & | scriptVector | ||
| ) |
References _SpellScript::_Init(), ScriptObject::GetName(), ScriptRegistry< TScript >::GetScriptById(), SpellScriptLoader::GetSpellScript(), and sObjectMgr.
| uint32 ScriptMgr::DealDamage | ( | Unit * | AttackerUnit, |
| Unit * | pVictim, | ||
| uint32 | damage, | ||
| DamageEffectType | damagetype | ||
| ) |
|
inline |
References _scheduledScripts.
|
inline |
References _scheduledScripts.
|
inline |
References _scriptCount.
| void ScriptMgr::FillSpellSummary | ( | ) |
References TSpellSummary::Effects, SpellInfo::Effects, UnitAI::FillAISpellInfo(), MAX_SPELL_EFFECTS, SELECT_EFFECT_AURA, SELECT_EFFECT_DAMAGE, SELECT_EFFECT_HEALING, SELECT_TARGET_ANY_ENEMY, SELECT_TARGET_ANY_FRIEND, SELECT_TARGET_AOE_ENEMY, SELECT_TARGET_AOE_FRIEND, SELECT_TARGET_SELF, SELECT_TARGET_SINGLE_ENEMY, SELECT_TARGET_SINGLE_FRIEND, SPELL_EFFECT_APPLY_AURA, SPELL_EFFECT_ENVIRONMENTAL_DAMAGE, SPELL_EFFECT_HEAL, SPELL_EFFECT_HEAL_MAX_HEALTH, SPELL_EFFECT_HEAL_MECHANICAL, SPELL_EFFECT_HEALTH_LEECH, SPELL_EFFECT_INSTAKILL, SPELL_EFFECT_SCHOOL_DAMAGE, SpellSummary, sSpellMgr, TARGET_DEST_DYNOBJ_ENEMY, TARGET_DEST_TARGET_ENEMY, TARGET_SRC_CASTER, TARGET_UNIT_CASTER, TARGET_UNIT_CASTER_AREA_PARTY, TARGET_UNIT_DEST_AREA_ENEMY, TARGET_UNIT_LASTTARGET_AREA_PARTY, TARGET_UNIT_SRC_AREA_ENEMY, TARGET_UNIT_TARGET_ALLY, TARGET_UNIT_TARGET_ENEMY, TARGET_UNIT_TARGET_PARTY, and TSpellSummary::Targets.
Referenced by LoadDatabase().
| Acore::ChatCommands::ChatCommandTable ScriptMgr::GetChatCommands | ( | ) |
| CreatureAI * ScriptMgr::GetCreatureAI | ( | Creature * | creature | ) |
References ASSERT, AllCreatureScript::GetCreatureAI(), ScriptRegistry< TScript >::GetScriptById(), and Creature::GetScriptId().
References ASSERT, DIALOG_STATUS_SCRIPTED_NO_STATUS, ScriptRegistry< TScript >::GetScriptById(), and Creature::GetScriptId().
| uint32 ScriptMgr::GetDialogStatus | ( | Player * | player, |
| GameObject * | go | ||
| ) |
References ASSERT, DIALOG_STATUS_SCRIPTED_NO_STATUS, ScriptRegistry< TScript >::GetScriptById(), and GameObject::GetScriptId().
References CALL_ENABLED_HOOKS, MiscScript::GetDialogStatus(), and MISCHOOK_GET_DIALOG_STATUS.
| GameObjectAI * ScriptMgr::GetGameObjectAI | ( | GameObject * | go | ) |
References ASSERT, AllGameObjectScript::GetGameObjectAI(), ScriptRegistry< TScript >::GetScriptById(), and GameObject::GetScriptId().
| bool ScriptMgr::GetPlayerMatchmakingRating | ( | ObjectGuid | playerGuid, |
| BattlegroundTypeId | bgTypeId, | ||
| float & | outRating | ||
| ) |
References ALLBATTLEGROUNDHOOK_GET_PLAYER_MATCHMAKING_RATING, CALL_ENABLED_BOOLEAN_HOOKS_WITH_DEFAULT_FALSE, and AllBattlegroundScript::GetPlayerMatchmakingRating().
|
inline |
| bool ScriptMgr::IfNormalReaction | ( | Unit const * | unit, |
| Unit const * | target, | ||
| ReputationRank & | repRank | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, UnitScript::IfNormalReaction(), and UNITHOOK_IF_NORMAL_REACTION.
|
inline |
References _scheduledScripts.
|
inline |
References _scriptCount.
| void ScriptMgr::Initialize | ( | ) |
References _modules_loader_callback, _script_loader_callback, ACCOUNTHOOK_END, ACHIEVEMENTHOOK_END, lfg::AddSC_LFGScripts(), AddSC_SmartScripts(), ALLBATTLEGROUNDHOOK_END, ALLCOMMANDHOOK_END, ALLMAPHOOK_END, ALLSPELLHOOK_END, ARENAHOOK_END, ARENATEAMHOOK_END, ASSERT, AUCTIONHOUSEHOOK_END, BATTLEFIELDHOOK_END, DATABASEHOOK_END, FORMULAHOOK_END, GAMEEVENTHOOK_END, GLOBALHOOK_END, GROUPHOOK_END, GUILDHOOK_END, ScriptRegistry< TScript >::InitEnabledHooksIfNeeded(), LOG_INFO, LOOTHOOK_END, MAILHOOK_END, MISCHOOK_END, MOVEMENTHOOK_END, PETHOOK_END, PLAYERHOOK_END, SERVERHOOK_END, TICKETHOOK_END, UNITHOOK_END, WORLDHOOK_END, and WORLDOBJECTHOOK_END.
|
static |
References instance().
Referenced by AfterInstanceGameObjectCreate(), instance(), OnBeforeSetBossState(), and OnPlayerCanEnterMap().
| bool ScriptMgr::IsCheckNormalMatch | ( | BattlegroundQueue * | queue, |
| Battleground * | bgTemplate, | ||
| BattlegroundBracketId | bracket_id, | ||
| uint32 | minPlayers, | ||
| uint32 | maxPlayers | ||
| ) |
References ALLBATTLEGROUNDHOOK_IS_CHECK_NORMAL_MATCH, CALL_ENABLED_BOOLEAN_HOOKS_WITH_DEFAULT_FALSE, and AllBattlegroundScript::IsCheckNormalMatch().
| bool ScriptMgr::IsCompletedCriteria | ( | AchievementMgr * | mgr, |
| AchievementCriteriaEntry const * | achievementCriteria, | ||
| AchievementEntry const * | achievement, | ||
| CriteriaProgress const * | progress | ||
| ) |
References ACHIEVEMENTHOOK_IS_COMPLETED_CRITERIA, CALL_ENABLED_BOOLEAN_HOOKS, and AchievementScript::IsCompletedCriteria().
| bool ScriptMgr::IsCustomBuildValuesUpdate | ( | Unit const * | unit, |
| uint8 | updateType, | ||
| ByteBuffer & | fieldBuffer, | ||
| Player const * | target, | ||
| uint16 | index | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS_WITH_DEFAULT_FALSE, UnitScript::IsCustomBuildValuesUpdate(), and UNITHOOK_IS_CUSTOM_BUILD_VALUES_UPDATE.
| bool ScriptMgr::IsRealmCompleted | ( | AchievementGlobalMgr const * | globalmgr, |
| AchievementEntry const * | achievement, | ||
| std::chrono::system_clock::time_point | completionTime | ||
| ) |
References ACHIEVEMENTHOOK_IS_REALM_COMPLETED, CALL_ENABLED_BOOLEAN_HOOKS, and AchievementScript::IsRealmCompleted().
|
inline |
References _scheduledScripts.
| void ScriptMgr::LoadDatabase | ( | ) |
References ScriptRegistry< TScript >::AddALScripts(), CheckIfScriptsInDatabaseExist(), FillSpellSummary(), getMSTime(), GetMSTimeDiffToNow(), GetScriptCount(), LOG_INFO, and sScriptSystemMgr.
| void ScriptMgr::ModifyHealReceived | ( | Unit * | target, |
| Unit * | healer, | ||
| uint32 & | addHealth, | ||
| SpellInfo const * | spellInfo | ||
| ) |
References CALL_ENABLED_HOOKS, UnitScript::ModifyHealReceived(), and UNITHOOK_MODIFY_HEAL_RECEIVED.
References CALL_ENABLED_HOOKS, UnitScript::ModifyMeleeDamage(), and UNITHOOK_MODIFY_MELEE_DAMAGE.
| void ScriptMgr::ModifyPeriodicDamageAurasTick | ( | Unit * | target, |
| Unit * | attacker, | ||
| uint32 & | damage, | ||
| SpellInfo const * | spellInfo | ||
| ) |
References CALL_ENABLED_HOOKS, UnitScript::ModifyPeriodicDamageAurasTick(), and UNITHOOK_MODIFY_PERIODIC_DAMAGE_AURAS_TICK.
| void ScriptMgr::ModifySpellDamageTaken | ( | Unit * | target, |
| Unit * | attacker, | ||
| int32 & | damage, | ||
| SpellInfo const * | spellInfo | ||
| ) |
References CALL_ENABLED_HOOKS, UnitScript::ModifySpellDamageTaken(), and UNITHOOK_MODIFY_SPELL_DAMAGE_TAKEN.
| void ScriptMgr::OnAccountLogin | ( | uint32 | accountId | ) |
References ACCOUNTHOOK_ON_ACCOUNT_LOGIN, CALL_ENABLED_HOOKS, and AccountScript::OnAccountLogin().
References ASSERT, and GameObject::GetScriptId().
| void ScriptMgr::OnAddGroup | ( | BattlegroundQueue * | queue, |
| GroupQueueInfo * | ginfo, | ||
| uint32 & | index, | ||
| Player * | leader, | ||
| Group * | group, | ||
| BattlegroundTypeId | bgTypeId, | ||
| PvPDifficultyEntry const * | bracketEntry, | ||
| uint8 | arenaType, | ||
| bool | isRated, | ||
| bool | isPremade, | ||
| uint32 | arenaRating, | ||
| uint32 | matchmakerRating, | ||
| uint32 | arenaTeamId, | ||
| uint32 | opponentsArenaTeamId | ||
| ) |
References ALLBATTLEGROUNDHOOK_ON_ADD_GROUP, CALL_ENABLED_HOOKS, and AllBattlegroundScript::OnAddGroup().
References ASSERT, and GameObject::GetScriptId().
References ASSERT, Vehicle::GetBase(), Creature::GetScriptId(), Object::IsCreature(), and Object::ToCreature().
| void ScriptMgr::OnAfterArenaRatingCalculation | ( | Battleground *const | bg, |
| int32 & | winnerMatchmakerChange, | ||
| int32 & | loserMatchmakerChange, | ||
| int32 & | winnerChange, | ||
| int32 & | loserChange | ||
| ) |
References CALL_ENABLED_HOOKS, FORMULAHOOK_ON_AFTER_ARENA_RATING_CALCULATION, and FormulaScript::OnAfterArenaRatingCalculation().
| void ScriptMgr::OnAfterCalculateLootGroupAmount | ( | Player const * | player, |
| Loot & | loot, | ||
| uint16 | lootMode, | ||
| uint32 & | groupAmount, | ||
| LootStore const & | store | ||
| ) |
References CALL_ENABLED_HOOKS, GLOBALHOOK_ON_AFTER_CALCULATE_LOOT_GROUP_AMOUNT, and GlobalScript::OnAfterCalculateLootGroupAmount().
| void ScriptMgr::OnAfterConfigLoad | ( | bool | reload | ) |
References CALL_ENABLED_HOOKS, WorldScript::OnAfterConfigLoad(), and WORLDHOOK_ON_AFTER_CONFIG_LOAD.
| void ScriptMgr::OnAfterDatabaseLoadCreatureTemplates | ( | std::vector< CreatureTemplate * > | creatureTemplateStore | ) |
References CALL_ENABLED_HOOKS, DATABASEHOOK_ON_AFTER_DATABASE_LOAD_CREATURETEMPLATES, and DatabaseScript::OnAfterDatabaseLoadCreatureTemplates().
| void ScriptMgr::OnAfterDatabasesLoaded | ( | uint32 | updateFlags | ) |
References CALL_ENABLED_HOOKS, DATABASEHOOK_ON_AFTER_DATABASES_LOADED, and DatabaseScript::OnAfterDatabasesLoaded().
| void ScriptMgr::OnAfterInitializeLockedDungeons | ( | Player * | player | ) |
References CALL_ENABLED_HOOKS, GLOBALHOOK_ON_AFTER_INITIALIZE_LOCKED_DUNGEONS, and GlobalScript::OnAfterInitializeLockedDungeons().
| void ScriptMgr::OnAfterLootTemplateProcess | ( | Loot * | loot, |
| LootTemplate const * | tab, | ||
| LootStore const & | store, | ||
| Player * | lootOwner, | ||
| bool | personal, | ||
| bool | noEmptyError, | ||
| uint16 | lootMode | ||
| ) |
References CALL_ENABLED_HOOKS, MISCHOOK_ON_AFTER_LOOT_TEMPLATE_PROCESS, and MiscScript::OnAfterLootTemplateProcess().
| void ScriptMgr::OnAfterRefCount | ( | Player const * | player, |
| Loot & | loot, | ||
| bool | canRate, | ||
| uint16 | lootMode, | ||
| LootStoreItem * | LootStoreItem, | ||
| uint32 & | maxcount, | ||
| LootStore const & | store | ||
| ) |
References CALL_ENABLED_HOOKS, GLOBALHOOK_ON_AFTER_REF_COUNT, and GlobalScript::OnAfterRefCount().
| void ScriptMgr::OnAfterUnloadAllMaps | ( | ) |
References CALL_ENABLED_HOOKS, WorldScript::OnAfterUnloadAllMaps(), and WORLDHOOK_ON_AFTER_UNLOAD_ALL_MAPS.
| void ScriptMgr::OnAfterUpdateEncounterState | ( | Map * | map, |
| EncounterCreditType | type, | ||
| uint32 | creditEntry, | ||
| Unit * | source, | ||
| Difficulty | difficulty_fixed, | ||
| DungeonEncounterList const * | encounters, | ||
| uint32 | dungeonCompleted, | ||
| bool | updated | ||
| ) |
References CALL_ENABLED_HOOKS, GLOBALHOOK_ON_AFTER_UPDATE_ENCOUNTER_STATE, and GlobalScript::OnAfterUpdateEncounterState().
| bool ScriptMgr::OnAllowedForPlayerLootCheck | ( | Player const * | player, |
| ObjectGuid | source | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, GLOBALHOOK_ON_ALLOWED_FOR_PLAYER_LOOT_CHECK, and GlobalScript::OnAllowedForPlayerLootCheck().
| bool ScriptMgr::OnAllowedToLootContainerCheck | ( | Player const * | player, |
| ObjectGuid | source | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, GLOBALHOOK_ON_ALLOWED_TO_LOOT_CONTAINER_CHECK, and GlobalScript::OnAllowedToLootContainerCheck().
| bool ScriptMgr::OnAreaTrigger | ( | Player * | player, |
| AreaTrigger const * | trigger | ||
| ) |
| void ScriptMgr::OnArenaQueueIdToArenaType | ( | const BattlegroundQueueTypeId | bgQueueTypeId, |
| uint8 & | ArenaType | ||
| ) |
References ARENATEAMHOOK_ON_QUEUEID_TO_ARENA_TYPE, CALL_ENABLED_HOOKS, and ArenaTeamScript::OnQueueIdToArenaType().
| void ScriptMgr::OnArenaStart | ( | Battleground *const | bg | ) |
References ARENAHOOK_ON_ARENA_START, CALL_ENABLED_HOOKS, and ArenaScript::OnArenaStart().
| void ScriptMgr::OnArenaTypeIDToQueueID | ( | const BattlegroundTypeId | bgTypeId, |
| const uint8 | arenaType, | ||
| uint32 & | queueTypeID | ||
| ) |
References ARENATEAMHOOK_ON_TYPEID_TO_QUEUEID, CALL_ENABLED_HOOKS, and ArenaTeamScript::OnTypeIDToQueueID().
| void ScriptMgr::OnAuctionAdd | ( | AuctionHouseObject * | ah, |
| AuctionEntry * | entry | ||
| ) |
References ASSERT, AUCTIONHOUSEHOOK_ON_AUCTION_ADD, CALL_ENABLED_HOOKS, and AuctionHouseScript::OnAuctionAdd().
| void ScriptMgr::OnAuctionExpire | ( | AuctionHouseObject * | ah, |
| AuctionEntry * | entry | ||
| ) |
References ASSERT, AUCTIONHOUSEHOOK_ON_AUCTION_EXPIRE, CALL_ENABLED_HOOKS, and AuctionHouseScript::OnAuctionExpire().
| void ScriptMgr::OnAuctionRemove | ( | AuctionHouseObject * | ah, |
| AuctionEntry * | entry | ||
| ) |
References ASSERT, AUCTIONHOUSEHOOK_ON_AUCTION_REMOVE, CALL_ENABLED_HOOKS, and AuctionHouseScript::OnAuctionRemove().
| void ScriptMgr::OnAuctionSuccessful | ( | AuctionHouseObject * | ah, |
| AuctionEntry * | entry | ||
| ) |
References ASSERT, AUCTIONHOUSEHOOK_ON_AUCTION_SUCCESSFUL, CALL_ENABLED_HOOKS, and AuctionHouseScript::OnAuctionSuccessful().
References CALL_ENABLED_HOOKS, UnitScript::OnAuraApply(), and UNITHOOK_ON_AURA_APPLY.
| void ScriptMgr::OnAuraRemove | ( | Unit * | unit, |
| AuraApplication * | aurApp, | ||
| AuraRemoveMode | mode | ||
| ) |
References CALL_ENABLED_HOOKS, UnitScript::OnAuraRemove(), and UNITHOOK_ON_AURA_REMOVE.
| void ScriptMgr::OnBaseGainCalculation | ( | uint32 & | gain, |
| uint8 | playerLevel, | ||
| uint8 | mobLevel, | ||
| ContentLevels | content | ||
| ) |
References CALL_ENABLED_HOOKS, FORMULAHOOK_ON_BASE_GAIN_CALCULATION, and FormulaScript::OnBaseGainCalculation().
| void ScriptMgr::OnBattlefieldBeforeInvitePlayerToWar | ( | Battlefield * | bf, |
| Player * | player | ||
| ) |
References BATTLEFIELDHOOK_BEFORE_INVITE_PLAYER_TO_WAR, CALL_ENABLED_HOOKS, and BattlefieldScript::OnBattlefieldBeforeInvitePlayerToWar().
| void ScriptMgr::OnBattlefieldPlayerEnterZone | ( | Battlefield * | bf, |
| Player * | player | ||
| ) |
References BATTLEFIELDHOOK_ON_PLAYER_ENTER_ZONE, CALL_ENABLED_HOOKS, and BattlefieldScript::OnBattlefieldPlayerEnterZone().
| void ScriptMgr::OnBattlefieldPlayerJoinWar | ( | Battlefield * | bf, |
| Player * | player | ||
| ) |
References BATTLEFIELDHOOK_ON_PLAYER_JOIN_WAR, CALL_ENABLED_HOOKS, and BattlefieldScript::OnBattlefieldPlayerJoinWar().
| void ScriptMgr::OnBattlefieldPlayerLeaveWar | ( | Battlefield * | bf, |
| Player * | player | ||
| ) |
References BATTLEFIELDHOOK_ON_PLAYER_LEAVE_WAR, CALL_ENABLED_HOOKS, and BattlefieldScript::OnBattlefieldPlayerLeaveWar().
| void ScriptMgr::OnBattlefieldPlayerLeaveZone | ( | Battlefield * | bf, |
| Player * | player | ||
| ) |
References BATTLEFIELDHOOK_ON_PLAYER_LEAVE_ZONE, CALL_ENABLED_HOOKS, and BattlefieldScript::OnBattlefieldPlayerLeaveZone().
| void ScriptMgr::OnBattlegroundAddPlayer | ( | Battleground * | bg, |
| Player * | player | ||
| ) |
References ALLBATTLEGROUNDHOOK_ON_BATTLEGROUND_ADD_PLAYER, CALL_ENABLED_HOOKS, and AllBattlegroundScript::OnBattlegroundAddPlayer().
| void ScriptMgr::OnBattlegroundBeforeAddPlayer | ( | Battleground * | bg, |
| Player * | player | ||
| ) |
References ALLBATTLEGROUNDHOOK_ON_BATTLEGROUND_BEFORE_ADD_PLAYER, CALL_ENABLED_HOOKS, and AllBattlegroundScript::OnBattlegroundBeforeAddPlayer().
| void ScriptMgr::OnBattlegroundCreate | ( | Battleground * | bg | ) |
References ALLBATTLEGROUNDHOOK_ON_BATTLEGROUND_CREATE, CALL_ENABLED_HOOKS, and AllBattlegroundScript::OnBattlegroundCreate().
| void ScriptMgr::OnBattlegroundDestroy | ( | Battleground * | bg | ) |
References ALLBATTLEGROUNDHOOK_ON_BATTLEGROUND_DESTROY, CALL_ENABLED_HOOKS, and AllBattlegroundScript::OnBattlegroundDestroy().
| void ScriptMgr::OnBattlegroundEnd | ( | Battleground * | bg, |
| TeamId | winnerTeamId | ||
| ) |
References ALLBATTLEGROUNDHOOK_ON_BATTLEGROUND_END, CALL_ENABLED_HOOKS, and AllBattlegroundScript::OnBattlegroundEnd().
| void ScriptMgr::OnBattlegroundEndReward | ( | Battleground * | bg, |
| Player * | player, | ||
| TeamId | winnerTeamId | ||
| ) |
References ALLBATTLEGROUNDHOOK_ON_BATTLEGROUND_END_REWARD, CALL_ENABLED_HOOKS, and AllBattlegroundScript::OnBattlegroundEndReward().
| void ScriptMgr::OnBattlegroundRemovePlayerAtLeave | ( | Battleground * | bg, |
| Player * | player | ||
| ) |
References ALLBATTLEGROUNDHOOK_ON_BATTLEGROUND_REMOVE_PLAYER_AT_LEAVE, CALL_ENABLED_HOOKS, and AllBattlegroundScript::OnBattlegroundRemovePlayerAtLeave().
| void ScriptMgr::OnBattlegroundStart | ( | Battleground * | bg | ) |
References ALLBATTLEGROUNDHOOK_ON_BATTLEGROUND_START, CALL_ENABLED_HOOKS, and AllBattlegroundScript::OnBattlegroundStart().
| void ScriptMgr::OnBattlegroundUpdate | ( | Battleground * | bg, |
| uint32 | diff | ||
| ) |
References ALLBATTLEGROUNDHOOK_ON_BATTLEGROUND_UPDATE, CALL_ENABLED_HOOKS, and AllBattlegroundScript::OnBattlegroundUpdate().
| void ScriptMgr::OnBeforeAccountDelete | ( | uint32 | accountId | ) |
References ACCOUNTHOOK_ON_BEFORE_ACCOUNT_DELETE, CALL_ENABLED_HOOKS, and AccountScript::OnBeforeAccountDelete().
| bool ScriptMgr::OnBeforeArenaCheckWinConditions | ( | Battleground *const | bg | ) |
References ARENAHOOK_ON_BEFORE_CHECK_WIN_CONDITION, CALL_ENABLED_BOOLEAN_HOOKS, and ArenaScript::OnBeforeArenaCheckWinConditions().
| bool ScriptMgr::OnBeforeArenaTeamMemberUpdate | ( | ArenaTeam * | team, |
| Player * | player, | ||
| bool | won, | ||
| uint32 | opponentMatchmakerRating, | ||
| int32 | matchmakerChange | ||
| ) |
References ARENAHOOK_ON_BEFORE_TEAM_MEMBER_UPDATE, CALL_ENABLED_BOOLEAN_HOOKS, and ArenaScript::OnBeforeArenaTeamMemberUpdate().
| void ScriptMgr::OnBeforeAuctionHouseMgrSendAuctionCancelledToBidderMail | ( | AuctionHouseMgr * | auctionHouseMgr, |
| AuctionEntry * | auction, | ||
| Player * | bidder, | ||
| uint32 & | bidder_accId, | ||
| bool & | sendMail | ||
| ) |
References AUCTIONHOUSEHOOK_ON_BEFORE_AUCTIONHOUSEMGR_SEND_AUCTION_CANCELLED_TO_BIDDER_MAIL, CALL_ENABLED_HOOKS, and AuctionHouseScript::OnBeforeAuctionHouseMgrSendAuctionCancelledToBidderMail().
| void ScriptMgr::OnBeforeAuctionHouseMgrSendAuctionExpiredMail | ( | AuctionHouseMgr * | auctionHouseMgr, |
| AuctionEntry * | auction, | ||
| Player * | owner, | ||
| uint32 & | owner_accId, | ||
| bool & | sendNotification, | ||
| bool & | sendMail | ||
| ) |
References AUCTIONHOUSEHOOK_ON_BEFORE_AUCTIONHOUSEMGR_SEND_AUCTION_EXPIRED_MAIL, CALL_ENABLED_HOOKS, and AuctionHouseScript::OnBeforeAuctionHouseMgrSendAuctionExpiredMail().
| void ScriptMgr::OnBeforeAuctionHouseMgrSendAuctionOutbiddedMail | ( | AuctionHouseMgr * | auctionHouseMgr, |
| AuctionEntry * | auction, | ||
| Player * | oldBidder, | ||
| uint32 & | oldBidder_accId, | ||
| Player * | newBidder, | ||
| uint32 & | newPrice, | ||
| bool & | sendNotification, | ||
| bool & | sendMail | ||
| ) |
References AUCTIONHOUSEHOOK_ON_BEFORE_AUCTIONHOUSEMGR_SEND_AUCTION_OUTBIDDED_MAIL, CALL_ENABLED_HOOKS, and AuctionHouseScript::OnBeforeAuctionHouseMgrSendAuctionOutbiddedMail().
| void ScriptMgr::OnBeforeAuctionHouseMgrSendAuctionSalePendingMail | ( | AuctionHouseMgr * | auctionHouseMgr, |
| AuctionEntry * | auction, | ||
| Player * | owner, | ||
| uint32 & | owner_accId, | ||
| bool & | sendMail | ||
| ) |
References AUCTIONHOUSEHOOK_ON_BEFORE_AUCTIONHOUSEMGR_SEND_AUCTION_SALE_PENDING_MAIL, CALL_ENABLED_HOOKS, and AuctionHouseScript::OnBeforeAuctionHouseMgrSendAuctionSalePendingMail().
| void ScriptMgr::OnBeforeAuctionHouseMgrSendAuctionSuccessfulMail | ( | AuctionHouseMgr * | auctionHouseMgr, |
| AuctionEntry * | auction, | ||
| Player * | owner, | ||
| uint32 & | owner_accId, | ||
| uint32 & | profit, | ||
| bool & | sendNotification, | ||
| bool & | updateAchievementCriteria, | ||
| bool & | sendMail | ||
| ) |
References AUCTIONHOUSEHOOK_ON_BEFORE_AUCTIONHOUSEMGR_SEND_AUCTION_SUCCESSFUL_MAIL, CALL_ENABLED_HOOKS, and AuctionHouseScript::OnBeforeAuctionHouseMgrSendAuctionSuccessfulMail().
| void ScriptMgr::OnBeforeAuctionHouseMgrSendAuctionWonMail | ( | AuctionHouseMgr * | auctionHouseMgr, |
| AuctionEntry * | auction, | ||
| Player * | bidder, | ||
| uint32 & | bidder_accId, | ||
| bool & | sendNotification, | ||
| bool & | updateAchievementCriteria, | ||
| bool & | sendMail | ||
| ) |
References AUCTIONHOUSEHOOK_ON_BEFORE_AUCTIONHOUSEMGR_SEND_AUCTION_WON_MAIL, CALL_ENABLED_HOOKS, and AuctionHouseScript::OnBeforeAuctionHouseMgrSendAuctionWonMail().
| void ScriptMgr::OnBeforeAuctionHouseMgrUpdate | ( | ) |
References AUCTIONHOUSEHOOK_ON_BEFORE_AUCTIONHOUSEMGR_UPDATE, CALL_ENABLED_HOOKS, and AuctionHouseScript::OnBeforeAuctionHouseMgrUpdate().
| void ScriptMgr::OnBeforeAuraRankForLevel | ( | SpellInfo const * | spellInfo, |
| SpellInfo const * | latestSpellInfo, | ||
| uint8 | level | ||
| ) |
References ALLSPELLHOOK_ON_BEFORE_AURA_RANK_FOR_LEVEL, CALL_ENABLED_HOOKS, and AllSpellScript::OnBeforeAuraRankForLevel().
| void ScriptMgr::OnBeforeCheckCriteria | ( | AchievementMgr * | mgr, |
| AchievementCriteriaEntryList const * | achievementCriteriaList | ||
| ) |
References ACHIEVEMENTHOOK_ON_BEFORE_CHECK_CRITERIA, CALL_ENABLED_HOOKS, and AchievementScript::OnBeforeCheckCriteria().
| void ScriptMgr::OnBeforeConfigLoad | ( | bool | reload | ) |
References CALL_ENABLED_HOOKS, WorldScript::OnBeforeConfigLoad(), and WORLDHOOK_ON_BEFORE_CONFIG_LOAD.
| void ScriptMgr::OnBeforeCreateInstanceScript | ( | InstanceMap * | instanceMap, |
| InstanceScript ** | instanceData, | ||
| bool | load, | ||
| std::string | data, | ||
| uint32 | completedEncounterMask | ||
| ) |
References ALLMAPHOOK_ON_BEFORE_CREATE_INSTANCE_SCRIPT, CALL_ENABLED_HOOKS, and AllMapScript::OnBeforeCreateInstanceScript().
| void ScriptMgr::OnBeforeCreatureSelectLevel | ( | const CreatureTemplate * | cinfo, |
| Creature * | creature, | ||
| uint8 & | level | ||
| ) |
References AllCreatureScript::OnBeforeCreatureSelectLevel().
| void ScriptMgr::OnBeforeDropAddItem | ( | Player const * | player, |
| Loot & | loot, | ||
| bool | canRate, | ||
| uint16 | lootMode, | ||
| LootStoreItem * | LootStoreItem, | ||
| LootStore const & | store | ||
| ) |
References CALL_ENABLED_HOOKS, GLOBALHOOK_ON_BEFORE_DROP_ADD_ITEM, and GlobalScript::OnBeforeDropAddItem().
| void ScriptMgr::OnBeforeFinalizePlayerWorldSession | ( | uint32 & | cacheVersion | ) |
References CALL_ENABLED_HOOKS, WorldScript::OnBeforeFinalizePlayerWorldSession(), and WORLDHOOK_ON_BEFORE_FINALIZE_PLAYER_WORLD_SESSION.
| bool ScriptMgr::OnBeforeIsInvokerVisible | ( | std::string | name, |
| Acore::Impl::ChatCommands::CommandPermissions | permissions, | ||
| ChatHandler const & | who | ||
| ) |
References ALLCOMMANDHOOK_ON_BEFORE_IS_INVOKER_VISIBLE, CALL_ENABLED_BOOLEAN_HOOKS, and AllCommandScript::OnBeforeIsInvokerVisible().
| bool ScriptMgr::OnBeforeLootEqualChanced | ( | Player const * | player, |
| LootStoreItemList | EqualChanced, | ||
| Loot & | loot, | ||
| LootStore const & | store | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, GLOBALHOOK_ON_BEFORE_LOOT_EQUAL_CHANCED, and GlobalScript::OnBeforeLootEqualChanced().
| void ScriptMgr::OnBeforeMailDraftSendMailTo | ( | MailDraft * | mailDraft, |
| MailReceiver const & | receiver, | ||
| MailSender const & | sender, | ||
| MailCheckMask & | checked, | ||
| uint32 & | deliver_delay, | ||
| uint32 & | custom_expiration, | ||
| bool & | deleteMailItemsFromDB, | ||
| bool & | sendMail | ||
| ) |
References CALL_ENABLED_HOOKS, MAILHOOK_ON_BEFORE_MAIL_DRAFT_SEND_MAIL_TO, and MailScript::OnBeforeMailDraftSendMailTo().
| void ScriptMgr::OnBeforeRollMeleeOutcomeAgainst | ( | Unit const * | attacker, |
| Unit const * | victim, | ||
| WeaponAttackType | attType, | ||
| int32 & | attackerMaxSkillValueForLevel, | ||
| int32 & | victimMaxSkillValueForLevel, | ||
| int32 & | attackerWeaponSkill, | ||
| int32 & | victimDefenseSkill, | ||
| int32 & | crit_chance, | ||
| int32 & | miss_chance, | ||
| int32 & | dodge_chance, | ||
| int32 & | parry_chance, | ||
| int32 & | block_chance | ||
| ) |
References CALL_ENABLED_HOOKS, UnitScript::OnBeforeRollMeleeOutcomeAgainst(), and UNITHOOK_ON_BEFORE_ROLL_MELEE_OUTCOME_AGAINST.
| bool ScriptMgr::OnBeforeSendExitMessageArenaQueue | ( | BattlegroundQueue * | queue, |
| GroupQueueInfo * | ginfo | ||
| ) |
References ALLBATTLEGROUNDHOOK_ON_BEFORE_SEND_EXIT_MESSAGE_ARENA_QUEUE, CALL_ENABLED_BOOLEAN_HOOKS, and AllBattlegroundScript::OnBeforeSendExitMessageArenaQueue().
| bool ScriptMgr::OnBeforeSendJoinMessageArenaQueue | ( | BattlegroundQueue * | queue, |
| Player * | leader, | ||
| GroupQueueInfo * | ginfo, | ||
| PvPDifficultyEntry const * | bracketEntry, | ||
| bool | isRated | ||
| ) |
References ALLBATTLEGROUNDHOOK_ON_BEFORE_SEND_JOIN_MESSAGE_ARENA_QUEUE, CALL_ENABLED_BOOLEAN_HOOKS, and AllBattlegroundScript::OnBeforeSendJoinMessageArenaQueue().
| void ScriptMgr::OnBeforeSetBossState | ( | uint32 | id, |
| EncounterState | newState, | ||
| EncounterState | oldState, | ||
| Map * | instance | ||
| ) |
Called when any raid boss has their state updated (e.g. pull, reset, kill).
Careful checks for old- and newState are required, since it can fire multiple times and not only when combat starts/ends.
| id | The id of the boss in the [instance] |
| newState | The new boss state to be applied to this boss |
| oldState | The previously assigned state of this boss |
| instance | A pointer to the [map] object of the instance |
References CALL_ENABLED_HOOKS, GLOBALHOOK_ON_BEFORE_SET_BOSS_STATE, instance(), and GlobalScript::OnBeforeSetBossState().
| void ScriptMgr::OnBeforeUpdateArenaPoints | ( | ArenaTeam * | at, |
| std::map< ObjectGuid, uint32 > & | ap | ||
| ) |
References CALL_ENABLED_HOOKS, GLOBALHOOK_ON_BEFORE_UPDATE_ARENA_POINTS, and GlobalScript::OnBeforeUpdateArenaPoints().
References CALL_ENABLED_HOOKS, FORMULAHOOK_ON_BEFORE_UPDATING_PERSONAL_RATING, and FormulaScript::OnBeforeUpdatingPersonalRating().
| void ScriptMgr::OnBeforeWorldInitialized | ( | ) |
References CALL_ENABLED_HOOKS, WorldScript::OnBeforeWorldInitialized(), and WORLDHOOK_ON_BEFORE_WORLD_INITIALIZED.
| void ScriptMgr::OnBeforeWorldObjectSetPhaseMask | ( | WorldObject const * | worldObject, |
| uint32 & | oldPhaseMask, | ||
| uint32 & | newPhaseMask, | ||
| bool & | useCombinedPhases, | ||
| bool & | update | ||
| ) |
References CALL_ENABLED_HOOKS, GLOBALHOOK_ON_BEFORE_WORLDOBJECT_SET_PHASEMASK, and GlobalScript::OnBeforeWorldObjectSetPhaseMask().
References ALLSPELLHOOK_ON_CALC_MAX_DURATION, CALL_ENABLED_HOOKS, and AllSpellScript::OnCalcMaxDuration().
References CALL_ENABLED_HOOKS, PetScript::OnCalculateMaxTalentPointsForLevel(), and PETHOOK_ON_CALCULATE_MAX_TALENT_POINTS_FOR_LEVEL.
| bool ScriptMgr::OnCastItemCombatSpell | ( | Player * | player, |
| Unit * | victim, | ||
| SpellInfo const * | spellInfo, | ||
| Item * | item | ||
| ) |
References ASSERT, ScriptRegistry< TScript >::GetScriptById(), and Item::GetScriptId().
| void ScriptMgr::OnColorCodeCalculation | ( | XPColorChar & | color, |
| uint8 | playerLevel, | ||
| uint8 | mobLevel | ||
| ) |
References CALL_ENABLED_HOOKS, FORMULAHOOK_ON_COLOR_CODE_CALCULATION, and FormulaScript::OnColorCodeCalculation().
| bool ScriptMgr::OnConditionCheck | ( | Condition * | condition, |
| ConditionSourceInfo & | sourceInfo | ||
| ) |
References ASSERT, ScriptRegistry< TScript >::GetScriptById(), and Condition::ScriptId.
| void ScriptMgr::OnConstructGroup | ( | Group * | origin | ) |
References CALL_ENABLED_HOOKS, MISCHOOK_ON_CONSTRUCT_GROUP, and MiscScript::OnConstructGroup().
| void ScriptMgr::OnConstructInstanceSave | ( | InstanceSave * | origin | ) |
References CALL_ENABLED_HOOKS, MISCHOOK_ON_CONSTRUCT_INSTANCE_SAVE, and MiscScript::OnConstructInstanceSave().
| void ScriptMgr::OnConstructObject | ( | Object * | origin | ) |
References CALL_ENABLED_HOOKS, MISCHOOK_ON_CONSTRUCT_OBJECT, and MiscScript::OnConstructObject().
| void ScriptMgr::OnConstructPlayer | ( | Player * | origin | ) |
References CALL_ENABLED_HOOKS, MISCHOOK_ON_CONSTRUCT_PLAYER, and MiscScript::OnConstructPlayer().
References CALL_ENABLED_HOOKS, GROUPHOOK_ON_CREATE, and GroupScript::OnCreate().
| void ScriptMgr::OnCreateMap | ( | Map * | map | ) |
References ALLMAPHOOK_ON_CREATE_MAP, ASSERT, CALL_ENABLED_HOOKS, MapScript< TMap >::OnCreate(), and AllMapScript::OnCreateMap().
| void ScriptMgr::OnCreatureAddWorld | ( | Creature * | creature | ) |
References ASSERT, and AllCreatureScript::OnCreatureAddWorld().
| void ScriptMgr::OnCreatureRemoveWorld | ( | Creature * | creature | ) |
References ASSERT, and AllCreatureScript::OnCreatureRemoveWorld().
| void ScriptMgr::OnCreatureSaveToDB | ( | Creature * | creature | ) |
References ASSERT, and AllCreatureScript::OnCreatureSaveToDB().
| void ScriptMgr::OnCreatureSelectLevel | ( | const CreatureTemplate * | cinfo, |
| Creature * | creature | ||
| ) |
References AllCreatureScript::OnCreatureSelectLevel().
References ASSERT, Creature::GetScriptId(), and AllCreatureScript::OnAllCreatureUpdate().
| bool ScriptMgr::OnCriteriaCheck | ( | uint32 | scriptId, |
| Player * | source, | ||
| Unit * | target, | ||
| uint32 | criteria_id | ||
| ) |
References ASSERT, and ScriptRegistry< TScript >::GetScriptById().
References CALL_ENABLED_HOOKS, UnitScript::OnDamage(), and UNITHOOK_ON_DAMAGE.
| void ScriptMgr::OnDestroyInstance | ( | MapInstanced * | mapInstanced, |
| Map * | map | ||
| ) |
References ALLMAPHOOK_ON_DESTROY_INSTANCE, CALL_ENABLED_HOOKS, and AllMapScript::OnDestroyInstance().
| void ScriptMgr::OnDestroyMap | ( | Map * | map | ) |
References ALLMAPHOOK_ON_DESTROY_MAP, ASSERT, CALL_ENABLED_HOOKS, MapScript< TMap >::OnDestroy(), and AllMapScript::OnDestroyMap().
| void ScriptMgr::OnDestructGroup | ( | Group * | origin | ) |
References CALL_ENABLED_HOOKS, MISCHOOK_ON_DESTRUCT_GROUP, and MiscScript::OnDestructGroup().
| void ScriptMgr::OnDestructInstanceSave | ( | InstanceSave * | origin | ) |
References CALL_ENABLED_HOOKS, MISCHOOK_ON_DESTRUCT_INSTANCE_SAVE, and MiscScript::OnDestructInstanceSave().
| void ScriptMgr::OnDestructObject | ( | Object * | origin | ) |
References CALL_ENABLED_HOOKS, MISCHOOK_ON_DESTRUCT_OBJECT, and MiscScript::OnDestructObject().
| void ScriptMgr::OnDestructPlayer | ( | Player * | origin | ) |
References CALL_ENABLED_HOOKS, MISCHOOK_ON_DESTRUCT_PLAYER, and MiscScript::OnDestructPlayer().
References CALL_ENABLED_HOOKS, UnitScript::OnDisplayIdChange(), and UNITHOOK_ON_DISPLAYID_CHANGE.
| void ScriptMgr::OnDummyEffect | ( | WorldObject * | caster, |
| uint32 | spellID, | ||
| SpellEffIndex | effIndex, | ||
| Creature * | creatureTarget | ||
| ) |
References ALLSPELLHOOK_ON_DUMMY_EFFECT_CREATURE, CALL_ENABLED_HOOKS, and AllSpellScript::OnDummyEffect().
| void ScriptMgr::OnDummyEffect | ( | WorldObject * | caster, |
| uint32 | spellID, | ||
| SpellEffIndex | effIndex, | ||
| GameObject * | gameObjTarget | ||
| ) |
References ALLSPELLHOOK_ON_DUMMY_EFFECT_GAMEOBJECT, CALL_ENABLED_HOOKS, and AllSpellScript::OnDummyEffect().
| void ScriptMgr::OnDummyEffect | ( | WorldObject * | caster, |
| uint32 | spellID, | ||
| SpellEffIndex | effIndex, | ||
| Item * | itemTarget | ||
| ) |
References ALLSPELLHOOK_ON_DUMMY_EFFECT_ITEM, CALL_ENABLED_HOOKS, and AllSpellScript::OnDummyEffect().
| void ScriptMgr::OnDynamicObjectUpdate | ( | DynamicObject * | dynobj, |
| uint32 | diff | ||
| ) |
| void ScriptMgr::OnEmailChange | ( | uint32 | accountId | ) |
References ACCOUNTHOOK_ON_EMAIL_CHANGE, CALL_ENABLED_HOOKS, and AccountScript::OnEmailChange().
| void ScriptMgr::OnFailedAccountLogin | ( | uint32 | accountId | ) |
References ACCOUNTHOOK_ON_FAILED_ACCOUNT_LOGIN, CALL_ENABLED_HOOKS, and AccountScript::OnFailedAccountLogin().
| void ScriptMgr::OnFailedEmailChange | ( | uint32 | accountId | ) |
References ACCOUNTHOOK_ON_FAILED_EMAIL_CHANGE, CALL_ENABLED_HOOKS, and AccountScript::OnFailedEmailChange().
| void ScriptMgr::OnFailedPasswordChange | ( | uint32 | accountId | ) |
References ACCOUNTHOOK_ON_FAILED_PASSWORD_CHANGE, CALL_ENABLED_HOOKS, and AccountScript::OnFailedPasswordChange().
| void ScriptMgr::OnFfaPvpStateUpdate | ( | Creature * | creature, |
| bool | InPvp | ||
| ) |
References AllCreatureScript::OnFfaPvpStateUpdate().
References ASSERT, CALL_ENABLED_HOOKS, FORMULAHOOK_ON_GAIN_CALCULATION, and FormulaScript::OnGainCalculation().
| void ScriptMgr::OnGameEventCheck | ( | uint16 | EventID | ) |
References CALL_ENABLED_HOOKS, GAMEEVENTHOOK_ON_EVENT_CHECK, and GameEventScript::OnEventCheck().
| void ScriptMgr::OnGameEventStart | ( | uint16 | EventID | ) |
References CALL_ENABLED_HOOKS, GAMEEVENTHOOK_ON_START, and GameEventScript::OnStart().
| void ScriptMgr::OnGameEventStop | ( | uint16 | EventID | ) |
References CALL_ENABLED_HOOKS, GAMEEVENTHOOK_ON_STOP, and GameEventScript::OnStop().
| void ScriptMgr::OnGameObjectAddWorld | ( | GameObject * | go | ) |
References ASSERT, and AllGameObjectScript::OnGameObjectAddWorld().
| void ScriptMgr::OnGameObjectDamaged | ( | GameObject * | go, |
| Player * | player | ||
| ) |
References ASSERT, GameObject::GetScriptId(), and AllGameObjectScript::OnGameObjectDamaged().
| void ScriptMgr::OnGameObjectDestroyed | ( | GameObject * | go, |
| Player * | player | ||
| ) |
References ASSERT, GameObject::GetScriptId(), and AllGameObjectScript::OnGameObjectDestroyed().
| void ScriptMgr::OnGameObjectLootStateChanged | ( | GameObject * | go, |
| uint32 | state, | ||
| Unit * | unit | ||
| ) |
References ASSERT, GameObject::GetScriptId(), and AllGameObjectScript::OnGameObjectLootStateChanged().
| void ScriptMgr::OnGameObjectModifyHealth | ( | GameObject * | go, |
| Unit * | attackerOrHealer, | ||
| int32 & | change, | ||
| SpellInfo const * | spellInfo | ||
| ) |
References ASSERT, GameObject::GetScriptId(), and AllGameObjectScript::OnGameObjectModifyHealth().
| void ScriptMgr::OnGameObjectRemoveWorld | ( | GameObject * | go | ) |
References ASSERT, and AllGameObjectScript::OnGameObjectRemoveWorld().
| void ScriptMgr::OnGameObjectSaveToDB | ( | GameObject * | go | ) |
References ASSERT, and AllGameObjectScript::OnGameObjectSaveToDB().
| void ScriptMgr::OnGameObjectStateChanged | ( | GameObject * | go, |
| uint32 | state | ||
| ) |
References ASSERT, GameObject::GetScriptId(), and AllGameObjectScript::OnGameObjectStateChanged().
| void ScriptMgr::OnGameObjectUpdate | ( | GameObject * | go, |
| uint32 | diff | ||
| ) |
References ASSERT, GameObject::GetScriptId(), and AllGameObjectScript::OnGameObjectUpdate().
| void ScriptMgr::OnGetArenaPoints | ( | ArenaTeam * | at, |
| float & | points | ||
| ) |
References ARENATEAMHOOK_ON_GET_ARENA_POINTS, CALL_ENABLED_HOOKS, and ArenaTeamScript::OnGetArenaPoints().
References ARENAHOOK_ON_GET_POINTS, CALL_ENABLED_HOOKS, and ArenaScript::OnGetPoints().
References ARENATEAMHOOK_ON_GET_SLOT_BY_TYPE, CALL_ENABLED_HOOKS, and ArenaTeamScript::OnGetSlotByType().
| void ScriptMgr::OnGlobalItemDelFromDB | ( | CharacterDatabaseTransaction | trans, |
| ObjectGuid::LowType | itemGuid | ||
| ) |
References ASSERT, CALL_ENABLED_HOOKS, GLOBALHOOK_ON_ITEM_DEL_FROM_DB, and GlobalScript::OnItemDelFromDB().
References CALL_ENABLED_HOOKS, GLOBALHOOK_ON_MIRRORIMAGE_DISPLAY_ITEM, and GlobalScript::OnMirrorImageDisplayItem().
References ASSERT, AllCreatureScript::CanCreatureGossipHello(), ClearGossipMenuFor(), ScriptRegistry< TScript >::GetScriptById(), and Creature::GetScriptId().
| bool ScriptMgr::OnGossipHello | ( | Player * | player, |
| GameObject * | go | ||
| ) |
References ASSERT, AllGameObjectScript::CanGameObjectGossipHello(), ClearGossipMenuFor(), ScriptRegistry< TScript >::GetScriptById(), and GameObject::GetScriptId().
| bool ScriptMgr::OnGossipSelect | ( | Player * | player, |
| Creature * | creature, | ||
| uint32 | sender, | ||
| uint32 | action | ||
| ) |
References ASSERT, AllCreatureScript::CanCreatureGossipSelect(), ScriptRegistry< TScript >::GetScriptById(), and Creature::GetScriptId().
| bool ScriptMgr::OnGossipSelect | ( | Player * | player, |
| GameObject * | go, | ||
| uint32 | sender, | ||
| uint32 | action | ||
| ) |
References ASSERT, AllGameObjectScript::CanGameObjectGossipSelect(), ScriptRegistry< TScript >::GetScriptById(), and GameObject::GetScriptId().
References ASSERT, Item::GetScriptId(), and AllItemScript::OnItemGossipSelect().
| bool ScriptMgr::OnGossipSelectCode | ( | Player * | player, |
| Creature * | creature, | ||
| uint32 | sender, | ||
| uint32 | action, | ||
| const char * | code | ||
| ) |
References ASSERT, AllCreatureScript::CanCreatureGossipSelectCode(), ScriptRegistry< TScript >::GetScriptById(), and Creature::GetScriptId().
| bool ScriptMgr::OnGossipSelectCode | ( | Player * | player, |
| GameObject * | go, | ||
| uint32 | sender, | ||
| uint32 | action, | ||
| const char * | code | ||
| ) |
References ASSERT, AllGameObjectScript::CanGameObjectGossipSelectCode(), ScriptRegistry< TScript >::GetScriptById(), and GameObject::GetScriptId().
| void ScriptMgr::OnGossipSelectCode | ( | Player * | player, |
| Item * | item, | ||
| uint32 | sender, | ||
| uint32 | action, | ||
| const char * | code | ||
| ) |
References ASSERT, Item::GetScriptId(), and AllItemScript::OnItemGossipSelectCode().
References CALL_ENABLED_HOOKS, FORMULAHOOK_ON_GRAY_LEVEL_CALCULATION, and FormulaScript::OnGrayLevelCalculation().
| void ScriptMgr::OnGroupAddMember | ( | Group * | group, |
| ObjectGuid | guid | ||
| ) |
References ASSERT, CALL_ENABLED_HOOKS, GROUPHOOK_ON_ADD_MEMBER, and GroupScript::OnAddMember().
| void ScriptMgr::OnGroupChangeLeader | ( | Group * | group, |
| ObjectGuid | newLeaderGuid, | ||
| ObjectGuid | oldLeaderGuid | ||
| ) |
References ASSERT, CALL_ENABLED_HOOKS, GROUPHOOK_ON_CHANGE_LEADER, and GroupScript::OnChangeLeader().
| void ScriptMgr::OnGroupDisband | ( | Group * | group | ) |
References ASSERT, CALL_ENABLED_HOOKS, GROUPHOOK_ON_DISBAND, and GroupScript::OnDisband().
| void ScriptMgr::OnGroupInviteMember | ( | Group * | group, |
| ObjectGuid | guid | ||
| ) |
References ASSERT, CALL_ENABLED_HOOKS, GROUPHOOK_ON_INVITE_MEMBER, and GroupScript::OnInviteMember().
| void ScriptMgr::OnGroupRateCalculation | ( | float & | rate, |
| uint32 | count, | ||
| bool | isRaid | ||
| ) |
References CALL_ENABLED_HOOKS, FORMULAHOOK_ON_GROUP_RATE_CALCULATION, and FormulaScript::OnGroupRateCalculation().
| void ScriptMgr::OnGroupRemoveMember | ( | Group * | group, |
| ObjectGuid | guid, | ||
| RemoveMethod | method, | ||
| ObjectGuid | kicker, | ||
| const char * | reason | ||
| ) |
References ASSERT, CALL_ENABLED_HOOKS, GROUPHOOK_ON_REMOVE_MEMBER, and GroupScript::OnRemoveMember().
References CALL_ENABLED_HOOKS, GUILDHOOK_ON_ADD_MEMBER, and GuildScript::OnAddMember().
| void ScriptMgr::OnGuildBankEvent | ( | Guild * | guild, |
| uint8 | eventType, | ||
| uint8 | tabId, | ||
| ObjectGuid::LowType | playerGuid, | ||
| uint32 | itemOrMoney, | ||
| uint16 | itemStackCount, | ||
| uint8 | destTabId | ||
| ) |
References CALL_ENABLED_HOOKS, GUILDHOOK_ON_BANK_EVENT, and GuildScript::OnBankEvent().
References CALL_ENABLED_HOOKS, GUILDHOOK_ON_CREATE, and GuildScript::OnCreate().
| void ScriptMgr::OnGuildDisband | ( | Guild * | guild | ) |
References CALL_ENABLED_HOOKS, GUILDHOOK_ON_DISBAND, and GuildScript::OnDisband().
| void ScriptMgr::OnGuildEvent | ( | Guild * | guild, |
| uint8 | eventType, | ||
| ObjectGuid::LowType | playerGuid1, | ||
| ObjectGuid::LowType | playerGuid2, | ||
| uint8 | newRank | ||
| ) |
References CALL_ENABLED_HOOKS, GUILDHOOK_ON_EVENT, and GuildScript::OnEvent().
| void ScriptMgr::OnGuildInfoChanged | ( | Guild * | guild, |
| const std::string & | newInfo | ||
| ) |
References CALL_ENABLED_HOOKS, GUILDHOOK_ON_INFO_CHANGED, and GuildScript::OnInfoChanged().
| void ScriptMgr::OnGuildItemMove | ( | Guild * | guild, |
| Player * | player, | ||
| Item * | pItem, | ||
| bool | isSrcBank, | ||
| uint8 | srcContainer, | ||
| uint8 | srcSlotId, | ||
| bool | isDestBank, | ||
| uint8 | destContainer, | ||
| uint8 | destSlotId | ||
| ) |
References CALL_ENABLED_HOOKS, GUILDHOOK_ON_ITEM_MOVE, and GuildScript::OnItemMove().
References CALL_ENABLED_HOOKS, GUILDHOOK_ON_MEMBER_DEPOSIT_MONEY, and GuildScript::OnMemberDepositMoney().
| void ScriptMgr::OnGuildMemberWitdrawMoney | ( | Guild * | guild, |
| Player * | player, | ||
| uint32 & | amount, | ||
| bool | isRepair | ||
| ) |
References CALL_ENABLED_HOOKS, GUILDHOOK_ON_MEMBER_WITDRAW_MONEY, and GuildScript::OnMemberWitdrawMoney().
| void ScriptMgr::OnGuildMOTDChanged | ( | Guild * | guild, |
| const std::string & | newMotd | ||
| ) |
References CALL_ENABLED_HOOKS, GUILDHOOK_ON_MOTD_CHANGED, and GuildScript::OnMOTDChanged().
| void ScriptMgr::OnGuildRemoveMember | ( | Guild * | guild, |
| Player * | player, | ||
| bool | isDisbanding, | ||
| bool | isKicked | ||
| ) |
References CALL_ENABLED_HOOKS, GUILDHOOK_ON_REMOVE_MEMBER, and GuildScript::OnRemoveMember().
| void ScriptMgr::OnHandleDevCommand | ( | Player * | player, |
| bool & | enable | ||
| ) |
References ALLCOMMANDHOOK_ON_HANDLE_DEV_COMMAND, CALL_ENABLED_HOOKS, and AllCommandScript::OnHandleDevCommand().
References CALL_ENABLED_HOOKS, UnitScript::OnHeal(), and UNITHOOK_ON_HEAL.
| void ScriptMgr::OnHonorCalculation | ( | float & | honor, |
| uint8 | level, | ||
| float | multiplier | ||
| ) |
References CALL_ENABLED_HOOKS, FORMULAHOOK_ON_HONOR_CALCULATION, and FormulaScript::OnHonorCalculation().
| void ScriptMgr::OnInitializeLockedDungeons | ( | Player * | player, |
| uint8 & | level, | ||
| uint32 & | lockData, | ||
| lfg::LFGDungeonData const * | dungeon | ||
| ) |
References CALL_ENABLED_HOOKS, GLOBALHOOK_ON_INITIALIZE_LOCKED_DUNGEONS, and GlobalScript::OnInitializeLockedDungeons().
References CALL_ENABLED_HOOKS, PetScript::OnInitStatsForLevel(), and PETHOOK_ON_INIT_STATS_FOR_LEVEL.
| void ScriptMgr::OnInstall | ( | Vehicle * | veh | ) |
References ASSERT, Vehicle::GetBase(), Creature::GetScriptId(), Object::IsCreature(), and Object::ToCreature().
References ASSERT, Vehicle::GetBase(), Creature::GetScriptId(), Object::IsCreature(), and Object::ToCreature().
| void ScriptMgr::OnInstanceIdRemoved | ( | uint32 | instanceId | ) |
Called when an instance Id is deleted, usually because it expired or no players are bound to it anymore.
| instanceId | The unique id of the instance |
References CALL_ENABLED_HOOKS, GLOBALHOOK_ON_INSTANCEID_REMOVED, and GlobalScript::OnInstanceIdRemoved().
| void ScriptMgr::OnInstanceSave | ( | InstanceSave * | instanceSave | ) |
References CALL_ENABLED_HOOKS, MISCHOOK_ON_INSTANCE_SAVE, and MiscScript::OnInstanceSave().
| bool ScriptMgr::OnIsAffectedBySpellModCheck | ( | SpellInfo const * | affectSpell, |
| SpellInfo const * | checkSpell, | ||
| SpellModifier const * | mod | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, GLOBALHOOK_ON_IS_AFFECTED_BY_SPELL_MOD_CHECK, and GlobalScript::OnIsAffectedBySpellModCheck().
| void ScriptMgr::OnItemCreate | ( | Item * | item, |
| ItemTemplate const * | itemProto, | ||
| Player const * | owner | ||
| ) |
References CALL_ENABLED_HOOKS, MISCHOOK_ON_ITEM_CREATE, and MiscScript::OnItemCreate().
| bool ScriptMgr::OnItemExpire | ( | Player * | player, |
| ItemTemplate const * | proto | ||
| ) |
References ASSERT, AllItemScript::CanItemExpire(), ScriptRegistry< TScript >::GetScriptById(), and ItemTemplate::ScriptId.
References ASSERT, AllItemScript::CanItemRemove(), ScriptRegistry< TScript >::GetScriptById(), and Item::GetScriptId().
| bool ScriptMgr::OnItemRoll | ( | Player const * | player, |
| LootStoreItem const * | LootStoreItem, | ||
| float & | chance, | ||
| Loot & | loot, | ||
| LootStore const & | store | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, GLOBALHOOK_ON_ITEM_ROLL, and GlobalScript::OnItemRoll().
| bool ScriptMgr::OnItemUse | ( | Player * | player, |
| Item * | item, | ||
| SpellCastTargets const & | targets | ||
| ) |
References ASSERT, AllItemScript::CanItemUse(), ScriptRegistry< TScript >::GetScriptById(), and Item::GetScriptId().
| void ScriptMgr::OnLastIpUpdate | ( | uint32 | accountId, |
| std::string | ip | ||
| ) |
References ACCOUNTHOOK_ON_LAST_IP_UPDATE, CALL_ENABLED_HOOKS, and AccountScript::OnLastIpUpdate().
| void ScriptMgr::OnLoadCustomDatabaseTable | ( | ) |
References CALL_ENABLED_HOOKS, WorldScript::OnLoadCustomDatabaseTable(), and WORLDHOOK_ON_LOAD_CUSTOM_DATABASE_TABLE.
| void ScriptMgr::OnLoadGridMap | ( | Map * | map, |
| GridTerrainData * | gmap, | ||
| uint32 | gx, | ||
| uint32 | gy | ||
| ) |
References ASSERT, and MapScript< TMap >::OnLoadGridMap().
| void ScriptMgr::OnLoadSpellCustomAttr | ( | SpellInfo * | spell | ) |
References CALL_ENABLED_HOOKS, GLOBALHOOK_ON_LOAD_SPELL_CUSTOM_ATTR, and GlobalScript::OnLoadSpellCustomAttr().
References ASSERT, CALL_ENABLED_HOOKS, LOOTHOOK_ON_LOOT_MONEY, and LootScript::OnLootMoney().
References ALLMAPHOOK_ON_MAP_UPDATE, ASSERT, CALL_ENABLED_HOOKS, AllMapScript::OnMapUpdate(), and MapScript< TMap >::OnUpdate().
| void ScriptMgr::OnMotdChange | ( | std::string & | newMotd, |
| LocaleConstant & | locale | ||
| ) |
References CALL_ENABLED_HOOKS, WorldScript::OnMotdChange(), and WORLDHOOK_ON_MOTD_CHANGE.
| void ScriptMgr::OnNetworkStart | ( | ) |
References CALL_ENABLED_HOOKS, ServerScript::OnNetworkStart(), and SERVERHOOK_ON_NETWORK_START.
| void ScriptMgr::OnNetworkStop | ( | ) |
References CALL_ENABLED_HOOKS, ServerScript::OnNetworkStop(), and SERVERHOOK_ON_NETWORK_STOP.
| void ScriptMgr::OnOpenStateChange | ( | bool | open | ) |
References CALL_ENABLED_HOOKS, WorldScript::OnOpenStateChange(), and WORLDHOOK_ON_OPEN_STATE_CHANGE.
| void ScriptMgr::OnPasswordChange | ( | uint32 | accountId | ) |
References ACCOUNTHOOK_ON_PASSWORD_CHANGE, CALL_ENABLED_HOOKS, and AccountScript::OnPasswordChange().
| void ScriptMgr::OnPatchValuesUpdate | ( | Unit const * | unit, |
| ByteBuffer & | valuesUpdateBuf, | ||
| BuildValuesCachePosPointers & | posPointers, | ||
| Player * | target | ||
| ) |
References CALL_ENABLED_HOOKS, UnitScript::OnPatchValuesUpdate(), and UNITHOOK_ON_PATCH_VALUES_UPDATE.
| void ScriptMgr::OnPetAddToWorld | ( | Pet * | pet | ) |
References ASSERT, CALL_ENABLED_HOOKS, PetScript::OnPetAddToWorld(), and PETHOOK_ON_PET_ADD_TO_WORLD.
| void ScriptMgr::OnPlayerAchievementComplete | ( | Player * | player, |
| AchievementEntry const * | achievement | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerAchievementComplete(), and PLAYERHOOK_ON_ACHI_COMPLETE.
| void ScriptMgr::OnPlayerAchievementSave | ( | CharacterDatabaseTransaction | trans, |
| Player * | player, | ||
| uint16 | achiId, | ||
| CompletedAchievementData | achiData | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerAchievementSave(), and PLAYERHOOK_ON_ACHI_SAVE.
| void ScriptMgr::OnPlayerAddToBattleground | ( | Player * | player, |
| Battleground * | bg | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerAddToBattleground(), and PLAYERHOOK_ON_ADD_TO_BATTLEGROUND.
| void ScriptMgr::OnPlayerAfterCreatureLoot | ( | Player * | player | ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerAfterCreatureLoot(), and PLAYERHOOK_ON_AFTER_CREATURE_LOOT.
| void ScriptMgr::OnPlayerAfterCreatureLootMoney | ( | Player * | player | ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerAfterCreatureLootMoney(), and PLAYERHOOK_ON_AFTER_CREATURE_LOOT_MONEY.
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerAfterGuardianInitStatsForLevel(), and PLAYERHOOK_ON_AFTER_GUARDIAN_INIT_STATS_FOR_LEVEL.
| void ScriptMgr::OnPlayerAfterMoveItemFromInventory | ( | Player * | player, |
| Item * | it, | ||
| uint8 | bag, | ||
| uint8 | slot, | ||
| bool | update | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerAfterMoveItemFromInventory(), and PLAYERHOOK_ON_AFTER_MOVE_ITEM_FROM_INVENTORY.
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerAfterSetVisibleItemSlot(), and PLAYERHOOK_ON_AFTER_SET_VISIBLE_ITEM_SLOT.
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerAfterSpecSlotChanged(), and PLAYERHOOK_ON_AFTER_SPEC_SLOT_CHANGED.
| void ScriptMgr::OnPlayerAfterStoreOrEquipNewItem | ( | Player * | player, |
| uint32 | vendorslot, | ||
| Item * | item, | ||
| uint8 | count, | ||
| uint8 | bag, | ||
| uint8 | slot, | ||
| ItemTemplate const * | pProto, | ||
| Creature * | pVendor, | ||
| VendorItem const * | crItem, | ||
| bool | bStore | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerAfterStoreOrEquipNewItem(), and PLAYERHOOK_ON_AFTER_STORE_OR_EQUIP_NEW_ITEM.
| void ScriptMgr::OnPlayerAfterUpdateAttackPowerAndDamage | ( | Player * | player, |
| float & | level, | ||
| float & | base_attPower, | ||
| float & | attPowerMod, | ||
| float & | attPowerMultiplier, | ||
| bool | ranged | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerAfterUpdateAttackPowerAndDamage(), and PLAYERHOOK_ON_AFTER_UPDATE_ATTACK_POWER_AND_DAMAGE.
| void ScriptMgr::OnPlayerAfterUpdateMaxHealth | ( | Player * | player, |
| float & | value | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerAfterUpdateMaxHealth(), and PLAYERHOOK_ON_AFTER_UPDATE_MAX_HEALTH.
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerAfterUpdateMaxPower(), and PLAYERHOOK_ON_AFTER_UPDATE_MAX_POWER.
| void ScriptMgr::OnPlayerApplyAmmoBonuses | ( | Player * | player, |
| ItemTemplate const * | proto, | ||
| float & | currentAmmoDPS | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerApplyAmmoBonuses(), and PLAYERHOOK_ON_APPLY_AMMO_BONUSES.
| void ScriptMgr::OnPlayerApplyEnchantmentItemModsBefore | ( | Player * | player, |
| Item * | item, | ||
| EnchantmentSlot | slot, | ||
| bool | apply, | ||
| uint32 | enchant_spell_id, | ||
| uint32 & | enchant_amount | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerApplyEnchantmentItemModsBefore(), and PLAYERHOOK_ON_APPLY_ENCHANTMENT_ITEM_MODS_BEFORE.
| void ScriptMgr::OnPlayerApplyItemModsBefore | ( | Player * | player, |
| uint8 | slot, | ||
| bool | apply, | ||
| uint8 | itemProtoStatNumber, | ||
| uint32 | statType, | ||
| int32 & | val | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerApplyItemModsBefore(), and PLAYERHOOK_ON_APPLY_ITEM_MODS_BEFORE.
| void ScriptMgr::OnPlayerApplyWeaponDamage | ( | Player * | player, |
| uint8 | slot, | ||
| ItemTemplate const * | proto, | ||
| float & | minDamage, | ||
| float & | maxDamage, | ||
| uint8 | damageIndex | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerApplyWeaponDamage(), and PLAYERHOOK_ON_APPLY_WEAPON_DAMAGE.
| void ScriptMgr::OnPlayerBattlegroundDesertion | ( | Player * | player, |
| BattlegroundDesertionType const | desertionType | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerBattlegroundDesertion(), and PLAYERHOOK_ON_BATTLEGROUND_DESERTION.
| bool ScriptMgr::OnPlayerBeforeAchievementComplete | ( | Player * | player, |
| AchievementEntry const * | achievement | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerBeforeAchievementComplete(), and PLAYERHOOK_ON_BEFORE_ACHI_COMPLETE.
| void ScriptMgr::OnPlayerBeforeBuyItemFromVendor | ( | Player * | player, |
| ObjectGuid | vendorguid, | ||
| uint32 | vendorslot, | ||
| uint32 & | item, | ||
| uint8 | count, | ||
| uint8 | bag, | ||
| uint8 | slot | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerBeforeBuyItemFromVendor(), and PLAYERHOOK_ON_BEFORE_BUY_ITEM_FROM_VENDOR.
| void ScriptMgr::OnPlayerBeforeChooseGraveyard | ( | Player * | player, |
| TeamId | teamId, | ||
| bool | nearCorpse, | ||
| uint32 & | graveyardOverride | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerBeforeChooseGraveyard(), and PLAYERHOOK_ON_BEFORE_CHOOSE_GRAVEYARD.
| bool ScriptMgr::OnPlayerBeforeCriteriaProgress | ( | Player * | player, |
| AchievementCriteriaEntry const * | criteria | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerBeforeCriteriaProgress(), and PLAYERHOOK_ON_BEFORE_CRITERIA_PROGRESS.
| void ScriptMgr::OnPlayerBeforeDurabilityRepair | ( | Player * | player, |
| ObjectGuid | npcGUID, | ||
| ObjectGuid | itemGUID, | ||
| float & | discountMod, | ||
| uint8 | guildBank | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerBeforeDurabilityRepair(), and PLAYERHOOK_ON_BEFORE_DURABILITY_REPAIR.
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerBeforeFillQuestLootItem(), and PLAYERHOOK_ON_BEFORE_FILL_QUEST_LOOT_ITEM.
| void ScriptMgr::OnPlayerBeforeGuardianInitStatsForLevel | ( | Player * | player, |
| Guardian * | guardian, | ||
| CreatureTemplate const * | cinfo, | ||
| PetType & | petType | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerBeforeGuardianInitStatsForLevel(), and PLAYERHOOK_ON_BEFORE_GUARDIAN_INIT_STATS_FOR_LEVEL.
| void ScriptMgr::OnPlayerBeforeInitTalentForLevel | ( | Player * | player, |
| uint8 & | level, | ||
| uint32 & | talentPointsForLevel | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerBeforeInitTalentForLevel(), and PLAYERHOOK_ON_BEFORE_INIT_TALENT_FOR_LEVEL.
| void ScriptMgr::OnPlayerBeforeLoadPetFromDB | ( | Player * | player, |
| uint32 & | petentry, | ||
| uint32 & | petnumber, | ||
| bool & | current, | ||
| bool & | forceLoadFromDB | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerBeforeLoadPetFromDB(), and PLAYERHOOK_ON_BEFORE_LOAD_PET_FROM_DB.
| void ScriptMgr::OnPlayerBeforeLogout | ( | Player * | player | ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerBeforeLogout(), and PLAYERHOOK_ON_BEFORE_LOGOUT.
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerBeforeLootMoney(), and PLAYERHOOK_ON_BEFORE_LOOT_MONEY.
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerBeforeOpenItem(), and PLAYERHOOK_ON_BEFORE_OPEN_ITEM.
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerBeforeQuestComplete(), and PLAYERHOOK_ON_BEFORE_QUEST_COMPLETE.
| void ScriptMgr::OnPlayerBeforeSendChatMessage | ( | Player * | player, |
| uint32 & | type, | ||
| uint32 & | lang, | ||
| std::string & | msg | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerBeforeSendChatMessage(), and PLAYERHOOK_ON_BEFORE_SEND_CHAT_MESSAGE.
| void ScriptMgr::OnPlayerBeforeStoreOrEquipNewItem | ( | Player * | player, |
| uint32 | vendorslot, | ||
| uint32 & | item, | ||
| uint8 | count, | ||
| uint8 | bag, | ||
| uint8 | slot, | ||
| ItemTemplate const * | pProto, | ||
| Creature * | pVendor, | ||
| VendorItem const * | crItem, | ||
| bool | bStore | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerBeforeStoreOrEquipNewItem(), and PLAYERHOOK_ON_BEFORE_STORE_OR_EQUIP_NEW_ITEM.
| bool ScriptMgr::OnPlayerBeforeTeleport | ( | Player * | player, |
| uint32 | mapid, | ||
| float | x, | ||
| float | y, | ||
| float | z, | ||
| float | orientation, | ||
| uint32 | options, | ||
| Unit * | target | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerBeforeTeleport(), and PLAYERHOOK_ON_BEFORE_TELEPORT.
| void ScriptMgr::OnPlayerBeforeTempSummonInitStats | ( | Player * | player, |
| TempSummon * | tempSummon, | ||
| uint32 & | duration | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerBeforeTempSummonInitStats(), and PLAYERHOOK_ON_BEFORE_TEMP_SUMMON_INIT_STATS.
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerBeforeUpdate(), and PLAYERHOOK_ON_BEFORE_UPDATE.
| void ScriptMgr::OnPlayerBeforeUpdateAttackPowerAndDamage | ( | Player * | player, |
| float & | level, | ||
| float & | val2, | ||
| bool | ranged | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerBeforeUpdateAttackPowerAndDamage(), and PLAYERHOOK_ON_BEFORE_UPDATE_ATTACK_POWER_AND_DAMAGE.
| void ScriptMgr::OnPlayerBeforeUpdateSkill | ( | Player * | player, |
| uint32 | skill_id, | ||
| uint32 & | value, | ||
| uint32 | max, | ||
| uint32 | step | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerBeforeUpdateSkill(), and PLAYERHOOK_ON_BEFORE_UPDATE_SKILL.
| void ScriptMgr::OnPlayerBeingCharmed | ( | Player * | player, |
| Unit * | charmer, | ||
| uint32 | oldFactionId, | ||
| uint32 | newFactionId | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerBeingCharmed(), and PLAYERHOOK_ON_BEING_CHARMED.
| void ScriptMgr::OnPlayerBindToInstance | ( | Player * | player, |
| Difficulty | difficulty, | ||
| uint32 | mapid, | ||
| bool | permanent | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerBindToInstance(), and PLAYERHOOK_ON_BIND_TO_INSTANCE.
| void ScriptMgr::OnPlayerCalculateTalentsPoints | ( | Player const * | player, |
| uint32 & | talentPointsForLevel | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerCalculateTalentsPoints(), and PLAYERHOOK_ON_CALCULATE_TALENTS_POINTS.
| bool ScriptMgr::OnPlayerCanApplyEnchantment | ( | Player * | player, |
| Item * | item, | ||
| EnchantmentSlot | slot, | ||
| bool | apply, | ||
| bool | apply_dur, | ||
| bool | ignore_condition | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerCanApplyEnchantment(), and PLAYERHOOK_CAN_APPLY_ENCHANTMENT.
| bool ScriptMgr::OnPlayerCanApplyEquipSpell | ( | Player * | player, |
| SpellInfo const * | spellInfo, | ||
| Item * | item, | ||
| bool | apply, | ||
| bool | form_change | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerCanApplyEquipSpell(), and PLAYERHOOK_CAN_APPLY_EQUIP_SPELL.
| bool ScriptMgr::OnPlayerCanApplyEquipSpellsItemSet | ( | Player * | player, |
| ItemSetEffect * | eff | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerCanApplyEquipSpellsItemSet(), and PLAYERHOOK_CAN_APPLY_EQUIP_SPELLS_ITEM_SET.
| bool ScriptMgr::OnPlayerCanApplyWeaponDependentAuraDamageMod | ( | Player * | player, |
| Item * | item, | ||
| WeaponAttackType | attackType, | ||
| AuraEffect const * | aura, | ||
| bool | apply | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerCanApplyWeaponDependentAuraDamageMod(), and PLAYERHOOK_CAN_APPLY_WEAPON_DEPENDENT_AURA_DAMAGE_MOD.
| bool ScriptMgr::OnPlayerCanAreaExploreAndOutdoor | ( | Player * | player | ) |
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerCanAreaExploreAndOutdoor(), and PLAYERHOOK_CAN_AREA_EXPLORE_AND_OUTDOOR.
| bool ScriptMgr::OnPlayerCanArmorDamageModifier | ( | Player * | player | ) |
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerCanArmorDamageModifier(), and PLAYERHOOK_CAN_ARMOR_DAMAGE_MODIFIER.
| bool ScriptMgr::OnPlayerCanBattleFieldPort | ( | Player * | player, |
| uint8 | arenaType, | ||
| BattlegroundTypeId | BGTypeID, | ||
| uint8 | action | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerCanBattleFieldPort(), and PLAYERHOOK_CAN_BATTLEFIELD_PORT.
| bool ScriptMgr::OnPlayerCanCastItemCombatSpell | ( | Player * | player, |
| Unit * | target, | ||
| WeaponAttackType | attType, | ||
| uint32 | procVictim, | ||
| uint32 | procEx, | ||
| Item * | item, | ||
| ItemTemplate const * | proto | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerCanCastItemCombatSpell(), and PLAYERHOOK_CAN_CAST_ITEM_COMBAT_SPELL.
| bool ScriptMgr::OnPlayerCanCastItemUseSpell | ( | Player * | player, |
| Item * | item, | ||
| SpellCastTargets const & | targets, | ||
| uint8 | cast_count, | ||
| uint32 | glyphIndex | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerCanCastItemUseSpell(), and PLAYERHOOK_CAN_CAST_ITEM_USE_SPELL.
| bool ScriptMgr::OnPlayerCanEnterMap | ( | Player * | player, |
| MapEntry const * | entry, | ||
| InstanceTemplate const * | instance, | ||
| MapDifficulty const * | mapDiff, | ||
| bool | loginCheck | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, instance(), PlayerScript::OnPlayerCanEnterMap(), and PLAYERHOOK_CAN_ENTER_MAP.
| bool ScriptMgr::OnPlayerCanEquipItem | ( | Player * | player, |
| uint8 | slot, | ||
| uint16 & | dest, | ||
| Item * | pItem, | ||
| bool | swap, | ||
| bool | not_loading | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerCanEquipItem(), and PLAYERHOOK_CAN_EQUIP_ITEM.
| bool ScriptMgr::OnPlayerCanFlyInZone | ( | Player * | player, |
| uint32 | mapId, | ||
| uint32 | zoneId, | ||
| SpellInfo const * | bySpell | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerCanFlyInZone(), and PLAYERHOOK_ON_CAN_PLAYER_FLY_IN_ZONE.
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerCanGiveLevel(), and PLAYERHOOK_ON_CAN_GIVE_LEVEL.
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerCanGiveMailRewardAtGiveLevel(), and PLAYERHOOK_CAN_GIVE_MAIL_REWARD_AT_GIVE_LEVEL.
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerCanGroupAccept(), and PLAYERHOOK_CAN_GROUP_ACCEPT.
| bool ScriptMgr::OnPlayerCanGroupInvite | ( | Player * | player, |
| std::string & | membername | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerCanGroupInvite(), and PLAYERHOOK_CAN_GROUP_INVITE.
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerCanInitTrade(), and PLAYERHOOK_CAN_INIT_TRADE.
| bool ScriptMgr::OnPlayerCanJoinInArenaQueue | ( | Player * | player, |
| ObjectGuid | BattlemasterGuid, | ||
| uint8 | arenaslot, | ||
| BattlegroundTypeId | BGTypeID, | ||
| uint8 | joinAsGroup, | ||
| uint8 | IsRated, | ||
| GroupJoinBattlegroundResult & | err | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerCanJoinInArenaQueue(), and PLAYERHOOK_CAN_JOIN_IN_ARENA_QUEUE.
| bool ScriptMgr::OnPlayerCanJoinInBattlegroundQueue | ( | Player * | player, |
| ObjectGuid | BattlemasterGuid, | ||
| BattlegroundTypeId | BGTypeID, | ||
| uint8 | joinAsGroup, | ||
| GroupJoinBattlegroundResult & | err | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerCanJoinInBattlegroundQueue(), and PLAYERHOOK_CAN_JOIN_IN_BATTLEGROUND_QUEUE.
| bool ScriptMgr::OnPlayerCanJoinLfg | ( | Player * | player, |
| uint8 | roles, | ||
| lfg::LfgDungeonSet & | dungeons, | ||
| const std::string & | comment | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerCanJoinLfg(), and PLAYERHOOK_CAN_JOIN_LFG.
| bool ScriptMgr::OnPlayerCanLearnTalent | ( | Player * | player, |
| TalentEntry const * | talent, | ||
| uint32 | rank | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerCanLearnTalent(), and PLAYERHOOK_CAN_LEARN_TALENT.
| bool ScriptMgr::OnPlayerCanPlaceAuctionBid | ( | Player * | player, |
| AuctionEntry * | auction | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerCanPlaceAuctionBid(), and PLAYERHOOK_CAN_PLACE_AUCTION_BID.
| bool ScriptMgr::OnPlayerCanRepopAtGraveyard | ( | Player * | player | ) |
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerCanRepopAtGraveyard(), and PLAYERHOOK_CAN_REPOP_AT_GRAVEYARD.
| bool ScriptMgr::OnPlayerCanResurrect | ( | Player * | player | ) |
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerCanResurrect(), and PLAYERHOOK_CAN_RESURRECT.
| bool ScriptMgr::OnPlayerCanSaveEquipNewItem | ( | Player * | player, |
| Item * | item, | ||
| uint16 | pos, | ||
| bool | update | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerCanSaveEquipNewItem(), and PLAYERHOOK_CAN_SAVE_EQUIP_NEW_ITEM.
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerCanSellItem(), and PLAYERHOOK_CAN_SELL_ITEM.
| bool ScriptMgr::OnPlayerCanSendErrorAlreadyLooted | ( | Player * | player | ) |
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerCanSendErrorAlreadyLooted(), and PLAYERHOOK_CAN_SEND_ERROR_ALREADY_LOOTED.
| bool ScriptMgr::OnPlayerCanSendMail | ( | Player * | player, |
| ObjectGuid | receiverGuid, | ||
| ObjectGuid | mailbox, | ||
| std::string & | subject, | ||
| std::string & | body, | ||
| uint32 | money, | ||
| uint32 | COD, | ||
| Item * | item | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerCanSendMail(), and PLAYERHOOK_CAN_SEND_MAIL.
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerCanSetTradeItem(), and PLAYERHOOK_CAN_SET_TRADE_ITEM.
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerCanUnequipItem(), and PLAYERHOOK_CAN_UNEQUIP_ITEM.
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerCanUpdateSkill(), and PLAYERHOOK_ON_CAN_UPDATE_SKILL.
| bool ScriptMgr::OnPlayerCanUseChat | ( | Player * | player, |
| uint32 | type, | ||
| uint32 | language, | ||
| std::string & | msg | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerCanUseChat(), and PLAYERHOOK_CAN_PLAYER_USE_CHAT.
| bool ScriptMgr::OnPlayerCanUseChat | ( | Player * | player, |
| uint32 | type, | ||
| uint32 | language, | ||
| std::string & | msg, | ||
| Channel * | channel | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerCanUseChat(), and PLAYERHOOK_CAN_PLAYER_USE_CHANNEL_CHAT.
| bool ScriptMgr::OnPlayerCanUseChat | ( | Player * | player, |
| uint32 | type, | ||
| uint32 | language, | ||
| std::string & | msg, | ||
| Group * | group | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerCanUseChat(), and PLAYERHOOK_CAN_PLAYER_USE_GROUP_CHAT.
| bool ScriptMgr::OnPlayerCanUseChat | ( | Player * | player, |
| uint32 | type, | ||
| uint32 | language, | ||
| std::string & | msg, | ||
| Guild * | guild | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerCanUseChat(), and PLAYERHOOK_CAN_PLAYER_USE_GUILD_CHAT.
| bool ScriptMgr::OnPlayerCanUseChat | ( | Player * | player, |
| uint32 | type, | ||
| uint32 | language, | ||
| std::string & | msg, | ||
| Player * | receiver | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerCanUseChat(), and PLAYERHOOK_CAN_PLAYER_USE_PRIVATE_CHAT.
| bool ScriptMgr::OnPlayerCanUseItem | ( | Player * | player, |
| ItemTemplate const * | proto, | ||
| InventoryResult & | result | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerCanUseItem(), and PLAYERHOOK_CAN_USE_ITEM.
| bool ScriptMgr::OnPlayerCheckItemInSlotAtLoadInventory | ( | Player * | player, |
| Item * | item, | ||
| uint8 | slot, | ||
| uint8 & | err, | ||
| uint16 & | dest | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerCheckItemInSlotAtLoadInventory(), and PLAYERHOOK_CHECK_ITEM_IN_SLOT_AT_LOAD_INVENTORY.
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerCompleteQuest(), and PLAYERHOOK_ON_PLAYER_COMPLETE_QUEST.
| void ScriptMgr::OnPlayerCreate | ( | Player * | player | ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerCreate(), and PLAYERHOOK_ON_CREATE.
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerCreateItem(), and PLAYERHOOK_ON_CREATE_ITEM.
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerCreatureKill(), and PLAYERHOOK_ON_CREATURE_KILL.
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerCreatureKilledByPet(), and PLAYERHOOK_ON_CREATURE_KILLED_BY_PET.
| void ScriptMgr::OnPlayerCriteriaProgress | ( | Player * | player, |
| AchievementCriteriaEntry const * | criteria | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerCriteriaProgress(), and PLAYERHOOK_ON_CRITERIA_PROGRESS.
| void ScriptMgr::OnPlayerCriteriaSave | ( | CharacterDatabaseTransaction | trans, |
| Player * | player, | ||
| uint16 | critId, | ||
| CriteriaProgress | criteriaData | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerCriteriaSave(), and PLAYERHOOK_ON_CRITERIA_SAVE.
| void ScriptMgr::OnPlayerCustomScalingStatValue | ( | Player * | player, |
| ItemTemplate const * | proto, | ||
| uint32 & | statType, | ||
| int32 & | val, | ||
| uint8 | itemProtoStatNumber, | ||
| uint32 | ScalingStatValue, | ||
| ScalingStatValuesEntry const * | ssv | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerCustomScalingStatValue(), and PLAYERHOOK_ON_CUSTOM_SCALING_STAT_VALUE.
| void ScriptMgr::OnPlayerCustomScalingStatValueBefore | ( | Player * | player, |
| ItemTemplate const * | proto, | ||
| uint8 | slot, | ||
| bool | apply, | ||
| uint32 & | CustomScalingStatValue | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerCustomScalingStatValueBefore(), and PLAYERHOOK_ON_CUSTOM_SCALING_STAT_VALUE_BEFORE.
| void ScriptMgr::OnPlayerDelete | ( | ObjectGuid | guid, |
| uint32 | accountId | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerDelete(), and PLAYERHOOK_ON_DELETE.
| void ScriptMgr::OnPlayerDeleteFromDB | ( | CharacterDatabaseTransaction | trans, |
| uint32 | guid | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerDeleteFromDB(), and PLAYERHOOK_ON_DELETE_FROM_DB.
| void ScriptMgr::OnPlayerDuelEnd | ( | Player * | winner, |
| Player * | loser, | ||
| DuelCompleteType | type | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerDuelEnd(), and PLAYERHOOK_ON_DUEL_END.
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerDuelRequest(), and PLAYERHOOK_ON_DUEL_REQUEST.
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerDuelStart(), and PLAYERHOOK_ON_DUEL_START.
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerEmote(), and PLAYERHOOK_ON_EMOTE.
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerEnterCombat(), and PLAYERHOOK_ON_PLAYER_ENTER_COMBAT.
References ALLMAPHOOK_ON_PLAYER_ENTER_ALL, ASSERT, CALL_ENABLED_HOOKS, AllMapScript::OnPlayerEnterAll(), and PlayerScript::OnPlayerMapChanged().
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerEquip(), and PLAYERHOOK_ON_EQUIP.
| void ScriptMgr::OnPlayerFailedDelete | ( | ObjectGuid | guid, |
| uint32 | accountId | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerFailedDelete(), and PLAYERHOOK_ON_FAILED_DELETE.
| void ScriptMgr::OnPlayerFfaPvpStateUpdate | ( | Player * | player, |
| bool | result | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerFfaPvpStateUpdate(), and PLAYERHOOK_ON_FFA_PVP_STATE_UPDATE.
| void ScriptMgr::OnPlayerFirstLogin | ( | Player * | player | ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerFirstLogin(), and PLAYERHOOK_ON_FIRST_LOGIN.
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerForgotSpell(), and PLAYERHOOK_ON_FORGOT_SPELL.
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerFreeTalentPointsChanged(), and PLAYERHOOK_ON_FREE_TALENT_POINTS_CHANGED.
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerGetArenaPersonalRating(), and PLAYERHOOK_ON_GET_ARENA_PERSONAL_RATING.
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerGetArenaTeamId(), and PLAYERHOOK_ON_GET_ARENA_TEAM_ID.
| void ScriptMgr::OnPlayerGetFeralApBonus | ( | Player * | player, |
| int32 & | feral_bonus, | ||
| int32 | dpsMod, | ||
| ItemTemplate const * | proto, | ||
| ScalingStatValuesEntry const * | ssv | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerGetFeralApBonus(), and PLAYERHOOK_ON_GET_FERAL_AP_BONUS.
| void ScriptMgr::OnPlayerGetMaxPersonalArenaRatingRequirement | ( | Player const * | player, |
| uint32 | minSlot, | ||
| uint32 & | maxArenaRating | ||
| ) | const |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerGetMaxPersonalArenaRatingRequirement(), and PLAYERHOOK_ON_GET_MAX_PERSONAL_ARENA_RATING_REQUIREMENT.
| void ScriptMgr::OnPlayerGetMaxSkillValue | ( | Player * | player, |
| uint32 | skill, | ||
| int32 & | result, | ||
| bool | IsPure | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerGetMaxSkillValue(), and PLAYERHOOK_ON_GET_MAX_SKILL_VALUE.
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerGetMaxSkillValueForLevel(), and PLAYERHOOK_ON_GET_MAX_SKILL_VALUE_FOR_LEVEL.
| void ScriptMgr::OnPlayerGetQuestRate | ( | Player * | player, |
| float & | result | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerGetQuestRate(), and PLAYERHOOK_ON_GET_QUEST_RATE.
| void ScriptMgr::OnPlayerGetReputationPriceDiscount | ( | Player const * | player, |
| Creature const * | creature, | ||
| float & | discount | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerGetReputationPriceDiscount(), and PLAYERHOOK_ON_GET_REPUTATION_PRICE_DISCOUNT.
| void ScriptMgr::OnPlayerGetReputationPriceDiscount | ( | Player const * | player, |
| FactionTemplateEntry const * | factionTemplate, | ||
| float & | discount | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerGetReputationPriceDiscount(), and PLAYERHOOK_ON_GET_REPUTATION_PRICE_DISCOUNT.
| void ScriptMgr::OnPlayerGiveReputation | ( | Player * | player, |
| int32 | factionID, | ||
| float & | amount, | ||
| ReputationSource | repSource | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerGiveReputation(), and PLAYERHOOK_ON_GIVE_REPUTATION.
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerGiveXP(), and PLAYERHOOK_ON_GIVE_EXP.
| void ScriptMgr::OnPlayerGossipSelect | ( | Player * | player, |
| uint32 | menu_id, | ||
| uint32 | sender, | ||
| uint32 | action | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerGossipSelect(), and PLAYERHOOK_ON_GOSSIP_SELECT.
| void ScriptMgr::OnPlayerGossipSelectCode | ( | Player * | player, |
| uint32 | menu_id, | ||
| uint32 | sender, | ||
| uint32 | action, | ||
| const char * | code | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerGossipSelectCode(), and PLAYERHOOK_ON_GOSSIP_SELECT_CODE.
| void ScriptMgr::OnPlayerGroupRollRewardItem | ( | Player * | player, |
| Item * | item, | ||
| uint32 | count, | ||
| RollVote | voteType, | ||
| Roll * | roll | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerGroupRollRewardItem(), and PLAYERHOOK_ON_GROUP_ROLL_REWARD_ITEM.
References CALL_ENABLED_BOOLEAN_HOOKS_WITH_DEFAULT_FALSE, PlayerScript::OnPlayerHasActivePowerType(), and PLAYERHOOK_ON_PLAYER_HAS_ACTIVE_POWER_TYPE.
| Optional< bool > ScriptMgr::OnPlayerIsClass | ( | Player const * | player, |
| Classes | playerClass, | ||
| ClassContext | context | ||
| ) |
References PLAYERHOOK_ON_PLAYER_IS_CLASS.
| void ScriptMgr::OnPlayerIsFFAPvP | ( | Player * | player, |
| bool & | result | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerIsFFAPvP(), and PLAYERHOOK_ON_IS_FFA_PVP.
| void ScriptMgr::OnPlayerIsPvP | ( | Player * | player, |
| bool & | result | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerIsPvP(), and PLAYERHOOK_ON_IS_PVP.
| void ScriptMgr::OnPlayerJoinArena | ( | Player * | player | ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerJoinArena(), and PLAYERHOOK_ON_PLAYER_JOIN_ARENA.
| void ScriptMgr::OnPlayerJoinBG | ( | Player * | player | ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerJoinBG(), and PLAYERHOOK_ON_PLAYER_JOIN_BG.
| void ScriptMgr::OnPlayerJustDied | ( | Player * | player | ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerJustDied(), and PLAYERHOOK_ON_PLAYER_JUST_DIED.
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerKilledByCreature(), and PLAYERHOOK_ON_PLAYER_KILLED_BY_CREATURE.
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerLearnSpell(), and PLAYERHOOK_ON_LEARN_SPELL.
| void ScriptMgr::OnPlayerLearnTalents | ( | Player * | player, |
| uint32 | talentId, | ||
| uint32 | talentRank, | ||
| uint32 | spellid | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerLearnTalents(), and PLAYERHOOK_ON_PLAYER_LEARN_TALENTS.
| void ScriptMgr::OnPlayerLeaveCombat | ( | Player * | player | ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerLeaveCombat(), and PLAYERHOOK_ON_PLAYER_LEAVE_COMBAT.
References ALLMAPHOOK_ON_PLAYER_LEAVE_ALL, ASSERT, CALL_ENABLED_HOOKS, MapScript< TMap >::OnPlayerLeave(), and AllMapScript::OnPlayerLeaveAll().
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerLevelChanged(), and PLAYERHOOK_ON_LEVEL_CHANGED.
| void ScriptMgr::OnPlayerLoadFromDB | ( | Player * | player | ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerLoadFromDB(), and PLAYERHOOK_ON_LOAD_FROM_DB.
| void ScriptMgr::OnPlayerLogin | ( | Player * | player | ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerLogin(), and PLAYERHOOK_ON_LOGIN.
| void ScriptMgr::OnPlayerLogout | ( | Player * | player | ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerLogout(), and PLAYERHOOK_ON_LOGOUT.
| void ScriptMgr::OnPlayerLootItem | ( | Player * | player, |
| Item * | item, | ||
| uint32 | count, | ||
| ObjectGuid | lootguid | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerLootItem(), and PLAYERHOOK_ON_LOOT_ITEM.
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerMoneyChanged(), and PLAYERHOOK_ON_MONEY_CHANGED.
| void ScriptMgr::OnPlayerMove | ( | Player * | player, |
| MovementInfo | movementInfo, | ||
| uint32 | opcode | ||
| ) |
References CALL_ENABLED_HOOKS, MOVEMENTHOOK_ON_PLAYER_MOVE, and MovementHandlerScript::OnPlayerMove().
| bool ScriptMgr::OnPlayerNotAvoidSatisfy | ( | Player * | player, |
| DungeonProgressionRequirements const * | ar, | ||
| uint32 | target_map, | ||
| bool | report | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerNotAvoidSatisfy(), and PLAYERHOOK_NOT_AVOID_SATISFY.
| bool ScriptMgr::OnPlayerNotSetArenaTeamInfoField | ( | Player * | player, |
| uint8 | slot, | ||
| ArenaTeamInfoType | type, | ||
| uint32 | value | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerNotSetArenaTeamInfoField(), and PLAYERHOOK_NOT_SET_ARENA_TEAM_INFO_FIELD.
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerNotVisibleGloballyFor(), and PLAYERHOOK_NOT_VISIBLE_GLOBALLY_FOR.
| bool ScriptMgr::OnPlayerPassedQuestKilledMonsterCredit | ( | Player * | player, |
| Quest const * | qinfo, | ||
| uint32 | entry, | ||
| uint32 | real_entry, | ||
| ObjectGuid | guid | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerPassedQuestKilledMonsterCredit(), and PLAYERHOOK_PASSED_QUEST_KILLED_MONSTER_CREDIT.
| void ScriptMgr::OnPlayerPetitionBuy | ( | Player * | player, |
| Creature * | creature, | ||
| uint32 & | charterid, | ||
| uint32 & | cost, | ||
| uint32 & | type | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerPetitionBuy(), and PLAYERHOOK_PETITION_BUY.
| void ScriptMgr::OnPlayerPetitionShowList | ( | Player * | player, |
| Creature * | creature, | ||
| uint32 & | CharterEntry, | ||
| uint32 & | CharterDispayID, | ||
| uint32 & | CharterCost | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerPetitionShowList(), and PLAYERHOOK_PETITION_SHOW_LIST.
| void ScriptMgr::OnPlayerPVPFlagChange | ( | Player * | player, |
| bool | state | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerPVPFlagChange(), and PLAYERHOOK_ON_PLAYER_PVP_FLAG_CHANGE.
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerPVPKill(), and PLAYERHOOK_ON_PVP_KILL.
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerQuestAbandon(), and PLAYERHOOK_ON_QUEST_ABANDON.
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerQuestComputeXP(), and PLAYERHOOK_ON_QUEST_COMPUTE_EXP.
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerQuestRewardItem(), and PLAYERHOOK_ON_QUEST_REWARD_ITEM.
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerQueueRandomDungeon(), and PLAYERHOOK_ON_QUEUE_RANDOM_DUNGEON.
| void ScriptMgr::OnPlayerReleasedGhost | ( | Player * | player | ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerReleasedGhost(), and PLAYERHOOK_ON_PLAYER_RELEASED_GHOST.
| void ScriptMgr::OnPlayerRemoveFromBattleground | ( | Player * | player, |
| Battleground * | bg | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerRemoveFromBattleground(), and PLAYERHOOK_ON_REMOVE_FROM_BATTLEGROUND.
| bool ScriptMgr::OnPlayerReputationChange | ( | Player * | player, |
| uint32 | factionID, | ||
| int32 & | standing, | ||
| bool | incremental | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerReputationChange(), and PLAYERHOOK_ON_REPUTATION_CHANGE.
| void ScriptMgr::OnPlayerReputationRankChange | ( | Player * | player, |
| uint32 | factionID, | ||
| ReputationRank | newRank, | ||
| ReputationRank | oldRank, | ||
| bool | increased | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerReputationRankChange(), and PLAYERHOOK_ON_REPUTATION_RANK_CHANGE.
| void ScriptMgr::OnPlayerResurrect | ( | Player * | player, |
| float | restore_percent, | ||
| bool | applySickness | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerResurrect(), and PLAYERHOOK_ON_PLAYER_RESURRECT.
| void ScriptMgr::OnPlayerRewardKillRewarder | ( | Player * | player, |
| KillRewarder * | rewarder, | ||
| bool | isDungeon, | ||
| float & | rate | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerRewardKillRewarder(), and PLAYERHOOK_ON_REWARD_KILL_REWARDER.
| void ScriptMgr::OnPlayerSave | ( | Player * | player | ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerSave(), and PLAYERHOOK_ON_SAVE.
| void ScriptMgr::OnPlayerSendInitialPacketsBeforeAddToMap | ( | Player * | player, |
| WorldPacket & | data | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerSendInitialPacketsBeforeAddToMap(), and PLAYERHOOK_ON_SEND_INITIAL_PACKETS_BEFORE_ADD_TO_MAP.
| void ScriptMgr::OnPlayerSendListInventory | ( | Player * | player, |
| ObjectGuid | vendorGuid, | ||
| uint32 & | vendorEntry | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerSendListInventory(), and PLAYERHOOK_ON_SEND_LIST_INVENTORY.
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerSetMaxLevel(), and PLAYERHOOK_ON_SET_MAX_LEVEL.
| void ScriptMgr::OnPlayerSetPhase | ( | const AuraEffect * | auraEff, |
| AuraApplication const * | aurApp, | ||
| uint8 | mode, | ||
| bool | apply, | ||
| uint32 & | newPhase | ||
| ) |
References CALL_ENABLED_HOOKS, MISCHOOK_ON_PLAYER_SET_PHASE, and MiscScript::OnPlayerSetPhase().
| void ScriptMgr::OnPlayerSetServerSideVisibility | ( | Player * | player, |
| ServerSideVisibilityType & | type, | ||
| AccountTypes & | sec | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerSetServerSideVisibility(), and PLAYERHOOK_ON_SET_SERVER_SIDE_VISIBILITY.
| void ScriptMgr::OnPlayerSetServerSideVisibilityDetect | ( | Player * | player, |
| ServerSideVisibilityType & | type, | ||
| AccountTypes & | sec | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerSetServerSideVisibilityDetect(), and PLAYERHOOK_ON_SET_SERVER_SIDE_VISIBILITY_DETECT.
| bool ScriptMgr::OnPlayerShouldBeRewardedWithMoneyInsteadOfExp | ( | Player * | player | ) |
References CALL_ENABLED_BOOLEAN_HOOKS_WITH_DEFAULT_FALSE, PlayerScript::OnPlayerShouldBeRewardedWithMoneyInsteadOfExp(), and PLAYERHOOK_SHOULD_BE_REWARDED_WITH_MONEY_INSTEAD_OF_EXP.
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerSpellCast(), and PLAYERHOOK_ON_SPELL_CAST.
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerStoreNewItem(), and PLAYERHOOK_ON_STORE_NEW_ITEM.
| void ScriptMgr::OnPlayerTalentsReset | ( | Player * | player, |
| bool | noCost | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerTalentsReset(), and PLAYERHOOK_ON_TALENTS_RESET.
| void ScriptMgr::OnPlayerTextEmote | ( | Player * | player, |
| uint32 | textEmote, | ||
| uint32 | emoteNum, | ||
| ObjectGuid | guid | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerTextEmote(), and PLAYERHOOK_ON_TEXT_EMOTE.
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerUnequip(), and PLAYERHOOK_ON_UNEQUIP_ITEM.
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerUpdate(), and PLAYERHOOK_ON_UPDATE.
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerUpdateArea(), and PLAYERHOOK_ON_UPDATE_AREA.
| void ScriptMgr::OnPlayerUpdateCraftingSkill | ( | Player * | player, |
| SkillLineAbilityEntry const * | skill, | ||
| uint32 | currentLevel, | ||
| uint32 & | gain | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerUpdateCraftingSkill(), and PLAYERHOOK_ON_UPDATE_CRAFTING_SKILL.
| void ScriptMgr::OnPlayerUpdateFaction | ( | Player * | player | ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerUpdateFaction(), and PLAYERHOOK_ON_UPDATE_FACTION.
| bool ScriptMgr::OnPlayerUpdateFishingSkill | ( | Player * | player, |
| int32 | skill, | ||
| int32 | zone_skill, | ||
| int32 | chance, | ||
| int32 | roll | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS, PlayerScript::OnPlayerUpdateFishingSkill(), and PLAYERHOOK_ON_UPDATE_FISHING_SKILL.
| void ScriptMgr::OnPlayerUpdateGatheringSkill | ( | Player * | player, |
| uint32 | skillId, | ||
| uint32 | currentLevel, | ||
| uint32 | gray, | ||
| uint32 | green, | ||
| uint32 | yellow, | ||
| uint32 & | gain | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerUpdateGatheringSkill(), and PLAYERHOOK_ON_UPDATE_GATHERING_SKILL.
| void ScriptMgr::OnPlayerUpdateSkill | ( | Player * | player, |
| uint32 | skillId, | ||
| uint32 | value, | ||
| uint32 | max, | ||
| uint32 | step, | ||
| uint32 | newValue | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerUpdateSkill(), and PLAYERHOOK_ON_UPDATE_SKILL.
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerUpdateZone(), and PLAYERHOOK_ON_UPDATE_ZONE.
| void ScriptMgr::OnPlayerVictimRewardAfter | ( | Player * | player, |
| Player * | victim, | ||
| uint32 & | killer_title, | ||
| int32 & | victim_rank, | ||
| float & | honor_f | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerVictimRewardAfter(), and PLAYERHOOK_ON_VICTIM_REWARD_AFTER.
| void ScriptMgr::OnPlayerVictimRewardBefore | ( | Player * | player, |
| Player * | victim, | ||
| uint32 & | killer_title, | ||
| int32 & | victim_rank | ||
| ) |
References CALL_ENABLED_HOOKS, PlayerScript::OnPlayerVictimRewardBefore(), and PLAYERHOOK_ON_VICTIM_REWARD_BEFORE.
References ASSERT, AllCreatureScript::CanCreatureQuestAccept(), ClearGossipMenuFor(), ScriptRegistry< TScript >::GetScriptById(), and Creature::GetScriptId().
| bool ScriptMgr::OnQuestAccept | ( | Player * | player, |
| GameObject * | go, | ||
| Quest const * | quest | ||
| ) |
References ASSERT, AllGameObjectScript::CanGameObjectQuestAccept(), ClearGossipMenuFor(), ScriptRegistry< TScript >::GetScriptById(), and GameObject::GetScriptId().
References ASSERT, AllItemScript::CanItemQuestAccept(), ClearGossipMenuFor(), ScriptRegistry< TScript >::GetScriptById(), and Item::GetScriptId().
References ASSERT, ClearGossipMenuFor(), ScriptRegistry< TScript >::GetScriptById(), and Creature::GetScriptId().
| bool ScriptMgr::OnQuestReward | ( | Player * | player, |
| Creature * | creature, | ||
| Quest const * | quest, | ||
| uint32 | opt | ||
| ) |
References ASSERT, AllCreatureScript::CanCreatureQuestReward(), ClearGossipMenuFor(), ScriptRegistry< TScript >::GetScriptById(), and Creature::GetScriptId().
| bool ScriptMgr::OnQuestReward | ( | Player * | player, |
| GameObject * | go, | ||
| Quest const * | quest, | ||
| uint32 | opt | ||
| ) |
References ASSERT, AllGameObjectScript::CanGameObjectQuestReward(), ClearGossipMenuFor(), ScriptRegistry< TScript >::GetScriptById(), and GameObject::GetScriptId().
References ASSERT, ClearGossipMenuFor(), ScriptRegistry< TScript >::GetScriptById(), and Creature::GetScriptId().
| void ScriptMgr::OnQueueUpdate | ( | BattlegroundQueue * | queue, |
| uint32 | diff, | ||
| BattlegroundTypeId | bgTypeId, | ||
| BattlegroundBracketId | bracket_id, | ||
| uint8 | arenaType, | ||
| bool | isRated, | ||
| uint32 | arenaRating | ||
| ) |
References ALLBATTLEGROUNDHOOK_ON_QUEUE_UPDATE, CALL_ENABLED_HOOKS, and AllBattlegroundScript::OnQueueUpdate().
| bool ScriptMgr::OnQueueUpdateValidity | ( | BattlegroundQueue * | queue, |
| uint32 | diff, | ||
| BattlegroundTypeId | bgTypeId, | ||
| BattlegroundBracketId | bracket_id, | ||
| uint8 | arenaType, | ||
| bool | isRated, | ||
| uint32 | arenaRating | ||
| ) |
References ALLBATTLEGROUNDHOOK_ON_QUEUE_UPDATE_VALIDITY, CALL_ENABLED_BOOLEAN_HOOKS, and AllBattlegroundScript::OnQueueUpdateValidity().
| void ScriptMgr::OnRelocate | ( | Transport * | transport, |
| uint32 | waypointId, | ||
| uint32 | mapId, | ||
| float | x, | ||
| float | y, | ||
| float | z | ||
| ) |
References GameObject::GetScriptId().
| void ScriptMgr::OnRemoveAuraScaleTargets | ( | Spell * | spell, |
| TargetInfo & | targetInfo, | ||
| uint8 | auraScaleMask, | ||
| bool & | needErase | ||
| ) |
References ALLSPELLHOOK_ON_REMOVE_AURA_SCALE_TARGETS, CALL_ENABLED_HOOKS, and AllSpellScript::OnRemoveAuraScaleTargets().
References ASSERT, and GameObject::GetScriptId().
References ASSERT, Vehicle::GetBase(), Creature::GetScriptId(), Object::IsCreature(), and Object::ToCreature().
| void ScriptMgr::OnReset | ( | Vehicle * | veh | ) |
References ASSERT, Vehicle::GetBase(), Creature::GetScriptId(), Object::IsCreature(), and Object::ToCreature().
| void ScriptMgr::OnScaleAuraUnitAdd | ( | Spell * | spell, |
| Unit * | target, | ||
| uint32 | effectMask, | ||
| bool | checkIfValid, | ||
| bool | implicit, | ||
| uint8 | auraScaleMask, | ||
| TargetInfo & | targetInfo | ||
| ) |
References ALLSPELLHOOK_ON_SCALE_AURA_UNIT_ADD, CALL_ENABLED_HOOKS, and AllSpellScript::OnScaleAuraUnitAdd().
References ARENATEAMHOOK_ON_SET_ARENA_MAX_PLAYERS_PER_TEAM, CALL_ENABLED_HOOKS, and ArenaTeamScript::OnSetArenaMaxPlayersPerTeam().
| void ScriptMgr::OnShutdown | ( | ) |
References CALL_ENABLED_HOOKS, WorldScript::OnShutdown(), and WORLDHOOK_ON_SHUTDOWN.
| void ScriptMgr::OnShutdownCancel | ( | ) |
References CALL_ENABLED_HOOKS, WorldScript::OnShutdownCancel(), and WORLDHOOK_ON_SHUTDOWN_CANCEL.
| void ScriptMgr::OnShutdownInitiate | ( | ShutdownExitCode | code, |
| ShutdownMask | mask | ||
| ) |
References CALL_ENABLED_HOOKS, WorldScript::OnShutdownInitiate(), and WORLDHOOK_ON_SHUTDOWN_INITIATE.
| void ScriptMgr::OnSocketClose | ( | std::shared_ptr< WorldSocket > const & | socket | ) |
References ASSERT, CALL_ENABLED_HOOKS, ServerScript::OnSocketClose(), and SERVERHOOK_ON_SOCKET_CLOSE.
| void ScriptMgr::OnSocketOpen | ( | std::shared_ptr< WorldSocket > const & | socket | ) |
References ASSERT, CALL_ENABLED_HOOKS, ServerScript::OnSocketOpen(), and SERVERHOOK_ON_SOCKET_OPEN.
| void ScriptMgr::OnSpellCast | ( | Spell * | spell, |
| Unit * | caster, | ||
| SpellInfo const * | spellInfo, | ||
| bool | skipCheck | ||
| ) |
References ALLSPELLHOOK_ON_CAST, CALL_ENABLED_HOOKS, and AllSpellScript::OnSpellCast().
| void ScriptMgr::OnSpellCastCancel | ( | Spell * | spell, |
| Unit * | caster, | ||
| SpellInfo const * | spellInfo, | ||
| bool | bySelf | ||
| ) |
References ALLSPELLHOOK_ON_CAST_CANCEL, CALL_ENABLED_HOOKS, and AllSpellScript::OnSpellCastCancel().
| void ScriptMgr::OnSpellCheckCast | ( | Spell * | spell, |
| bool | strict, | ||
| SpellCastResult & | res | ||
| ) |
References ALLSPELLHOOK_ON_SPELL_CHECK_CAST, CALL_ENABLED_HOOKS, and AllSpellScript::OnSpellCheckCast().
| bool ScriptMgr::OnSpellHealingBonusTakenNegativeModifiers | ( | Unit const * | target, |
| Unit const * | caster, | ||
| SpellInfo const * | spellInfo, | ||
| float & | val | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS_WITH_DEFAULT_FALSE, GLOBALHOOK_ON_SPELL_HEALING_BONUS_TAKEN_NEGATIVE_MODIFIERS, and GlobalScript::OnSpellHealingBonusTakenNegativeModifiers().
References ALLSPELLHOOK_ON_PREPARE, CALL_ENABLED_HOOKS, and AllSpellScript::OnSpellPrepare().
| void ScriptMgr::OnStartup | ( | ) |
References CALL_ENABLED_HOOKS, WorldScript::OnStartup(), and WORLDHOOK_ON_STARTUP.
| void ScriptMgr::OnTicketClose | ( | GmTicket * | ticket | ) |
References CALL_ENABLED_HOOKS, TicketScript::OnTicketClose(), and TICKETHOOK_ON_TICKET_CLOSE.
| void ScriptMgr::OnTicketCreate | ( | GmTicket * | ticket | ) |
References CALL_ENABLED_HOOKS, TicketScript::OnTicketCreate(), and TICKETHOOK_ON_TICKET_CREATE.
| void ScriptMgr::OnTicketResolve | ( | GmTicket * | ticket | ) |
References CALL_ENABLED_HOOKS, TicketScript::OnTicketResolve(), and TICKETHOOK_ON_TICKET_RESOLVE.
| void ScriptMgr::OnTicketStatusUpdate | ( | GmTicket * | ticket | ) |
References CALL_ENABLED_HOOKS, TicketScript::OnTicketStatusUpdate(), and TICKETHOOK_ON_TICKET_STATUS_UPDATE.
| void ScriptMgr::OnTicketUpdateLastChange | ( | GmTicket * | ticket | ) |
References CALL_ENABLED_HOOKS, TicketScript::OnTicketUpdateLastChange(), and TICKETHOOK_ON_TICKET_UPDATE_LAST_CHANGE.
References ASSERT, and GameObject::GetScriptId().
| bool ScriptMgr::OnTryExecuteCommand | ( | ChatHandler & | handler, |
| std::string_view | cmdStr | ||
| ) |
References ALLCOMMANDHOOK_ON_TRY_EXECUTE_COMMAND, CALL_ENABLED_BOOLEAN_HOOKS, and AllCommandScript::OnTryExecuteCommand().
| void ScriptMgr::OnUninstall | ( | Vehicle * | veh | ) |
References ASSERT, Vehicle::GetBase(), Creature::GetScriptId(), Object::IsCreature(), and Object::ToCreature().
References CALL_ENABLED_HOOKS, UnitScript::OnUnitDeath(), and UNITHOOK_ON_UNIT_DEATH.
References CALL_ENABLED_HOOKS, UnitScript::OnUnitEnterCombat(), and UNITHOOK_ON_UNIT_ENTER_COMBAT.
References CALL_ENABLED_HOOKS, UnitScript::OnUnitEnterEvadeMode(), and UNITHOOK_ON_UNIT_ENTER_EVADE_MODE.
References CALL_ENABLED_HOOKS, UnitScript::OnUnitSetShapeshiftForm(), and UNITHOOK_ON_UNIT_SET_SHAPESHIFT_FORM.
References CALL_ENABLED_HOOKS, UnitScript::OnUnitUpdate(), and UNITHOOK_ON_UNIT_UPDATE.
| void ScriptMgr::OnUnloadGridMap | ( | Map * | map, |
| GridTerrainData * | gmap, | ||
| uint32 | gx, | ||
| uint32 | gy | ||
| ) |
References ASSERT, and MapScript< TMap >::OnUnloadGridMap().
| void ScriptMgr::OnWeatherChange | ( | Weather * | weather, |
| WeatherState | state, | ||
| float | grade | ||
| ) |
References ASSERT, Weather::GetScriptId(), and ALEScript::OnWeatherChange().
References ASSERT, and Weather::GetScriptId().
| void ScriptMgr::OnWorldObjectCreate | ( | WorldObject * | object | ) |
References ASSERT, CALL_ENABLED_HOOKS, WorldObjectScript::OnWorldObjectCreate(), and WORLDOBJECTHOOK_ON_WORLD_OBJECT_CREATE.
| void ScriptMgr::OnWorldObjectDestroy | ( | WorldObject * | object | ) |
References ASSERT, CALL_ENABLED_HOOKS, WorldObjectScript::OnWorldObjectDestroy(), and WORLDOBJECTHOOK_ON_WORLD_OBJECT_DESTROY.
| void ScriptMgr::OnWorldObjectResetMap | ( | WorldObject * | object | ) |
References ASSERT, CALL_ENABLED_HOOKS, WorldObjectScript::OnWorldObjectResetMap(), and WORLDOBJECTHOOK_ON_WORLD_OBJECT_RESET_MAP.
| void ScriptMgr::OnWorldObjectSetMap | ( | WorldObject * | object, |
| Map * | map | ||
| ) |
References ASSERT, CALL_ENABLED_HOOKS, WorldObjectScript::OnWorldObjectSetMap(), and WORLDOBJECTHOOK_ON_WORLD_OBJECT_SET_MAP.
| void ScriptMgr::OnWorldObjectUpdate | ( | WorldObject * | object, |
| uint32 | diff | ||
| ) |
References ASSERT, CALL_ENABLED_HOOKS, WorldObjectScript::OnWorldObjectUpdate(), and WORLDOBJECTHOOK_ON_WORLD_OBJECT_UPDATE.
| void ScriptMgr::OnWorldUpdate | ( | uint32 | diff | ) |
References CALL_ENABLED_HOOKS, WorldScript::OnUpdate(), and WORLDHOOK_ON_UPDATE.
References CALL_ENABLED_HOOKS, FORMULAHOOK_ON_ZERO_DIFFERENCE_CALCULATION, and FormulaScript::OnZeroDifferenceCalculation().
|
inline |
|
inline |
Sets the modules loader callback which is invoked to load modules (Workaround for circular dependency game <-> modules)
References _modules_loader_callback.
| void ScriptMgr::SetRealmCompleted | ( | AchievementEntry const * | achievement | ) |
References ACHIEVEMENTHOOK_SET_REALM_COMPLETED, CALL_ENABLED_HOOKS, and AchievementScript::SetRealmCompleted().
|
inline |
Sets the script loader callback which is invoked to load scripts (Workaround for circular dependency game <-> scripts)
References _script_loader_callback.
| bool ScriptMgr::ShouldTrackValuesUpdatePosByIndex | ( | Unit const * | unit, |
| uint8 | updateType, | ||
| uint16 | index | ||
| ) |
References CALL_ENABLED_BOOLEAN_HOOKS_WITH_DEFAULT_FALSE, UnitScript::ShouldTrackValuesUpdatePosByIndex(), and UNITHOOK_SHOULD_TRACK_VALUES_UPDATE_POS_BY_INDEX.
| void ScriptMgr::Unload | ( | ) |
References SpellSummary.
| void ScriptMgr::ValidateSpellAtCastSpell | ( | Player * | player, |
| uint32 & | oldSpellId, | ||
| uint32 & | spellId, | ||
| uint8 & | castCount, | ||
| uint8 & | castFlags | ||
| ) |
References CALL_ENABLED_HOOKS, MISCHOOK_VALIDATE_SPELL_AT_CAST_SPELL, and MiscScript::ValidateSpellAtCastSpell().
| void ScriptMgr::ValidateSpellAtCastSpellResult | ( | Player * | player, |
| Unit * | mover, | ||
| Spell * | spell, | ||
| uint32 | oldSpellId, | ||
| uint32 | spellId | ||
| ) |
References CALL_ENABLED_HOOKS, MISCHOOK_VALIDATE_SPELL_AT_CAST_SPELL_RESULT, and MiscScript::ValidateSpellAtCastSpellResult().
|
privatevirtual |
|
friend |
|
private |
Referenced by Initialize(), and SetModulesLoader().
|
private |
|
private |
Referenced by Initialize(), and SetScriptLoader().
|
private |
Referenced by DecreaseScriptCount(), GetScriptCount(), and IncreaseScriptCount().