![]() |
TrinityCore
|
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 |
Definition at line 380 of file boss_icecrown_gunship_battle.cpp.
|
inline |
Definition at line 383 of file boss_icecrown_gunship_battle.cpp.
References HORDE, and ResetSlots().
|
inline |
Definition at line 432 of file boss_icecrown_gunship_battle.cpp.
References _controlledSlots, _respawnCooldowns, _slotInfo, ObjectGuid::Clear(), SlotInfo::Cooldown, and GameTime::GetGameTime().
Referenced by npc_high_overlord_saurfang_igb::SetData(), and npc_muradin_bronzebeard_igb::SetData().
|
inline |
Definition at line 390 of file boss_icecrown_gunship_battle.cpp.
References _controlledSlots, _respawnCooldowns, _slotInfo, _spawnPoint, _transport, HORDE, MAX_SLOTS, OrgrimsHammerAddsSpawnPos, OrgrimsHammerSlotInfo, SkybreakerAddsSpawnPos, and SkybreakerSlotInfo.
Referenced by npc_high_overlord_saurfang_igb::npc_high_overlord_saurfang_igb(), npc_muradin_bronzebeard_igb::npc_muradin_bronzebeard_igb(), and PassengerController().
|
inlineprivate |
Definition at line 448 of file boss_icecrown_gunship_battle.cpp.
References _spawnPoint, frand(), Position::GetOrientation(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), M_PI, Position::m_positionX, Position::m_positionY, Position::m_positionZ, and Position::SetOrientation().
Referenced by SummonCreatures().
|
inline |
Definition at line 388 of file boss_icecrown_gunship_battle.cpp.
References _transport.
Referenced by npc_high_overlord_saurfang_igb::npc_high_overlord_saurfang_igb(), and npc_muradin_bronzebeard_igb::npc_muradin_bronzebeard_igb().
|
inline |
Definition at line 438 of file boss_icecrown_gunship_battle.cpp.
References _controlledSlots.
|
inline |
Definition at line 401 of file boss_icecrown_gunship_battle.cpp.
References _controlledSlots, _respawnCooldowns, _slotInfo, _transport, ACTION_SET_SLOT, SlotInfo::Entry, ObjectAccessor::GetCreature(), GameTime::GetGameTime(), Unit::IsAlive(), SelectSpawnPoint(), Transport::SummonPassenger(), and TEMPSUMMON_CORPSE_TIMED_DESPAWN.
Referenced by npc_high_overlord_saurfang_igb::DoAction(), npc_muradin_bronzebeard_igb::DoAction(), npc_high_overlord_saurfang_igb::UpdateAI(), and npc_muradin_bronzebeard_igb::UpdateAI().
|
private |
Definition at line 460 of file boss_icecrown_gunship_battle.cpp.
Referenced by ClearSlot(), ResetSlots(), SlotsNeedRefill(), and SummonCreatures().
|
private |
Definition at line 461 of file boss_icecrown_gunship_battle.cpp.
Referenced by ClearSlot(), ResetSlots(), and SummonCreatures().
|
private |
Definition at line 463 of file boss_icecrown_gunship_battle.cpp.
Referenced by ClearSlot(), ResetSlots(), and SummonCreatures().
|
private |
Definition at line 462 of file boss_icecrown_gunship_battle.cpp.
Referenced by ResetSlots(), and SelectSpawnPoint().
|
private |
Definition at line 459 of file boss_icecrown_gunship_battle.cpp.
Referenced by ResetSlots(), SetTransport(), and SummonCreatures().