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

#include <UpdateFields.h>

+ Inheritance diagram for UF::SpellPctPVPModByLabel:

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

Public Attributes

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

Detailed Description

Definition at line 817 of file UpdateFields.h.

Member Typedef Documentation

◆ OwnerObject

Definition at line 823 of file UpdateFields.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 827 of file UpdateFields.h.

◆ operator==()

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

Definition at line 3481 of file UpdateFields.cpp.

References LabelID, ModifierValue, and PvpModIndex.

◆ WriteCreate()

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

Definition at line 3474 of file UpdateFields.cpp.

References LabelID, ModifierValue, and PvpModIndex.

Referenced by WriteUpdate().

◆ WriteUpdate()

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

Definition at line 825 of file UpdateFields.h.

References WriteCreate().

Member Data Documentation

◆ LabelID

int32 UF::SpellPctPVPModByLabel::LabelID = 0

Definition at line 821 of file UpdateFields.h.

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

◆ ModifierValue

float UF::SpellPctPVPModByLabel::ModifierValue = 0.0f

Definition at line 820 of file UpdateFields.h.

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

◆ PvpModIndex

int32 UF::SpellPctPVPModByLabel::PvpModIndex = 0

Definition at line 819 of file UpdateFields.h.

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


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