Refactoring of BNetServer

This commit is contained in:
hondacrx
2020-07-12 00:06:43 -04:00
parent 4164384b72
commit 581d077acd
318 changed files with 2046 additions and 4694 deletions
+1 -1
View File
@@ -18,7 +18,7 @@
using Framework.Collections;
using Framework.Constants;
using Framework.GameMath;
using Game.Network;
using Game.Networking;
using Game.Spells;
using System;
+1 -1
View File
@@ -23,7 +23,7 @@ using Game.DataStorage;
using Game.Groups;
using Game.Loots;
using Game.Maps;
using Game.Network.Packets;
using Game.Networking.Packets;
using Game.PvP;
using Game.Spells;
using System;
+1 -1
View File
@@ -23,7 +23,7 @@ using Game.Combat;
using Game.DataStorage;
using Game.Maps;
using Game.Movement;
using Game.Network.Packets;
using Game.Networking.Packets;
using Game.Spells;
using System;
using System.Collections.Generic;
+1 -1
View File
@@ -21,7 +21,7 @@ using Game.BattleGrounds;
using Game.DataStorage;
using Game.Maps;
using Game.Movement;
using Game.Network.Packets;
using Game.Networking.Packets;
using System;
using System.Collections.Generic;
using Game.Spells;
+1 -1
View File
@@ -17,7 +17,7 @@
using Framework.Constants;
using Game.AI;
using Game.Network.Packets;
using Game.Networking.Packets;
using Game.Spells;
using System.Collections.Generic;
using System.Linq;
+1 -1
View File
@@ -18,7 +18,7 @@
using Framework.Constants;
using Framework.Dynamic;
using Game.BattleGrounds;
using Game.Network.Packets;
using Game.Networking.Packets;
using Game.Spells;
using System;
using System.Collections.Generic;
+4 -4
View File
@@ -25,12 +25,12 @@ using Game.Combat;
using Game.DataStorage;
using Game.Maps;
using Game.Movement;
using Game.Network.Packets;
using Game.Networking.Packets;
using Game.Spells;
using System;
using System.Collections.Generic;
using System.Linq;
using Game.Network;
using Game.Networking;
namespace Game.Entities
{
@@ -366,7 +366,7 @@ namespace Game.Entities
if (!target)
return;
LocaleConstant locale = target.GetSession().GetSessionDbLocaleIndex();
Locale locale = target.GetSession().GetSessionDbLocaleIndex();
ChatPkt data = new ChatPkt();
data.Initialize(isBossWhisper ? ChatMsg.RaidBossWhisper : ChatMsg.MonsterWhisper, Language.Universal, this, target, text, 0, "", locale);
target.SendPacket(data);
@@ -413,7 +413,7 @@ namespace Game.Entities
return;
}
LocaleConstant locale = target.GetSession().GetSessionDbLocaleIndex();
Locale locale = target.GetSession().GetSessionDbLocaleIndex();
ChatPkt data = new ChatPkt();
data.Initialize(isBossWhisper ? ChatMsg.RaidBossWhisper : ChatMsg.MonsterWhisper, Language.Universal, this, target, Global.DB2Mgr.GetBroadcastTextValue(bct, locale, GetGender()), 0, "", locale);
target.SendPacket(data);