mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 02:04:52 +01:00
Core: More codestyle cleanups
This commit is contained in:
@@ -55,14 +55,14 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void OnChat(Player *player, uint32 /*type*/, uint32 /*lang*/, std::string& msg, Player *receiver)
|
||||
void OnChat(Player* player, uint32 /*type*/, uint32 /*lang*/, std::string& msg, Player* receiver)
|
||||
{
|
||||
if (sWorld->getBoolConfig(CONFIG_CHATLOG_WHISPER))
|
||||
sLog->outChat("[WHISPER] Player %s tells %s: %s",
|
||||
player->GetName(), receiver ? receiver->GetName() : "<unknown>", msg.c_str());
|
||||
}
|
||||
|
||||
void OnChat(Player *player, uint32 type, uint32 /*lang*/, std::string& msg, Group *group)
|
||||
void OnChat(Player* player, uint32 type, uint32 /*lang*/, std::string& msg, Group* group)
|
||||
{
|
||||
switch (type)
|
||||
{
|
||||
@@ -110,7 +110,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void OnChat(Player *player, uint32 type, uint32 lang, std::string& msg, Guild *guild)
|
||||
void OnChat(Player* player, uint32 type, uint32 lang, std::string& msg, Guild* guild)
|
||||
{
|
||||
switch(type)
|
||||
{
|
||||
@@ -131,7 +131,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void OnChat(Player *player, uint32 /*type*/, uint32 /*lang*/, std::string& msg, Channel *channel)
|
||||
void OnChat(Player* player, uint32 /*type*/, uint32 /*lang*/, std::string& msg, Channel* channel)
|
||||
{
|
||||
bool isSystem = channel &&
|
||||
(channel->HasFlag(CHANNEL_FLAG_TRADE) ||
|
||||
|
||||
@@ -211,7 +211,7 @@ public:
|
||||
struct trigger_deathAI : public NullCreatureAI
|
||||
{
|
||||
trigger_deathAI(Creature* c) : NullCreatureAI(c) {}
|
||||
void JustDied(Unit *killer)
|
||||
void JustDied(Unit* killer)
|
||||
{
|
||||
if (me->m_spells[0])
|
||||
me->CastSpell(killer, me->m_spells[0], true);
|
||||
|
||||
Reference in New Issue
Block a user