|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <MotionMaster.h>
Public Member Functions | |
| void | Clear (bool reset=true) |
| void | DelayedDelete (_Ty curr) |
| void | DirectDelete (_Ty curr) |
| bool | empty () const |
| MovementGeneratorType | GetCurrentMovementGeneratorType () const |
| bool | GetDestination (float &x, float &y, float &z) |
| _Ty | GetMotionSlot (int slot) const |
| MovementGeneratorType | GetMotionSlotType (int slot) const |
| void | InitDefault () |
| void | Initialize () |
| MotionMaster (Unit *unit) | |
| void | MoveCharge (float x, float y, float z, float speed=SPEED_CHARGE, uint32 id=EVENT_CHARGE, bool generatePath=false) |
| void | MoveCharge (PathGenerator const &path) |
| void | MoveChase (Unit *target, float dist=0.0f, float angle=0.0f) |
| void | MoveConfused () |
| void | MoveDistract (uint32 time) |
| void | MoveFall (uint32 id=0) |
| void | MoveFleeing (Unit *enemy, uint32 time=0) |
| void | MoveFollow (Unit *target, float dist, float angle, MovementSlot slot=MOTION_SLOT_ACTIVE) |
| void | MoveIdle () |
| void | MoveJump (float x, float y, float z, float speedXY, float speedZ, uint32 id=EVENT_JUMP) |
| void | MoveJump (Position const &pos, float speedXY, float speedZ, uint32 id=EVENT_JUMP) |
| void | MoveJumpTo (float angle, float speedXY, float speedZ) |
| void | MoveKnockbackFrom (float srcX, float srcY, float speedXY, float speedZ) |
| void | MoveLand (uint32 id, Position const &pos) |
| void | MovementExpired (bool reset=true) |
| void | MovePath (uint32 path_id, bool repeatable) |
| void | MovePoint (uint32 id, float x, float y, float z, bool generatePath=true) |
| void | MovePoint (uint32 id, Position const &pos, bool generatePath=true) |
| void | MoveRandom (float spawndist=0.0f) |
| void | MoveRotate (uint32 time, RotateDirection direction) |
| void | MoveSeekAssistance (float x, float y, float z) |
| void | MoveSeekAssistanceDistract (uint32 timer) |
| void | MoveTakeoff (uint32 id, Position const &pos) |
| void | MoveTargetedHome () |
| void | MoveTaxiFlight (uint32 path, uint32 pathnode) |
| void | propagateSpeedChange () |
| int | size () const |
| _Ty | top () const |
| void | UpdateMotion (uint32 diff) |
| ~MotionMaster () | |
Private Types | |
| typedef MovementGenerator * | _Ty |
| typedef std::vector< _Ty > | ExpireList |
Private Member Functions | |
| void | DelayedClean () |
| void | DelayedExpire () |
| void | DirectClean (bool reset) |
| void | DirectExpire (bool reset) |
| void | InitTop () |
| void | Mutate (MovementGenerator *m, MovementSlot slot) |
| bool | needInitTop () const |
| void | pop () |
| void | push (_Ty _Val) |
Private Attributes | |
| uint8 | _cleanFlag |
| ExpireList * | _expList |
| bool | _needInit [MAX_MOTION_SLOT] = { true } |
| Unit * | _owner |
| int | _top |
| _Ty | Impl [MAX_MOTION_SLOT] = {} |
Definition at line 69 of file MotionMaster.h.
|
private |
Definition at line 73 of file MotionMaster.h.
|
private |
Definition at line 180 of file MotionMaster.h.
|
inlineexplicit |
Definition at line 87 of file MotionMaster.h.
References _cleanFlag, _expList, _owner, _top, and MMCF_NONE.
| MotionMaster::~MotionMaster | ( | ) |
Definition at line 55 of file MotionMaster.cpp.
References DirectDelete(), empty(), pop(), and top().
|
inline |
Definition at line 102 of file MotionMaster.h.
References _cleanFlag, DelayedClean(), DirectClean(), MMCF_RESET, and MMCF_UPDATE.
Referenced by Unit::CleanupBeforeRemoveFromMap(), Map::CreatureRespawnRelocation(), Spell::EffectSummonType(), AuraEffect::HandleModPossessPet(), WorldSession::HandlePetActionHelper(), boss_midnight::boss_midnightAI::Mount(), LuaUnit::MoveClear(), MoveTargetedHome(), boss_warchief_kargath_bladefist::boss_warchief_kargath_bladefistAI::removeAdds(), ResetCryForTheMoonActor(), and Unit::setDeathState().
|
private |
Definition at line 125 of file MotionMaster.cpp.
References DelayedDelete(), pop(), size(), and top().
Referenced by Clear().
| void MotionMaster::DelayedDelete | ( | _Ty | curr | ) |
Definition at line 626 of file MotionMaster.cpp.
References _expList, _owner, MovementGenerator::GetMovementGeneratorType(), isStatic(), and SF_LOG_FATAL.
Referenced by DelayedClean(), DelayedExpire(), and Mutate().
|
private |
Definition at line 156 of file MotionMaster.cpp.
References _top, DelayedDelete(), pop(), size(), and top().
Referenced by MovementExpired().
|
private |
Definition at line 110 of file MotionMaster.cpp.
References _owner, DirectDelete(), InitTop(), needInitTop(), pop(), MovementGenerator::Reset(), size(), and top().
Referenced by Clear().
| void MotionMaster::DirectDelete | ( | _Ty | curr | ) |
Definition at line 618 of file MotionMaster.cpp.
References _owner, MovementGenerator::Finalize(), and isStatic().
Referenced by DirectClean(), DirectExpire(), Initialize(), Mutate(), UpdateMotion(), and ~MotionMaster().
|
private |
Definition at line 136 of file MotionMaster.cpp.
References _owner, _top, DirectDelete(), empty(), Initialize(), InitTop(), needInitTop(), pop(), MovementGenerator::Reset(), size(), and top().
Referenced by MovementExpired().
|
inline |
Definition at line 93 of file MotionMaster.h.
References _top.
Referenced by HomeMovementGenerator< Creature >::_setTargetLocation(), DirectExpire(), GetCurrentMovementGeneratorType(), Initialize(), MoveIdle(), UpdateMotion(), and ~MotionMaster().
| MovementGeneratorType MotionMaster::GetCurrentMovementGeneratorType | ( | ) | const |
Definition at line 596 of file MotionMaster.cpp.
References empty(), MovementGenerator::GetMovementGeneratorType(), IDLE_MOTION_TYPE, and top().
Referenced by npc_commandscript::HandleNpcUnFollowCommand(), and Creature::UpdateMovementFlags().
| bool MotionMaster::GetDestination | ( | float & | x, |
| float & | y, | ||
| float & | z ) |
Definition at line 636 of file MotionMaster.cpp.
References _owner.
Referenced by misc_commandscript::HandleMovegensCommand().
|
inline |
Definition at line 96 of file MotionMaster.h.
References Impl.
Referenced by misc_commandscript::HandleMovegensCommand().
| MovementGeneratorType MotionMaster::GetMotionSlotType | ( | int | slot | ) | const |
Definition at line 604 of file MotionMaster.cpp.
References Impl, and NULL_MOTION_TYPE.
| void MotionMaster::InitDefault | ( | ) |
Definition at line 42 of file MotionMaster.cpp.
References _owner, MOTION_SLOT_IDLE, Mutate(), FactorySelector::selectMovementGenerator(), si_idleMovement, and TYPEID_UNIT.
Referenced by Initialize(), Unit::RemoveCharmedBy(), and Creature::Respawn().
| void MotionMaster::Initialize | ( | ) |
Definition at line 27 of file MotionMaster.cpp.
References DirectDelete(), empty(), InitDefault(), pop(), and top().
Referenced by BattlegroundAV::AddAVCreature(), Map::CreatureRespawnRelocation(), DirectExpire(), EffectMovementGenerator::Finalize(), WorldSession::HandleCharCreateCallback(), npc_commandscript::HandleNpcAddMoveCommand(), npc_commandscript::HandleNpcMoveCommand(), npc_commandscript::HandleNpcSetMoveTypeCommand(), npc_commandscript::HandleNpcSetSpawnDistCommand(), WorldSession::HandlePlayerLogin(), wp_commandscript::HandleWpLoadCommand(), wp_commandscript::HandleWpUnLoadCommand(), Resurrect(), WaypointMovementGenerator< Creature >::StartMove(), and UpdateMotion().
|
private |
Definition at line 612 of file MotionMaster.cpp.
References _needInit, _owner, _top, MovementGenerator::Initialize(), and top().
Referenced by DirectClean(), DirectExpire(), and UpdateMotion().
| void MotionMaster::MoveCharge | ( | float | x, |
| float | y, | ||
| float | z, | ||
| float | speed = SPEED_CHARGE, | ||
| uint32 | id = EVENT_CHARGE, | ||
| bool | generatePath = false ) |
Definition at line 393 of file MotionMaster.cpp.
References _owner, DISTRACT_MOTION_TYPE, Impl, MOTION_SLOT_CONTROLLED, Mutate(), SF_LOG_DEBUG, and TYPEID_PLAYER.
Referenced by npc_anachronos_the_ancient::npc_anachronos_the_ancientAI::HandleAnimation(), LuaUnit::MoveCharge(), and MoveCharge().
| void MotionMaster::MoveCharge | ( | PathGenerator const & | path | ) |
Definition at line 411 of file MotionMaster.cpp.
References _owner, EVENT_CHARGE_PREPATH, PathGenerator::GetActualEndPosition(), PathGenerator::GetPath(), Movement::MoveSplineInit::Launch(), Movement::MoveSplineInit::MovebyPath(), MoveCharge(), Movement::MoveSplineInit::SetVelocity(), and SPEED_CHARGE.
| void MotionMaster::MoveChase | ( | Unit * | target, |
| float | dist = 0.0f, | ||
| float | angle = 0.0f ) |
Definition at line 225 of file MotionMaster.cpp.
References _owner, Creature::GetDBTableGUIDLow(), Object::GetGUIDLow(), Object::GetTypeId(), MOTION_SLOT_ACTIVE, Mutate(), SF_LOG_DEBUG, Object::ToCreature(), TYPEID_PLAYER, UNIT_FIELD_FLAGS, and UNIT_FLAG_DISABLE_MOVE.
Referenced by EffectMovementGenerator::Finalize(), spell_nexus_lord_align_disk_aggro::spell_nexus_lord_align_disk_aggro_SpellScript::HandleScript(), npc_fel_crystal::npc_fel_crystalAI::JustDied(), boss_teron_gorefiend::boss_teron_gorefiendAI::MindControlGhost(), LuaUnit::MoveChase(), Resurrect(), and Player::UpdateCharmedAI().
| void MotionMaster::MoveConfused | ( | ) |
Definition at line 210 of file MotionMaster.cpp.
References _owner, MOTION_SLOT_CONTROLLED, Mutate(), SF_LOG_DEBUG, and TYPEID_PLAYER.
Referenced by Unit::SetConfused().
| void MotionMaster::MoveDistract | ( | uint32 | time | ) |
Definition at line 506 of file MotionMaster.cpp.
References _owner, Impl, MOTION_SLOT_CONTROLLED, Mutate(), SF_LOG_DEBUG, and TYPEID_PLAYER.
| void MotionMaster::MoveFall | ( | uint32 | id = 0 | ) |
Definition at line 368 of file MotionMaster.cpp.
References _owner, INVALID_HEIGHT, Movement::MoveSplineInit::Launch(), MAX_FALL_DISTANCE, MOTION_SLOT_CONTROLLED, Movement::MoveSplineInit::MoveTo(), Mutate(), Movement::MoveSplineInit::SetFall(), SF_LOG_DEBUG, and TYPEID_PLAYER.
Referenced by AuraEffect::HandleAuraAllowFlight(), AuraEffect::HandleAuraDummy(), AuraEffect::HandleAuraModIncreaseFlightSpeed(), and spell_ulduar_stone_grip::spell_ulduar_stone_grip_AuraScript::OnRemoveVehicle().
Definition at line 454 of file MotionMaster.cpp.
References _owner, Creature::GetDBTableGUIDLow(), Object::GetGUID(), Object::GetGUIDLow(), Object::GetTypeId(), MOTION_SLOT_CONTROLLED, Mutate(), SF_LOG_DEBUG, SPELL_AURA_PREVENTS_FLEEING, Object::ToCreature(), and TYPEID_PLAYER.
Referenced by Unit::SetFeared().
| void MotionMaster::MoveFollow | ( | Unit * | target, |
| float | dist, | ||
| float | angle, | ||
| MovementSlot | slot = MOTION_SLOT_ACTIVE ) |
Definition at line 250 of file MotionMaster.cpp.
References _owner, Creature::GetDBTableGUIDLow(), Object::GetGUIDLow(), Object::GetTypeId(), Mutate(), SF_LOG_DEBUG, Object::ToCreature(), TYPEID_PLAYER, UNIT_FIELD_FLAGS, and UNIT_FLAG_DISABLE_MOVE.
Referenced by Spell::EffectSummonType(), AuraEffect::HandleModPossessPet(), npc_commandscript::HandleNpcFollowCommand(), WorldSession::HandlePetActionHelper(), LuaUnit::MoveFollow(), npc_jungle_punch_target::npc_jungle_punch_targetAI::proceedCwEvent(), Skyfire::PetTransport::RemoveOwnerHunterPet(), boss_reliquary_of_souls::boss_reliquary_of_soulsAI::UpdateAI(), npc_alexstraza_the_lifebinder::npc_alexstraza_the_lifebinderAI::UpdateAI(), npc_elder_kekek::npc_elder_kekekAI::UpdateAI(), npc_high_oracle_soo_roo::npc_high_oracle_soo_rooAI::UpdateAI(), npc_snowfall_glade_playmate::npc_snowfall_glade_playmateAI::UpdateAI(), npc_the_biggest_tree::npc_the_biggest_treeAI::UpdateAI(), npc_the_etymidian::npc_the_etymidianAI::UpdateAI(), npc_winterfin_playmate::npc_winterfin_playmateAI::UpdateAI(), and Player::UpdateCharmedAI().
| void MotionMaster::MoveIdle | ( | ) |
Should be preceded by MovementExpired or Clear if there's an overlying movementgenerator active
Definition at line 169 of file MotionMaster.cpp.
References empty(), isStatic(), MOTION_SLOT_IDLE, Mutate(), si_idleMovement, and top().
Referenced by WorldSession::HandlePetActionHelper(), spell_alysrazor_turn_monstrosity::spell_alysrazor_turn_monstrosity_SpellScript::KnockBarrage(), PretendToDie(), ResetCryForTheMoonActor(), Unit::SetCharmedBy(), and Unit::setDeathState().
| void MotionMaster::MoveJump | ( | float | x, |
| float | y, | ||
| float | z, | ||
| float | speedXY, | ||
| float | speedZ, | ||
| uint32 | id = EVENT_JUMP ) |
Definition at line 353 of file MotionMaster.cpp.
References _owner, Movement::computeFallElevation(), Movement::gravity, Movement::MoveSplineInit::Launch(), MOTION_SLOT_CONTROLLED, Movement::MoveSplineInit::MoveTo(), Mutate(), Movement::MoveSplineInit::SetParabolic(), Movement::MoveSplineInit::SetVelocity(), and SF_LOG_DEBUG.
|
inline |
Definition at line 150 of file MotionMaster.h.
References EVENT_JUMP, Position::m_positionX, Position::m_positionY, Position::m_positionZ, and MoveJump().
Referenced by Unit::JumpTo(), LuaUnit::JumpToCoords(), MoveJump(), MoveJumpTo(), spell_gen_rock_jump_a::spell_gen_rock_jump_a_SpellScript::PrepareSpellScript(), spell_gen_rock_jump_b::spell_gen_rock_jump_b_SpellScript::PrepareSpellScript(), spell_gen_rock_jump_c::spell_gen_rock_jump_c_SpellScript::PrepareSpellScript(), and instance_violet_hold::instance_violet_hold_InstanceMapScript::Update().
| void MotionMaster::MoveJumpTo | ( | float | angle, |
| float | speedXY, | ||
| float | speedZ ) |
Definition at line 339 of file MotionMaster.cpp.
References _owner, Movement::gravity, MoveJump(), and TYPEID_PLAYER.
Referenced by Unit::JumpTo().
| void MotionMaster::MoveKnockbackFrom | ( | float | srcX, |
| float | srcY, | ||
| float | speedXY, | ||
| float | speedZ ) |
Definition at line 317 of file MotionMaster.cpp.
References _owner, Movement::computeFallElevation(), Movement::gravity, Movement::MoveSplineInit::Launch(), M_PI, MOTION_SLOT_CONTROLLED, Movement::MoveSplineInit::MoveTo(), Mutate(), Movement::MoveSplineInit::SetOrientationFixed(), Movement::MoveSplineInit::SetParabolic(), Movement::MoveSplineInit::SetVelocity(), and TYPEID_PLAYER.
Referenced by Unit::KnockbackFrom().
Definition at line 289 of file MotionMaster.cpp.
References _owner, Position::GetPosition(), Movement::MoveSplineInit::Launch(), MOTION_SLOT_ACTIVE, Movement::MoveSplineInit::MoveTo(), Mutate(), Movement::MoveSplineInit::SetAnimation(), SF_LOG_DEBUG, and Movement::ToGround.
Referenced by spell_svalna_revive_champion::spell_svalna_revive_champion_SpellScript::Land().
|
inline |
Definition at line 115 of file MotionMaster.h.
References _cleanFlag, DelayedExpire(), DirectExpire(), MMCF_RESET, and MMCF_UPDATE.
Referenced by misc_commandscript::HandleAppearCommand(), go_commandscript::HandleGoCreatureCommand(), go_commandscript::HandleGoGraveyardCommand(), go_commandscript::HandleGoGridCommand(), go_commandscript::HandleGoObjectCommand(), go_commandscript::HandleGoTaxinodeCommand(), go_commandscript::HandleGoTicketCommand(), go_commandscript::HandleGoTriggerCommand(), go_commandscript::HandleGoXYZCommand(), go_commandscript::HandleGoZoneXYCommand(), group_commandscript::HandleGroupSummonCommand(), WorldSession::HandleMoveWorldportAckOpcode(), npc_commandscript::HandleNpcUnFollowCommand(), misc_commandscript::HandleRecallCommand(), misc_commandscript::HandleSummonCommand(), tele_commandscript::HandleTeleCommand(), tele_commandscript::HandleTeleGroupCommand(), tele_commandscript::HandleTeleNameCommand(), PretendToDie(), WorldSession::SendDoFlight(), Unit::SetConfused(), Unit::SetFeared(), Player::SummonIfPossible(), LuaPlayer::Teleport(), lfg::LFGMgr::TeleportPlayer(), and UpdateMotion().
| void MotionMaster::MovePath | ( | uint32 | path_id, |
| bool | repeatable ) |
Definition at line 550 of file MotionMaster.cpp.
References _owner, MOTION_SLOT_IDLE, Mutate(), SF_LOG_DEBUG, and TYPEID_PLAYER.
Referenced by AreaTrigger_at_frostgrips_hollow::OnTrigger().
| void MotionMaster::MovePoint | ( | uint32 | id, |
| float | x, | ||
| float | y, | ||
| float | z, | ||
| bool | generatePath = true ) |
Definition at line 274 of file MotionMaster.cpp.
References _owner, MOTION_SLOT_ACTIVE, Mutate(), SF_LOG_DEBUG, and TYPEID_PLAYER.
Definition at line 136 of file MotionMaster.h.
References Position::m_positionX, Position::m_positionY, Position::m_positionZ, and MovePoint().
Referenced by boss_illidan_stormrage::boss_illidan_stormrageAI::CastEyeBlast(), boss_sartharion::boss_sartharionAI::FetchDragons(), misc_commandscript::HandleComeToMeCommand(), spell_malygos_random_portal::spell_malygos_random_portal_SpellScript::HandleDummy(), spell_q12589_shoot_rjr::spell_q12589_shoot_rjr_SpellScript::HandleDummy(), WorldSession::HandlePetActionHelper(), spell_saviana_conflagration_throwback::spell_saviana_conflagration_throwback_SpellScript::HandleScript(), npc_counselor_talbot::npc_counselor_talbotAI::JustDied(), npc_enraged_spirit::npc_enraged_spiritAI::JustDied(), CreatureGroup::LeaderMoveTo(), boss_midnight::boss_midnightAI::Mount(), instance_deadmines::instance_deadmines_InstanceMapScript::MoveCreatureInside(), MovePoint(), LuaUnit::MoveTo(), boss_palehoof::boss_palehoofAI::NextPhase(), npc_geezle::npc_geezleAI::NextStep(), npc_image_of_medivh::npc_image_of_medivhAI::NextStep(), npc_jungle_punch_target::npc_jungle_punch_targetAI::proceedCwEvent(), instance_violet_hold::instance_violet_hold_InstanceMapScript::StartBossEncounter(), boss_krick::boss_krickAI::UpdateAI(), boss_malygos::boss_malygosAI::UpdateAI(), boss_sartharion::boss_sartharionAI::UpdateAI(), npc_alexstraza_the_lifebinder::npc_alexstraza_the_lifebinderAI::UpdateAI(), npc_elder_kekek::npc_elder_kekekAI::UpdateAI(), npc_high_oracle_soo_roo::npc_high_oracle_soo_rooAI::UpdateAI(), npc_highlord_darion_mograine::npc_highlord_darion_mograineAI::UpdateAI(), npc_snowfall_glade_playmate::npc_snowfall_glade_playmateAI::UpdateAI(), npc_the_biggest_tree::npc_the_biggest_treeAI::UpdateAI(), npc_the_etymidian::npc_the_etymidianAI::UpdateAI(), and npc_winterfin_playmate::npc_winterfin_playmateAI::UpdateAI().
| void MotionMaster::MoveRandom | ( | float | spawndist = 0.0f | ) |
Definition at line 176 of file MotionMaster.cpp.
References _owner, MOTION_SLOT_IDLE, Mutate(), SF_LOG_DEBUG, and TYPEID_UNIT.
Referenced by LuaUnit::MoveRandom(), instance_zulfarrak::instance_zulfarrak_InstanceMapScript::SpawnPyramidWave(), and boss_the_lich_king::boss_the_lich_kingAI::UpdateAI().
| void MotionMaster::MoveRotate | ( | uint32 | time, |
| RotateDirection | direction ) |
Definition at line 574 of file MotionMaster.cpp.
References MOTION_SLOT_ACTIVE, and Mutate().
Referenced by LuaUnit::MoveRotate().
| void MotionMaster::MoveSeekAssistance | ( | float | x, |
| float | y, | ||
| float | z ) |
Definition at line 424 of file MotionMaster.cpp.
References _owner, MOTION_SLOT_ACTIVE, Mutate(), REACT_PASSIVE, SF_LOG_DEBUG, SF_LOG_ERROR, and TYPEID_PLAYER.
Referenced by Creature::DoFleeToGetAssistance().
| void MotionMaster::MoveSeekAssistanceDistract | ( | uint32 | timer | ) |
Definition at line 440 of file MotionMaster.cpp.
References _owner, MOTION_SLOT_ACTIVE, Mutate(), SF_LOG_DEBUG, SF_LOG_ERROR, and TYPEID_PLAYER.
Referenced by AssistanceMovementGenerator::Finalize().
Definition at line 303 of file MotionMaster.cpp.
References _owner, Position::GetPosition(), Movement::MoveSplineInit::Launch(), MOTION_SLOT_ACTIVE, Movement::MoveSplineInit::MoveTo(), Mutate(), Movement::MoveSplineInit::SetAnimation(), SF_LOG_DEBUG, and Movement::ToFly.
| void MotionMaster::MoveTargetedHome | ( | ) |
Definition at line 185 of file MotionMaster.cpp.
References _owner, Clear(), Object::GetGUIDLow(), Object::GetTypeId(), MOTION_SLOT_ACTIVE, Mutate(), PET_FOLLOW_ANGLE, PET_FOLLOW_DIST, SF_LOG_DEBUG, SF_LOG_ERROR, TYPEID_PLAYER, and TYPEID_UNIT.
Referenced by wp_commandscript::HandleWpUnLoadCommand(), boss_fathomlord_karathress::boss_fathomlord_karathressAI::Reset(), boss_sartharion::boss_sartharionAI::Reset(), and instance_uldaman::instance_uldaman_InstanceMapScript::RespawnMinions().
Definition at line 483 of file MotionMaster.cpp.
References _owner, MOTION_SLOT_CONTROLLED, Mutate(), SF_LOG_DEBUG, SF_LOG_ERROR, sTaxiPathNodesByPath, and TYPEID_PLAYER.
Referenced by WorldSession::SendDoFlight().
|
private |
Definition at line 525 of file MotionMaster.cpp.
References _cleanFlag, _needInit, _owner, _top, DelayedDelete(), DirectDelete(), Impl, MovementGenerator::Initialize(), and MMCF_UPDATE.
Referenced by InitDefault(), MoveCharge(), MoveChase(), MoveConfused(), MoveDistract(), MoveFall(), MoveFleeing(), MoveFollow(), MoveIdle(), MoveJump(), MoveKnockbackFrom(), MoveLand(), MovePath(), MovePoint(), MoveRandom(), MoveRotate(), MoveSeekAssistance(), MoveSeekAssistanceDistract(), MoveTakeoff(), MoveTargetedHome(), and MoveTaxiFlight().
|
inlineprivate |
Definition at line 83 of file MotionMaster.h.
References _needInit, and _top.
Referenced by DirectClean(), DirectExpire(), and UpdateMotion().
|
inlineprivate |
Definition at line 75 of file MotionMaster.h.
References _top, Impl, and top().
Referenced by DelayedClean(), DelayedExpire(), DirectClean(), DirectExpire(), Initialize(), and ~MotionMaster().
| void MotionMaster::propagateSpeedChange | ( | ) |
Definition at line 582 of file MotionMaster.cpp.
Referenced by Unit::propagateSpeedChange().
|
inlineprivate |
Definition at line 81 of file MotionMaster.h.
|
inline |
Definition at line 94 of file MotionMaster.h.
References _top.
Referenced by DelayedClean(), DelayedExpire(), DirectClean(), and DirectExpire().
|
inline |
Definition at line 95 of file MotionMaster.h.
Referenced by HomeMovementGenerator< Creature >::_setTargetLocation(), DelayedClean(), DelayedExpire(), DirectClean(), DirectExpire(), GetCurrentMovementGeneratorType(), Initialize(), InitTop(), MoveIdle(), pop(), UpdateMotion(), and ~MotionMaster().
| void MotionMaster::UpdateMotion | ( | uint32 | diff | ) |
Definition at line 66 of file MotionMaster.cpp.
References _cleanFlag, _expList, _owner, ASSERT, DirectDelete(), empty(), Initialize(), InitTop(), MMCF_RESET, MMCF_UPDATE, MovementExpired(), needInitTop(), MovementGenerator::Reset(), top(), UNIT_STATE_ROOT, and UNIT_STATE_STUNNED.
|
private |
Definition at line 186 of file MotionMaster.h.
Referenced by Clear(), MotionMaster(), MovementExpired(), Mutate(), and UpdateMotion().
|
private |
Definition at line 181 of file MotionMaster.h.
Referenced by DelayedDelete(), MotionMaster(), and UpdateMotion().
|
private |
Definition at line 185 of file MotionMaster.h.
Referenced by InitTop(), Mutate(), and needInitTop().
|
private |
Definition at line 184 of file MotionMaster.h.
Referenced by DelayedDelete(), DirectClean(), DirectDelete(), DirectExpire(), GetDestination(), InitDefault(), InitTop(), MotionMaster(), MoveCharge(), MoveCharge(), MoveChase(), MoveConfused(), MoveDistract(), MoveFall(), MoveFleeing(), MoveFollow(), MoveJump(), MoveJumpTo(), MoveKnockbackFrom(), MoveLand(), MovePath(), MovePoint(), MoveRandom(), MoveSeekAssistance(), MoveSeekAssistanceDistract(), MoveTakeoff(), MoveTargetedHome(), MoveTaxiFlight(), Mutate(), and UpdateMotion().
|
private |
Definition at line 183 of file MotionMaster.h.
Referenced by DelayedExpire(), DirectExpire(), empty(), InitTop(), MotionMaster(), Mutate(), needInitTop(), pop(), propagateSpeedChange(), push(), size(), and top().
|
private |
Definition at line 182 of file MotionMaster.h.
Referenced by GetMotionSlot(), GetMotionSlotType(), MoveCharge(), MoveDistract(), Mutate(), pop(), propagateSpeedChange(), push(), and top().