TrinityCore
Loading...
Searching...
No Matches
CurrencyTypesEntry Struct Reference

#include <DB2Structure.h>

Public Member Functions

EnumFlag< CurrencyTypesFlags > GetFlags () const
 
EnumFlag< CurrencyTypesFlagsB > GetFlagsB () const
 
int32 GetScaler () const
 
bool HasMaxEarnablePerWeek () const
 
bool HasMaxQuantity (bool onLoad=false, bool onUpdateVersion=false) const
 
bool HasTotalEarned () const
 
bool IsAlliance () const
 
bool IsHorde () const
 
bool IsSuppressingChatLog (bool onUpdateVersion=false) const
 
bool IsTrackingQuantity () const
 

Public Attributes

uint32 ID
 
LocalizedString Name
 
LocalizedString Description
 
int32 CategoryID
 
int32 InventoryIconFileID
 
uint32 SpellWeight
 
uint8 SpellCategory
 
uint32 MaxQty
 
uint32 MaxEarnablePerWeek
 
int8 Quality
 
int32 FactionID
 
int32 ItemGroupSoundsID
 
int32 XpQuestDifficulty
 
int32 AwardConditionID
 
int32 MaxQtyWorldStateID
 
uint32 RechargingAmountPerCycle
 
uint32 RechargingCycleDurationMS
 
float AccountTransferPercentage
 
uint8 OrderIndex
 
float RecraftReagentCountPercentage
 
uint8 OrderSource
 
int32 MCRCurrencyID
 
std::array< int32, 2 > Flags
 

Detailed Description

Definition at line 1440 of file DB2Structure.h.

Member Function Documentation

◆ GetFlags()

◆ GetFlagsB()

EnumFlag< CurrencyTypesFlagsB > CurrencyTypesEntry::GetFlagsB ( ) const
inline

Definition at line 1467 of file DB2Structure.h.

References Flags.

Referenced by HasTotalEarned().

◆ GetScaler()

int32 CurrencyTypesEntry::GetScaler ( ) const
inline

◆ HasMaxEarnablePerWeek()

bool CurrencyTypesEntry::HasMaxEarnablePerWeek ( ) const
inline

Definition at line 1475 of file DB2Structure.h.

References ComputedWeeklyMaximum, GetFlags(), and MaxEarnablePerWeek.

Referenced by Player::SendCurrencies().

◆ HasMaxQuantity()

bool CurrencyTypesEntry::HasMaxQuantity ( bool  onLoad = false,
bool  onUpdateVersion = false 
) const
inline

◆ HasTotalEarned()

bool CurrencyTypesEntry::HasTotalEarned ( ) const
inline

Definition at line 1491 of file DB2Structure.h.

References GetFlagsB(), and UseTotalEarnedForEarned.

Referenced by Player::ModifyCurrency(), and Player::SendCurrencies().

◆ IsAlliance()

bool CurrencyTypesEntry::IsAlliance ( ) const
inline

◆ IsHorde()

bool CurrencyTypesEntry::IsHorde ( ) const
inline

◆ IsSuppressingChatLog()

bool CurrencyTypesEntry::IsSuppressingChatLog ( bool  onUpdateVersion = false) const
inline

◆ IsTrackingQuantity()

bool CurrencyTypesEntry::IsTrackingQuantity ( ) const
inline

Member Data Documentation

◆ AccountTransferPercentage

float CurrencyTypesEntry::AccountTransferPercentage

Definition at line 1459 of file DB2Structure.h.

◆ AwardConditionID

int32 CurrencyTypesEntry::AwardConditionID

Definition at line 1455 of file DB2Structure.h.

Referenced by Player::ModifyCurrency(), and Player::SendCurrencies().

◆ CategoryID

int32 CurrencyTypesEntry::CategoryID

Definition at line 1445 of file DB2Structure.h.

Referenced by Player::ModifyCurrency().

◆ Description

LocalizedString CurrencyTypesEntry::Description

Definition at line 1444 of file DB2Structure.h.

◆ FactionID

int32 CurrencyTypesEntry::FactionID

Definition at line 1452 of file DB2Structure.h.

Referenced by Player::ModifyCurrency().

◆ Flags

std::array<int32, 2> CurrencyTypesEntry::Flags

Definition at line 1464 of file DB2Structure.h.

Referenced by GetFlags(), and GetFlagsB().

◆ ID

◆ InventoryIconFileID

int32 CurrencyTypesEntry::InventoryIconFileID

Definition at line 1446 of file DB2Structure.h.

◆ ItemGroupSoundsID

int32 CurrencyTypesEntry::ItemGroupSoundsID

Definition at line 1453 of file DB2Structure.h.

◆ MaxEarnablePerWeek

uint32 CurrencyTypesEntry::MaxEarnablePerWeek

Definition at line 1450 of file DB2Structure.h.

Referenced by Player::GetCurrencyWeeklyCap(), and HasMaxEarnablePerWeek().

◆ MaxQty

uint32 CurrencyTypesEntry::MaxQty

Definition at line 1449 of file DB2Structure.h.

Referenced by Player::GetCurrencyMaxQuantity(), and HasMaxQuantity().

◆ MaxQtyWorldStateID

int32 CurrencyTypesEntry::MaxQtyWorldStateID

Definition at line 1456 of file DB2Structure.h.

Referenced by Player::GetCurrencyMaxQuantity(), and HasMaxQuantity().

◆ MCRCurrencyID

int32 CurrencyTypesEntry::MCRCurrencyID

Definition at line 1463 of file DB2Structure.h.

◆ Name

◆ OrderIndex

uint8 CurrencyTypesEntry::OrderIndex

Definition at line 1460 of file DB2Structure.h.

◆ OrderSource

uint8 CurrencyTypesEntry::OrderSource

Definition at line 1462 of file DB2Structure.h.

◆ Quality

◆ RechargingAmountPerCycle

uint32 CurrencyTypesEntry::RechargingAmountPerCycle

Definition at line 1457 of file DB2Structure.h.

◆ RechargingCycleDurationMS

uint32 CurrencyTypesEntry::RechargingCycleDurationMS

Definition at line 1458 of file DB2Structure.h.

◆ RecraftReagentCountPercentage

float CurrencyTypesEntry::RecraftReagentCountPercentage

Definition at line 1461 of file DB2Structure.h.

◆ SpellCategory

uint8 CurrencyTypesEntry::SpellCategory

Definition at line 1448 of file DB2Structure.h.

◆ SpellWeight

uint32 CurrencyTypesEntry::SpellWeight

Definition at line 1447 of file DB2Structure.h.

◆ XpQuestDifficulty

int32 CurrencyTypesEntry::XpQuestDifficulty

Definition at line 1454 of file DB2Structure.h.


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