TrinityCore
Loading...
Searching...
No Matches
PassengerController Class Reference

Public Member Functions

 PassengerController ()
 
void SetTransport (Transport *transport)
 
void ResetSlots (uint32 team)
 
bool SummonCreatures (GunshipPassengerSlots first, GunshipPassengerSlots last)
 
void ClearSlot (GunshipPassengerSlots slot)
 
bool SlotsNeedRefill (GunshipPassengerSlots first, GunshipPassengerSlots last) const
 

Private Member Functions

Position SelectSpawnPoint () const
 

Private Attributes

Transport * _transport
 
ObjectGuid _controlledSlots [MAX_SLOTS]
 
time_t _respawnCooldowns [MAX_SLOTS]
 
Position const * _spawnPoint
 
SlotInfo const * _slotInfo
 

Detailed Description

Definition at line 380 of file boss_icecrown_gunship_battle.cpp.

Constructor & Destructor Documentation

◆ PassengerController()

PassengerController::PassengerController ( )
inline

Definition at line 383 of file boss_icecrown_gunship_battle.cpp.

References HORDE, and ResetSlots().

Member Function Documentation

◆ ClearSlot()

◆ ResetSlots()

◆ SelectSpawnPoint()

◆ SetTransport()

void PassengerController::SetTransport ( Transport *  transport)
inline

◆ SlotsNeedRefill()

bool PassengerController::SlotsNeedRefill ( GunshipPassengerSlots  first,
GunshipPassengerSlots  last 
) const
inline

Definition at line 438 of file boss_icecrown_gunship_battle.cpp.

References _controlledSlots.

◆ SummonCreatures()

Member Data Documentation

◆ _controlledSlots

ObjectGuid PassengerController::_controlledSlots[MAX_SLOTS]
private

◆ _respawnCooldowns

time_t PassengerController::_respawnCooldowns[MAX_SLOTS]
private

Definition at line 461 of file boss_icecrown_gunship_battle.cpp.

Referenced by ClearSlot(), ResetSlots(), and SummonCreatures().

◆ _slotInfo

SlotInfo const* PassengerController::_slotInfo
private

Definition at line 463 of file boss_icecrown_gunship_battle.cpp.

Referenced by ClearSlot(), ResetSlots(), and SummonCreatures().

◆ _spawnPoint

Position const* PassengerController::_spawnPoint
private

Definition at line 462 of file boss_icecrown_gunship_battle.cpp.

Referenced by ResetSlots(), and SelectSpawnPoint().

◆ _transport

Transport* PassengerController::_transport
private

Definition at line 459 of file boss_icecrown_gunship_battle.cpp.

Referenced by ResetSlots(), SetTransport(), and SummonCreatures().


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