TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
GameObjectModelOwnerImpl Class Reference

Public Member Functions

 GameObjectModelOwnerImpl (GameObject const *owner)
 
virtual bool IsSpawned () const override
 
virtual uint32 GetDisplayId () const override
 
virtual uint32 GetPhaseMask () const override
 
virtual G3D::Vector3 GetPosition () const override
 
virtual float GetOrientation () const override
 
virtual float GetScale () const override
 
virtual void DebugVisualizeCorner (G3D::Vector3 const &corner) const override
 

Private Attributes

GameObject const_owner
 

Constructor & Destructor Documentation

GameObjectModelOwnerImpl::GameObjectModelOwnerImpl ( GameObject const owner)
inlineexplicit
2461 : _owner(owner) { }
GameObject const * _owner
Definition: GameObject.cpp:2472

Member Function Documentation

virtual void GameObjectModelOwnerImpl::DebugVisualizeCorner ( G3D::Vector3 const corner) const
inlineoverridevirtual

Reimplemented from GameObjectModelOwnerBase.

2469 { _owner->SummonCreature(1, corner.x, corner.y, corner.z, 0, TEMPSUMMON_MANUAL_DESPAWN); }
Definition: Object.h:61
GameObject const * _owner
Definition: GameObject.cpp:2472
TempSummon * SummonCreature(uint32 id, Position const &pos, TempSummonType spwtype=TEMPSUMMON_MANUAL_DESPAWN, uint32 despwtime=0, uint32 vehId=0) const
Definition: Object.cpp:2346

+ Here is the call graph for this function:

virtual uint32 GameObjectModelOwnerImpl::GetDisplayId ( ) const
inlineoverridevirtual

Reimplemented from GameObjectModelOwnerBase.

2464 { return _owner->GetDisplayId(); }
GameObject const * _owner
Definition: GameObject.cpp:2472
uint32 GetDisplayId() const
Definition: GameObject.h:1065

+ Here is the call graph for this function:

virtual float GameObjectModelOwnerImpl::GetOrientation ( ) const
inlineoverridevirtual

Reimplemented from GameObjectModelOwnerBase.

2467 { return _owner->GetOrientation(); }
GameObject const * _owner
Definition: GameObject.cpp:2472
float GetOrientation() const
Definition: Position.h:107

+ Here is the call graph for this function:

virtual uint32 GameObjectModelOwnerImpl::GetPhaseMask ( ) const
inlineoverridevirtual

Reimplemented from GameObjectModelOwnerBase.

2465 { return _owner->GetPhaseMask(); }
GameObject const * _owner
Definition: GameObject.cpp:2472
uint32 GetPhaseMask() const
Definition: Object.h:461

+ Here is the call graph for this function:

virtual G3D::Vector3 GameObjectModelOwnerImpl::GetPosition ( ) const
inlineoverridevirtual

Reimplemented from GameObjectModelOwnerBase.

GameObject const * _owner
Definition: GameObject.cpp:2472
Definition: Vector3.h:58
float GetPositionY() const
Definition: Position.h:105
float GetPositionZ() const
Definition: Position.h:106
float GetPositionX() const
Definition: Position.h:104

+ Here is the call graph for this function:

virtual float GameObjectModelOwnerImpl::GetScale ( ) const
inlineoverridevirtual

Reimplemented from GameObjectModelOwnerBase.

2468 { return _owner->GetObjectScale(); }
GameObject const * _owner
Definition: GameObject.cpp:2472
float GetObjectScale() const
Definition: Object.h:110

+ Here is the call graph for this function:

virtual bool GameObjectModelOwnerImpl::IsSpawned ( ) const
inlineoverridevirtual

Reimplemented from GameObjectModelOwnerBase.

2463 { return _owner->isSpawned(); }
GameObject const * _owner
Definition: GameObject.cpp:2472
bool isSpawned() const
Definition: GameObject.h:951

+ Here is the call graph for this function:

Member Data Documentation

GameObject const* GameObjectModelOwnerImpl::_owner
private

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