TrinityCore
Loading...
Searching...
No Matches
npc_death_knight_initiate::npc_death_knight_initiateAI Struct Reference
+ Inheritance diagram for npc_death_knight_initiate::npc_death_knight_initiateAI:

Public Member Functions

 npc_death_knight_initiateAI (Creature *creature)
 
void Initialize ()
 
void Reset () override
 
void SpellHit (WorldObject *caster, SpellInfo const *spellInfo) override
 
void DamageTaken (Unit *pDoneBy, uint32 &uiDamage, DamageEffectType, SpellInfo const *) override
 
void UpdateAI (uint32 uiDiff) override
 
bool OnGossipSelect (Player *player, uint32, uint32 gossipListId) override
 
bool OnGossipHello (Player *player) override
 
void WaypointPathEnded (uint32, uint32 pathId) override
 
- Public Member Functions inherited from CombatAI
void InitializeAI () override
 
void JustEngagedWith (Unit *who) override
 
void JustDied (Unit *killer) override
 
void SpellInterrupted (uint32 spellId, uint32 unTimeMs) override
 
 CreatureAI (Creature *creature, uint32 scriptId={}) noexcept
 
- Public Member Functions inherited from CreatureAI
 CreatureAI (Creature *creature, uint32 scriptId={}) noexcept
 
virtual ~CreatureAI ()
 
uint32 GetId () const
 
bool IsEngaged () const
 
void Talk (uint8 id, WorldObject const *whisperTarget=nullptr)
 
void MoveInLineOfSight_Safe (Unit *who)
 == Reactions At =================================
 
void TriggerAlert (Unit const *who) const
 
virtual void EnterEvadeMode (EvadeReason why=EvadeReason::Other)
 
void JustEnteredCombat (Unit *) override
 
virtual void JustStartedThreateningMe (Unit *who)
 
virtual void OnHealthDepleted (Unit *, bool)
 
virtual void KilledUnit (Unit *)
 
virtual void JustSummoned (Creature *)
 
virtual void IsSummonedBy (WorldObject *)
 
virtual void SummonedCreatureDespawn (Creature *)
 
virtual void SummonedCreatureDies (Creature *, Unit *)
 
virtual void JustSummonedGameobject (GameObject *)
 
virtual void SummonedGameobjectDespawn (GameObject *)
 
virtual void JustRegisteredDynObject (DynamicObject *)
 
virtual void JustUnregisteredDynObject (DynamicObject *)
 
virtual void JustRegisteredAreaTrigger (AreaTrigger *)
 
virtual void JustUnregisteredAreaTrigger (AreaTrigger *)
 
virtual void SpellHitTarget (WorldObject *, SpellInfo const *)
 
virtual void OnSpellCast (SpellInfo const *)
 
virtual void OnSpellFailed (SpellInfo const *)
 
virtual void OnSpellStart (SpellInfo const *)
 
virtual void OnChannelFinished (SpellInfo const *)
 
virtual void OnAuraApplied (AuraApplication const *)
 
virtual void OnAuraRemoved (AuraApplication const *)
 
virtual bool IsEscorted () const
 
virtual void JustAppeared ()
 
virtual void MovementInform (uint32, uint32)
 
void OnCharmed (bool isNew) override
 
virtual void JustReachedHome ()
 
void DoZoneInCombat ()
 
virtual void ReceiveEmote (Player *, uint32)
 
virtual void OwnerAttackedBy (Unit *attacker)
 
virtual void OwnerAttacked (Unit *target)
 
void AttackStart (Unit *victim) override
 == Triggered Actions Requested ==================
 
virtual void CorpseRemoved (uint32 &)
 == State checks =================================
 
virtual Optional< QuestGiverStatusGetDialogStatus (Player const *player)
 == Gossip system ================================
 
virtual bool OnGossipSelectCode (Player *, uint32, uint32, char const *)
 
virtual void OnQuestAccept (Player *, Quest const *)
 
virtual void OnQuestReward (Player *, Quest const *, LootItemType, uint32)
 
virtual void WaypointStarted (uint32, uint32)
 == Waypoints system =============================
 
virtual void WaypointReached (uint32, uint32)
 
virtual void PassengerBoarded (Unit *, int8, bool)
 == Fields =======================================
 
virtual void OnSpellClick (Unit *, bool)
 
virtual bool CanSeeAlways (WorldObject const *)
 
virtual PlayerAIGetAIForCharmedPlayer (Player *)
 
int32 VisualizeBoundary (Seconds duration, Unit *owner=nullptr, bool fill=false) const
 
virtual bool CheckInRoom ()
 
CreatureBoundary const * GetBoundary () const
 
void SetBoundary (CreatureBoundary const *boundary, bool negativeBoundaries=false)
 
bool IsInBoundary (Position const *who=nullptr) const
 
- Public Member Functions inherited from UnitAI
 UnitAI (Unit *unit)
 
virtual ~UnitAI ()
 
virtual bool CanAIAttack (Unit const *) const
 
virtual void DoAction (int32 param)
 
virtual uint32 GetData (uint32 id) const
 
virtual void SetData (uint32 id, uint32 value)
 
virtual void SetGUID (ObjectGuid const &guid, int32 id)
 
virtual ObjectGuid GetGUID (int32 id) const
 
UnitSelectTarget (SelectTargetMethod targetType, uint32 offset=0, float dist=0.0f, bool playerOnly=false, bool withTank=true, int32 aura=0)
 
template<class PREDICATE >
UnitSelectTarget (SelectTargetMethod targetType, uint32 offset, PREDICATE const &predicate)
 
void SelectTargetList (std::list< Unit * > &targetList, uint32 num, SelectTargetMethod targetType, uint32 offset=0, float dist=0.0f, bool playerOnly=false, bool withTank=true, int32 aura=0)
 
template<class PREDICATE >
void SelectTargetList (std::list< Unit * > &targetList, uint32 num, SelectTargetMethod targetType, uint32 offset, PREDICATE const &predicate)
 
virtual void JustExitedCombat ()
 
virtual void OnDespawn ()
 
virtual void DamageDealt (Unit *, uint32 &, DamageEffectType)
 
virtual void HealReceived (Unit *, uint32 &)
 
virtual void HealDone (Unit *, uint32 &)
 
void AttackStartCaster (Unit *victim, float dist)
 
SpellCastResult DoCast (uint32 spellId)
 
SpellCastResult DoCast (Unit *victim, uint32 spellId, CastSpellExtraArgs const &args={})
 
SpellCastResult DoCastSelf (uint32 spellId, CastSpellExtraArgs const &args={})
 
SpellCastResult DoCastVictim (uint32 spellId, CastSpellExtraArgs const &args={})
 
SpellCastResult DoCastAOE (uint32 spellId, CastSpellExtraArgs const &args={})
 
bool DoSpellAttackIfReady (uint32 spellId)
 
virtual void OnGameEvent (bool, uint16)
 
virtual std::string GetDebugInfo () const
 

Public Attributes

bool lose
 
ObjectGuid m_uiDuelerGUID
 
uint32 m_uiDuelTimer
 
bool m_bIsDuelInProgress
 

Additional Inherited Members

- Static Public Member Functions inherited from CombatAI
static int32 Permissible (Creature const *)
 
- Static Public Member Functions inherited from CreatureAI
static void DoZoneInCombat (Creature *creature)
 
static bool IsInBounds (CreatureBoundary const &boundary, Position const *who)
 
- Static Public Member Functions inherited from UnitAI
static void FillAISpellInfo ()
 
- Static Public Attributes inherited from UnitAI
static std::unordered_map< std::pair< uint32, Difficulty >, AISpellInfoTypeAISpellInfo
 
- Protected Member Functions inherited from CreatureAI
bool UpdateVictim ()
 
CreatureDoSummon (uint32 entry, Position const &pos, Milliseconds despawnTime=30s, TempSummonType summonType=TEMPSUMMON_CORPSE_TIMED_DESPAWN)
 
CreatureDoSummon (uint32 entry, WorldObject *obj, float radius=5.0f, Milliseconds despawnTime=30s, TempSummonType summonType=TEMPSUMMON_CORPSE_TIMED_DESPAWN)
 
CreatureDoSummonFlyer (uint32 entry, WorldObject *obj, float flightZ, float radius=5.0f, Milliseconds despawnTime=30s, TempSummonType summonType=TEMPSUMMON_CORPSE_TIMED_DESPAWN)
 
void EngagementStart (Unit *who)
 
void EngagementOver ()
 
virtual void MoveInLineOfSight (Unit *)
 
bool _EnterEvadeMode (EvadeReason why=EvadeReason::Other)
 
- Protected Attributes inherited from CombatAI
EventMap _events
 
SpellVector _spells
 
- Protected Attributes inherited from CreatureAI
Creature *const me
 
CreatureBoundary const * _boundary
 
bool _negateBoundary
 
- Protected Attributes inherited from UnitAI
Unit *const me
 

Detailed Description

Definition at line 570 of file chapter1.cpp.

Constructor & Destructor Documentation

◆ npc_death_knight_initiateAI()

npc_death_knight_initiate::npc_death_knight_initiateAI::npc_death_knight_initiateAI ( Creature creature)
inline

Definition at line 572 of file chapter1.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ DamageTaken()

void npc_death_knight_initiate::npc_death_knight_initiateAI::DamageTaken ( Unit pDoneBy,
uint32 uiDamage,
DamageEffectType  ,
SpellInfo const *   
)
inlineoverridevirtual

Reimplemented from UnitAI.

Definition at line 609 of file chapter1.cpp.

+ Here is the call graph for this function:

◆ Initialize()

void npc_death_knight_initiate::npc_death_knight_initiateAI::Initialize ( )
inline

Definition at line 577 of file chapter1.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ OnGossipHello()

bool npc_death_knight_initiate::npc_death_knight_initiateAI::OnGossipHello ( Player player)
inlineoverridevirtual

Reimplemented from CreatureAI.

Definition at line 696 of file chapter1.cpp.

+ Here is the call graph for this function:

◆ OnGossipSelect()

bool npc_death_knight_initiate::npc_death_knight_initiateAI::OnGossipSelect ( Player player,
uint32  ,
uint32  gossipListId 
)
inlineoverridevirtual

Reimplemented from CreatureAI.

Definition at line 673 of file chapter1.cpp.

+ Here is the call graph for this function:

◆ Reset()

void npc_death_knight_initiate::npc_death_knight_initiateAI::Reset ( )
inlineoverridevirtual

Reimplemented from CombatAI.

Definition at line 590 of file chapter1.cpp.

+ Here is the call graph for this function:

◆ SpellHit()

void npc_death_knight_initiate::npc_death_knight_initiateAI::SpellHit ( WorldObject caster,
SpellInfo const *  spellInfo 
)
inlineoverridevirtual

Reimplemented from CreatureAI.

Definition at line 599 of file chapter1.cpp.

+ Here is the call graph for this function:

◆ UpdateAI()

void npc_death_knight_initiate::npc_death_knight_initiateAI::UpdateAI ( uint32  uiDiff)
inlineoverridevirtual
Todo:
spells

Reimplemented from CombatAI.

Definition at line 632 of file chapter1.cpp.

+ Here is the call graph for this function:

◆ WaypointPathEnded()

void npc_death_knight_initiate::npc_death_knight_initiateAI::WaypointPathEnded ( uint32  ,
uint32  pathId 
)
inlineoverridevirtual

Reimplemented from CreatureAI.

Definition at line 714 of file chapter1.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ lose

bool npc_death_knight_initiate::npc_death_knight_initiateAI::lose

Definition at line 585 of file chapter1.cpp.

◆ m_bIsDuelInProgress

bool npc_death_knight_initiate::npc_death_knight_initiateAI::m_bIsDuelInProgress

Definition at line 588 of file chapter1.cpp.

◆ m_uiDuelerGUID

ObjectGuid npc_death_knight_initiate::npc_death_knight_initiateAI::m_uiDuelerGUID

Definition at line 586 of file chapter1.cpp.

◆ m_uiDuelTimer

uint32 npc_death_knight_initiate::npc_death_knight_initiateAI::m_uiDuelTimer

Definition at line 587 of file chapter1.cpp.


The documentation for this struct was generated from the following file: