diff options
author | maximius <none@none> | 2009-09-14 16:02:13 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-09-14 16:02:13 -0700 |
commit | b37f9b1e55bd4b80597b8b8c3f461aad70ccc5c1 (patch) | |
tree | c637055aab5d8f0e733fc611fada42c43ad04d83 /src/game/Guild.h | |
parent | 7b664c8c9fdda2b963f7883684a2f31d0f79551b (diff) |
*Merged MaNGOS [8458], [8475], [8476] by ogeraisi, thanks to all authors :)
--HG--
branch : trunk
Diffstat (limited to 'src/game/Guild.h')
-rw-r--r-- | src/game/Guild.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/game/Guild.h b/src/game/Guild.h index 0e70ed53fd0..7a715be8911 100644 --- a/src/game/Guild.h +++ b/src/game/Guild.h @@ -297,19 +297,19 @@ class Guild uint32 GetId(){ return m_Id; } const uint64& GetLeader(){ return m_LeaderGuid; } - std::string GetName(){ return m_Name; } - std::string GetMOTD(){ return MOTD; } - std::string GetGINFO(){ return GINFO; } - - uint32 GetCreatedYear(){ return m_CreatedYear; } - uint32 GetCreatedMonth(){ return m_CreatedMonth; } - uint32 GetCreatedDay(){ return m_CreatedDay; } - - uint32 GetEmblemStyle(){ return m_EmblemStyle; } - uint32 GetEmblemColor(){ return m_EmblemColor; } - uint32 GetBorderStyle(){ return m_BorderStyle; } - uint32 GetBorderColor(){ return m_BorderColor; } - uint32 GetBackgroundColor(){ return m_BackgroundColor; } + std::string const& GetName() const { return m_Name; } + std::string const& GetMOTD() const { return MOTD; } + std::string const& GetGINFO() const { return GINFO; } + + uint32 GetCreatedYear() const { return m_CreatedYear; } + uint32 GetCreatedMonth() const { return m_CreatedMonth; } + uint32 GetCreatedDay() const { return m_CreatedDay; } + + uint32 GetEmblemStyle() const { return m_EmblemStyle; } + uint32 GetEmblemColor() const { return m_EmblemColor; } + uint32 GetBorderStyle() const { return m_BorderStyle; } + uint32 GetBorderColor() const { return m_BorderColor; } + uint32 GetBackgroundColor() const { return m_BackgroundColor; } void SetLeader(uint64 guid); bool AddMember(uint64 plGuid, uint32 plRank); |