mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-29 16:43:47 +00:00
refactor(Core/ObjectMgr): Change GetAcoreString from char const* to s… (#21213)
...ring
This commit is contained in:
@@ -352,7 +352,7 @@ public:
|
||||
void SendAreaTriggerMessage(std::string_view str);
|
||||
|
||||
template<typename... Args>
|
||||
void SendAreaTriggerMessage(char const* fmt, Args&&... args)
|
||||
void SendAreaTriggerMessage(std::string fmt, Args&&... args)
|
||||
{
|
||||
if (!m_playerLoading)
|
||||
SendAreaTriggerMessage(Acore::StringFormat(fmt, std::forward<Args>(args)...));
|
||||
@@ -510,7 +510,7 @@ public:
|
||||
// Locales
|
||||
LocaleConstant GetSessionDbcLocale() const { return m_sessionDbcLocale; }
|
||||
LocaleConstant GetSessionDbLocaleIndex() const { return m_sessionDbLocaleIndex; }
|
||||
char const* GetAcoreString(uint32 entry) const;
|
||||
std::string GetAcoreString(uint32 entry) const;
|
||||
std::string const* GetModuleString(std::string module, uint32 id) const;
|
||||
|
||||
uint32 GetLatency() const { return m_latency; }
|
||||
|
||||
Reference in New Issue
Block a user