Corrected namespaces
This commit is contained in:
MaxXor 2015-01-15 19:10:56 +01:00
parent 3ba3a10b13
commit cc7d22d2a8
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ namespace xServer.Core.Build
foreach (var typeDef in asmDef.Modules[0].Types)
{
if (typeDef.FullName == "Client.Settings")
if (typeDef.FullName == "xClient.Config.Settings")
{
foreach (var methodDef in typeDef.Methods)
{

View File

@ -50,7 +50,7 @@ namespace xServer.Core.Build
private void RenameInType(TypeDefinition typeDef)
{
if (typeDef.Namespace.Contains("My") || typeDef.Namespace.Contains("Core.Packets") || typeDef.Namespace == "Core" || typeDef.Namespace == "Core.Elevation" || typeDef.Namespace.Contains("LZ4") || typeDef.Namespace.Contains("ProtoBuf"))
if (typeDef.Namespace.StartsWith("My") || typeDef.Namespace.StartsWith("xClient.Core.Packets") || typeDef.Namespace == "xClient.Core" || typeDef.Namespace == "xClient.Core.Elevation" || typeDef.Namespace == "xClient.Core.Compression" || typeDef.Namespace.StartsWith("ProtoBuf"))
return;
TypeOverloader.GiveName(typeDef);