TrinityCore
UF::UpdateFieldHolder Class Reference

#include <Object.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))
 
template<typename Derived , typename T , int32 BlockBit, uint32 Bit>
void ClearChangesMask (OptionalUpdateField< T, BlockBit, Bit >(Derived::*field))
 
uint32 GetChangedObjectTypeMask () const
 
bool HasChanged (uint32 index) const
 
ObjectGetOwner ()
 
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)
 
template<typename Derived , typename T , int32 BlockBit, uint32 Bit>
void ClearChangesMask (OptionalUpdateField< T, BlockBit, Bit > Derived::*field)
 

Private Member Functions

 UpdateFieldHolder ()
 

Private Attributes

friend Object
 
uint32 _changesMask
 

Detailed Description

Definition at line 112 of file Object.h.

Constructor & Destructor Documentation

◆ UpdateFieldHolder()

UF::UpdateFieldHolder::UpdateFieldHolder ( )
inlineprivate

Definition at line 140 of file Object.h.

Member Function Documentation

◆ ClearChangesMask() [1/4]

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

Definition at line 538 of file Object.h.

+ Here is the call graph for this function:

◆ ClearChangesMask() [2/4]

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

◆ ClearChangesMask() [3/4]

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

Definition at line 521 of file Object.h.

+ Here is the call graph for this function:

◆ ClearChangesMask() [4/4]

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 130 of file Object.h.

+ Here is the caller graph for this function:

◆ GetOwner()

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

Definition at line 469 of file Object.h.

◆ HasChanged()

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

Definition at line 132 of file Object.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 495 of file Object.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 506 of file Object.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 484 of file Object.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
private

Definition at line 142 of file Object.h.

◆ Object

friend UF::UpdateFieldHolder::Object
private

Definition at line 137 of file Object.h.


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