AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Public Member Functions | |
PassengerController () | |
void | ResetSlots (TeamId teamId, MotionTransport *t) |
bool | SummonCreatures (Creature *summoner, PassengerSlots first, PassengerSlots last) |
void | ClearSlot (PassengerSlots slot) |
Private Member Functions | |
Position | SelectSpawnPoint () const |
Private Attributes | |
ObjectGuid | _controlledSlots [MAX_SLOTS] |
time_t | _respawnCooldowns [MAX_SLOTS] |
MotionTransport * | _transport |
Position const * | _spawnPoint |
SlotInfo const * | _slotInfo |
|
inline |
References ResetSlots(), and TEAM_HORDE.
|
inline |
References _controlledSlots, _respawnCooldowns, _slotInfo, ObjectGuid::Clear(), SlotInfo::Cooldown, and GameTime::GetGameTime().
Referenced by npc_high_overlord_saurfang_igb::npc_high_overlord_saurfang_igbAI::SetData(), and npc_muradin_bronzebeard_igb::npc_muradin_bronzebeard_igbAI::SetData().
|
inline |
References _controlledSlots, _respawnCooldowns, _slotInfo, _spawnPoint, _transport, ObjectGuid::Clear(), MAX_SLOTS, OrgrimsHammerAddsSpawnPos, OrgrimsHammerSlotInfo, SkybreakerAddsSpawnPos, SkybreakerSlotInfo, and TEAM_HORDE.
Referenced by npc_high_overlord_saurfang_igb::npc_high_overlord_saurfang_igbAI::npc_high_overlord_saurfang_igbAI(), npc_muradin_bronzebeard_igb::npc_muradin_bronzebeard_igbAI::npc_muradin_bronzebeard_igbAI(), and PassengerController().
|
inlineprivate |
References _spawnPoint, _transport, Transport::CalculatePassengerPosition(), frand(), Position::GetOrientation(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), Position::m_orientation, Position::m_positionX, Position::m_positionY, Position::m_positionZ, and Position::SetOrientation().
Referenced by SummonCreatures().
|
inline |
References _controlledSlots, _respawnCooldowns, _slotInfo, _transport, ACTION_SET_SLOT, MotionTransport::AddPassenger(), SlotInfo::Entry, ObjectAccessor::GetCreature(), GameTime::GetGameTime(), IMMUNITY_ID, Unit::IsAlive(), SelectSpawnPoint(), SLOT_MAGE_1, SLOT_MORTAR_4, WorldObject::SummonCreature(), and TEMPSUMMON_CORPSE_TIMED_DESPAWN.
Referenced by npc_high_overlord_saurfang_igb::npc_high_overlord_saurfang_igbAI::DoAction(), npc_muradin_bronzebeard_igb::npc_muradin_bronzebeard_igbAI::DoAction(), npc_high_overlord_saurfang_igb::npc_high_overlord_saurfang_igbAI::UpdateAI(), and npc_muradin_bronzebeard_igb::npc_muradin_bronzebeard_igbAI::UpdateAI().
|
private |
Referenced by ClearSlot(), ResetSlots(), and SummonCreatures().
|
private |
Referenced by ClearSlot(), ResetSlots(), and SummonCreatures().
|
private |
Referenced by ClearSlot(), ResetSlots(), and SummonCreatures().
|
private |
Referenced by ResetSlots(), and SelectSpawnPoint().
|
private |
Referenced by ResetSlots(), SelectSpawnPoint(), and SummonCreatures().