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
@@ -25,12 +25,12 @@ using Game.DataStorage;
using Game.Groups;
using Game.Loots;
using Game.Maps;
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
{
@@ -2086,9 +2086,9 @@ namespace Game.Entities
return GetGoInfo().ScriptId;
}
public override string GetName(LocaleConstant locale = LocaleConstant.enUS)
public override string GetName(Locale locale = Locale.enUS)
{
if (locale != LocaleConstant.enUS)
if (locale != Locale.enUS)
{
GameObjectLocale cl = Global.ObjectMgr.GetGameObjectLocale(GetEntry());
if (cl != null)