|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <HookMgr.h>
Classes | |
| struct | ElunaCreatureAI |
| struct | ElunaGameObjectAI |
| struct | ElunaWorldAI |
Public Member Functions | |
| CreatureAI * | GetAI (Creature *creature) |
| GameObjectAI * | GetAI (GameObject *gameObject) |
| Optional< QuestGiverStatus > | GetDialogStatus (Player *pPlayer, Creature *pCreature) |
| Optional< QuestGiverStatus > | GetDialogStatus (Player *pPlayer, GameObject *pGameObject) |
| void | HandleGossipSelectOption (Player *pPlayer, Item *item, uint32 sender, uint32 action, std::string code) |
| void | HandleGossipSelectOption (Player *pPlayer, uint32 menuId, uint32 sender, uint32 action, std::string code) |
| void | OnAdd (AuctionHouseObject *ah) |
| void | OnAddCreaturePassenger (Transport *transport, Creature *creature) |
| void | OnAddMember (Group *group, uint64 guid) |
| void | OnAddMember (Guild *guild, Player *player, uint32 plRank) |
| void | OnAddPassenger (Transport *transport, Player *player) |
| void | OnAddPassenger (Vehicle *vehicle, Unit *passenger, int8 seatId) |
| bool | OnAreaTrigger (Player *pPlayer, AreaTriggerEntry const *pTrigger, bool entered) |
| void | OnBankEvent (Guild *guild, uint8 eventType, uint8 tabId, uint32 playerGuid, uint32 itemOrMoney, uint16 itemStackCount, uint8 destTabId) |
| void | OnBindToInstance (Player *pPlayer, Difficulty difficulty, uint32 mapid, bool permanent) |
| InventoryResult | OnCanUseItem (const Player *pPlayer, uint32 itemEntry) |
| void | OnChange (Weather *weather, WeatherState state, float grade) |
| void | OnChangeLeader (Group *group, uint64 newLeaderGuid, uint64 oldLeaderGuid) |
| bool | OnChat (Player *pPlayer, uint32 type, uint32 lang, std::string &msg) |
| bool | OnChat (Player *pPlayer, uint32 type, uint32 lang, std::string &msg, Channel *pChannel) |
| bool | OnChat (Player *pPlayer, uint32 type, uint32 lang, std::string &msg, Group *pGroup) |
| bool | OnChat (Player *pPlayer, uint32 type, uint32 lang, std::string &msg, Guild *pGuild) |
| void | OnChat (Player *pPlayer, uint32 type, uint32 lang, std::string &msg, Player *pReceiver) |
| bool | OnConditionCheck (const Condition *condition, ConditionSourceInfo &sourceInfo) |
| void | OnCreate (Group *group, uint64 leaderGuid, GroupType groupType) |
| void | OnCreate (Guild *guild, Player *leader, const std::string &name) |
| void | OnCreate (Player *pPlayer) |
| void | OnCreatureKill (Player *pKiller, Creature *pKilled) |
| void | OnDamaged (GameObject *pGameObject, Player *pPlayer) |
| void | OnDelete (uint32 guid) |
| void | OnDestroyed (GameObject *pGameObject, Player *pPlayer) |
| void | OnDisband (Group *group) |
| void | OnDisband (Guild *guild) |
| void | OnDuelEnd (Player *pWinner, Player *pLoser, DuelCompleteType type) |
| void | OnDuelRequest (Player *pTarget, Player *pChallenger) |
| void | OnDuelStart (Player *pStarter, Player *pChallenger) |
| bool | OnDummyEffect (Unit *pCaster, uint32 spellId, SpellEffIndex effIndex, Creature *pTarget) |
| bool | OnDummyEffect (Unit *pCaster, uint32 spellId, SpellEffIndex effIndex, GameObject *pTarget) |
| bool | OnDummyEffect (Unit *pCaster, uint32 spellId, SpellEffIndex effIndex, Item *pTarget) |
| void | OnEmote (Player *pPlayer, uint32 emote) |
| void | OnEngineRestart () |
| void | OnEquip (Player *pPlayer, Item *pItem, uint8 bag, uint8 slot) |
| void | OnEvent (Guild *guild, uint8 eventType, uint32 playerGuid1, uint32 playerGuid2, uint8 newRank) |
| void | OnExpire (AuctionHouseObject *ah) |
| bool | OnExpire (Player *pPlayer, ItemTemplate const *pProto) |
| void | OnFirstLogin (Player *pPlayer) |
| void | OnFreeTalentPointsChanged (Player *pPlayer, uint32 newPoints) |
| void | OnGameObjectStateChanged (GameObject *pGameObject, uint32 state) |
| bool | OnGameObjectUse (Player *pPlayer, GameObject *pGameObject) |
| void | OnGiveXP (Player *pPlayer, uint32 &amount, Unit *pVictim) |
| bool | OnGossipHello (Player *pPlayer, Creature *pCreature) |
| bool | OnGossipHello (Player *pPlayer, GameObject *pGameObject) |
| bool | OnGossipSelect (Player *pPlayer, Creature *pCreature, uint32 sender, uint32 action) |
| bool | OnGossipSelect (Player *pPlayer, GameObject *pGameObject, uint32 sender, uint32 action) |
| bool | OnGossipSelectCode (Player *pPlayer, Creature *pCreature, uint32 sender, uint32 action, const char *code) |
| bool | OnGossipSelectCode (Player *pPlayer, GameObject *pGameObject, uint32 sender, uint32 action, const char *code) |
| void | OnInfoChanged (Guild *guild, const std::string &newInfo) |
| void | OnInstall (Vehicle *vehicle) |
| void | OnInstallAccessory (Vehicle *vehicle, Creature *accessory) |
| void | OnInviteMember (Group *group, uint64 guid) |
| void | OnItemMove (Guild *guild, Player *player, Item *pItem, bool isSrcBank, uint8 srcContainer, uint8 srcSlotId, bool isDestBank, uint8 destContainer, uint8 destSlotId) |
| void | OnLevelChanged (Player *pPlayer, uint8 oldLevel) |
| void | OnLogin (Player *pPlayer) |
| void | OnLogout (Player *pPlayer) |
| void | OnLootItem (Player *pPlayer, Item *pItem, uint32 count, uint64 guid) |
| void | OnLootMoney (Player *pPlayer, uint32 amount) |
| void | OnLootStateChanged (GameObject *pGameObject, uint32 state, Unit *pUnit) |
| void | OnMapChanged (Player *pPlayer) |
| void | OnMemberDepositMoney (Guild *guild, Player *player, uint64 &amount) |
| void | OnMemberWitdrawMoney (Guild *guild, Player *player, uint64 &amount, bool isRepair) |
| void | OnMoneyChanged (Player *pPlayer, int64 &amount) |
| void | OnMOTDChanged (Guild *guild, const std::string &newMotd) |
| void | OnPlayerJustEngagedWith (Player *pPlayer, Unit *pEnemy) |
| void | OnPlayerKilledByCreature (Creature *pKiller, Player *pKilled) |
| void | OnPlayerLeaveCombat (Player *pPlayer) |
| void | OnPVPKill (Player *pKiller, Player *pKilled) |
| bool | OnQuestAccept (Player *pPlayer, Creature *pCreature, Quest const *pQuest) |
| bool | OnQuestAccept (Player *pPlayer, GameObject *pGameObject, Quest const *pQuest) |
| bool | OnQuestAccept (Player *pPlayer, Item *pItem, Quest const *pQuest) |
| bool | OnQuestComplete (Player *pPlayer, Creature *pCreature, Quest const *pQuest) |
| bool | OnQuestComplete (Player *pPlayer, GameObject *pGameObject, Quest const *pQuest) |
| bool | OnQuestReward (Player *pPlayer, Creature *pCreature, Quest const *pQuest) |
| bool | OnQuestReward (Player *pPlayer, GameObject *pGameObject, Quest const *pQuest) |
| bool | OnQuestSelect (Player *pPlayer, Creature *pCreature, Quest const *pQuest) |
| void | OnRelocate (Transport *transport, uint32 waypointId, uint32 mapId, float x, float y, float z) |
| void | OnRemove (AuctionHouseObject *ah) |
| void | OnRemoveMember (Group *group, uint64 guid, uint8 method, uint64 kicker, const char *reason) |
| void | OnRemoveMember (Guild *guild, Player *player, bool isDisbanding, bool isKicked) |
| void | OnRemovePassenger (Transport *transport, Player *player) |
| void | OnRemovePassenger (Vehicle *vehicle, Unit *passenger) |
| void | OnRepop (Player *pPlayer) |
| void | OnReputationChange (Player *pPlayer, uint32 factionID, int32 &standing, bool incremental) |
| void | OnReset (Vehicle *vehicle) |
| void | OnResurrect (Player *pPlayer) |
| void | OnSave (Player *pPlayer) |
| void | OnSpellCast (Player *pPlayer, Spell *pSpell, bool skipCheck) |
| void | OnSuccessful (AuctionHouseObject *ah) |
| void | OnTalentsReset (Player *pPlayer, bool noCost) |
| void | OnTextEmote (Player *pPlayer, uint32 textEmote, uint32 emoteNum, uint64 guid) |
| void | OnUninstall (Vehicle *vehicle) |
| void | OnUpdateZone (Player *pPlayer, uint32 newZone, uint32 newArea) |
| bool | OnUse (Player *pPlayer, Item *pItem, SpellCastTargets const &targets) |
| void | OnWorldUpdate (uint32 diff) |
Static Public Member Functions | |
| static HookMgr * | instance () |
| CreatureAI * HookMgr::GetAI | ( | Creature * | creature | ) |
Definition at line 1984 of file HookMgr.cpp.
References Object::GetEntry(), and sEluna.
| GameObjectAI * HookMgr::GetAI | ( | GameObject * | gameObject | ) |
Definition at line 1991 of file HookMgr.cpp.
References Object::GetEntry(), and sEluna.
| Optional< QuestGiverStatus > HookMgr::GetDialogStatus | ( | Player * | pPlayer, |
| Creature * | pCreature ) |
Definition at line 383 of file HookMgr.cpp.
References CREATURE_EVENT_ON_DIALOG_STATUS, DIALOG_STATUS_INCOMPLETE, Object::GetEntry(), and sEluna.
| Optional< QuestGiverStatus > HookMgr::GetDialogStatus | ( | Player * | pPlayer, |
| GameObject * | pGameObject ) |
Definition at line 500 of file HookMgr.cpp.
References DIALOG_STATUS_INCOMPLETE, GAMEOBJECT_EVENT_ON_DIALOG_STATUS, Object::GetEntry(), and sEluna.
| void HookMgr::HandleGossipSelectOption | ( | Player * | pPlayer, |
| Item * | item, | ||
| uint32 | sender, | ||
| uint32 | action, | ||
| std::string | code ) |
Definition at line 135 of file HookMgr.cpp.
References PlayerMenu::ClearMenus(), Object::GetEntry(), GOSSIP_EVENT_ON_SELECT, Player::PlayerTalkClass, and sEluna.
| void HookMgr::HandleGossipSelectOption | ( | Player * | pPlayer, |
| uint32 | menuId, | ||
| uint32 | sender, | ||
| uint32 | action, | ||
| std::string | code ) |
Definition at line 155 of file HookMgr.cpp.
References PlayerMenu::ClearMenus(), GOSSIP_EVENT_ON_SELECT, Player::PlayerTalkClass, and sEluna.
|
static |
| void HookMgr::OnAdd | ( | AuctionHouseObject * | ah | ) |
Definition at line 1120 of file HookMgr.cpp.
References AUCTION_EVENT_ON_ADD, and sEluna.
Definition at line 1110 of file HookMgr.cpp.
Definition at line 1902 of file HookMgr.cpp.
References GROUP_EVENT_ON_MEMBER_ADD, and sEluna.
Definition at line 1737 of file HookMgr.cpp.
References GUILD_EVENT_ON_ADD_MEMBER, and sEluna.
Definition at line 1107 of file HookMgr.cpp.
Definition at line 1050 of file HookMgr.cpp.
References sEluna, and VEHICLE_EVENT_ON_ADD_PASSENGER.
| bool HookMgr::OnAreaTrigger | ( | Player * | pPlayer, |
| AreaTriggerEntry const * | pTrigger, | ||
| bool | entered ) |
Definition at line 1078 of file HookMgr.cpp.
References AreaTriggerEntry::id, sEluna, and TRIGGER_EVENT_ON_TRIGGER.
| void HookMgr::OnBankEvent | ( | Guild * | guild, |
| uint8 | eventType, | ||
| uint8 | tabId, | ||
| uint32 | playerGuid, | ||
| uint32 | itemOrMoney, | ||
| uint16 | itemStackCount, | ||
| uint8 | destTabId ) |
Definition at line 1884 of file HookMgr.cpp.
References GUILD_EVENT_ON_BANK_EVENT, and sEluna.
| void HookMgr::OnBindToInstance | ( | Player * | pPlayer, |
| Difficulty | difficulty, | ||
| uint32 | mapid, | ||
| bool | permanent ) |
Definition at line 865 of file HookMgr.cpp.
References PLAYER_EVENT_ON_BIND_TO_INSTANCE, and sEluna.
| InventoryResult HookMgr::OnCanUseItem | ( | const Player * | pPlayer, |
| uint32 | itemEntry ) |
Definition at line 114 of file HookMgr.cpp.
References EQUIP_ERR_OK, PLAYER_EVENT_ON_CAN_USE_ITEM, and sEluna.
| void HookMgr::OnChange | ( | Weather * | weather, |
| WeatherState | state, | ||
| float | grade ) |
Definition at line 1093 of file HookMgr.cpp.
References Weather::GetZone(), sEluna, and WEATHER_EVENT_ON_CHANGE.
Definition at line 1944 of file HookMgr.cpp.
References GROUP_EVENT_ON_LEADER_CHANGE, and sEluna.
Definition at line 906 of file HookMgr.cpp.
References PLAYER_EVENT_ON_CHAT, and sEluna.
| bool HookMgr::OnChat | ( | Player * | pPlayer, |
| uint32 | type, | ||
| uint32 | lang, | ||
| std::string & | msg, | ||
| Channel * | pChannel ) |
Definition at line 977 of file HookMgr.cpp.
References Channel::GetChannelId(), PLAYER_EVENT_ON_CHANNEL_CHAT, and sEluna.
| bool HookMgr::OnChat | ( | Player * | pPlayer, |
| uint32 | type, | ||
| uint32 | lang, | ||
| std::string & | msg, | ||
| Group * | pGroup ) |
Definition at line 929 of file HookMgr.cpp.
References PLAYER_EVENT_ON_GROUP_CHAT, and sEluna.
| bool HookMgr::OnChat | ( | Player * | pPlayer, |
| uint32 | type, | ||
| uint32 | lang, | ||
| std::string & | msg, | ||
| Guild * | pGuild ) |
Definition at line 953 of file HookMgr.cpp.
References PLAYER_EVENT_ON_GUILD_CHAT, and sEluna.
| void HookMgr::OnChat | ( | Player * | pPlayer, |
| uint32 | type, | ||
| uint32 | lang, | ||
| std::string & | msg, | ||
| Player * | pReceiver ) |
Definition at line 747 of file HookMgr.cpp.
References PLAYER_EVENT_ON_WHISPER, and sEluna.
|
inline |
Definition at line 1970 of file HookMgr.cpp.
References GROUP_EVENT_ON_CREATE, and sEluna.
Definition at line 1792 of file HookMgr.cpp.
References GUILD_EVENT_ON_CREATE, and sEluna.
| void HookMgr::OnCreate | ( | Player * | pPlayer | ) |
Definition at line 829 of file HookMgr.cpp.
References PLAYER_EVENT_ON_CHARACTER_CREATE, and sEluna.
Definition at line 600 of file HookMgr.cpp.
References PLAYER_EVENT_ON_KILL_CREATURE, and sEluna.
| void HookMgr::OnDamaged | ( | GameObject * | pGameObject, |
| Player * | pPlayer ) |
Definition at line 525 of file HookMgr.cpp.
References GAMEOBJECT_EVENT_ON_DAMAGED, Object::GetEntry(), and sEluna.
| void HookMgr::OnDelete | ( | uint32 | guid | ) |
Definition at line 841 of file HookMgr.cpp.
References PLAYER_EVENT_ON_CHARACTER_DELETE, and sEluna.
| void HookMgr::OnDestroyed | ( | GameObject * | pGameObject, |
| Player * | pPlayer ) |
Definition at line 513 of file HookMgr.cpp.
References GAMEOBJECT_EVENT_ON_DESTROYED, Object::GetEntry(), and sEluna.
| void HookMgr::OnDisband | ( | Group * | group | ) |
Definition at line 1958 of file HookMgr.cpp.
References GROUP_EVENT_ON_DISBAND, and sEluna.
| void HookMgr::OnDisband | ( | Guild * | guild | ) |
Definition at line 1806 of file HookMgr.cpp.
References GUILD_EVENT_ON_DISBAND, and sEluna.
| void HookMgr::OnDuelEnd | ( | Player * | pWinner, |
| Player * | pLoser, | ||
| DuelCompleteType | type ) |
Definition at line 733 of file HookMgr.cpp.
References PLAYER_EVENT_ON_DUEL_END, and sEluna.
Definition at line 707 of file HookMgr.cpp.
References PLAYER_EVENT_ON_DUEL_REQUEST, and sEluna.
Definition at line 720 of file HookMgr.cpp.
References PLAYER_EVENT_ON_DUEL_START, and sEluna.
| bool HookMgr::OnDummyEffect | ( | Unit * | pCaster, |
| uint32 | spellId, | ||
| SpellEffIndex | effIndex, | ||
| Creature * | pTarget ) |
Definition at line 265 of file HookMgr.cpp.
References CREATURE_EVENT_ON_DUMMY_EFFECT, Object::GetEntry(), and sEluna.
| bool HookMgr::OnDummyEffect | ( | Unit * | pCaster, |
| uint32 | spellId, | ||
| SpellEffIndex | effIndex, | ||
| GameObject * | pTarget ) |
Definition at line 396 of file HookMgr.cpp.
References GAMEOBJECT_EVENT_ON_DUMMY_EFFECT, Object::GetEntry(), and sEluna.
| bool HookMgr::OnDummyEffect | ( | Unit * | pCaster, |
| uint32 | spellId, | ||
| SpellEffIndex | effIndex, | ||
| Item * | pTarget ) |
Definition at line 188 of file HookMgr.cpp.
References Object::GetEntry(), ITEM_EVENT_ON_DUMMY_EFFECT, and sEluna.
Definition at line 763 of file HookMgr.cpp.
References PLAYER_EVENT_ON_EMOTE, and sEluna.
| void HookMgr::OnEngineRestart | ( | ) |
Definition at line 176 of file HookMgr.cpp.
References ELUNA_EVENT_ON_RESTART, and sEluna.
Definition at line 99 of file HookMgr.cpp.
References PLAYER_EVENT_ON_EQUIP, and sEluna.
| void HookMgr::OnEvent | ( | Guild * | guild, |
| uint8 | eventType, | ||
| uint32 | playerGuid1, | ||
| uint32 | playerGuid2, | ||
| uint8 | newRank ) |
Definition at line 1868 of file HookMgr.cpp.
References GUILD_EVENT_ON_EVENT, and sEluna.
| void HookMgr::OnExpire | ( | AuctionHouseObject * | ah | ) |
Definition at line 1156 of file HookMgr.cpp.
References AUCTION_EVENT_ON_EXPIRE, and sEluna.
| bool HookMgr::OnExpire | ( | Player * | pPlayer, |
| ItemTemplate const * | pProto ) |
Definition at line 252 of file HookMgr.cpp.
References ITEM_EVENT_ON_EXPIRE, ItemTemplate::ItemId, and sEluna.
| void HookMgr::OnFirstLogin | ( | Player * | pPlayer | ) |
Definition at line 63 of file HookMgr.cpp.
References PLAYER_EVENT_ON_FIRST_LOGIN, and sEluna.
Definition at line 639 of file HookMgr.cpp.
References PLAYER_EVENT_ON_TALENTS_CHANGE, and sEluna.
| void HookMgr::OnGameObjectStateChanged | ( | GameObject * | pGameObject, |
| uint32 | state ) |
Definition at line 550 of file HookMgr.cpp.
References GAMEOBJECT_EVENT_ON_GO_STATE_CHANGED, Object::GetEntry(), and sEluna.
|
inline |
Definition at line 678 of file HookMgr.cpp.
References PLAYER_EVENT_ON_GIVE_XP, and sEluna.
Definition at line 280 of file HookMgr.cpp.
References PlayerMenu::ClearMenus(), Object::GetEntry(), GOSSIP_EVENT_ON_HELLO, Player::PlayerTalkClass, and sEluna.
| bool HookMgr::OnGossipHello | ( | Player * | pPlayer, |
| GameObject * | pGameObject ) |
Definition at line 411 of file HookMgr.cpp.
References PlayerMenu::ClearMenus(), Object::GetEntry(), GOSSIP_EVENT_ON_HELLO, Player::PlayerTalkClass, and sEluna.
| bool HookMgr::OnGossipSelect | ( | Player * | pPlayer, |
| Creature * | pCreature, | ||
| uint32 | sender, | ||
| uint32 | action ) |
Definition at line 294 of file HookMgr.cpp.
References PlayerMenu::ClearMenus(), Object::GetEntry(), GOSSIP_EVENT_ON_SELECT, Player::PlayerTalkClass, and sEluna.
| bool HookMgr::OnGossipSelect | ( | Player * | pPlayer, |
| GameObject * | pGameObject, | ||
| uint32 | sender, | ||
| uint32 | action ) |
Definition at line 425 of file HookMgr.cpp.
References PlayerMenu::ClearMenus(), Object::GetEntry(), GOSSIP_EVENT_ON_SELECT, Player::PlayerTalkClass, and sEluna.
| bool HookMgr::OnGossipSelectCode | ( | Player * | pPlayer, |
| Creature * | pCreature, | ||
| uint32 | sender, | ||
| uint32 | action, | ||
| const char * | code ) |
Definition at line 310 of file HookMgr.cpp.
References PlayerMenu::ClearMenus(), Object::GetEntry(), GOSSIP_EVENT_ON_SELECT, Player::PlayerTalkClass, and sEluna.
| bool HookMgr::OnGossipSelectCode | ( | Player * | pPlayer, |
| GameObject * | pGameObject, | ||
| uint32 | sender, | ||
| uint32 | action, | ||
| const char * | code ) |
Definition at line 441 of file HookMgr.cpp.
References PlayerMenu::ClearMenus(), Object::GetEntry(), GOSSIP_EVENT_ON_SELECT, Player::PlayerTalkClass, and sEluna.
| void HookMgr::OnInfoChanged | ( | Guild * | guild, |
| const std::string & | newInfo ) |
Definition at line 1779 of file HookMgr.cpp.
References GUILD_EVENT_ON_INFO_CHANGE, and sEluna.
| void HookMgr::OnInstall | ( | Vehicle * | vehicle | ) |
Definition at line 1001 of file HookMgr.cpp.
References sEluna, and VEHICLE_EVENT_ON_INSTALL.
Definition at line 1037 of file HookMgr.cpp.
References sEluna, and VEHICLE_EVENT_ON_INSTALL_ACCESSORY.
Definition at line 1915 of file HookMgr.cpp.
References GROUP_EVENT_ON_MEMBER_INVITE, and sEluna.
| void HookMgr::OnItemMove | ( | Guild * | guild, |
| Player * | player, | ||
| Item * | pItem, | ||
| bool | isSrcBank, | ||
| uint8 | srcContainer, | ||
| uint8 | srcSlotId, | ||
| bool | isDestBank, | ||
| uint8 | destContainer, | ||
| uint8 | destSlotId ) |
Definition at line 1847 of file HookMgr.cpp.
References GUILD_EVENT_ON_ITEM_MOVE, and sEluna.
Definition at line 626 of file HookMgr.cpp.
References PLAYER_EVENT_ON_LEVEL_CHANGE, and sEluna.
| void HookMgr::OnLogin | ( | Player * | pPlayer | ) |
Definition at line 805 of file HookMgr.cpp.
References PLAYER_EVENT_ON_LOGIN, and sEluna.
| void HookMgr::OnLogout | ( | Player * | pPlayer | ) |
Definition at line 817 of file HookMgr.cpp.
References PLAYER_EVENT_ON_LOGOUT, and sEluna.
Definition at line 35 of file HookMgr.cpp.
References PLAYER_EVENT_ON_LOOT_ITEM, and sEluna.
Definition at line 50 of file HookMgr.cpp.
References PLAYER_EVENT_ON_LOOT_MONEY, and sEluna.
| void HookMgr::OnLootStateChanged | ( | GameObject * | pGameObject, |
| uint32 | state, | ||
| Unit * | pUnit ) |
Definition at line 537 of file HookMgr.cpp.
References GAMEOBJECT_EVENT_ON_LOOT_STATE_CHANGE, Object::GetEntry(), and sEluna.
| void HookMgr::OnMapChanged | ( | Player * | pPlayer | ) |
Definition at line 894 of file HookMgr.cpp.
References PLAYER_EVENT_ON_MAP_CHANGE, and sEluna.
Definition at line 1833 of file HookMgr.cpp.
References GUILD_EVENT_ON_MONEY_DEPOSIT, and sEluna.
| void HookMgr::OnMemberWitdrawMoney | ( | Guild * | guild, |
| Player * | player, | ||
| uint64 & | amount, | ||
| bool | isRepair ) |
Definition at line 1818 of file HookMgr.cpp.
References GUILD_EVENT_ON_MONEY_WITHDRAW, and sEluna.
Definition at line 665 of file HookMgr.cpp.
References PLAYER_EVENT_ON_MONEY_CHANGE, and sEluna.
| void HookMgr::OnMOTDChanged | ( | Guild * | guild, |
| const std::string & | newMotd ) |
Definition at line 1766 of file HookMgr.cpp.
References GUILD_EVENT_ON_MOTD_CHANGE, and sEluna.
Definition at line 562 of file HookMgr.cpp.
References PLAYER_EVENT_ON_ENTER_COMBAT, and sEluna.
Definition at line 613 of file HookMgr.cpp.
References PLAYER_EVENT_ON_KILLED_BY_CREATURE, and sEluna.
| void HookMgr::OnPlayerLeaveCombat | ( | Player * | pPlayer | ) |
Definition at line 575 of file HookMgr.cpp.
References PLAYER_EVENT_ON_LEAVE_COMBAT, and sEluna.
Definition at line 587 of file HookMgr.cpp.
References PLAYER_EVENT_ON_KILL_PLAYER, and sEluna.
Definition at line 327 of file HookMgr.cpp.
References CREATURE_EVENT_ON_QUEST_ACCEPT, Object::GetEntry(), and sEluna.
| bool HookMgr::OnQuestAccept | ( | Player * | pPlayer, |
| GameObject * | pGameObject, | ||
| Quest const * | pQuest ) |
Definition at line 458 of file HookMgr.cpp.
References GAMEOBJECT_EVENT_ON_QUEST_ACCEPT, Object::GetEntry(), and sEluna.
Definition at line 203 of file HookMgr.cpp.
References Object::GetEntry(), ITEM_EVENT_ON_QUEST_ACCEPT, and sEluna.
Definition at line 355 of file HookMgr.cpp.
References CREATURE_EVENT_ON_QUEST_COMPLETE, Object::GetEntry(), and sEluna.
| bool HookMgr::OnQuestComplete | ( | Player * | pPlayer, |
| GameObject * | pGameObject, | ||
| Quest const * | pQuest ) |
Definition at line 472 of file HookMgr.cpp.
References GAMEOBJECT_EVENT_ON_QUEST_COMPLETE, Object::GetEntry(), and sEluna.
Definition at line 369 of file HookMgr.cpp.
References CREATURE_EVENT_ON_QUEST_REWARD, Object::GetEntry(), and sEluna.
| bool HookMgr::OnQuestReward | ( | Player * | pPlayer, |
| GameObject * | pGameObject, | ||
| Quest const * | pQuest ) |
Definition at line 486 of file HookMgr.cpp.
References GAMEOBJECT_EVENT_ON_QUEST_REWARD, Object::GetEntry(), and sEluna.
Definition at line 341 of file HookMgr.cpp.
References CREATURE_EVENT_ON_QUEST_SELECT, Object::GetEntry(), and sEluna.
| void HookMgr::OnRelocate | ( | Transport * | transport, |
| uint32 | waypointId, | ||
| uint32 | mapId, | ||
| float | x, | ||
| float | y, | ||
| float | z ) |
Definition at line 1116 of file HookMgr.cpp.
| void HookMgr::OnRemove | ( | AuctionHouseObject * | ah | ) |
Definition at line 1132 of file HookMgr.cpp.
References AUCTION_EVENT_ON_REMOVE, and sEluna.
| void HookMgr::OnRemoveMember | ( | Group * | group, |
| uint64 | guid, | ||
| uint8 | method, | ||
| uint64 | kicker, | ||
| const char * | reason ) |
Definition at line 1928 of file HookMgr.cpp.
References GROUP_EVENT_ON_MEMBER_REMOVE, and sEluna.
Definition at line 1751 of file HookMgr.cpp.
References GUILD_EVENT_ON_REMOVE_MEMBER, and sEluna.
Definition at line 1113 of file HookMgr.cpp.
Definition at line 1064 of file HookMgr.cpp.
References sEluna, and VEHICLE_EVENT_ON_REMOVE_PASSENGER.
| void HookMgr::OnRepop | ( | Player * | pPlayer | ) |
Definition at line 75 of file HookMgr.cpp.
References PLAYER_EVENT_ON_REPOP, and sEluna.
| void HookMgr::OnReputationChange | ( | Player * | pPlayer, |
| uint32 | factionID, | ||
| int32 & | standing, | ||
| bool | incremental ) |
Definition at line 692 of file HookMgr.cpp.
References PLAYER_EVENT_ON_REPUTATION_CHANGE, and sEluna.
| void HookMgr::OnReset | ( | Vehicle * | vehicle | ) |
Definition at line 1025 of file HookMgr.cpp.
References sEluna, and VEHICLE_EVENT_ON_RESET.
| void HookMgr::OnResurrect | ( | Player * | pPlayer | ) |
Definition at line 87 of file HookMgr.cpp.
References PLAYER_EVENT_ON_RESURRECT, and sEluna.
| void HookMgr::OnSave | ( | Player * | pPlayer | ) |
Definition at line 853 of file HookMgr.cpp.
References PLAYER_EVENT_ON_SAVE, and sEluna.
Definition at line 791 of file HookMgr.cpp.
References PLAYER_EVENT_ON_SPELL_CAST, and sEluna.
| void HookMgr::OnSuccessful | ( | AuctionHouseObject * | ah | ) |
Definition at line 1144 of file HookMgr.cpp.
References AUCTION_EVENT_ON_SUCCESSFUL, and sEluna.
| void HookMgr::OnTalentsReset | ( | Player * | pPlayer, |
| bool | noCost ) |
Definition at line 652 of file HookMgr.cpp.
References PLAYER_EVENT_ON_TALENTS_RESET, and sEluna.
Definition at line 776 of file HookMgr.cpp.
References PLAYER_EVENT_ON_TEXT_EMOTE, and sEluna.
| void HookMgr::OnUninstall | ( | Vehicle * | vehicle | ) |
Definition at line 1013 of file HookMgr.cpp.
References sEluna, and VEHICLE_EVENT_ON_UNINSTALL.
Definition at line 880 of file HookMgr.cpp.
References PLAYER_EVENT_ON_UPDATE_ZONE, and sEluna.
| bool HookMgr::OnUse | ( | Player * | pPlayer, |
| Item * | pItem, | ||
| SpellCastTargets const & | targets ) |
Definition at line 217 of file HookMgr.cpp.
References PlayerMenu::ClearMenus(), Object::GetEntry(), SpellCastTargets::GetGOTarget(), SpellCastTargets::GetItemTarget(), SpellCastTargets::GetUnitTarget(), GOSSIP_EVENT_ON_HELLO, ITEM_EVENT_ON_USE, Player::PlayerTalkClass, and sEluna.
| void HookMgr::OnWorldUpdate | ( | uint32 | diff | ) |
Definition at line 22 of file HookMgr.cpp.
References sEluna, and WORLD_EVENT_ON_UPDATE.