TrinityCore
Loading...
Searching...
No Matches
Trinity::RaceMask< T > Struct Template Reference

#include <RaceMask.h>

Public Member Functions

constexpr bool HasRace (uint32 raceId) const
 
constexpr bool operator== (RaceMask const &) const =default
 
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 (uint32 raceId)
 
static constexpr RaceMask GetMaskForRace (uint32 raceId)
 

Public Attributes

RawValue
 

Detailed Description

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

Definition at line 90 of file RaceMask.h.

Member Function Documentation

◆ GetMaskForRace()

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

Definition at line 153 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 ( uint32  raceId)
inlinestaticconstexpr

Definition at line 101 of file RaceMask.h.

+ Here is the caller graph for this function:

◆ HasRace()

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

Definition at line 96 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 161 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 163 of file RaceMask.h.

◆ operator==()

template<typename T >
constexpr bool Trinity::RaceMask< T >::operator== ( RaceMask< T > const &  ) const
constexprdefault

◆ operator|()

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

Definition at line 164 of file RaceMask.h.

◆ operator~()

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

Definition at line 165 of file RaceMask.h.

Member Data Documentation

◆ RawValue

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

Definition at line 94 of file RaceMask.h.


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