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

#include <UpdateFields.h>

+ Inheritance diagram for UF::ItemMod:

Public Types

using OwnerObject = Item
 

Public Member Functions

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

Public Attributes

uint8 Type = 0
 
int32 Value = 0
 

Detailed Description

Definition at line 80 of file UpdateFields.h.

Member Typedef Documentation

◆ OwnerObject

Definition at line 85 of file UpdateFields.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 89 of file UpdateFields.h.

◆ operator==()

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

Definition at line 141 of file UpdateFields.cpp.

◆ WriteCreate()

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

Definition at line 129 of file UpdateFields.cpp.

◆ WriteUpdate()

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

Definition at line 135 of file UpdateFields.cpp.

Member Data Documentation

◆ Type

uint8 UF::ItemMod::Type = 0

Definition at line 82 of file UpdateFields.h.

◆ Value

int32 UF::ItemMod::Value = 0

Definition at line 83 of file UpdateFields.h.


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