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

#include <UpdateFields.h>

+ Inheritance diagram for UF::SpellFlatModByLabel:

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== (SpellFlatModByLabel const &right) const
 
bool operator!= (SpellFlatModByLabel const &right) const
 

Public Attributes

int32 ModIndex = 0
 
int32 ModifierValue = 0
 
int32 LabelID = 0
 

Detailed Description

Definition at line 804 of file UpdateFields.h.

Member Typedef Documentation

◆ OwnerObject

Definition at line 810 of file UpdateFields.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 814 of file UpdateFields.h.

◆ operator==()

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

Definition at line 3467 of file UpdateFields.cpp.

References LabelID, ModifierValue, and ModIndex.

◆ WriteCreate()

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

Definition at line 3460 of file UpdateFields.cpp.

References LabelID, ModifierValue, and ModIndex.

Referenced by UF::ActivePlayerData::WriteCreate(), and WriteUpdate().

◆ WriteUpdate()

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

Definition at line 812 of file UpdateFields.h.

References WriteCreate().

Referenced by UF::ActivePlayerData::WriteUpdate().

Member Data Documentation

◆ LabelID

int32 UF::SpellFlatModByLabel::LabelID = 0

◆ ModifierValue

int32 UF::SpellFlatModByLabel::ModifierValue = 0

◆ ModIndex

int32 UF::SpellFlatModByLabel::ModIndex = 0

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