mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-29 00:23:48 +00:00
refactor(Core/Misc): acore to Acore (#6043)
This commit is contained in:
@@ -2411,7 +2411,7 @@ void World::SendGlobalGMMessage(WorldPacket* packet, WorldSession* self, TeamId
|
||||
}
|
||||
}
|
||||
|
||||
namespace acore
|
||||
namespace Acore
|
||||
{
|
||||
class WorldWorldTextBuilder
|
||||
{
|
||||
@@ -2453,7 +2453,7 @@ namespace acore
|
||||
uint32 i_textId;
|
||||
va_list* i_args;
|
||||
};
|
||||
} // namespace acore
|
||||
} // namespace Acore
|
||||
|
||||
/// Send a System Message to all players (except self if mentioned)
|
||||
void World::SendWorldText(uint32 string_id, ...)
|
||||
@@ -2461,8 +2461,8 @@ void World::SendWorldText(uint32 string_id, ...)
|
||||
va_list ap;
|
||||
va_start(ap, string_id);
|
||||
|
||||
acore::WorldWorldTextBuilder wt_builder(string_id, &ap);
|
||||
acore::LocalizedPacketListDo<acore::WorldWorldTextBuilder> wt_do(wt_builder);
|
||||
Acore::WorldWorldTextBuilder wt_builder(string_id, &ap);
|
||||
Acore::LocalizedPacketListDo<Acore::WorldWorldTextBuilder> wt_do(wt_builder);
|
||||
for (SessionMap::const_iterator itr = m_sessions.begin(); itr != m_sessions.end(); ++itr)
|
||||
{
|
||||
if (!itr->second || !itr->second->GetPlayer() || !itr->second->GetPlayer()->IsInWorld())
|
||||
@@ -2480,8 +2480,8 @@ void World::SendGMText(uint32 string_id, ...)
|
||||
va_list ap;
|
||||
va_start(ap, string_id);
|
||||
|
||||
acore::WorldWorldTextBuilder wt_builder(string_id, &ap);
|
||||
acore::LocalizedPacketListDo<acore::WorldWorldTextBuilder> wt_do(wt_builder);
|
||||
Acore::WorldWorldTextBuilder wt_builder(string_id, &ap);
|
||||
Acore::LocalizedPacketListDo<Acore::WorldWorldTextBuilder> wt_do(wt_builder);
|
||||
for (SessionMap::iterator itr = m_sessions.begin(); itr != m_sessions.end(); ++itr)
|
||||
{
|
||||
if (!itr->second || !itr->second->GetPlayer() || !itr->second->GetPlayer()->IsInWorld())
|
||||
|
||||
Reference in New Issue
Block a user