TrinityCore
Trinity::RaceMask< T > Struct Template Reference

#include <RaceMask.h>

Public Member Functions

constexpr bool HasRace (uint8 raceId) const
 
constexpr bool IsEmpty () const
 
constexpr RaceMask operator& (RaceMask right) const
 
constexpr RaceMask operator| (RaceMask right) const
 
constexpr RaceMask operator~ () const
 

Static Public Member Functions

static constexpr int32 GetRaceBit (uint8 raceId)
 
static constexpr T GetMaskForRace (uint8 raceId)
 

Public Attributes

RawValue
 

Detailed Description

template<typename T>
struct Trinity::RaceMask< T >

Definition at line 82 of file RaceMask.h.

Member Function Documentation

◆ GetMaskForRace()

template<typename T >
static constexpr T Trinity::RaceMask< T >::GetMaskForRace ( uint8  raceId)
inlinestaticconstexpr

Definition at line 137 of file RaceMask.h.

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

◆ GetRaceBit()

template<typename T >
static constexpr int32 Trinity::RaceMask< T >::GetRaceBit ( uint8  raceId)
inlinestaticconstexpr

Definition at line 93 of file RaceMask.h.

+ Here is the caller graph for this function:

◆ HasRace()

template<typename T >
constexpr bool Trinity::RaceMask< T >::HasRace ( uint8  raceId) const
inlineconstexpr

Definition at line 88 of file RaceMask.h.

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

◆ IsEmpty()

template<typename T >
constexpr bool Trinity::RaceMask< T >::IsEmpty ( ) const
inlineconstexpr

Definition at line 143 of file RaceMask.h.

+ Here is the caller graph for this function:

◆ operator&()

template<typename T >
constexpr RaceMask Trinity::RaceMask< T >::operator& ( RaceMask< T >  right) const
inlineconstexpr

Definition at line 145 of file RaceMask.h.

◆ operator|()

template<typename T >
constexpr RaceMask Trinity::RaceMask< T >::operator| ( RaceMask< T >  right) const
inlineconstexpr

Definition at line 146 of file RaceMask.h.

◆ operator~()

template<typename T >
constexpr RaceMask Trinity::RaceMask< T >::operator~ ( ) const
inlineconstexpr

Definition at line 147 of file RaceMask.h.

Member Data Documentation

◆ RawValue

template<typename T >
T Trinity::RaceMask< T >::RawValue

Definition at line 86 of file RaceMask.h.


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