refactor(Core/Misc): acore to Acore (#6043)

This commit is contained in:
Kitzunu
2021-05-31 14:21:54 +02:00
committed by GitHub
parent 7eeae6866e
commit 897a02bb75
224 changed files with 942 additions and 942 deletions

View File

@@ -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())