TrinityCore
EmblemInfo Class Reference

#include <Guild.h>

Public Member Functions

 EmblemInfo ()
 
bool LoadFromDB (Field *fields)
 
void SaveToDB (ObjectGuid::LowType guildId) const
 
void ReadPacket (WorldPackets::Guild::SaveGuildEmblem &packet)
 
bool ValidateEmblemColors () const
 
uint32 GetStyle () const
 
uint32 GetColor () const
 
uint32 GetBorderStyle () const
 
uint32 GetBorderColor () const
 
uint32 GetBackgroundColor () const
 

Static Public Member Functions

static bool ValidateEmblemColors (uint32 style, uint32 color, uint32 borderStyle, uint32 borderColor, uint32 backgroundColor)
 

Private Attributes

uint32 m_style
 
uint32 m_color
 
uint32 m_borderStyle
 
uint32 m_borderColor
 
uint32 m_backgroundColor
 

Detailed Description

Definition at line 270 of file Guild.h.

Constructor & Destructor Documentation

◆ EmblemInfo()

EmblemInfo::EmblemInfo ( )
inline

Definition at line 273 of file Guild.h.

Member Function Documentation

◆ GetBackgroundColor()

uint32 EmblemInfo::GetBackgroundColor ( ) const
inline

Definition at line 288 of file Guild.h.

+ Here is the caller graph for this function:

◆ GetBorderColor()

uint32 EmblemInfo::GetBorderColor ( ) const
inline

Definition at line 287 of file Guild.h.

+ Here is the caller graph for this function:

◆ GetBorderStyle()

uint32 EmblemInfo::GetBorderStyle ( ) const
inline

Definition at line 286 of file Guild.h.

+ Here is the caller graph for this function:

◆ GetColor()

uint32 EmblemInfo::GetColor ( ) const
inline

Definition at line 285 of file Guild.h.

+ Here is the caller graph for this function:

◆ GetStyle()

uint32 EmblemInfo::GetStyle ( ) const
inline

Definition at line 284 of file Guild.h.

+ Here is the caller graph for this function:

◆ LoadFromDB()

bool EmblemInfo::LoadFromDB ( Field fields)

Definition at line 754 of file Guild.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ReadPacket()

void EmblemInfo::ReadPacket ( WorldPackets::Guild::SaveGuildEmblem packet)

Definition at line 738 of file Guild.cpp.

+ Here is the caller graph for this function:

◆ SaveToDB()

void EmblemInfo::SaveToDB ( ObjectGuid::LowType  guildId) const

Definition at line 765 of file Guild.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ValidateEmblemColors() [1/2]

bool EmblemInfo::ValidateEmblemColors ( ) const
inline

Definition at line 278 of file Guild.h.

+ Here is the caller graph for this function:

◆ ValidateEmblemColors() [2/2]

bool EmblemInfo::ValidateEmblemColors ( uint32  style,
uint32  color,
uint32  borderStyle,
uint32  borderColor,
uint32  backgroundColor 
)
static

Definition at line 747 of file Guild.cpp.

Member Data Documentation

◆ m_backgroundColor

uint32 EmblemInfo::m_backgroundColor
private

Definition at line 295 of file Guild.h.

◆ m_borderColor

uint32 EmblemInfo::m_borderColor
private

Definition at line 294 of file Guild.h.

◆ m_borderStyle

uint32 EmblemInfo::m_borderStyle
private

Definition at line 293 of file Guild.h.

◆ m_color

uint32 EmblemInfo::m_color
private

Definition at line 292 of file Guild.h.

◆ m_style

uint32 EmblemInfo::m_style
private

Definition at line 291 of file Guild.h.


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