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

Public Member Functions

 go_transport_the_purple_princess (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_purple_princess()

go_transport_the_purple_princess::go_transport_the_purple_princess ( GameObject object)
inline
80: GameObjectAI(object) { };
Definition: GameObjectAI.h:33

Member Function Documentation

◆ EventInform()

void go_transport_the_purple_princess::EventInform ( uint32  eventId)
inlineoverridevirtual

Reimplemented from GameObjectAI.

83 {
84 sWorldState->HandleConditionStateChange(WORLD_STATE_CONDITION_THE_PURPLE_PRINCESS, static_cast<WorldStateConditionState>(eventId));
85 switch (eventId)
86 {
89 creature->AI()->Talk(0);
90 break;
93 creature->AI()->Talk(0);
94 break;
97 break;
98 default:
99 return;
100 }
101 }
@ EVENT_GROMGOL_FROM_UC_ARRIVAL
Definition: transport_zeppelin.h:21
@ EVENT_UC_TO_GROMGOL_DEPARTURE
Definition: transport_zeppelin.h:37
@ EVENT_GROMGOL_TO_UC_DEPARTURE
Definition: transport_zeppelin.h:38
@ EVENT_UC_FROM_GROMGOL_ARRIVAL
Definition: transport_zeppelin.h:20
@ NPC_SQUIBBY_OVERSPECK
Definition: transport_zeppelin.h:48
@ NPC_HINDENBURG
Definition: transport_zeppelin.h:44
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_PURPLE_PRINCESS
Definition: WorldState.h:31
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_GROMGOL_FROM_UC_ARRIVAL, EVENT_GROMGOL_TO_UC_DEPARTURE, EVENT_UC_FROM_GROMGOL_ARRIVAL, EVENT_UC_TO_GROMGOL_DEPARTURE, WorldObject::FindNearestCreature(), GameObjectAI::me, NPC_HINDENBURG, NPC_SQUIBBY_OVERSPECK, SEARCH_RANGE_ZEPPELIN_MASTER, sWorldState, and WORLD_STATE_CONDITION_THE_PURPLE_PRINCESS.