TrinityCore
SpellDestination Struct Reference

#include <SpellDefines.h>

Public Member Functions

 SpellDestination ()
 
 SpellDestination (float x, float y, float z, float orientation=0.0f, uint32 mapId=MAPID_INVALID)
 
 SpellDestination (Position const &pos)
 
 SpellDestination (WorldLocation const &loc)
 
 SpellDestination (WorldObject const &wObj)
 
void Relocate (Position const &pos)
 
void RelocateOffset (Position const &offset)
 

Public Attributes

WorldLocation _position
 
ObjectGuid _transportGUID
 
Position _transportOffset
 

Detailed Description

Definition at line 314 of file SpellDefines.h.

Constructor & Destructor Documentation

◆ SpellDestination() [1/5]

SpellDestination::SpellDestination ( )

Definition at line 75 of file Spell.cpp.

+ Here is the call graph for this function:

◆ SpellDestination() [2/5]

SpellDestination::SpellDestination ( float  x,
float  y,
float  z,
float  orientation = 0.0f,
uint32  mapId = MAPID_INVALID 
)

Definition at line 82 of file Spell.cpp.

+ Here is the call graph for this function:

◆ SpellDestination() [3/5]

SpellDestination::SpellDestination ( Position const &  pos)

Definition at line 90 of file Spell.cpp.

+ Here is the call graph for this function:

◆ SpellDestination() [4/5]

SpellDestination::SpellDestination ( WorldLocation const &  loc)

Definition at line 97 of file Spell.cpp.

+ Here is the call graph for this function:

◆ SpellDestination() [5/5]

SpellDestination::SpellDestination ( WorldObject const &  wObj)

Definition at line 104 of file Spell.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ Relocate()

void SpellDestination::Relocate ( Position const &  pos)

Definition at line 111 of file Spell.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RelocateOffset()

void SpellDestination::RelocateOffset ( Position const &  offset)

Definition at line 122 of file Spell.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ _position

WorldLocation SpellDestination::_position

Definition at line 325 of file SpellDefines.h.

◆ _transportGUID

ObjectGuid SpellDestination::_transportGUID

Definition at line 326 of file SpellDefines.h.

◆ _transportOffset

Position SpellDestination::_transportOffset

Definition at line 327 of file SpellDefines.h.


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