AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
go_transport_the_thundercaller Struct Reference
Inheritance diagram for go_transport_the_thundercaller:
GameObjectAI

Public Member Functions

 go_transport_the_thundercaller (GameObject *object)
 
void EventInform (uint32 eventId) override
 
- Public Member Functions inherited from GameObjectAI
 GameObjectAI (GameObject *go)
 
virtual ~GameObjectAI ()
 
virtual void UpdateAI (uint32)
 
virtual void InitializeAI ()
 
virtual void Reset ()
 
virtual void DoAction (int32)
 
virtual void SetGUID (ObjectGuid, int32)
 
virtual ObjectGuid GetGUID (int32) const
 
virtual bool GossipHello (Player *, bool)
 
virtual bool GossipSelect (Player *, uint32, uint32)
 
virtual bool GossipSelectCode (Player *, uint32, uint32, char const *)
 
virtual bool QuestAccept (Player *, Quest const *)
 
virtual bool QuestReward (Player *, Quest const *, uint32)
 
virtual uint32 GetDialogStatus (Player *)
 
virtual void Destroyed (Player *, uint32)
 
virtual uint32 GetData (uint32) const
 
virtual void SetData (uint32, uint32)
 
virtual void OnGameEvent (bool, uint16)
 
virtual void OnStateChanged (uint32, Unit *)
 
virtual void EventInform (uint32)
 
virtual void SpellHit (Unit *, SpellInfo const *)
 
virtual bool CanBeSeen (Player const *)
 
virtual void JustSummoned (Creature *)
 
virtual void SummonedCreatureDespawn (Creature *)
 
virtual void SummonedCreatureDies (Creature *, Unit *)
 
virtual void SummonedCreatureEvade (Creature *)
 

Additional Inherited Members

- Static Public Member Functions inherited from GameObjectAI
static int32 Permissible (GameObject const *go)
 
- Protected Attributes inherited from GameObjectAI
GameObject *const me
 

Detailed Description

Constructor & Destructor Documentation

◆ go_transport_the_thundercaller()

go_transport_the_thundercaller::go_transport_the_thundercaller ( GameObject object)
inline
50: GameObjectAI(object) { };
Definition: GameObjectAI.h:33

Member Function Documentation

◆ EventInform()

void go_transport_the_thundercaller::EventInform ( uint32  eventId)
inlineoverridevirtual

Reimplemented from GameObjectAI.

53 {
54 sWorldState->HandleConditionStateChange(WORLD_STATE_CONDITION_THE_THUNDERCALLER, static_cast<WorldStateConditionState>(eventId));
55 switch (eventId)
56 {
59 creature->AI()->Talk(0);
60 break;
63 creature->AI()->Talk(0);
64 break;
66 break;
69 creature->AI()->Talk(1);
70 break;
71 default:
72 return;
73 }
74 }
@ EVENT_OG_FROM_UC_ARRIVAL
Definition: transport_zeppelin.h:22
@ EVENT_UC_TO_OG_DEPARTURE
Definition: transport_zeppelin.h:36
@ EVENT_UC_FROM_OG_ARRIVAL
Definition: transport_zeppelin.h:23
@ EVENT_OG_TO_UC_DEPARTURE
Definition: transport_zeppelin.h:35
@ NPC_FREZZA
Definition: transport_zeppelin.h:45
@ NPC_ZAPETTA
Definition: transport_zeppelin.h:46
const float SEARCH_RANGE_ZEPPELIN_MASTER
Definition: transport_zeppelin.h:58
#define sWorldState
Definition: WorldState.h:94
WorldStateConditionState
Definition: WorldState.h:35
@ WORLD_STATE_CONDITION_THE_THUNDERCALLER
Definition: WorldState.h:29
GameObject *const me
Definition: GameObjectAI.h:35
Definition: Creature.h:43
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
Definition: Object.cpp:2457

References EVENT_OG_FROM_UC_ARRIVAL, EVENT_OG_TO_UC_DEPARTURE, EVENT_UC_FROM_OG_ARRIVAL, EVENT_UC_TO_OG_DEPARTURE, WorldObject::FindNearestCreature(), GameObjectAI::me, NPC_FREZZA, NPC_ZAPETTA, SEARCH_RANGE_ZEPPELIN_MASTER, sWorldState, and WORLD_STATE_CONDITION_THE_THUNDERCALLER.