TrinityCore
Loading...
Searching...
No Matches
UF::UpdateFieldHolder Class Reference

#include <BaseEntity.h>

Public Member Functions

template<typename Derived , typename T , int32 BlockBit, uint32 Bit>
MutableFieldReference< T, false > ModifyValue (UpdateField< T, BlockBit, Bit >(Derived::*field))
 
template<typename Derived , typename T , int32 BlockBit, uint32 Bit>
OptionalUpdateFieldSetter< T > ModifyValue (OptionalUpdateField< T, BlockBit, Bit >(Derived::*field))
 
template<typename Derived , typename T , int32 BlockBit, uint32 Bit>
MutableFieldReference< T, false > ModifyValue (OptionalUpdateField< T, BlockBit, Bit >(Derived::*field), uint32)
 
template<typename Derived , typename T , int32 BlockBit, uint32 Bit>
void ClearChangesMask (UpdateField< T, BlockBit, Bit >(Derived::*field))
 
uint32 GetChangedObjectTypeMask () const
 
bool HasChanged (uint32 index) const
 
BaseEntityGetOwner ()
 
template<typename Derived , typename T , int32 BlockBit, uint32 Bit>
UF::MutableFieldReference< T, false > ModifyValue (UpdateField< T, BlockBit, Bit > Derived::*field)
 
template<typename Derived , typename T , int32 BlockBit, uint32 Bit>
UF::OptionalUpdateFieldSetter< T > ModifyValue (OptionalUpdateField< T, BlockBit, Bit > Derived::*field)
 
template<typename Derived , typename T , int32 BlockBit, uint32 Bit>
UF::MutableFieldReference< T, false > ModifyValue (OptionalUpdateField< T, BlockBit, Bit > Derived::*field, uint32)
 
template<typename Derived , typename T , int32 BlockBit, uint32 Bit>
void ClearChangesMask (UpdateField< T, BlockBit, Bit > Derived::*field)
 

Private Member Functions

 UpdateFieldHolder ()=default
 

Private Attributes

friend BaseEntity
 
uint32 _changesMask = 0
 

Detailed Description

Definition at line 66 of file BaseEntity.h.

Constructor & Destructor Documentation

◆ UpdateFieldHolder()

UF::UpdateFieldHolder::UpdateFieldHolder ( )
privatedefault

Member Function Documentation

◆ ClearChangesMask() [1/2]

template<typename Derived , typename T , int32 BlockBit, uint32 Bit>
void UF::UpdateFieldHolder::ClearChangesMask ( UpdateField< T, BlockBit, Bit > Derived::*  field)
inline

Definition at line 421 of file BaseEntity.h.

+ Here is the call graph for this function:

◆ ClearChangesMask() [2/2]

template<typename Derived , typename T , int32 BlockBit, uint32 Bit>
void UF::UpdateFieldHolder::ClearChangesMask ( UpdateField< T, BlockBit, Bit >Derived::*  field)
inline
+ Here is the caller graph for this function:

◆ GetChangedObjectTypeMask()

uint32 UF::UpdateFieldHolder::GetChangedObjectTypeMask ( ) const
inline

Definition at line 81 of file BaseEntity.h.

+ Here is the caller graph for this function:

◆ GetOwner()

BaseEntity * UF::UpdateFieldHolder::GetOwner ( )
inline

Definition at line 372 of file BaseEntity.h.

+ Here is the caller graph for this function:

◆ HasChanged()

bool UF::UpdateFieldHolder::HasChanged ( uint32  index) const
inline

Definition at line 83 of file BaseEntity.h.

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

◆ ModifyValue() [1/6]

template<typename Derived , typename T , int32 BlockBit, uint32 Bit>
UF::OptionalUpdateFieldSetter< T > UF::UpdateFieldHolder::ModifyValue ( OptionalUpdateField< T, BlockBit, Bit > Derived::*  field)
inline

Definition at line 397 of file BaseEntity.h.

+ Here is the call graph for this function:

◆ ModifyValue() [2/6]

template<typename Derived , typename T , int32 BlockBit, uint32 Bit>
UF::MutableFieldReference< T, false > UF::UpdateFieldHolder::ModifyValue ( OptionalUpdateField< T, BlockBit, Bit > Derived::*  field,
uint32   
)
inline

Definition at line 407 of file BaseEntity.h.

+ Here is the call graph for this function:

◆ ModifyValue() [3/6]

template<typename Derived , typename T , int32 BlockBit, uint32 Bit>
OptionalUpdateFieldSetter< T > UF::UpdateFieldHolder::ModifyValue ( OptionalUpdateField< T, BlockBit, Bit >Derived::*  field)
inline

◆ ModifyValue() [4/6]

template<typename Derived , typename T , int32 BlockBit, uint32 Bit>
MutableFieldReference< T, false > UF::UpdateFieldHolder::ModifyValue ( OptionalUpdateField< T, BlockBit, Bit >Derived::*  field,
uint32   
)
inline

◆ ModifyValue() [5/6]

template<typename Derived , typename T , int32 BlockBit, uint32 Bit>
UF::MutableFieldReference< T, false > UF::UpdateFieldHolder::ModifyValue ( UpdateField< T, BlockBit, Bit > Derived::*  field)
inline

Definition at line 387 of file BaseEntity.h.

+ Here is the call graph for this function:

◆ ModifyValue() [6/6]

template<typename Derived , typename T , int32 BlockBit, uint32 Bit>
MutableFieldReference< T, false > UF::UpdateFieldHolder::ModifyValue ( UpdateField< T, BlockBit, Bit >Derived::*  field)
inline

Member Data Documentation

◆ _changesMask

uint32 UF::UpdateFieldHolder::_changesMask = 0
private

Definition at line 93 of file BaseEntity.h.

◆ BaseEntity

friend UF::UpdateFieldHolder::BaseEntity
private

Definition at line 88 of file BaseEntity.h.


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