aboutsummaryrefslogtreecommitdiff
path: root/src/game/Guild.h
diff options
context:
space:
mode:
authormaximius <none@none>2009-09-18 14:10:37 -0700
committermaximius <none@none>2009-09-18 14:10:37 -0700
commit333f1c9d729e99c86b9747aa95336010589d564d (patch)
treec93e94781a126a8ad7a62e846df04adb7c913905 /src/game/Guild.h
parent0d9d400e794f6bcd2f706a4fb238b6428ad00862 (diff)
*[8475] fixed some gcc-warnings Author: balrok
*[8476] Revert some recent cleanup changes, some other fixes and cleanups. Author: VladimirMangos *[8489] Fixed player visibility update in case view point different from player itself. Author: SilverIce *[8493] Avoid unexpected multiply error messages at wrong `quest_template`.`RewSpell*` Author: VladimirMangos *[8496] Resolve some #include cycles and unsafe code. * Common.h -> Threading.h -> Errors.h -> Common.h * Remove reduncdent #include "ByteBuffer.h" in headers * Remove redundent #include "Auth/BigNumber.h" in headers * Avoid multyply data copy at use some now dropped functions in BigNumber. * Avoid copy fixed byte count from byte arrays with unknown real size created from BigNumber. * Avoid possible problems for build mangos at different platform or compilers. Author: VladimirMangos. *[8501] Apply code style and cleanups to some Player functions. Author: VladimirMangos. *[8502] Disable quests related to specific game events at startup if event not active. Also rename member boolean variable. Author: NoFantasy *[8506] Add check for IsAutoComplete() in SendPreparedQuest(). For cases where quest is repeatable but has Method!=0, QuestDetails must be sent instead of RequestItems. Some additional code cleanup. Author: NoFantasy *[8507] Check amount of spawned pools before decrement to avoid unexpected result. Also rename variable to more meaningful name. Signed-off-by: NoFantasy <nofantasy@nf.no> Thanks to Stryker and onkelz28! --HG-- branch : trunk
Diffstat (limited to 'src/game/Guild.h')
-rw-r--r--src/game/Guild.h28
1 files changed, 15 insertions, 13 deletions
diff --git a/src/game/Guild.h b/src/game/Guild.h
index 0e70ed53fd0..a58440969ae 100644
--- a/src/game/Guild.h
+++ b/src/game/Guild.h
@@ -297,19 +297,21 @@ 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);