some minor styling fixes

This commit is contained in:
Antz 2021-01-01 00:07:23 +00:00
parent 99a6b16acf
commit 63c8aea0fd
4 changed files with 23 additions and 10 deletions

View File

@ -1243,7 +1243,7 @@ class BattleGround
bool IsPlayerInBattleGround(ObjectGuid guid);
/* virtual score-array - get's used in bg-subclasses */
int32 m_TeamScores[PVP_TEAM_COUNT]; /**< TODO */
int32 m_TeamScores[PVP_TEAM_COUNT];
/**
* @brief

View File

@ -93,13 +93,27 @@ class ThreatRefStatusChangeEvent : public UnitBaseEvent
};
ThreatManager* iThreatManager;
public:
ThreatRefStatusChangeEvent(uint32 pType) : UnitBaseEvent(pType) { iHostileReference = NULL; }
ThreatRefStatusChangeEvent(uint32 pType) : UnitBaseEvent(pType)
{
iHostileReference = NULL;
}
ThreatRefStatusChangeEvent(uint32 pType, HostileReference* pHostileReference) : UnitBaseEvent(pType) { iHostileReference = pHostileReference; }
ThreatRefStatusChangeEvent(uint32 pType, HostileReference* pHostileReference) : UnitBaseEvent(pType)
{
iHostileReference = pHostileReference;
}
ThreatRefStatusChangeEvent(uint32 pType, HostileReference* pHostileReference, float pValue) : UnitBaseEvent(pType) { iHostileReference = pHostileReference; iFValue = pValue; }
ThreatRefStatusChangeEvent(uint32 pType, HostileReference* pHostileReference, float pValue) : UnitBaseEvent(pType)
{
iHostileReference = pHostileReference;
iFValue = pValue;
}
ThreatRefStatusChangeEvent(uint32 pType, HostileReference* pHostileReference, bool pValue) : UnitBaseEvent(pType) { iHostileReference = pHostileReference; iBValue = pValue; }
ThreatRefStatusChangeEvent(uint32 pType, HostileReference* pHostileReference, bool pValue) : UnitBaseEvent(pType)
{
iHostileReference = pHostileReference;
iBValue = pValue;
}
int32 getIValue() const { return iIValue; }

View File

@ -811,8 +811,7 @@ Map::Remove(T* obj, bool remove)
}
}
void
Map::PlayerRelocation(Player* player, float x, float y, float z, float orientation)
void Map::PlayerRelocation(Player* player, float x, float y, float z, float orientation)
{
MANGOS_ASSERT(player);

View File

@ -49,9 +49,9 @@ class AuthCrypt
~AuthCrypt();
/**
* @brief
*
*/
* @brief
*
*/
void Init();
/**