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 111 of file AreaTriggerTemplate.h.

Constructor & Destructor Documentation

◆ AreaTriggerShapeInfo()

AreaTriggerShapeInfo::AreaTriggerShapeInfo ( )

Definition at line 31 of file AreaTriggerTemplate.cpp.

Member Function Documentation

◆ GetMaxSearchRadius()

float AreaTriggerShapeInfo::GetMaxSearchRadius ( ) const

Definition at line 37 of file AreaTriggerTemplate.cpp.

+ Here is the call graph for this function:

◆ IsBoundedPlane()

bool AreaTriggerShapeInfo::IsBoundedPlane ( ) const
inline

Definition at line 120 of file AreaTriggerTemplate.h.

◆ IsBox()

bool AreaTriggerShapeInfo::IsBox ( ) const
inline

Definition at line 116 of file AreaTriggerTemplate.h.

◆ IsCylinder()

bool AreaTriggerShapeInfo::IsCylinder ( ) const
inline

Definition at line 118 of file AreaTriggerTemplate.h.

◆ IsDisk()

bool AreaTriggerShapeInfo::IsDisk ( ) const
inline

Definition at line 119 of file AreaTriggerTemplate.h.

◆ IsPolygon()

bool AreaTriggerShapeInfo::IsPolygon ( ) const
inline

Definition at line 117 of file AreaTriggerTemplate.h.

+ Here is the caller graph for this function:

◆ IsSphere()

bool AreaTriggerShapeInfo::IsSphere ( ) const
inline

Definition at line 115 of file AreaTriggerTemplate.h.

Member Data Documentation

◆ 

union { ... } AreaTriggerShapeInfo::@190

◆ 

struct { ... } AreaTriggerShapeInfo::BoundedPlaneDatas

◆ 

struct { ... } AreaTriggerShapeInfo::BoxDatas

◆ 

struct { ... } AreaTriggerShapeInfo::CylinderDatas

◆ Data

float AreaTriggerShapeInfo::Data[MAX_AREATRIGGER_ENTITY_DATA]

Definition at line 132 of file AreaTriggerTemplate.h.

◆ 

struct { ... } AreaTriggerShapeInfo::DefaultDatas

◆ 

struct { ... } AreaTriggerShapeInfo::DiskDatas

◆ Extents

float AreaTriggerShapeInfo::Extents[2]

Definition at line 145 of file AreaTriggerTemplate.h.

◆ ExtentsTarget

float AreaTriggerShapeInfo::ExtentsTarget[2]

Definition at line 146 of file AreaTriggerTemplate.h.

◆ Height

float AreaTriggerShapeInfo::Height

Definition at line 152 of file AreaTriggerTemplate.h.

◆ HeightTarget

float AreaTriggerShapeInfo::HeightTarget

Definition at line 153 of file AreaTriggerTemplate.h.

◆ InnerRadius

float AreaTriggerShapeInfo::InnerRadius

Definition at line 170 of file AreaTriggerTemplate.h.

◆ InnerRadiusTarget

float AreaTriggerShapeInfo::InnerRadiusTarget

Definition at line 171 of file AreaTriggerTemplate.h.

◆ LocationZOffset

float AreaTriggerShapeInfo::LocationZOffset

Definition at line 163 of file AreaTriggerTemplate.h.

◆ LocationZOffsetTarget

float AreaTriggerShapeInfo::LocationZOffsetTarget

Definition at line 164 of file AreaTriggerTemplate.h.

◆ OuterRadius

float AreaTriggerShapeInfo::OuterRadius

Definition at line 172 of file AreaTriggerTemplate.h.

◆ OuterRadiusTarget

float AreaTriggerShapeInfo::OuterRadiusTarget

Definition at line 173 of file AreaTriggerTemplate.h.

◆ 

struct { ... } AreaTriggerShapeInfo::PolygonDatas

◆ PolygonVertices

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

Definition at line 125 of file AreaTriggerTemplate.h.

◆ PolygonVerticesTarget

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

Definition at line 126 of file AreaTriggerTemplate.h.

◆ Radius

float AreaTriggerShapeInfo::Radius

Definition at line 138 of file AreaTriggerTemplate.h.

◆ RadiusTarget

float AreaTriggerShapeInfo::RadiusTarget

Definition at line 139 of file AreaTriggerTemplate.h.

◆ 

struct { ... } AreaTriggerShapeInfo::SphereDatas

◆ Type

AreaTriggerShapeType AreaTriggerShapeInfo::Type

Definition at line 123 of file AreaTriggerTemplate.h.


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