TrinityCore
UF::ItemMod Struct Reference

#include <UpdateFields.h>

+ Inheritance diagram for UF::ItemMod:

Public Member Functions

void WriteCreate (ByteBuffer &data, Item const *owner, Player const *receiver) const
 
void WriteUpdate (ByteBuffer &data, bool ignoreChangesMask, Item const *owner, Player const *receiver) const
 
bool operator== (ItemMod const &right) const
 
bool operator!= (ItemMod const &right) const
 

Public Attributes

int32 Value
 
uint8 Type
 

Detailed Description

Definition at line 75 of file UpdateFields.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 83 of file UpdateFields.h.

◆ operator==()

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

Definition at line 139 of file UpdateFields.cpp.

◆ WriteCreate()

void UF::ItemMod::WriteCreate ( ByteBuffer data,
Item const *  owner,
Player const *  receiver 
) const

Definition at line 127 of file UpdateFields.cpp.

◆ WriteUpdate()

void UF::ItemMod::WriteUpdate ( ByteBuffer data,
bool  ignoreChangesMask,
Item const *  owner,
Player const *  receiver 
) const

Definition at line 133 of file UpdateFields.cpp.

Member Data Documentation

◆ Type

uint8 UF::ItemMod::Type

Definition at line 78 of file UpdateFields.h.

◆ Value

int32 UF::ItemMod::Value

Definition at line 77 of file UpdateFields.h.


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