Refactoring of BNetServer
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user