TrinityCore
Loading...
Searching...
No Matches
AreaTriggerShapeInfo Struct Reference

#include <AreaTriggerTemplate.h>

Classes

struct  BoundedPlane
 
struct  Box
 
struct  Cylinder
 
struct  Disk
 
struct  Polygon
 
struct  Sphere
 

Public Member Functions

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

Public Attributes

std::variant< Sphere, Box, Polygon, Cylinder, Disk, BoundedPlaneData
 

Detailed Description

Definition at line 96 of file AreaTriggerTemplate.h.

Member Function Documentation

◆ GetMaxSearchRadius()

float AreaTriggerShapeInfo::GetMaxSearchRadius ( ) const

Definition at line 65 of file AreaTriggerTemplate.cpp.

◆ IsBoundedPlane()

bool AreaTriggerShapeInfo::IsBoundedPlane ( ) const
inline

Definition at line 197 of file AreaTriggerTemplate.h.

◆ IsBox()

bool AreaTriggerShapeInfo::IsBox ( ) const
inline

Definition at line 193 of file AreaTriggerTemplate.h.

◆ IsCylinder()

bool AreaTriggerShapeInfo::IsCylinder ( ) const
inline

Definition at line 195 of file AreaTriggerTemplate.h.

◆ IsDisk()

bool AreaTriggerShapeInfo::IsDisk ( ) const
inline

Definition at line 196 of file AreaTriggerTemplate.h.

◆ IsPolygon()

bool AreaTriggerShapeInfo::IsPolygon ( ) const
inline

Definition at line 194 of file AreaTriggerTemplate.h.

◆ IsSphere()

bool AreaTriggerShapeInfo::IsSphere ( ) const
inline

Definition at line 192 of file AreaTriggerTemplate.h.

Member Data Documentation

◆ Data

std::variant<Sphere, Box, Polygon, Cylinder, Disk, BoundedPlane> AreaTriggerShapeInfo::Data

Definition at line 190 of file AreaTriggerTemplate.h.


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