TrinityCore
CreatureStaticFlagsHolder Class Reference

#include <CreatureData.h>

Public Member Functions

 CreatureStaticFlagsHolder (CreatureStaticFlags flags=CreatureStaticFlags(), CreatureStaticFlags2 flags2=CreatureStaticFlags2(), CreatureStaticFlags3 flags3=CreatureStaticFlags3(), CreatureStaticFlags4 flags4=CreatureStaticFlags4(), CreatureStaticFlags5 flags5=CreatureStaticFlags5(), CreatureStaticFlags6 flags6=CreatureStaticFlags6(), CreatureStaticFlags7 flags7=CreatureStaticFlags7(), CreatureStaticFlags8 flags8=CreatureStaticFlags8())
 
bool HasFlag (CreatureStaticFlags flag) const
 
bool HasFlag (CreatureStaticFlags2 flag) const
 
bool HasFlag (CreatureStaticFlags3 flag) const
 
bool HasFlag (CreatureStaticFlags4 flag) const
 
bool HasFlag (CreatureStaticFlags5 flag) const
 
bool HasFlag (CreatureStaticFlags6 flag) const
 
bool HasFlag (CreatureStaticFlags7 flag) const
 
bool HasFlag (CreatureStaticFlags8 flag) const
 
void ApplyFlag (CreatureStaticFlags flag, bool apply)
 
void ApplyFlag (CreatureStaticFlags2 flag, bool apply)
 
void ApplyFlag (CreatureStaticFlags3 flag, bool apply)
 
void ApplyFlag (CreatureStaticFlags4 flag, bool apply)
 
void ApplyFlag (CreatureStaticFlags5 flag, bool apply)
 
void ApplyFlag (CreatureStaticFlags6 flag, bool apply)
 
void ApplyFlag (CreatureStaticFlags7 flag, bool apply)
 
void ApplyFlag (CreatureStaticFlags8 flag, bool apply)
 
EnumFlag< CreatureStaticFlagsGetFlags () const
 
EnumFlag< CreatureStaticFlags2GetFlags2 () const
 
EnumFlag< CreatureStaticFlags3GetFlags3 () const
 
EnumFlag< CreatureStaticFlags4GetFlags4 () const
 
EnumFlag< CreatureStaticFlags5GetFlags5 () const
 
EnumFlag< CreatureStaticFlags6GetFlags6 () const
 
EnumFlag< CreatureStaticFlags7GetFlags7 () const
 
EnumFlag< CreatureStaticFlags8GetFlags8 () const
 

Private Attributes

EnumFlag< CreatureStaticFlags_flags
 
EnumFlag< CreatureStaticFlags2_flags2
 
EnumFlag< CreatureStaticFlags3_flags3
 
EnumFlag< CreatureStaticFlags4_flags4
 
EnumFlag< CreatureStaticFlags5_flags5
 
EnumFlag< CreatureStaticFlags6_flags6
 
EnumFlag< CreatureStaticFlags7_flags7
 
EnumFlag< CreatureStaticFlags8_flags8
 

Detailed Description

Definition at line 291 of file CreatureData.h.

Constructor & Destructor Documentation

◆ CreatureStaticFlagsHolder()

Definition at line 294 of file CreatureData.h.

Member Function Documentation

◆ ApplyFlag() [1/8]

void CreatureStaticFlagsHolder::ApplyFlag ( CreatureStaticFlags  flag,
bool  apply 
)
inline

Definition at line 311 of file CreatureData.h.

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

◆ ApplyFlag() [2/8]

void CreatureStaticFlagsHolder::ApplyFlag ( CreatureStaticFlags2  flag,
bool  apply 
)
inline

Definition at line 312 of file CreatureData.h.

+ Here is the call graph for this function:

◆ ApplyFlag() [3/8]

void CreatureStaticFlagsHolder::ApplyFlag ( CreatureStaticFlags3  flag,
bool  apply 
)
inline

Definition at line 313 of file CreatureData.h.

+ Here is the call graph for this function:

◆ ApplyFlag() [4/8]

void CreatureStaticFlagsHolder::ApplyFlag ( CreatureStaticFlags4  flag,
bool  apply 
)
inline

Definition at line 314 of file CreatureData.h.

+ Here is the call graph for this function:

◆ ApplyFlag() [5/8]

void CreatureStaticFlagsHolder::ApplyFlag ( CreatureStaticFlags5  flag,
bool  apply 
)
inline

Definition at line 315 of file CreatureData.h.

+ Here is the call graph for this function:

◆ ApplyFlag() [6/8]

void CreatureStaticFlagsHolder::ApplyFlag ( CreatureStaticFlags6  flag,
bool  apply 
)
inline

Definition at line 316 of file CreatureData.h.

+ Here is the call graph for this function:

◆ ApplyFlag() [7/8]

void CreatureStaticFlagsHolder::ApplyFlag ( CreatureStaticFlags7  flag,
bool  apply 
)
inline

Definition at line 317 of file CreatureData.h.

+ Here is the call graph for this function:

◆ ApplyFlag() [8/8]

void CreatureStaticFlagsHolder::ApplyFlag ( CreatureStaticFlags8  flag,
bool  apply 
)
inline

Definition at line 318 of file CreatureData.h.

+ Here is the call graph for this function:

◆ GetFlags()

EnumFlag< CreatureStaticFlags > CreatureStaticFlagsHolder::GetFlags ( ) const
inline

Definition at line 320 of file CreatureData.h.

+ Here is the caller graph for this function:

◆ GetFlags2()

EnumFlag< CreatureStaticFlags2 > CreatureStaticFlagsHolder::GetFlags2 ( ) const
inline

Definition at line 321 of file CreatureData.h.

+ Here is the caller graph for this function:

◆ GetFlags3()

EnumFlag< CreatureStaticFlags3 > CreatureStaticFlagsHolder::GetFlags3 ( ) const
inline

Definition at line 322 of file CreatureData.h.

+ Here is the caller graph for this function:

◆ GetFlags4()

EnumFlag< CreatureStaticFlags4 > CreatureStaticFlagsHolder::GetFlags4 ( ) const
inline

Definition at line 323 of file CreatureData.h.

+ Here is the caller graph for this function:

◆ GetFlags5()

EnumFlag< CreatureStaticFlags5 > CreatureStaticFlagsHolder::GetFlags5 ( ) const
inline

Definition at line 324 of file CreatureData.h.

+ Here is the caller graph for this function:

◆ GetFlags6()

EnumFlag< CreatureStaticFlags6 > CreatureStaticFlagsHolder::GetFlags6 ( ) const
inline

Definition at line 325 of file CreatureData.h.

+ Here is the caller graph for this function:

◆ GetFlags7()

EnumFlag< CreatureStaticFlags7 > CreatureStaticFlagsHolder::GetFlags7 ( ) const
inline

Definition at line 326 of file CreatureData.h.

+ Here is the caller graph for this function:

◆ GetFlags8()

EnumFlag< CreatureStaticFlags8 > CreatureStaticFlagsHolder::GetFlags8 ( ) const
inline

Definition at line 327 of file CreatureData.h.

+ Here is the caller graph for this function:

◆ HasFlag() [1/8]

bool CreatureStaticFlagsHolder::HasFlag ( CreatureStaticFlags  flag) const
inline

Definition at line 302 of file CreatureData.h.

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

◆ HasFlag() [2/8]

bool CreatureStaticFlagsHolder::HasFlag ( CreatureStaticFlags2  flag) const
inline

Definition at line 303 of file CreatureData.h.

+ Here is the call graph for this function:

◆ HasFlag() [3/8]

bool CreatureStaticFlagsHolder::HasFlag ( CreatureStaticFlags3  flag) const
inline

Definition at line 304 of file CreatureData.h.

+ Here is the call graph for this function:

◆ HasFlag() [4/8]

bool CreatureStaticFlagsHolder::HasFlag ( CreatureStaticFlags4  flag) const
inline

Definition at line 305 of file CreatureData.h.

+ Here is the call graph for this function:

◆ HasFlag() [5/8]

bool CreatureStaticFlagsHolder::HasFlag ( CreatureStaticFlags5  flag) const
inline

Definition at line 306 of file CreatureData.h.

+ Here is the call graph for this function:

◆ HasFlag() [6/8]

bool CreatureStaticFlagsHolder::HasFlag ( CreatureStaticFlags6  flag) const
inline

Definition at line 307 of file CreatureData.h.

+ Here is the call graph for this function:

◆ HasFlag() [7/8]

bool CreatureStaticFlagsHolder::HasFlag ( CreatureStaticFlags7  flag) const
inline

Definition at line 308 of file CreatureData.h.

+ Here is the call graph for this function:

◆ HasFlag() [8/8]

bool CreatureStaticFlagsHolder::HasFlag ( CreatureStaticFlags8  flag) const
inline

Definition at line 309 of file CreatureData.h.

+ Here is the call graph for this function:

Member Data Documentation

◆ _flags

EnumFlag<CreatureStaticFlags> CreatureStaticFlagsHolder::_flags
private

Definition at line 330 of file CreatureData.h.

◆ _flags2

EnumFlag<CreatureStaticFlags2> CreatureStaticFlagsHolder::_flags2
private

Definition at line 331 of file CreatureData.h.

◆ _flags3

EnumFlag<CreatureStaticFlags3> CreatureStaticFlagsHolder::_flags3
private

Definition at line 332 of file CreatureData.h.

◆ _flags4

EnumFlag<CreatureStaticFlags4> CreatureStaticFlagsHolder::_flags4
private

Definition at line 333 of file CreatureData.h.

◆ _flags5

EnumFlag<CreatureStaticFlags5> CreatureStaticFlagsHolder::_flags5
private

Definition at line 334 of file CreatureData.h.

◆ _flags6

EnumFlag<CreatureStaticFlags6> CreatureStaticFlagsHolder::_flags6
private

Definition at line 335 of file CreatureData.h.

◆ _flags7

EnumFlag<CreatureStaticFlags7> CreatureStaticFlagsHolder::_flags7
private

Definition at line 336 of file CreatureData.h.

◆ _flags8

EnumFlag<CreatureStaticFlags8> CreatureStaticFlagsHolder::_flags8
private

Definition at line 337 of file CreatureData.h.


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