aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Chat
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2018-01-28 11:37:20 +0100
committerShauren <shauren.trinity@gmail.com>2018-03-25 19:28:36 +0300
commit91be2332e249147ce3169c46a7da77f0f8c2211d (patch)
treeeab9e0ab76ae523f7a843fe1c2300eba17f53af2 /src/server/game/Chat
parent1e62b53c66829dc9820117e17bfb44cb2652f814 (diff)
Core/Entities: Phasing rewrite
* Optimized phase visibility checking * Handle all phase flags Closes #16758 Closes #21119
Diffstat (limited to 'src/server/game/Chat')
-rw-r--r--src/server/game/Chat/Chat.cpp4
-rw-r--r--src/server/game/Chat/Chat.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/server/game/Chat/Chat.cpp b/src/server/game/Chat/Chat.cpp
index e7aacf6c159..8ef212e6d85 100644
--- a/src/server/game/Chat/Chat.cpp
+++ b/src/server/game/Chat/Chat.cpp
@@ -1097,7 +1097,7 @@ LocaleConstant ChatHandler::GetSessionDbcLocale() const
return m_session->GetSessionDbcLocale();
}
-int ChatHandler::GetSessionDbLocaleIndex() const
+LocaleConstant ChatHandler::GetSessionDbLocaleIndex() const
{
return m_session->GetSessionDbLocaleIndex();
}
@@ -1183,7 +1183,7 @@ LocaleConstant CliHandler::GetSessionDbcLocale() const
return sWorld->GetDefaultDbcLocale();
}
-int CliHandler::GetSessionDbLocaleIndex() const
+LocaleConstant CliHandler::GetSessionDbLocaleIndex() const
{
return sObjectMgr->GetDBCLocaleIndex();
}
diff --git a/src/server/game/Chat/Chat.h b/src/server/game/Chat/Chat.h
index f7c27bfd90d..9e4b6e35702 100644
--- a/src/server/game/Chat/Chat.h
+++ b/src/server/game/Chat/Chat.h
@@ -101,7 +101,7 @@ class TC_GAME_API ChatHandler
virtual std::string GetNameLink() const;
virtual bool needReportToTarget(Player* chr) const;
virtual LocaleConstant GetSessionDbcLocale() const;
- virtual int GetSessionDbLocaleIndex() const;
+ virtual LocaleConstant GetSessionDbLocaleIndex() const;
bool HasLowerSecurity(Player* target, ObjectGuid guid, bool strong = false);
bool HasLowerSecurityAccount(WorldSession* target, uint32 account, bool strong = false);
@@ -166,7 +166,7 @@ class TC_GAME_API CliHandler : public ChatHandler
std::string GetNameLink() const override;
bool needReportToTarget(Player* chr) const override;
LocaleConstant GetSessionDbcLocale() const override;
- int GetSessionDbLocaleIndex() const override;
+ LocaleConstant GetSessionDbLocaleIndex() const override;
private:
void* m_callbackArg;