Refactoring of BNetServer
This commit is contained in:
@@ -18,10 +18,10 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Game.Network;
|
||||
using Game.Networking;
|
||||
using Framework.Constants;
|
||||
using Framework.Database;
|
||||
using Game.Network.Packets;
|
||||
using Game.Networking.Packets;
|
||||
using Game.DataStorage;
|
||||
using System.Linq;
|
||||
|
||||
|
||||
@@ -18,10 +18,10 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Game.Network;
|
||||
using Game.Networking;
|
||||
using Framework.Constants;
|
||||
using Framework.Database;
|
||||
using Game.Network.Packets;
|
||||
using Game.Networking.Packets;
|
||||
using Game.DataStorage;
|
||||
|
||||
namespace Game.Entities
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
using Framework.Constants;
|
||||
using Framework.Database;
|
||||
using Game.Network;
|
||||
using Game.Networking;
|
||||
|
||||
namespace Game.Entities
|
||||
{
|
||||
|
||||
@@ -20,8 +20,8 @@ using Framework.Constants;
|
||||
using Framework.Database;
|
||||
using Game.DataStorage;
|
||||
using Game.Loots;
|
||||
using Game.Network;
|
||||
using Game.Network.Packets;
|
||||
using Game.Networking;
|
||||
using Game.Networking.Packets;
|
||||
using Game.Spells;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
@@ -104,7 +104,7 @@ namespace Game.Entities
|
||||
return true;
|
||||
}
|
||||
|
||||
public override string GetName(LocaleConstant locale = LocaleConstant.enUS)
|
||||
public override string GetName(Locale locale = Locale.enUS)
|
||||
{
|
||||
ItemTemplate itemTemplate = GetTemplate();
|
||||
var suffix = CliDB.ItemNameDescriptionStorage.LookupByKey(_bonusData.Suffix);
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace Game.Entities
|
||||
Specializations[2] = new BitSet((int)Class.Max * PlayerConst.MaxSpecializations);
|
||||
}
|
||||
|
||||
public string GetName(LocaleConstant locale = SharedConst.DefaultLocale)
|
||||
public string GetName(Locale locale = SharedConst.DefaultLocale)
|
||||
{
|
||||
return ExtendedData.Display[locale];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user