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

#include <UpdateFields.h>

+ Inheritance diagram for UF::SpellPctModByLabel:

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

Public Attributes

int32 ModIndex = 0
 
float ModifierValue = 0.0f
 
int32 LabelID = 0
 

Detailed Description

Definition at line 791 of file UpdateFields.h.

Member Typedef Documentation

◆ OwnerObject

Definition at line 797 of file UpdateFields.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 801 of file UpdateFields.h.

◆ operator==()

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

Definition at line 3453 of file UpdateFields.cpp.

References LabelID, ModifierValue, and ModIndex.

◆ WriteCreate()

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

Definition at line 3446 of file UpdateFields.cpp.

References LabelID, ModifierValue, and ModIndex.

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

◆ WriteUpdate()

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

Definition at line 799 of file UpdateFields.h.

References WriteCreate().

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

Member Data Documentation

◆ LabelID

int32 UF::SpellPctModByLabel::LabelID = 0

◆ ModifierValue

float UF::SpellPctModByLabel::ModifierValue = 0.0f

◆ ModIndex

int32 UF::SpellPctModByLabel::ModIndex = 0

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