feat(CI/Codestyle): added codestyle check (#3668)

This commit is contained in:
Kargatum
2021-01-09 17:59:50 +07:00
committed by GitHub
parent 57aa46244d
commit ea93a5c1a1
400 changed files with 238 additions and 748 deletions

View File

@@ -21,7 +21,7 @@ if( WIN32 )
list(APPEND PRIVATE_SOURCES worldserver.rc)
endif()
endif()
if (USE_COREPCH)
set(PRIVATE_PCH_HEADER PrecompiledHeaders/worldPCH.h)
endif()

View File

@@ -134,7 +134,7 @@ int Master::Run()
sLog->outString(" ╚██████╗╚██████╔╝██║ ██║███████╗");
sLog->outString(" ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝\n");
sLog->outString(" AzerothCore 3.3.5a - www.azerothcore.org\n");
sLog->outString(" AzerothCore 3.3.5a - www.azerothcore.org\n");
/// worldserver PID file creation
std::string pidFile = sConfigMgr->GetStringDefault("PidFile", "");
@@ -203,7 +203,6 @@ int Master::Run()
#if defined(_WIN32) || defined(__linux__)
///- Handle affinity for multiple processors and process priority
uint32 affinity = sConfigMgr->GetIntDefault("UseProcessors", 0);
bool highPriority = sConfigMgr->GetBoolDefault("ProcessPriority", false);

View File

@@ -259,7 +259,6 @@ int RASocket::authenticate()
return 0;
}
int RASocket::subnegotiate()
{
char buf[1024];

View File

@@ -289,7 +289,6 @@ PlayerSave.Stats.SaveOnlyOnLogout = 1
vmap.enableLOS = 1
vmap.enableHeight = 1
#
# vmap.petLOS
# Description: Check line of sight for pets, to avoid them attacking through walls.
@@ -748,7 +747,6 @@ LogDB.World = 0
LogDB.Chat = 0
# ChatLogFile
# Description: Log file for chat logs.
# Default: "Chat.log" - (Enabled)
@@ -794,7 +792,6 @@ ChatLogs.SysChan = 0
# Default: 0 - (Disabled)
# 1 - (Enabled)
ChatLogs.Party = 0
#
@@ -803,7 +800,6 @@ ChatLogs.Party = 0
# Default: 0 - (Disabled)
# 1 - (Enabled)
ChatLogs.Raid = 0
#
@@ -2398,7 +2394,7 @@ Rate.Drop.Item.ReferencedAmount = 1
# Default: 1 - (Rate.XP.Kill)
# 1 - (Rate.XP.Quest)
# 1 - (Rate.XP.Explore)
# 1 - (Rate.XP.Pet)
# 1 - (Rate.XP.Pet)
Rate.XP.Kill = 1
Rate.XP.Quest = 1
@@ -2523,9 +2519,9 @@ Rate.InstanceResetTime = 1
#
# Rate.Pet.LevelXP
# Description: Modifies the amount of experience required to level up a pet.
# The lower the rate the less experience is required.
# The lower the rate the less experience is required.
# Default: 0.05
#
#
Rate.Pet.LevelXP = 0.05
#
@@ -2716,7 +2712,6 @@ Battleground.QueueAnnouncer.Enable = 0
Battleground.QueueAnnouncer.PlayerOnly = 0
#
# Battleground.PrematureFinishTimer
# Description: Time (in milliseconds) before battleground will end prematurely if there are
@@ -3005,7 +3000,6 @@ Arena.ArenaWinRatingModifier1 = 48
Arena.ArenaWinRatingModifier2 = 24
#
# Arena.ArenaLoseRatingModifier
# Description: Modifier of rating subtraction for loser team
@@ -3425,10 +3419,10 @@ MonsterSight = 50.000000
StrictChannelNames = 0
#
# Instance.SharedNormalHeroicId
# Description: No description
# Default: 0 - Disable
# 1 - Enable
# Instance.SharedNormalHeroicId
# Description: No description
# Default: 0 - Disable
# 1 - Enable
#
Instance.SharedNormalHeroicId = 0
@@ -3444,17 +3438,17 @@ Instance.SharedNormalHeroicId = 0
Instance.ResetTimeRelativeTimestamp = 1135814400
#
# TeleportTimeoutNear
# Description: No description
# Default: 25
# TeleportTimeoutNear
# Description: No description
# Default: 25
#
TeleportTimeoutNear = 25
#
# TeleportTimeoutFar
# Description: No description
# Default: 45
# TeleportTimeoutFar
# Description: No description
# Default: 45
#
TeleportTimeoutFar = 45