Core: SOme code cleanup, more to follow.

This commit is contained in:
hondacrx
2021-03-20 22:48:48 -04:00
parent 62f554f2e0
commit 62ec699ec6
318 changed files with 5080 additions and 5125 deletions
+3 -3
View File
@@ -65,7 +65,7 @@ namespace Game
uint gmLevelInWhoList = WorldConfig.GetUIntValue(WorldCfg.GmLevelInWhoList);
WhoResponsePkt response = new WhoResponsePkt();
WhoResponsePkt response = new();
response.RequestID = whoRequest.RequestID;
List<WhoListPlayerInfo> whoList = Global.WhoListStorageMgr.GetWhoList();
@@ -137,7 +137,7 @@ namespace Game
continue;
}
WhoEntry whoEntry = new WhoEntry();
WhoEntry whoEntry = new();
if (!whoEntry.PlayerData.Initialize(target.Guid, null))
continue;
@@ -205,7 +205,7 @@ namespace Game
if (string.IsNullOrEmpty(lastip))
lastip = "Unknown";
WhoIsResponse response = new WhoIsResponse();
WhoIsResponse response = new();
response.AccountName = packet.CharName + "'s " + "account is " + acc + ", e-mail: " + email + ", last ip: " + lastip;
SendPacket(response);
}