TrinityCore
Loading...
Searching...
No Matches
UF::CharacterRestriction Struct Reference

#include <UpdateFields.h>

+ Inheritance diagram for UF::CharacterRestriction:

Public Types

using OwnerObject = Player
 

Public Member Functions

void WriteCreate (ByteBuffer &data, Player const *receiver, Player const *owner) const
 
void WriteUpdate (bool, ByteBuffer &data, Player const *receiver, Player const *owner) const
 
bool operator== (CharacterRestriction const &right) const
 
bool operator!= (CharacterRestriction const &right) const
 

Public Attributes

int32 Field_0 = 0
 
int32 Field_4 = 0
 
int32 Field_8 = 0
 
uint32 Type = 0
 

Detailed Description

Definition at line 777 of file UpdateFields.h.

Member Typedef Documentation

◆ OwnerObject

Definition at line 784 of file UpdateFields.h.

Member Function Documentation

◆ operator!=()

bool UF::CharacterRestriction::operator!= ( CharacterRestriction const &  right) const
inline

Definition at line 788 of file UpdateFields.h.

◆ operator==()

bool UF::CharacterRestriction::operator== ( CharacterRestriction const &  right) const

Definition at line 3438 of file UpdateFields.cpp.

References Field_0, Field_4, Field_8, and Type.

◆ WriteCreate()

void UF::CharacterRestriction::WriteCreate ( ByteBuffer &  data,
Player const *  receiver,
Player const *  owner 
) const

Definition at line 3429 of file UpdateFields.cpp.

References Field_0, Field_4, Field_8, ByteBuffer::FlushBits(), Type, and ByteBuffer::WriteBits().

Referenced by WriteUpdate().

◆ WriteUpdate()

void UF::CharacterRestriction::WriteUpdate ( bool  ,
ByteBuffer &  data,
Player const *  receiver,
Player const *  owner 
) const
inline

Definition at line 786 of file UpdateFields.h.

References WriteCreate().

Member Data Documentation

◆ Field_0

int32 UF::CharacterRestriction::Field_0 = 0

Definition at line 779 of file UpdateFields.h.

Referenced by operator==(), and WriteCreate().

◆ Field_4

int32 UF::CharacterRestriction::Field_4 = 0

Definition at line 780 of file UpdateFields.h.

Referenced by operator==(), and WriteCreate().

◆ Field_8

int32 UF::CharacterRestriction::Field_8 = 0

Definition at line 781 of file UpdateFields.h.

Referenced by operator==(), and WriteCreate().

◆ Type

uint32 UF::CharacterRestriction::Type = 0

Definition at line 782 of file UpdateFields.h.

Referenced by CriteriaHandler::ModifierSatisfied(), operator==(), and WriteCreate().


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