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

#include <PointMovementGenerator.h>

+ Inheritance diagram for AssistanceMovementGenerator:

Public Member Functions

 AssistanceMovementGenerator (uint32 id, float x, float y, float z)
 
void Finalize (Unit *owner, bool active, bool movementInform) override
 
MovementGeneratorType GetMovementGeneratorType () const override
 
- Public Member Functions inherited from PointMovementGenerator
 PointMovementGenerator (uint32 id, float x, float y, float z, bool generatePath, Optional< float > speed={}, Optional< float > finalOrient={}, Unit const *faceTarget=nullptr, Movement::SpellEffectExtraData const *spellEffectExtraData=nullptr, MovementWalkRunSpeedSelectionMode speedSelectionMode=MovementWalkRunSpeedSelectionMode::Default, Optional< float > closeEnoughDistance={}, Optional< MovementFadeObject > fadeObject={}, Scripting::v2::ActionResultSetter< MovementStopReason > &&scriptResult={})
 
 PointMovementGenerator (PointMovementGenerator const &)=delete
 
 PointMovementGenerator (PointMovementGenerator &&)=delete
 
PointMovementGeneratoroperator= (PointMovementGenerator const &)=delete
 
PointMovementGeneratoroperator= (PointMovementGenerator &&)=delete
 
 ~PointMovementGenerator ()
 
MovementGeneratorType GetMovementGeneratorType () const override
 
void Initialize (Unit *owner) override
 
void Reset (Unit *owner) override
 
bool Update (Unit *owner, uint32 diff) override
 
void Deactivate (Unit *owner) override
 
void Finalize (Unit *owner, bool active, bool movementInform) override
 
void UnitSpeedChanged () override
 
uint32 GetId () const
 
- Public Member Functions inherited from MovementGenerator
 MovementGenerator ()
 
 MovementGenerator (MovementGenerator const &)=delete
 
 MovementGenerator (MovementGenerator &&)=delete
 
MovementGeneratoroperator= (MovementGenerator const &)=delete
 
MovementGeneratoroperator= (MovementGenerator &&)=delete
 
virtual ~MovementGenerator ()
 
virtual void Pause (uint32)
 
virtual void Resume (uint32)
 
virtual bool GetResetPosition (Unit *, float &, float &, float &)
 
void AddFlag (uint16 const flag)
 
bool HasFlag (uint16 const flag) const
 
void RemoveFlag (uint16 const flag)
 
virtual std::string GetDebugInfo () const
 

Additional Inherited Members

- Public Attributes inherited from MovementGenerator
uint8 Mode
 
uint8 Priority
 
uint16 Flags
 
uint32 BaseUnitState
 
Scripting::v2::ActionResultSetter< MovementStopReasonScriptResult
 
- Protected Member Functions inherited from MovementGenerator
void SetScriptResult (MovementStopReason reason)
 

Detailed Description

Definition at line 72 of file PointMovementGenerator.h.

Constructor & Destructor Documentation

◆ AssistanceMovementGenerator()

AssistanceMovementGenerator::AssistanceMovementGenerator ( uint32  id,
float  x,
float  y,
float  z 
)
inlineexplicit

Definition at line 75 of file PointMovementGenerator.h.

Member Function Documentation

◆ Finalize()

void AssistanceMovementGenerator::Finalize ( Unit owner,
bool  active,
bool  movementInform 
)
overridevirtual

Implements MovementGenerator.

Definition at line 216 of file PointMovementGenerator.cpp.

+ Here is the call graph for this function:

◆ GetMovementGeneratorType()

MovementGeneratorType AssistanceMovementGenerator::GetMovementGeneratorType ( ) const
overridevirtual

Implements MovementGenerator.

Definition at line 232 of file PointMovementGenerator.cpp.


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