mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-06 20:37:45 +00:00
chore(Core/Misc): Change all TODO to doxygen comment (#14966)
This commit is contained in:
@@ -87,7 +87,7 @@ void Battlefield::HandlePlayerEnterZone(Player* player, uint32 /*zone*/)
|
||||
InvitePlayerToWar(player);
|
||||
else // No more vacant places
|
||||
{
|
||||
// TODO: Send a packet to announce it to player
|
||||
/// @todo: Send a packet to announce it to player
|
||||
m_PlayersWillBeKick[player->GetTeamId()][player->GetGUID()] = GameTime::GetGameTime().count() + (player->IsGameMaster() ? 30 * MINUTE : 10);
|
||||
InvitePlayerToQueue(player);
|
||||
}
|
||||
@@ -273,7 +273,7 @@ void Battlefield::InvitePlayerToWar(Player* player)
|
||||
if (!player)
|
||||
return;
|
||||
|
||||
// TODO : needed ?
|
||||
/// @todo : needed ?
|
||||
if (player->IsInFlight())
|
||||
return;
|
||||
|
||||
|
||||
@@ -15,9 +15,9 @@
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
// TODO: Implement proper support for vehicle+player teleportation
|
||||
// TODO: Use spell victory/defeat in wg instead of RewardMarkOfHonor() && RewardHonor
|
||||
// TODO: Add proper implement of achievement
|
||||
/// @todo: Implement proper support for vehicle+player teleportation
|
||||
/// @todo: Use spell victory/defeat in wg instead of RewardMarkOfHonor() && RewardHonor
|
||||
/// @todo: Add proper implement of achievement
|
||||
|
||||
#include "BattlefieldWG.h"
|
||||
#include "GameTime.h"
|
||||
@@ -864,7 +864,7 @@ void BattlefieldWG::OnPlayerJoinWar(Player* player)
|
||||
|
||||
void BattlefieldWG::OnPlayerLeaveWar(Player* player)
|
||||
{
|
||||
// Remove all aura from WG // TODO: false we can go out of this zone on retail and keep Rank buff, remove on end of WG
|
||||
// Remove all aura from WG /// @todo: false we can go out of this zone on retail and keep Rank buff, remove on end of WG
|
||||
if (!player->GetSession()->PlayerLogout())
|
||||
{
|
||||
if (player->GetVehicle()) // Remove vehicle of player if he go out.
|
||||
|
||||
@@ -532,7 +532,7 @@ enum WintergraspWorldstates
|
||||
WORLDSTATE_ALLIANCE_KEEP_DEFENDED = 4025,
|
||||
};
|
||||
|
||||
// TODO: Handle this with creature_text ?
|
||||
/// @todo: Handle this with creature_text ?
|
||||
enum eWGText
|
||||
{
|
||||
BATTLEFIELD_WG_TEXT_START = 28,
|
||||
|
||||
Reference in New Issue
Block a user