[Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions)
This commit is contained in:
@@ -1829,7 +1829,7 @@ void World::LoadAutobroadcasts()
|
||||
do
|
||||
{
|
||||
|
||||
Field *fields = result->Fetch();
|
||||
Field* fields = result->Fetch();
|
||||
std::string message = fields[0].GetString();
|
||||
|
||||
m_Autobroadcasts.push_back(message);
|
||||
@@ -2515,7 +2515,7 @@ void World::UpdateSessions(uint32 diff)
|
||||
++next;
|
||||
|
||||
///- and remove not active sessions from the list
|
||||
WorldSession * pSession = itr->second;
|
||||
WorldSession* pSession = itr->second;
|
||||
WorldSessionFilter updater(pSession);
|
||||
|
||||
if (!pSession->Update(diff, updater)) // As interval = 0
|
||||
@@ -2596,7 +2596,7 @@ void World::_UpdateRealmCharCount(PreparedQueryResult resultCharCount)
|
||||
{
|
||||
if (resultCharCount)
|
||||
{
|
||||
Field *fields = resultCharCount->Fetch();
|
||||
Field* fields = resultCharCount->Fetch();
|
||||
uint32 accountId = fields[0].GetUInt32();
|
||||
uint32 charCount = fields[1].GetUInt32();
|
||||
|
||||
@@ -2627,7 +2627,7 @@ void World::InitDailyQuestResetTime()
|
||||
QueryResult result = CharacterDatabase.Query("SELECT MAX(time) FROM character_queststatus_daily");
|
||||
if (result)
|
||||
{
|
||||
Field *fields = result->Fetch();
|
||||
Field* fields = result->Fetch();
|
||||
mostRecentQuestTime = time_t(fields[0].GetUInt32());
|
||||
}
|
||||
else
|
||||
@@ -2799,7 +2799,7 @@ void World::LoadWorldStates()
|
||||
|
||||
do
|
||||
{
|
||||
Field *fields = result->Fetch();
|
||||
Field* fields = result->Fetch();
|
||||
m_worldstates[fields[0].GetUInt32()] = fields[1].GetUInt32();
|
||||
++count;
|
||||
}
|
||||
|
||||
@@ -521,7 +521,7 @@ class World
|
||||
~World();
|
||||
|
||||
WorldSession* FindSession(uint32 id) const;
|
||||
void AddSession(WorldSession *s);
|
||||
void AddSession(WorldSession* s);
|
||||
void SendAutoBroadcast();
|
||||
bool RemoveSession(uint32 id);
|
||||
/// Get the number of current active sessions
|
||||
|
||||
Reference in New Issue
Block a user