TrinityCore
WorldPackets::Item::ItemMod Struct Reference

#include <ItemPacketsCommon.h>

Public Member Functions

 ItemMod ()=default
 
 ItemMod (int32 value, ItemModifier type)
 
bool operator== (ItemMod const &r) const
 

Public Attributes

int32 Value = 0
 
ItemModifier Type = MAX_ITEM_MODIFIERS
 

Detailed Description

Definition at line 49 of file ItemPacketsCommon.h.

Constructor & Destructor Documentation

◆ ItemMod() [1/2]

WorldPackets::Item::ItemMod::ItemMod ( )
default

◆ ItemMod() [2/2]

WorldPackets::Item::ItemMod::ItemMod ( int32  value,
ItemModifier  type 
)
inline

Definition at line 52 of file ItemPacketsCommon.h.

Member Function Documentation

◆ operator==()

bool WorldPackets::Item::ItemMod::operator== ( ItemMod const &  r) const

Definition at line 36 of file ItemPacketsCommon.cpp.

Member Data Documentation

◆ Type

ItemModifier WorldPackets::Item::ItemMod::Type = MAX_ITEM_MODIFIERS

Definition at line 55 of file ItemPacketsCommon.h.

◆ Value

int32 WorldPackets::Item::ItemMod::Value = 0

Definition at line 54 of file ItemPacketsCommon.h.


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