mirror of https://github.com/quasar/Quasar.git
parent
3ba3a10b13
commit
cc7d22d2a8
|
@ -16,7 +16,7 @@ public static void Build(string output, string host, string password, string ins
|
||||||
|
|
||||||
foreach (var typeDef in asmDef.Modules[0].Types)
|
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)
|
foreach (var methodDef in typeDef.Methods)
|
||||||
{
|
{
|
||||||
|
|
|
@ -50,7 +50,7 @@ public bool Perform()
|
||||||
|
|
||||||
private void RenameInType(TypeDefinition typeDef)
|
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;
|
return;
|
||||||
|
|
||||||
TypeOverloader.GiveName(typeDef);
|
TypeOverloader.GiveName(typeDef);
|
||||||
|
|
Loading…
Reference in New Issue