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
+3 -3
View File
@@ -23,8 +23,8 @@ using Game.Entities;
using Game.Groups;
using Game.Maps;
using Game.Misc;
using Game.Network;
using Game.Network.Packets;
using Game.Networking;
using Game.Networking.Packets;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -735,7 +735,7 @@ namespace Game.PvP
_id = id;
}
public override ServerPacket Invoke(LocaleConstant locale = LocaleConstant.enUS)
public override ServerPacket Invoke(Locale locale = Locale.enUS)
{
string text = Global.OutdoorPvPMgr.GetDefenseMessage(_zoneId, _id, locale);
+1 -1
View File
@@ -218,7 +218,7 @@ namespace Game.PvP
outdoor.HandlePlayerResurrects(player, zoneid);
}
public string GetDefenseMessage(uint zoneId, uint id, LocaleConstant locale)
public string GetDefenseMessage(uint zoneId, uint id, Locale locale)
{
BroadcastTextRecord bct = CliDB.BroadcastTextStorage.LookupByKey(id);
if (bct != null)
@@ -18,7 +18,7 @@
using Framework.Constants;
using Game.Entities;
using Game.Maps;
using Game.Network.Packets;
using Game.Networking.Packets;
using Game.Scripting;
namespace Game.PvP