|
| npc_fos_leader () |
|
bool | OnGossipHello (Player *player, Creature *creature) override |
|
bool | OnGossipSelect (Player *player, Creature *creature, uint32, uint32 uiAction) override |
|
CreatureAI * | GetAI (Creature *creature) const override |
|
bool | IsDatabaseBound () const override |
|
virtual bool | OnGossipSelectCode (Player *, Creature *, uint32, uint32, const char *) |
|
virtual bool | OnQuestAccept (Player *, Creature *, Quest const *) |
|
virtual bool | OnQuestSelect (Player *, Creature *, Quest const *) |
|
virtual bool | OnQuestComplete (Player *, Creature *, Quest const *) |
|
virtual bool | OnQuestReward (Player *, Creature *, Quest const *, uint32) |
|
virtual uint32 | GetDialogStatus (Player *, Creature *) |
|
virtual void | OnFfaPvpStateUpdate (Creature *, bool) |
|
virtual bool | isAfterLoadScript () const |
|
virtual void | checkValidity () |
|
const std::string & | GetName () const |
|
uint16 | GetTotalAvailableHooks () |
|
virtual void | OnUpdate (Creature *, uint32) |
|
◆ npc_fos_leader()
npc_fos_leader::npc_fos_leader |
( |
| ) |
|
|
inline |
Definition CreatureScript.h:25
◆ GetAI()
Reimplemented from CreatureScript.
222 {
223 return GetForgeOfSoulsAI<npc_fos_leaderAI>(creature);
224 }
◆ OnGossipHello()
bool npc_fos_leader::OnGossipHello |
( |
Player * |
player, |
|
|
Creature * |
creature |
|
) |
| |
|
inlineoverridevirtual |
Reimplemented from CreatureScript.
190 {
193
195 {
198 else
200 }
201
203 return true;
204 }
void SendGossipMenuFor(Player *player, uint32 npcTextID, ObjectGuid const guid)
Definition ScriptedGossip.cpp:45
void AddGossipItemFor(Player *player, uint32 icon, std::string const &text, uint32 sender, uint32 action)
Definition ScriptedGossip.cpp:28
@ GOSSIP_SENDER_MAIN
Definition ScriptedGossip.h:70
@ GOSSIP_ACTION_INFO_DEF
Definition ScriptedGossip.h:68
@ UNIT_NPC_FLAG_GOSSIP
Definition UnitDefines.h:315
uint32 GetEntry() const
Definition Object.h:115
static ObjectGuid GetGUID(Object const *o)
Definition Object.h:112
void PrepareQuestMenu(ObjectGuid guid)
Definition PlayerQuest.cpp:39
bool IsQuestGiver() const
Definition Unit.h:771
bool HasNpcFlag(NPCFlags flags) const
Definition Unit.h:734
@ GOSSIP_SYLVANAS_INTRO
Definition forge_of_souls.cpp:51
@ GOSSIP_JAINA_INTRO
Definition forge_of_souls.cpp:50
@ NPC_JAINA_PART1
Definition forge_of_souls.h:42
References AddGossipItemFor(), Object::GetEntry(), Object::GetGUID(), GOSSIP_ACTION_INFO_DEF, GOSSIP_JAINA_INTRO, GOSSIP_SENDER_MAIN, GOSSIP_SYLVANAS_INTRO, Unit::HasNpcFlag(), Unit::IsQuestGiver(), NPC_JAINA_PART1, Player::PrepareQuestMenu(), SendGossipMenuFor(), and UNIT_NPC_FLAG_GOSSIP.
◆ OnGossipSelect()
The documentation for this class was generated from the following file:
- azerothcore-wotlk/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/forge_of_souls.cpp