TrinityCore
AreaTriggerShapeInfo Struct Reference

#include <AreaTriggerTemplate.h>

Public Member Functions

 AreaTriggerShapeInfo ()
 
bool IsSphere () const
 
bool IsBox () const
 
bool IsPolygon () const
 
bool IsCylinder () const
 
bool IsDisk () const
 
bool IsBoundedPlane () const
 
float GetMaxSearchRadius () const
 

Public Attributes

AreaTriggerShapeType Type
 
std::vector< TaggedPosition< Position::XY > > PolygonVertices
 
std::vector< TaggedPosition< Position::XY > > PolygonVerticesTarget
 
union {
   struct {
      float   Data [MAX_AREATRIGGER_ENTITY_DATA]
 
   }   DefaultDatas
 
   struct {
      float   Radius
 
      float   RadiusTarget
 
   }   SphereDatas
 
   struct {
      float   Extents [3]
 
      float   ExtentsTarget [3]
 
   }   BoxDatas
 
   struct {
      float   Height
 
      float   HeightTarget
 
   }   PolygonDatas
 
   struct {
      float   Radius
 
      float   RadiusTarget
 
      float   Height
 
      float   HeightTarget
 
      float   LocationZOffset
 
      float   LocationZOffsetTarget
 
   }   CylinderDatas
 
   struct {
      float   InnerRadius
 
      float   InnerRadiusTarget
 
      float   OuterRadius
 
      float   OuterRadiusTarget
 
      float   Height
 
      float   HeightTarget
 
      float   LocationZOffset
 
      float   LocationZOffsetTarget
 
   }   DiskDatas
 
   struct {
      float   Extents [2]
 
      float   ExtentsTarget [2]
 
   }   BoundedPlaneDatas
 
}; 
 

Detailed Description

Definition at line 123 of file AreaTriggerTemplate.h.

Constructor & Destructor Documentation

◆ AreaTriggerShapeInfo()

AreaTriggerShapeInfo::AreaTriggerShapeInfo ( )

Definition at line 32 of file AreaTriggerTemplate.cpp.

Member Function Documentation

◆ GetMaxSearchRadius()

float AreaTriggerShapeInfo::GetMaxSearchRadius ( ) const

Definition at line 38 of file AreaTriggerTemplate.cpp.

+ Here is the call graph for this function:

◆ IsBoundedPlane()

bool AreaTriggerShapeInfo::IsBoundedPlane ( ) const
inline

Definition at line 132 of file AreaTriggerTemplate.h.

+ Here is the caller graph for this function:

◆ IsBox()

bool AreaTriggerShapeInfo::IsBox ( ) const
inline

Definition at line 128 of file AreaTriggerTemplate.h.

+ Here is the caller graph for this function:

◆ IsCylinder()

bool AreaTriggerShapeInfo::IsCylinder ( ) const
inline

Definition at line 130 of file AreaTriggerTemplate.h.

+ Here is the caller graph for this function:

◆ IsDisk()

bool AreaTriggerShapeInfo::IsDisk ( ) const
inline

Definition at line 131 of file AreaTriggerTemplate.h.

+ Here is the caller graph for this function:

◆ IsPolygon()

bool AreaTriggerShapeInfo::IsPolygon ( ) const
inline

Definition at line 129 of file AreaTriggerTemplate.h.

+ Here is the caller graph for this function:

◆ IsSphere()

bool AreaTriggerShapeInfo::IsSphere ( ) const
inline

Definition at line 127 of file AreaTriggerTemplate.h.

+ Here is the caller graph for this function:

Member Data Documentation

◆ 

union { ... } AreaTriggerShapeInfo::@200

◆ 

struct { ... } AreaTriggerShapeInfo::BoundedPlaneDatas

◆ 

struct { ... } AreaTriggerShapeInfo::BoxDatas

◆ 

struct { ... } AreaTriggerShapeInfo::CylinderDatas

◆ Data

float AreaTriggerShapeInfo::Data[MAX_AREATRIGGER_ENTITY_DATA]

Definition at line 144 of file AreaTriggerTemplate.h.

◆ 

struct { ... } AreaTriggerShapeInfo::DefaultDatas

◆ 

struct { ... } AreaTriggerShapeInfo::DiskDatas

◆ Extents

float AreaTriggerShapeInfo::Extents[2]

Definition at line 157 of file AreaTriggerTemplate.h.

◆ ExtentsTarget

float AreaTriggerShapeInfo::ExtentsTarget[2]

Definition at line 158 of file AreaTriggerTemplate.h.

◆ Height

float AreaTriggerShapeInfo::Height

Definition at line 164 of file AreaTriggerTemplate.h.

◆ HeightTarget

float AreaTriggerShapeInfo::HeightTarget

Definition at line 165 of file AreaTriggerTemplate.h.

◆ InnerRadius

float AreaTriggerShapeInfo::InnerRadius

Definition at line 182 of file AreaTriggerTemplate.h.

◆ InnerRadiusTarget

float AreaTriggerShapeInfo::InnerRadiusTarget

Definition at line 183 of file AreaTriggerTemplate.h.

◆ LocationZOffset

float AreaTriggerShapeInfo::LocationZOffset

Definition at line 175 of file AreaTriggerTemplate.h.

◆ LocationZOffsetTarget

float AreaTriggerShapeInfo::LocationZOffsetTarget

Definition at line 176 of file AreaTriggerTemplate.h.

◆ OuterRadius

float AreaTriggerShapeInfo::OuterRadius

Definition at line 184 of file AreaTriggerTemplate.h.

◆ OuterRadiusTarget

float AreaTriggerShapeInfo::OuterRadiusTarget

Definition at line 185 of file AreaTriggerTemplate.h.

◆ 

struct { ... } AreaTriggerShapeInfo::PolygonDatas

◆ PolygonVertices

std::vector<TaggedPosition<Position::XY> > AreaTriggerShapeInfo::PolygonVertices

Definition at line 137 of file AreaTriggerTemplate.h.

◆ PolygonVerticesTarget

std::vector<TaggedPosition<Position::XY> > AreaTriggerShapeInfo::PolygonVerticesTarget

Definition at line 138 of file AreaTriggerTemplate.h.

◆ Radius

float AreaTriggerShapeInfo::Radius

Definition at line 150 of file AreaTriggerTemplate.h.

◆ RadiusTarget

float AreaTriggerShapeInfo::RadiusTarget

Definition at line 151 of file AreaTriggerTemplate.h.

◆ 

struct { ... } AreaTriggerShapeInfo::SphereDatas

◆ Type

AreaTriggerShapeType AreaTriggerShapeInfo::Type

Definition at line 135 of file AreaTriggerTemplate.h.


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