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
 
bool IsDynamic () const
 

Public Attributes

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

Detailed Description

Definition at line 92 of file AreaTriggerTemplate.h.

Member Function Documentation

◆ GetMaxSearchRadius()

float AreaTriggerShapeInfo::GetMaxSearchRadius ( ) const

Definition at line 95 of file AreaTriggerTemplate.cpp.

References Data.

◆ IsBoundedPlane()

bool AreaTriggerShapeInfo::IsBoundedPlane ( ) const
inline

Definition at line 201 of file AreaTriggerTemplate.h.

References Data.

◆ IsBox()

bool AreaTriggerShapeInfo::IsBox ( ) const
inline

Definition at line 197 of file AreaTriggerTemplate.h.

References Data.

◆ IsCylinder()

bool AreaTriggerShapeInfo::IsCylinder ( ) const
inline

Definition at line 199 of file AreaTriggerTemplate.h.

References Data.

◆ IsDisk()

bool AreaTriggerShapeInfo::IsDisk ( ) const
inline

Definition at line 200 of file AreaTriggerTemplate.h.

References Data.

◆ IsDynamic()

bool AreaTriggerShapeInfo::IsDynamic ( ) const

Definition at line 100 of file AreaTriggerTemplate.cpp.

References Data.

◆ IsPolygon()

bool AreaTriggerShapeInfo::IsPolygon ( ) const
inline

Definition at line 198 of file AreaTriggerTemplate.h.

References Data.

◆ IsSphere()

bool AreaTriggerShapeInfo::IsSphere ( ) const
inline

Definition at line 196 of file AreaTriggerTemplate.h.

References Data.

Member Data Documentation

◆ Data


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