Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
flag128 Class Reference

#include <Util.h>

Public Member Functions

 flag128 (uint32 p1=0, uint32 p2=0, uint32 p3=0, uint32 p4=0)
 flag128 (uint64 p1, uint64 p2)
bool HasFlag (uint32 p1=0, uint32 p2=0, uint32 p3=0, uint32 p4=0) const
bool IsEqual (uint32 p1=0, uint32 p2=0, uint32 p3=0, uint32 p4=0) const
 operator bool () const
bool operator! () const
bool operator!= (const flag128 &right) const
flag128 operator& (const flag128 &right) const
flag128operator&= (const flag128 &right)
bool operator< (const flag128 &right) const
flag128operator= (const flag128 &right)
bool operator== (const flag128 &right) const
uint32operator[] (uint8 el)
const uint32operator[] (uint8 el) const
flag128 operator^ (const flag128 &right) const
flag128operator^= (const flag128 &right)
flag128 operator| (const flag128 &right) const
flag128operator|= (const flag128 &right)
flag128 operator~ () const
void Set (uint32 p1=0, uint32 p2=0, uint32 p3=0, uint32 p4=0)

Private Attributes

uint32 part [4]

Detailed Description

Definition at line 399 of file Util.h.

Constructor & Destructor Documentation

◆ flag128() [1/2]

flag128::flag128 ( uint32 p1 = 0,
uint32 p2 = 0,
uint32 p3 = 0,
uint32 p4 = 0 )
inline

◆ flag128() [2/2]

flag128::flag128 ( uint64 p1,
uint64 p2 )
inline

Definition at line 413 of file Util.h.

References part, and UI64LIT.

Member Function Documentation

◆ HasFlag()

bool flag128::HasFlag ( uint32 p1 = 0,
uint32 p2 = 0,
uint32 p3 = 0,
uint32 p4 = 0 ) const
inline

Definition at line 426 of file Util.h.

References part.

Referenced by Unit::GetAuraEffect(), and Unit::RemoveAurasWithFamily().

◆ IsEqual()

bool flag128::IsEqual ( uint32 p1 = 0,
uint32 p2 = 0,
uint32 p3 = 0,
uint32 p4 = 0 ) const
inline

◆ operator bool()

flag128::operator bool ( ) const
inline

Definition at line 526 of file Util.h.

References part.

◆ operator!()

bool flag128::operator! ( ) const
inline

Definition at line 531 of file Util.h.

◆ operator!=()

bool flag128::operator!= ( const flag128 & right) const
inline

Definition at line 462 of file Util.h.

References flag128(), and operator==().

◆ operator&()

flag128 flag128::operator& ( const flag128 & right) const
inline

Definition at line 476 of file Util.h.

References flag128(), and part.

◆ operator&=()

flag128 & flag128::operator&= ( const flag128 & right)
inline

Definition at line 482 of file Util.h.

References flag128(), and part.

◆ operator<()

bool flag128::operator< ( const flag128 & right) const
inline

Definition at line 439 of file Util.h.

References flag128(), and part.

◆ operator=()

flag128 & flag128::operator= ( const flag128 & right)
inline

Definition at line 467 of file Util.h.

References flag128(), and part.

◆ operator==()

bool flag128::operator== ( const flag128 & right) const
inline

Definition at line 451 of file Util.h.

References flag128(), and part.

Referenced by operator!=().

◆ operator[]() [1/2]

uint32 & flag128::operator[] ( uint8 el)
inline

Definition at line 536 of file Util.h.

References part.

◆ operator[]() [2/2]

const uint32 & flag128::operator[] ( uint8 el) const
inline

Definition at line 541 of file Util.h.

References part.

◆ operator^()

flag128 flag128::operator^ ( const flag128 & right) const
inline

Definition at line 511 of file Util.h.

References flag128(), and part.

◆ operator^=()

flag128 & flag128::operator^= ( const flag128 & right)
inline

Definition at line 517 of file Util.h.

References flag128(), and part.

◆ operator|()

flag128 flag128::operator| ( const flag128 & right) const
inline

Definition at line 491 of file Util.h.

References flag128(), and part.

◆ operator|=()

flag128 & flag128::operator|= ( const flag128 & right)
inline

Definition at line 497 of file Util.h.

References flag128(), and part.

◆ operator~()

flag128 flag128::operator~ ( ) const
inline

Definition at line 506 of file Util.h.

References flag128(), and part.

◆ Set()

void flag128::Set ( uint32 p1 = 0,
uint32 p2 = 0,
uint32 p3 = 0,
uint32 p4 = 0 )
inline

Definition at line 431 of file Util.h.

References part.

Member Data Documentation

◆ part


The documentation for this class was generated from the following file:
  • src/server/shared/Utilities/Util.h