AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
GuildBankRightsAndSlots Class Reference

#include "Guild.h"

Public Member Functions

 GuildBankRightsAndSlots ()
 
 GuildBankRightsAndSlots (uint8 _tabId)
 
 GuildBankRightsAndSlots (uint8 _tabId, uint8 _rights, uint32 _slots)
 
void SetGuildMasterValues ()
 
void SetTabId (uint8 _tabId)
 
void SetSlots (uint32 _slots)
 
void SetRights (uint8 _rights)
 
uint8 GetTabId () const
 
uint32 GetSlots () const
 
uint8 GetRights () const
 

Private Attributes

uint8 tabId
 
uint8 rights
 
uint32 slots
 

Detailed Description

Constructor & Destructor Documentation

◆ GuildBankRightsAndSlots() [1/3]

GuildBankRightsAndSlots::GuildBankRightsAndSlots ( )
inline
268: tabId(TAB_UNDEFINED), rights(0), slots(0) { }
@ TAB_UNDEFINED
Definition: Guild.h:54
uint8 rights
Definition: Guild.h:288
uint32 slots
Definition: Guild.h:289
uint8 tabId
Definition: Guild.h:287

◆ GuildBankRightsAndSlots() [2/3]

GuildBankRightsAndSlots::GuildBankRightsAndSlots ( uint8  _tabId)
inline
269: tabId(_tabId), rights(0), slots(0) { }

◆ GuildBankRightsAndSlots() [3/3]

GuildBankRightsAndSlots::GuildBankRightsAndSlots ( uint8  _tabId,
uint8  _rights,
uint32  _slots 
)
inline
270: tabId(_tabId), rights(_rights), slots(_slots) { }

Member Function Documentation

◆ GetRights()

uint8 GuildBankRightsAndSlots::GetRights ( ) const
inline

◆ GetSlots()

uint32 GuildBankRightsAndSlots::GetSlots ( ) const
inline

◆ GetTabId()

uint8 GuildBankRightsAndSlots::GetTabId ( ) const
inline

◆ SetGuildMasterValues()

void GuildBankRightsAndSlots::SetGuildMasterValues ( )
inline
273 {
276 }
std::uint32_t uint32
Definition: Define.h:107
@ GUILD_WITHDRAW_SLOT_UNLIMITED
Definition: Guild.h:52
@ GUILD_BANK_RIGHT_FULL
Definition: Guild.h:195

References GUILD_BANK_RIGHT_FULL, GUILD_WITHDRAW_SLOT_UNLIMITED, rights, and slots.

Referenced by Guild::RankInfo::CreateMissingTabsIfNeeded(), and Guild::RankInfo::SetBankTabSlotsAndRights().

◆ SetRights()

void GuildBankRightsAndSlots::SetRights ( uint8  _rights)
inline
280{ rights = _rights; }

References rights.

◆ SetSlots()

void GuildBankRightsAndSlots::SetSlots ( uint32  _slots)
inline
279{ slots = _slots; }

References slots.

◆ SetTabId()

void GuildBankRightsAndSlots::SetTabId ( uint8  _tabId)
inline
278{ tabId = _tabId; }

References tabId.

Referenced by Guild::RankInfo::CreateMissingTabsIfNeeded().

Member Data Documentation

◆ rights

uint8 GuildBankRightsAndSlots::rights
private

◆ slots

uint32 GuildBankRightsAndSlots::slots
private

◆ tabId

uint8 GuildBankRightsAndSlots::tabId
private

Referenced by GetTabId(), and SetTabId().