Decompiled source of HuLuoBoGenshinImpactModel v1.0.8

BepInEx/plugins/hlb_hutao.dll

Decompiled 8 months ago
using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using BepInEx;
using HarmonyLib;
using Microsoft.CodeAnalysis;
using ModelReplacement;
using UnityEngine;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")]
[assembly: IgnoresAccessChecksTo("")]
[assembly: AssemblyCompany("hlb_hutao")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("hlb_hutao")]
[assembly: AssemblyTitle("hlb_hutao")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("1.0.0.0")]
[module: UnverifiableCode]
namespace Microsoft.CodeAnalysis
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	internal sealed class EmbeddedAttribute : Attribute
	{
	}
}
namespace System.Runtime.CompilerServices
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Parameter | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter, AllowMultiple = false, Inherited = false)]
	internal sealed class NullableAttribute : Attribute
	{
		public readonly byte[] NullableFlags;

		public NullableAttribute(byte P_0)
		{
			NullableFlags = new byte[1] { P_0 };
		}

		public NullableAttribute(byte[] P_0)
		{
			NullableFlags = P_0;
		}
	}
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Interface | AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)]
	internal sealed class NullableContextAttribute : Attribute
	{
		public readonly byte Flag;

		public NullableContextAttribute(byte P_0)
		{
			Flag = P_0;
		}
	}
}
namespace hlb_hutaoModel
{
	public class hlb_hutao : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_hutao";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	[BepInPlugin("hlb.hlb_hutaoModel", "hlb_hutao Model", "1.0.0")]
	[BepInDependency(/*Could not decode attribute arguments.*/)]
	public class Plugin : BaseUnityPlugin
	{
		private void Awake()
		{
			//IL_0021: Unknown result type (might be due to invalid IL or missing references)
			//IL_0027: Expected O, but got Unknown
			Assets.PopulateAssets();
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_胡桃", typeof(hlb_hutao));
			Harmony val = new Harmony("hlb.hlb_hutaoModel");
			val.PatchAll();
			((BaseUnityPlugin)this).Logger.LogInfo((object)"Plugin hlb.hlb_hutaoModel is loaded!");
			((BaseUnityPlugin)this).Logger.LogInfo((object)"\r\nMOD不收费,如果你是购买的,恭喜你你被骗了! \r\n  _    _ _      ____  \r\n | |  | | |    |  _ \\ \r\n | |__| | |    | |_) |\r\n |  __  | |    |  _ < \r\n | |  | | |____| |_) |\r\n |_|  |_|______|____/ \r\n                      \r\n                      \r\n\r\n");
		}
	}
	public static class Assets
	{
		public static string mainAssetBundleName = "hlb_hutao";

		public static AssetBundle MainAssetBundle = null;

		private static string GetAssemblyName()
		{
			return Assembly.GetExecutingAssembly().GetName().Name;
		}

		public static void PopulateAssets()
		{
			if ((Object)(object)MainAssetBundle == (Object)null)
			{
				using (Stream stream = Assembly.GetExecutingAssembly().GetManifestResourceStream(GetAssemblyName() + "." + mainAssetBundleName))
				{
					MainAssetBundle = AssetBundle.LoadFromStream(stream);
				}
			}
		}
	}
}
namespace System.Runtime.CompilerServices
{
	[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
	internal sealed class IgnoresAccessChecksToAttribute : Attribute
	{
		public IgnoresAccessChecksToAttribute(string assemblyName)
		{
		}
	}
}

BepInEx/plugins/hlb_paimeng.dll

Decompiled 8 months ago
using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using BepInEx;
using HarmonyLib;
using Microsoft.CodeAnalysis;
using ModelReplacement;
using UnityEngine;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")]
[assembly: IgnoresAccessChecksTo("")]
[assembly: AssemblyCompany("hlb_paimeng")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("hlb_paimeng")]
[assembly: AssemblyTitle("hlb_paimeng")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("1.0.0.0")]
[module: UnverifiableCode]
namespace Microsoft.CodeAnalysis
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	internal sealed class EmbeddedAttribute : Attribute
	{
	}
}
namespace System.Runtime.CompilerServices
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Parameter | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter, AllowMultiple = false, Inherited = false)]
	internal sealed class NullableAttribute : Attribute
	{
		public readonly byte[] NullableFlags;

		public NullableAttribute(byte P_0)
		{
			NullableFlags = new byte[1] { P_0 };
		}

		public NullableAttribute(byte[] P_0)
		{
			NullableFlags = P_0;
		}
	}
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Interface | AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)]
	internal sealed class NullableContextAttribute : Attribute
	{
		public readonly byte Flag;

		public NullableContextAttribute(byte P_0)
		{
			Flag = P_0;
		}
	}
}
namespace hlb_paimengModel
{
	public class hlb_paimeng : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_paimeng";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	[BepInPlugin("hlb.hlb_paimengModel", "hlb_paimeng Model", "1.0.0")]
	[BepInDependency(/*Could not decode attribute arguments.*/)]
	public class Plugin : BaseUnityPlugin
	{
		private void Awake()
		{
			//IL_0021: Unknown result type (might be due to invalid IL or missing references)
			//IL_0027: Expected O, but got Unknown
			Assets.PopulateAssets();
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_肌肉派蒙", typeof(hlb_paimeng));
			Harmony val = new Harmony("hlb.hlb_paimengModel");
			val.PatchAll();
			((BaseUnityPlugin)this).Logger.LogInfo((object)"Plugin hlb.hlb_paimengModel is loaded!");
			((BaseUnityPlugin)this).Logger.LogInfo((object)"\r\n本MOD仅在狐萝卜的整合包使用,如果出现在其他地方,都是未允许的! \r\n  _    _ _      ____  \r\n | |  | | |    |  _ \\ \r\n | |__| | |    | |_) |\r\n |  __  | |    |  _ < \r\n | |  | | |____| |_) |\r\n |_|  |_|______|____/ \r\n                      \r\n                      \r\n\r\n");
		}
	}
	public static class Assets
	{
		public static string mainAssetBundleName = "hlb_paimeng";

		public static AssetBundle MainAssetBundle = null;

		private static string GetAssemblyName()
		{
			return Assembly.GetExecutingAssembly().GetName().Name;
		}

		public static void PopulateAssets()
		{
			if ((Object)(object)MainAssetBundle == (Object)null)
			{
				using (Stream stream = Assembly.GetExecutingAssembly().GetManifestResourceStream(GetAssemblyName() + "." + mainAssetBundleName))
				{
					MainAssetBundle = AssetBundle.LoadFromStream(stream);
				}
			}
		}
	}
}
namespace System.Runtime.CompilerServices
{
	[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
	internal sealed class IgnoresAccessChecksToAttribute : Attribute
	{
		public IgnoresAccessChecksToAttribute(string assemblyName)
		{
		}
	}
}

BepInEx/plugins/hlb_yuanshen1.dll

Decompiled 8 months ago
using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using BepInEx;
using HarmonyLib;
using Microsoft.CodeAnalysis;
using ModelReplacement;
using UnityEngine;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")]
[assembly: IgnoresAccessChecksTo("")]
[assembly: AssemblyCompany("hlb_yuanshen1")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("hlb_yuanshen1")]
[assembly: AssemblyTitle("hlb_yuanshen1")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("1.0.0.0")]
[module: UnverifiableCode]
namespace Microsoft.CodeAnalysis
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	internal sealed class EmbeddedAttribute : Attribute
	{
	}
}
namespace System.Runtime.CompilerServices
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Parameter | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter, AllowMultiple = false, Inherited = false)]
	internal sealed class NullableAttribute : Attribute
	{
		public readonly byte[] NullableFlags;

		public NullableAttribute(byte P_0)
		{
			NullableFlags = new byte[1] { P_0 };
		}

		public NullableAttribute(byte[] P_0)
		{
			NullableFlags = P_0;
		}
	}
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Interface | AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)]
	internal sealed class NullableContextAttribute : Attribute
	{
		public readonly byte Flag;

		public NullableContextAttribute(byte P_0)
		{
			Flag = P_0;
		}
	}
}
namespace hlb_yuanshen1Model
{
	public class hlb_yskong : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yskong";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_ysying : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_ysying";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_ysnxd : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_ysnxd";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_ysqiqi : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_ysqiqi";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yskeli : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yskeli";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_ysdiaona : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_ysdiaona";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yspaimeng : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yspaimeng";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_ysqqren : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_ysqqren";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_ysqgdqqren : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_ysqgdqqren";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yskeliqhxz : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yskeliqhxz";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_ysyaoyao : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_ysyaoyao";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yszaoyou : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yszaoyou";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	[BepInPlugin("hlb.hlb_yuanshen1Model", "hlb_yuanshen1 Model", "1.0.0")]
	[BepInDependency(/*Could not decode attribute arguments.*/)]
	public class Plugin : BaseUnityPlugin
	{
		private void Awake()
		{
			//IL_0108: Unknown result type (might be due to invalid IL or missing references)
			//IL_010e: Expected O, but got Unknown
			Assets.PopulateAssets();
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_莹", typeof(hlb_ysying));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_空", typeof(hlb_yskong));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_纳西达", typeof(hlb_ysnxd));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_七七", typeof(hlb_ysqiqi));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_可莉", typeof(hlb_yskeli));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_迪奥娜", typeof(hlb_ysdiaona));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_派蒙", typeof(hlb_yspaimeng));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_丘丘人", typeof(hlb_ysqqren));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_奇怪的丘丘人", typeof(hlb_ysqgdqqren));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_可莉-琪花星烛", typeof(hlb_yskeliqhxz));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_瑶瑶", typeof(hlb_ysyaoyao));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_早柚", typeof(hlb_yszaoyou));
			Harmony val = new Harmony("hlb.hlb_yuanshen1Model");
			val.PatchAll();
			((BaseUnityPlugin)this).Logger.LogInfo((object)"Plugin hlb.hlb_yuanshen1Model is loaded!");
			((BaseUnityPlugin)this).Logger.LogInfo((object)"\r\nMOD不收费,如果你是购买的,恭喜你你被骗了! \r\n  _    _ _      ____  \r\n | |  | | |    |  _ \\ \r\n | |__| | |    | |_) |\r\n |  __  | |    |  _ < \r\n | |  | | |____| |_) |\r\n |_|  |_|______|____/ \r\n                      \r\n                      \r\n\r\n禁止公开以及倒卖\r\n");
		}
	}
	public static class Assets
	{
		public static string mainAssetBundleName = "hlb_yuanshen1";

		public static AssetBundle MainAssetBundle = null;

		private static string GetAssemblyName()
		{
			return Assembly.GetExecutingAssembly().GetName().Name;
		}

		public static void PopulateAssets()
		{
			if ((Object)(object)MainAssetBundle == (Object)null)
			{
				using (Stream stream = Assembly.GetExecutingAssembly().GetManifestResourceStream(GetAssemblyName() + "." + mainAssetBundleName))
				{
					MainAssetBundle = AssetBundle.LoadFromStream(stream);
				}
			}
		}
	}
}
namespace System.Runtime.CompilerServices
{
	[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
	internal sealed class IgnoresAccessChecksToAttribute : Attribute
	{
		public IgnoresAccessChecksToAttribute(string assemblyName)
		{
		}
	}
}

BepInEx/plugins/hlb_yuanshen2.dll

Decompiled 8 months ago
using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using BepInEx;
using HarmonyLib;
using Microsoft.CodeAnalysis;
using ModelReplacement;
using UnityEngine;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")]
[assembly: IgnoresAccessChecksTo("")]
[assembly: AssemblyCompany("hlb_yuanshen2")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("hlb_yuanshen2")]
[assembly: AssemblyTitle("hlb_yuanshen2")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("1.0.0.0")]
[module: UnverifiableCode]
namespace Microsoft.CodeAnalysis
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	internal sealed class EmbeddedAttribute : Attribute
	{
	}
}
namespace System.Runtime.CompilerServices
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Parameter | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter, AllowMultiple = false, Inherited = false)]
	internal sealed class NullableAttribute : Attribute
	{
		public readonly byte[] NullableFlags;

		public NullableAttribute(byte P_0)
		{
			NullableFlags = new byte[1] { P_0 };
		}

		public NullableAttribute(byte[] P_0)
		{
			NullableFlags = P_0;
		}
	}
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Interface | AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)]
	internal sealed class NullableContextAttribute : Attribute
	{
		public readonly byte Flag;

		public NullableContextAttribute(byte P_0)
		{
			Flag = P_0;
		}
	}
}
namespace hlb_yuanshen2Model
{
	public class hlb_yanshendadaliya : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yanshendadaliya";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yanshenwulang : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yanshenwulang";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yanshenleidianjiangjun : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yanshenleidianjiangjun";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yanshenqiliangliang : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yanshenqiliangliang";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yaunshengzhonglis : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yaunshengzhonglis";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yanshenkeqing : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yanshenkeqing";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yanshenhuanglongyidou : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yanshenhuanglongyidou";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yanshenbachongshengzhi : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yanshenbachongshengzhi";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yanshenshenglilinghua : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yanshenshenglilinghua";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yanshenxiao : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yanshenxiao";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	[BepInPlugin("hlb.hlb_yuanshen2Model", "hlb_yuanshen2 Model", "1.0.0")]
	[BepInDependency(/*Could not decode attribute arguments.*/)]
	public class Plugin : BaseUnityPlugin
	{
		private void Awake()
		{
			//IL_00de: Unknown result type (might be due to invalid IL or missing references)
			//IL_00e4: Expected O, but got Unknown
			Assets.PopulateAssets();
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_达达利亚", typeof(hlb_yanshendadaliya));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_五郎", typeof(hlb_yanshenwulang));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_雷电将军", typeof(hlb_yanshenleidianjiangjun));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_绮良良", typeof(hlb_yanshenqiliangliang));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_钟离", typeof(hlb_yaunshengzhonglis));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_刻晴", typeof(hlb_yanshenkeqing));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_荒泷一斗", typeof(hlb_yanshenhuanglongyidou));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_八重神子", typeof(hlb_yanshenbachongshengzhi));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_神里绫华", typeof(hlb_yanshenshenglilinghua));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_魈", typeof(hlb_yanshenxiao));
			Harmony val = new Harmony("hlb.hlb_yuanshen2Model");
			val.PatchAll();
			((BaseUnityPlugin)this).Logger.LogInfo((object)"Plugin hlb.hlb_yuanshen2Model is loaded!");
			((BaseUnityPlugin)this).Logger.LogInfo((object)"\r\nMOD不收费,如果你是购买的,恭喜你你被骗了! \r\n  _    _ _      ____  \r\n | |  | | |    |  _ \\ \r\n | |__| | |    | |_) |\r\n |  __  | |    |  _ < \r\n | |  | | |____| |_) |\r\n |_|  |_|______|____/ \r\n                      \r\n                      \r\n\r\n禁止公开以及倒卖\r\n");
		}
	}
	public static class Assets
	{
		public static string mainAssetBundleName = "hlb_yuanshen2";

		public static AssetBundle MainAssetBundle = null;

		private static string GetAssemblyName()
		{
			return Assembly.GetExecutingAssembly().GetName().Name;
		}

		public static void PopulateAssets()
		{
			if ((Object)(object)MainAssetBundle == (Object)null)
			{
				using (Stream stream = Assembly.GetExecutingAssembly().GetManifestResourceStream(GetAssemblyName() + "." + mainAssetBundleName))
				{
					MainAssetBundle = AssetBundle.LoadFromStream(stream);
				}
			}
		}
	}
}
namespace System.Runtime.CompilerServices
{
	[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
	internal sealed class IgnoresAccessChecksToAttribute : Attribute
	{
		public IgnoresAccessChecksToAttribute(string assemblyName)
		{
		}
	}
}

BepInEx/plugins/hlb_yuanshen3.dll

Decompiled 8 months ago
using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using BepInEx;
using HarmonyLib;
using Microsoft.CodeAnalysis;
using ModelReplacement;
using UnityEngine;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")]
[assembly: IgnoresAccessChecksTo("")]
[assembly: AssemblyCompany("hlb_yuanshen3")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("hlb_yuanshen3")]
[assembly: AssemblyTitle("hlb_yuanshen3")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("1.0.0.0")]
[module: UnverifiableCode]
namespace Microsoft.CodeAnalysis
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	internal sealed class EmbeddedAttribute : Attribute
	{
	}
}
namespace System.Runtime.CompilerServices
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Parameter | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter, AllowMultiple = false, Inherited = false)]
	internal sealed class NullableAttribute : Attribute
	{
		public readonly byte[] NullableFlags;

		public NullableAttribute(byte P_0)
		{
			NullableFlags = new byte[1] { P_0 };
		}

		public NullableAttribute(byte[] P_0)
		{
			NullableFlags = P_0;
		}
	}
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Interface | AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)]
	internal sealed class NullableContextAttribute : Attribute
	{
		public readonly byte Flag;

		public NullableContextAttribute(byte P_0)
		{
			Flag = P_0;
		}
	}
}
namespace hlb_yuanshen3Model
{
	public class hlb_yuanshengqing : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshengqing";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshengdiluke : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshengdiluke";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshengdilukeyhzy : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshengdilukeyhzy";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshengleizhe : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshengleizhe";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshengzhongliyundongfu : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshengzhongliyundongfu";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshengwendi : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshengwendi";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshengmeiluxinxgw : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshengmeiluxinxgw";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenmeiluxinofn : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenmeiluxinofn";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenmeiluxinblx : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenmeiluxinblx";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenmeiluxinmmh : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenmeiluxinmmh";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenmeiluxinks : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenmeiluxinks";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshengxigewen : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshengxigewen";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshengxialuodi : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshengxialuodi";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshengwanye : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshengwanye";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenglingnite : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenglingnite";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshengfuningna : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshengfuningna";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshengkanyafyyf : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshengkanyafyyf";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshengshenghelhyl : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshengshenghelhyl";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshengshenghe : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshengshenghe";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshengganyuxyyf : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshengganyuxyyf";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshengganyu : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshengganyu";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshengliulangzhe : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshengliulangzhe";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshengkanya : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshengkanya";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	[BepInPlugin("hlb.hlb_yuanshen3Model", "hlb_yuanshen3 Model", "1.0.0")]
	[BepInDependency(/*Could not decode attribute arguments.*/)]
	public class Plugin : BaseUnityPlugin
	{
		private void Awake()
		{
			//IL_01ef: Unknown result type (might be due to invalid IL or missing references)
			//IL_01f5: Expected O, but got Unknown
			Assets.PopulateAssets();
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_琴", typeof(hlb_yuanshengqing));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_迪卢克", typeof(hlb_yuanshengdiluke));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_迪卢克-殷红终夜", typeof(hlb_yuanshengdilukeyhzy));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_雷泽", typeof(hlb_yuanshengleizhe));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_钟离-运动服", typeof(hlb_yuanshengzhongliyundongfu));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_温迪", typeof(hlb_yuanshengwendi));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_美露莘-希格雯", typeof(hlb_yuanshengmeiluxinxgw));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_美露莘-欧菲妮", typeof(hlb_yuanshenmeiluxinofn));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_美露莘-布蕾莘", typeof(hlb_yuanshenmeiluxinblx));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_美露莘-玛梅赫", typeof(hlb_yuanshenmeiluxinmmh));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_美露莘-柯莎", typeof(hlb_yuanshenmeiluxinks));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_希格雯", typeof(hlb_yuanshengxigewen));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_夏洛蒂", typeof(hlb_yuanshengxialuodi));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_万叶", typeof(hlb_yuanshengwanye));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_芙宁娜", typeof(hlb_yuanshengfuningna));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_琳妮特", typeof(hlb_yuanshenglingnite));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_申鹤-冷花幽露", typeof(hlb_yuanshengshenghelhyl));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_申鹤", typeof(hlb_yuanshengshenghe));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_甘雨-玄玉瑶芳", typeof(hlb_yuanshengganyuxyyf));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_甘雨", typeof(hlb_yuanshengganyu));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_流浪者", typeof(hlb_yuanshengliulangzhe));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_凯亚", typeof(hlb_yuanshengkanya));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_凯亚-帆影游风", typeof(hlb_yuanshengkanyafyyf));
			Harmony val = new Harmony("hlb.hlb_yuanshen3Model");
			val.PatchAll();
			((BaseUnityPlugin)this).Logger.LogInfo((object)"Plugin hlb.hlb_yuanshen3Model is loaded!");
			((BaseUnityPlugin)this).Logger.LogInfo((object)"\r\nMOD不收费,如果你是购买的,恭喜你你被骗了! \r\n  _    _ _      ____  \r\n | |  | | |    |  _ \\ \r\n | |__| | |    | |_) |\r\n |  __  | |    |  _ < \r\n | |  | | |____| |_) |\r\n |_|  |_|______|____/ \r\n                      \r\n                      \r\n\r\n禁止公开以及倒卖\r\n");
		}
	}
	public static class Assets
	{
		public static string mainAssetBundleName = "hlb_yuanshen3";

		public static AssetBundle MainAssetBundle = null;

		private static string GetAssemblyName()
		{
			return Assembly.GetExecutingAssembly().GetName().Name;
		}

		public static void PopulateAssets()
		{
			if ((Object)(object)MainAssetBundle == (Object)null)
			{
				using (Stream stream = Assembly.GetExecutingAssembly().GetManifestResourceStream(GetAssemblyName() + "." + mainAssetBundleName))
				{
					MainAssetBundle = AssetBundle.LoadFromStream(stream);
				}
			}
		}
	}
}
namespace System.Runtime.CompilerServices
{
	[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
	internal sealed class IgnoresAccessChecksToAttribute : Attribute
	{
		public IgnoresAccessChecksToAttribute(string assemblyName)
		{
		}
	}
}

BepInEx/plugins/hlb_yuanshen4.dll

Decompiled 8 months ago
using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using BepInEx;
using HarmonyLib;
using Microsoft.CodeAnalysis;
using ModelReplacement;
using UnityEngine;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")]
[assembly: IgnoresAccessChecksTo("")]
[assembly: AssemblyCompany("hlb_yuanshen4")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("hlb_yuanshen4")]
[assembly: AssemblyTitle("hlb_yuanshen4")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("1.0.0.0")]
[module: UnverifiableCode]
namespace Microsoft.CodeAnalysis
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	internal sealed class EmbeddedAttribute : Attribute
	{
	}
}
namespace System.Runtime.CompilerServices
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Parameter | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter, AllowMultiple = false, Inherited = false)]
	internal sealed class NullableAttribute : Attribute
	{
		public readonly byte[] NullableFlags;

		public NullableAttribute(byte P_0)
		{
			NullableFlags = new byte[1] { P_0 };
		}

		public NullableAttribute(byte[] P_0)
		{
			NullableFlags = P_0;
		}
	}
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Interface | AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)]
	internal sealed class NullableContextAttribute : Attribute
	{
		public readonly byte Flag;

		public NullableContextAttribute(byte P_0)
		{
			Flag = P_0;
		}
	}
}
namespace hlb_yuanshen4Model
{
	public class hlb_yuanshenfeimini : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenfeimini";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshefeixieer : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshefeixieer";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshelaioushili : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshelaioushili";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshelaiyila : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshelaiyila";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenabeiduo : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenabeiduo";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenaierhaisheng : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenaierhaisheng";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenanbo : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenanbo";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenbabala : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenbabala";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenbabalasyxz : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenbabalasyxz";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenbaishu : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenbaishu";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenbannite : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenbannite";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenbeidou : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenbeidou";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshendixiya : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshendixiya";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenduoli : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenduoli";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenfalushan : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenfalushan";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenjiuqiren : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenjiuqiren";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenjiuyiaoshaluo : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenjiuyiaoshaluo";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenkandishi : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenkandishi";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenkawei : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenkawei";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenkelai : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenkelai";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenkeqingnjpq : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenkeqingnjpq";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenfeixianerjyzm : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenfeixianerjyzm";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenlingni : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenlingni";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenlisha : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenlisha";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenlishayyfm : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenlishayyfm";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenluyeyuanpingzhang : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenluyeyuanpingzhang";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenmika : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenmika";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenmona : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenmona";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	[BepInPlugin("hlb.hlb_yuanshen4Model", "hlb_yuanshen4 Model", "1.0.0")]
	[BepInDependency(/*Could not decode attribute arguments.*/)]
	public class Plugin : BaseUnityPlugin
	{
		private void Awake()
		{
			//IL_0258: Unknown result type (might be due to invalid IL or missing references)
			//IL_025e: Expected O, but got Unknown
			Assets.PopulateAssets();
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_菲米尼", typeof(hlb_yuanshenfeimini));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_菲谢尔", typeof(hlb_yuanshefeixieer));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_莱欧斯利", typeof(hlb_yuanshelaioushili));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_莱依拉", typeof(hlb_yuanshelaiyila));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_阿贝多", typeof(hlb_yuanshenabeiduo));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_艾尔海森", typeof(hlb_yuanshenaierhaisheng));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_安柏", typeof(hlb_yuanshenanbo));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_芭芭拉", typeof(hlb_yuanshenbabala));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_芭芭拉-闪耀协奏", typeof(hlb_yuanshenbabalasyxz));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_白术", typeof(hlb_yuanshenbaishu));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_班尼特", typeof(hlb_yuanshenbannite));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_北斗", typeof(hlb_yuanshenbeidou));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_迪希雅", typeof(hlb_yuanshendixiya));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_多莉", typeof(hlb_yuanshenduoli));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_珐露珊", typeof(hlb_yuanshenfalushan));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_久岐忍", typeof(hlb_yuanshenjiuqiren));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_九条裟罗", typeof(hlb_yuanshenjiuyiaoshaluo));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_坎蒂丝", typeof(hlb_yuanshenkandishi));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_卡维", typeof(hlb_yuanshenkawei));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_柯莱", typeof(hlb_yuanshenkelai));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_刻晴-霓裾翩跹", typeof(hlb_yuanshenkeqingnjpq));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_菲谢尔-极夜真梦", typeof(hlb_yuanshenfeixianerjyzm));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_林尼", typeof(hlb_yuanshenlingni));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_丽莎", typeof(hlb_yuanshenlisha));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_丽莎-叶隐芳名", typeof(hlb_yuanshenlishayyfm));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_鹿野院平藏", typeof(hlb_yuanshenluyeyuanpingzhang));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_米卡", typeof(hlb_yuanshenmika));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_莫娜", typeof(hlb_yuanshenmona));
			Harmony val = new Harmony("hlb.hlb_yuanshen4Model");
			val.PatchAll();
			((BaseUnityPlugin)this).Logger.LogInfo((object)"Plugin hlb.hlb_yuanshen4Model is loaded!");
			((BaseUnityPlugin)this).Logger.LogInfo((object)"\r\nMOD不收费,如果你是购买的,恭喜你你被骗了! \r\n  _    _ _      ____  \r\n | |  | | |    |  _ \\ \r\n | |__| | |    | |_) |\r\n |  __  | |    |  _ < \r\n | |  | | |____| |_) |\r\n |_|  |_|______|____/ \r\n                      \r\n                      \r\n\r\n禁止公开以及倒卖\r\n");
		}
	}
	public static class Assets
	{
		public static string mainAssetBundleName = "hlb_yuanshen4";

		public static AssetBundle MainAssetBundle = null;

		private static string GetAssemblyName()
		{
			return Assembly.GetExecutingAssembly().GetName().Name;
		}

		public static void PopulateAssets()
		{
			if ((Object)(object)MainAssetBundle == (Object)null)
			{
				using (Stream stream = Assembly.GetExecutingAssembly().GetManifestResourceStream(GetAssemblyName() + "." + mainAssetBundleName))
				{
					MainAssetBundle = AssetBundle.LoadFromStream(stream);
				}
			}
		}
	}
}
namespace System.Runtime.CompilerServices
{
	[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
	internal sealed class IgnoresAccessChecksToAttribute : Attribute
	{
		public IgnoresAccessChecksToAttribute(string assemblyName)
		{
		}
	}
}

BepInEx/plugins/hlb_yuanshen5.dll

Decompiled 8 months ago
using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using BepInEx;
using HarmonyLib;
using Microsoft.CodeAnalysis;
using ModelReplacement;
using UnityEngine;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")]
[assembly: IgnoresAccessChecksTo("")]
[assembly: AssemblyCompany("hlb_yuanshen5")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("hlb_yuanshen5")]
[assembly: AssemblyTitle("hlb_yuanshen5")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("1.0.0.0")]
[module: UnverifiableCode]
namespace Microsoft.CodeAnalysis
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	internal sealed class EmbeddedAttribute : Attribute
	{
	}
}
namespace System.Runtime.CompilerServices
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Parameter | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter, AllowMultiple = false, Inherited = false)]
	internal sealed class NullableAttribute : Attribute
	{
		public readonly byte[] NullableFlags;

		public NullableAttribute(byte P_0)
		{
			NullableFlags = new byte[1] { P_0 };
		}

		public NullableAttribute(byte[] P_0)
		{
			NullableFlags = P_0;
		}
	}
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Interface | AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)]
	internal sealed class NullableContextAttribute : Attribute
	{
		public readonly byte Flag;

		public NullableContextAttribute(byte P_0)
		{
			Flag = P_0;
		}
	}
}
namespace hlb_yuanshen5Model
{
	public class hlb_yuanshennaweilaite : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshennaweilaite";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshennaweiya : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshennaweiya";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshennchongyun : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshennchongyun";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshennilu : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshennilu";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenningauang : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenningauang";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenningguangszyl : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenningguangszyl";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshennuoaier : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshennuoaier";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenqinghfzm : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenqinghfzm";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshensainuo : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshensainuo";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenshaluoliya : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenshaluoliya";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenshanhugongxinhai : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenshanhugongxinhai";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenshatang : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenshatang";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenshenglilinghuahslx : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenshenglilinghuahslx";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenshenlilingren : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenshenlilingren";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshentinali : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshentinali";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshentuoma : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshentuoma";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenxiangling : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenxiangling";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenxianyun : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenxianyun";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenxiaogong : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenxiaogong";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenxiawolei : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenxiawolei";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenxinqiuyhzs : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenxinqiuyhzs";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenxinyan : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenxinyan";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenyefei : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenyefei";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenyelai : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenyelai";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenyoula : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenyoula";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenyunjing : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenyunjing";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshexingqiu : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshexingqiu";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	public class hlb_yuanshenmeiluxinying : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenmeiluxinying";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	[BepInPlugin("hlb.hlb_yuanshen5Model", "hlb_yuanshen5 Model", "1.0.0")]
	[BepInDependency(/*Could not decode attribute arguments.*/)]
	public class Plugin : BaseUnityPlugin
	{
		private void Awake()
		{
			//IL_0258: Unknown result type (might be due to invalid IL or missing references)
			//IL_025e: Expected O, but got Unknown
			Assets.PopulateAssets();
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_那维莱特", typeof(hlb_yuanshennaweilaite));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_娜维娅", typeof(hlb_yuanshennaweiya));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_重云", typeof(hlb_yuanshennchongyun));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_妮露", typeof(hlb_yuanshennilu));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_凝光", typeof(hlb_yuanshenningauang));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_凝光-纱中幽兰", typeof(hlb_yuanshenningguangszyl));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_诺艾尔", typeof(hlb_yuanshennuoaier));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_琴-海风之梦", typeof(hlb_yuanshenqinghfzm));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_赛诺", typeof(hlb_yuanshensainuo));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_罗莎莉亚", typeof(hlb_yuanshenshaluoliya));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_珊瑚宫心海", typeof(hlb_yuanshenshanhugongxinhai));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_砂糖", typeof(hlb_yuanshenshatang));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_神里绫华-花时来信", typeof(hlb_yuanshenshenglilinghuahslx));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_神里绫人", typeof(hlb_yuanshenshenlilingren));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_提纳里", typeof(hlb_yuanshentinali));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_托马", typeof(hlb_yuanshentuoma));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_香菱", typeof(hlb_yuanshenxiangling));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_闲云", typeof(hlb_yuanshenxianyun));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_宵宫", typeof(hlb_yuanshenxiaogong));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_夏沃蕾", typeof(hlb_yuanshenxiawolei));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_行秋-雨化竹身", typeof(hlb_yuanshenxinqiuyhzs));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_辛焱", typeof(hlb_yuanshenxinyan));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_烟绯", typeof(hlb_yuanshenyefei));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_夜兰", typeof(hlb_yuanshenyelai));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_优菈", typeof(hlb_yuanshenyoula));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_云堇", typeof(hlb_yuanshenyunjing));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_行秋", typeof(hlb_yuanshexingqiu));
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_美露莘-莹", typeof(hlb_yuanshenmeiluxinying));
			Harmony val = new Harmony("hlb.hlb_yuanshen5Model");
			val.PatchAll();
			((BaseUnityPlugin)this).Logger.LogInfo((object)"Plugin hlb.hlb_yuanshen5Model is loaded!");
			((BaseUnityPlugin)this).Logger.LogInfo((object)"\r\nMOD不收费,如果你是购买的,恭喜你你被骗了! \r\n  _    _ _      ____  \r\n | |  | | |    |  _ \\ \r\n | |__| | |    | |_) |\r\n |  __  | |    |  _ < \r\n | |  | | |____| |_) |\r\n |_|  |_|______|____/ \r\n                      \r\n                      \r\n\r\n禁止公开以及倒卖\r\n");
		}
	}
	public static class Assets
	{
		public static string mainAssetBundleName = "hlb_yuanshen5";

		public static AssetBundle MainAssetBundle = null;

		private static string GetAssemblyName()
		{
			return Assembly.GetExecutingAssembly().GetName().Name;
		}

		public static void PopulateAssets()
		{
			if ((Object)(object)MainAssetBundle == (Object)null)
			{
				using (Stream stream = Assembly.GetExecutingAssembly().GetManifestResourceStream(GetAssemblyName() + "." + mainAssetBundleName))
				{
					MainAssetBundle = AssetBundle.LoadFromStream(stream);
				}
			}
		}
	}
}
namespace System.Runtime.CompilerServices
{
	[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
	internal sealed class IgnoresAccessChecksToAttribute : Attribute
	{
		public IgnoresAccessChecksToAttribute(string assemblyName)
		{
		}
	}
}

BepInEx/plugins/hlb_yuanshen6.dll

Decompiled 8 months ago
using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using BepInEx;
using HarmonyLib;
using Microsoft.CodeAnalysis;
using ModelReplacement;
using UnityEngine;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")]
[assembly: IgnoresAccessChecksTo("")]
[assembly: AssemblyCompany("hlb_yuanshen6")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("hlb_yuanshen6")]
[assembly: AssemblyTitle("hlb_yuanshen6")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("1.0.0.0")]
[module: UnverifiableCode]
namespace Microsoft.CodeAnalysis
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	internal sealed class EmbeddedAttribute : Attribute
	{
	}
}
namespace System.Runtime.CompilerServices
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Parameter | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter, AllowMultiple = false, Inherited = false)]
	internal sealed class NullableAttribute : Attribute
	{
		public readonly byte[] NullableFlags;

		public NullableAttribute(byte P_0)
		{
			NullableFlags = new byte[1] { P_0 };
		}

		public NullableAttribute(byte[] P_0)
		{
			NullableFlags = P_0;
		}
	}
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Interface | AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)]
	internal sealed class NullableContextAttribute : Attribute
	{
		public readonly byte Flag;

		public NullableContextAttribute(byte P_0)
		{
			Flag = P_0;
		}
	}
}
namespace hlb_yuanshen6Model
{
	public class hlb_yuanshenqianzhi : BodyReplacementBase
	{
		protected override GameObject LoadAssetsAndReturnModel()
		{
			string text = "hlb_yuanshenqianzhi";
			return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
		}
	}
	[BepInPlugin("hlb.hlb_yuanshen6Model", "hlb_yuanshen6 Model", "1.0.0")]
	[BepInDependency(/*Could not decode attribute arguments.*/)]
	public class Plugin : BaseUnityPlugin
	{
		private void Awake()
		{
			//IL_0021: Unknown result type (might be due to invalid IL or missing references)
			//IL_0027: Expected O, but got Unknown
			Assets.PopulateAssets();
			ModelReplacementAPI.RegisterSuitModelReplacement("狐萝卜_原神_千织", typeof(hlb_yuanshenqianzhi));
			Harmony val = new Harmony("hlb.hlb_yuanshen6Model");
			val.PatchAll();
			((BaseUnityPlugin)this).Logger.LogInfo((object)"Plugin hlb.hlb_yuanshen6Model is loaded!");
			((BaseUnityPlugin)this).Logger.LogInfo((object)"\r\nMOD不收费,如果你是购买的,恭喜你你被骗了! \r\n  _    _ _      ____  \r\n | |  | | |    |  _ \\ \r\n | |__| | |    | |_) |\r\n |  __  | |    |  _ < \r\n | |  | | |____| |_) |\r\n |_|  |_|______|____/ \r\n                      \r\n                      \r\n\r\n禁止公开以及倒卖\r\n");
		}
	}
	public static class Assets
	{
		public static string mainAssetBundleName = "hlb_yuanshen6";

		public static AssetBundle MainAssetBundle = null;

		private static string GetAssemblyName()
		{
			return Assembly.GetExecutingAssembly().GetName().Name;
		}

		public static void PopulateAssets()
		{
			if ((Object)(object)MainAssetBundle == (Object)null)
			{
				using (Stream stream = Assembly.GetExecutingAssembly().GetManifestResourceStream(GetAssemblyName() + "." + mainAssetBundleName))
				{
					MainAssetBundle = AssetBundle.LoadFromStream(stream);
				}
			}
		}
	}
}
namespace System.Runtime.CompilerServices
{
	[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
	internal sealed class IgnoresAccessChecksToAttribute : Attribute
	{
		public IgnoresAccessChecksToAttribute(string assemblyName)
		{
		}
	}
}