![]() |
TrinityCore
|
#include "ScriptMgr.h"#include "GameObjectAI.h"#include "Item.h"#include "Log.h"#include "Player.h"#include "ScriptedCreature.h"#include "ScriptedGossip.h"#include "SpellInfo.h"#include "SpellMgr.h"#include "WorldSession.h"
Include dependency graph for npc_professions.cpp:Go to the source code of this file.
Classes | |
| class | npc_prof_blacksmith |
| struct | npc_prof_blacksmith::npc_prof_blacksmithAI |
| class | npc_engineering_tele_trinket |
| struct | npc_engineering_tele_trinket::npc_engineering_tele_trinketAI |
| class | go_soothsaying_for_dummies |
| struct | go_soothsaying_for_dummies::go_soothsaying_for_dummiesAI |
| class | npc_prof_leather |
| struct | npc_prof_leather::npc_prof_leatherAI |
| class | npc_prof_tailor |
| struct | npc_prof_tailor::npc_prof_tailorAI |
| class | npc_prof_alchemy |
| struct | npc_prof_alchemy::npc_prof_alchemyAI |
Macros | |
| #define | GOSSIP_SENDER_LEARN 50 |
| #define | GOSSIP_SENDER_UNLEARN 51 |
| #define | GOSSIP_SENDER_CHECK 52 |
Functions | |
| int32 | DoLearnCost (Player *) |
| int32 | DoHighUnlearnCost (Player *) |
| int32 | DoMedUnlearnCost (Player *player) |
| int32 | DoLowUnlearnCost (Player *player) |
| void | ProcessCastaction (Player *player, Creature *creature, uint32 spellId, uint32 triggeredSpellId, int32 cost) |
| bool | EquippedOk (Player *player, uint32 spellId) |
| void | ProfessionUnlearnSpells (Player *player, uint32 type) |
| void | ProcessUnlearnAction (Player *player, Creature *creature, uint32 spellId, uint32 alternativeSpellId, int32 cost) |
| void | AddSC_npc_professions () |
| #define GOSSIP_SENDER_CHECK 52 |
Definition at line 47 of file npc_professions.cpp.
| #define GOSSIP_SENDER_LEARN 50 |
Definition at line 45 of file npc_professions.cpp.
| #define GOSSIP_SENDER_UNLEARN 51 |
Definition at line 46 of file npc_professions.cpp.
| enum EngineeringTrinkets |
Definition at line 609 of file npc_professions.cpp.
| enum Gossips |
Definition at line 53 of file npc_professions.cpp.
| enum ProfessionQuest |
| Enumerator | |
|---|---|
| Q_MASTER_TRANSMUTE | |
| Q_MASTER_ELIXIR | |
| Q_MASTER_POTION | |
Definition at line 198 of file npc_professions.cpp.
| enum ProfessionSpells |
Definition at line 87 of file npc_professions.cpp.
| Enumerator | |
|---|---|
| GOSSIP_ID | |
| OPTION_UNLEARN_GNOMISH | |
| OPTION_UNLEARN_GOBLIN | |
| OPTION_LEARN_GNOMISH | |
| OPTION_LEARN_GOBLIN | |
| OPTION_LEARN_DRAGONSCALE | |
| OPTION_LEARN_ELEMENTAL | |
| OPTION_LEARN_TRIBAL | |
Definition at line 729 of file npc_professions.cpp.
Definition at line 165 of file npc_professions.cpp.
| void AddSC_npc_professions | ( | ) |
Definition at line 230 of file npc_professions.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 219 of file npc_professions.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 255 of file npc_professions.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void ProcessCastaction | ( | Player * | player, |
| Creature * | creature, | ||
| uint32 | spellId, | ||
| uint32 | triggeredSpellId, | ||
| int32 | cost | ||
| ) |
Definition at line 239 of file npc_professions.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void ProcessUnlearnAction | ( | Player * | player, |
| Creature * | creature, | ||
| uint32 | spellId, | ||
| uint32 | alternativeSpellId, | ||
| int32 | cost | ||
| ) |
Definition at line 396 of file npc_professions.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 282 of file npc_professions.cpp.
Here is the call graph for this function:
Here is the caller graph for this function: