Decompiled source of Viktor Playermodel Pack v2.0.1
Viktor Playermodel Pack.dll
Decompiled 10 months ago
The result has been truncated due to the large size, download it to view full contents!
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 BepInEx.Configuration; using HarmonyLib; using LethalConfig; using LethalConfig.ConfigItems; using LethalConfig.ConfigItems.Options; using LethalNetworkAPI; using Microsoft.CodeAnalysis; 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-CSharp")] [assembly: AssemblyCompany("Viktor Playermodel Pack")] [assembly: AssemblyConfiguration("Debug")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0")] [assembly: AssemblyProduct("Viktor Playermodel Pack")] [assembly: AssemblyTitle("Viktor Playermodel Pack")] [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 ModelReplacement { public class VIKTOR_SUIT : BodyReplacementBase { public static LethalNetworkVariable<int> ViktorSkinValueNAPI_MODEL = new LethalNetworkVariable<int>("ViktorSkinValueNAPI_MODEL") { Value = (int)Plugin.ViktorSkin.Value }; public static LethalNetworkVariable<bool> BaseViktorClawNAPI = new LethalNetworkVariable<bool>("BaseViktorClawNAPI") { Value = Plugin.BaseViktorClaw.Value }; public static LethalNetworkVariable<int> BaseViktorHairNAPI = new LethalNetworkVariable<int>("BaseViktorHairNAPI") { Value = (int)Plugin.BaseViktorHair.Value }; public static LethalNetworkVariable<int> BaseViktorCapeNAPI = new LethalNetworkVariable<int>("BaseViktorCapeNAPI") { Value = (int)Plugin.BaseViktorCape.Value }; public static LethalNetworkVariable<int> BaseViktorCapeLNAPI = new LethalNetworkVariable<int>("BaseViktorCapeLNAPI") { Value = (int)Plugin.BaseViktorCapeLength.Value }; public static LethalNetworkVariable<bool> BaseViktorMedalNAPI = new LethalNetworkVariable<bool>("BaseViktorMedalNAPI") { Value = Plugin.BaseViktorMedal.Value }; public static LethalNetworkVariable<bool> BaseViktorGlowNAPI = new LethalNetworkVariable<bool>("BaseViktorGlowNAPI") { Value = Plugin.BaseViktorGlow.Value }; public static LethalNetworkVariable<bool> FMViktorClawNAPI = new LethalNetworkVariable<bool>("FMViktorClawNAPI") { Value = Plugin.FMViktorClaw.Value }; public static LethalNetworkVariable<int> FMViktorCapeNAPI = new LethalNetworkVariable<int>("FMViktorCapeNAPI") { Value = (int)Plugin.FMViktorCape.Value }; public static LethalNetworkVariable<int> FMViktorCapeLNAPI = new LethalNetworkVariable<int>("FMViktorCapeLNAPI") { Value = (int)Plugin.FMViktorCapeLength.Value }; public static LethalNetworkVariable<bool> FMViktorGlowNAPI = new LethalNetworkVariable<bool>("FMViktorGlowNAPI") { Value = Plugin.FMViktorGlow.Value }; public static LethalNetworkVariable<bool> ProtoViktorClawNAPI = new LethalNetworkVariable<bool>("ProtoViktorClawNAPI") { Value = Plugin.ProtoViktorClaw.Value }; public static LethalNetworkVariable<int> ProtoViktorCapeNAPI = new LethalNetworkVariable<int>("ProtoViktorCapeNAPI") { Value = (int)Plugin.ProtoViktorCape.Value }; public static LethalNetworkVariable<int> ProtoViktorCapeLNAPI = new LethalNetworkVariable<int>("ProtoViktorCapeLNAPI") { Value = (int)Plugin.ProtoViktorCapeLength.Value }; public static LethalNetworkVariable<bool> ProtoViktorGlassesNAPI = new LethalNetworkVariable<bool>("ProtoViktorGlassesNAPI") { Value = Plugin.ProtoViktorGlasses.Value }; public static LethalNetworkVariable<bool> ProtoViktorGlowNAPI = new LethalNetworkVariable<bool>("ProtoViktorGlowNAPI") { Value = Plugin.ProtoViktorGlow.Value }; public static LethalNetworkVariable<bool> CreatorViktorClawNAPI = new LethalNetworkVariable<bool>("CreatorViktorClawNAPI") { Value = Plugin.CreatorViktorClaw.Value }; public static LethalNetworkVariable<bool> CreatorViktorCapeNAPI = new LethalNetworkVariable<bool>("CreatorViktorCapeNAPI") { Value = Plugin.CreatorViktorCape.Value }; public static LethalNetworkVariable<int> CreatorViktorCapeLNAPI = new LethalNetworkVariable<int>("CreatorViktorCapeLNAPI") { Value = (int)Plugin.CreatorViktorCapeLength.Value }; public static LethalNetworkVariable<bool> CreatorViktorLShoulderNAPI = new LethalNetworkVariable<bool>("CreatorViktorLShoulderNAPI") { Value = Plugin.CreatorViktorLShoulder.Value }; public static LethalNetworkVariable<bool> CreatorViktorRShoulderNAPI = new LethalNetworkVariable<bool>("CreatorViktorRShoulderNAPI") { Value = Plugin.CreatorViktorRShoulder.Value }; public static LethalNetworkVariable<bool> CreatorViktorGlowNAPI = new LethalNetworkVariable<bool>("CreatorViktorGlowNAPI") { Value = Plugin.CreatorViktorGlow.Value }; public static LethalNetworkVariable<bool> DSViktorClawNAPI = new LethalNetworkVariable<bool>("DSViktorClawNAPI") { Value = Plugin.DSViktorClaw.Value }; public static LethalNetworkVariable<int> DSViktorCapeNAPI = new LethalNetworkVariable<int>("DSViktorCapeNAPI") { Value = (int)Plugin.DSViktorCape.Value }; public static LethalNetworkVariable<int> DSViktorCapeLNAPI = new LethalNetworkVariable<int>("DSViktorCapeLNAPI") { Value = (int)Plugin.DSViktorCapeLength.Value }; public static LethalNetworkVariable<bool> DSViktorMaskNAPI = new LethalNetworkVariable<bool>("DSViktorMaskNAPI") { Value = Plugin.DSViktorMask.Value }; public static LethalNetworkVariable<bool> DSViktorGlowNAPI = new LethalNetworkVariable<bool>("DSViktorGlowNAPI") { Value = Plugin.DSViktorGlow.Value }; public static LethalNetworkVariable<int> PsyopsViktorChromaNAPI = new LethalNetworkVariable<int>("PsyopsViktorChromaNAPI") { Value = (int)Plugin.PsyopsViktorChroma.Value }; public static LethalNetworkVariable<bool> PsyopsViktorClawNAPI = new LethalNetworkVariable<bool>("PsyopsViktorClawNAPI") { Value = Plugin.PsyopsViktorClaw.Value }; public static LethalNetworkVariable<int> PsyopsViktorCapeNAPI = new LethalNetworkVariable<int>("PsyopsViktorCapeNAPI") { Value = (int)Plugin.PsyopsViktorCape.Value }; public static LethalNetworkVariable<int> PsyopsViktorCapeLNAPI = new LethalNetworkVariable<int>("PsyopsViktorCapeLNAPI") { Value = (int)Plugin.PsyopsViktorCapeLength.Value }; public static LethalNetworkVariable<bool> PsyopsViktorBagNAPI = new LethalNetworkVariable<bool>("DSViktorBagNAPI") { Value = Plugin.PsyopsViktorBag.Value }; public static LethalNetworkVariable<bool> PsyopsViktorGunNAPI = new LethalNetworkVariable<bool>("DSViktorGunNAPI") { Value = Plugin.PsyopsViktorGun.Value }; public static LethalNetworkVariable<bool> PsyopsViktorGlowNAPI = new LethalNetworkVariable<bool>("DSViktorGlowNAPI") { Value = Plugin.PsyopsViktorGlow.Value }; public static LethalNetworkVariable<int> HNViktorChromaNAPI = new LethalNetworkVariable<int>("HNViktorChromaNAPI") { Value = (int)Plugin.HNViktorChroma.Value }; public static LethalNetworkVariable<bool> HNViktorClawNAPI = new LethalNetworkVariable<bool>("HNViktorClawNAPI") { Value = Plugin.HNViktorClaw.Value }; public static LethalNetworkVariable<bool> HNViktorCapeNAPI = new LethalNetworkVariable<bool>("HNViktorCapeNAPI") { Value = Plugin.HNViktorCape.Value }; public static LethalNetworkVariable<int> HNViktorCapeLNAPI = new LethalNetworkVariable<int>("HNViktorCapeLNAPI") { Value = (int)Plugin.HNViktorCapeLength.Value }; public static LethalNetworkVariable<bool> HNViktorPadNAPI = new LethalNetworkVariable<bool>("HNViktorPadNAPI") { Value = Plugin.HNViktorPad.Value }; public static LethalNetworkVariable<bool> HNViktorNecklaceNAPI = new LethalNetworkVariable<bool>("HNViktorNecklaceNAPI") { Value = Plugin.HNViktorNecklace.Value }; public static LethalNetworkVariable<bool> HNViktorGlowNAPI = new LethalNetworkVariable<bool>("HNViktorGlowNAPI") { Value = Plugin.HNViktorGlow.Value }; public static LethalNetworkVariable<bool> ASViktorArmNAPI = new LethalNetworkVariable<bool>("ASViktorArmNAPI") { Value = Plugin.ASViktorArm.Value }; public static LethalNetworkVariable<bool> ASViktorHaloNAPI = new LethalNetworkVariable<bool>("ASViktorHaloNAPI") { Value = Plugin.ASViktorHalo.Value }; public static LethalNetworkVariable<bool> ASViktorCapeNAPI = new LethalNetworkVariable<bool>("ASViktorCapeNAPI") { Value = Plugin.ASViktorCape.Value }; public static LethalNetworkVariable<bool> ASViktorGoldNAPI = new LethalNetworkVariable<bool>("ASViktorGoldNAPI") { Value = Plugin.ASViktorGold.Value }; public static LethalNetworkVariable<bool> ASViktorSkirtNAPI = new LethalNetworkVariable<bool>("ASViktorSkirtNAPI") { Value = Plugin.ASViktorSkirt.Value }; public static LethalNetworkVariable<bool> ASViktorGlowNAPI = new LethalNetworkVariable<bool>("ASViktorGlowNAPI") { Value = Plugin.ASViktorGlow.Value }; public void Update() { Plugin.ViktorSkin.SettingChanged += delegate { ViktorSkinValueNAPI_MODEL.Value = (int)Plugin.ViktorSkin.Value; }; Plugin.BaseViktorClaw.SettingChanged += delegate { BaseViktorClawNAPI.Value = Plugin.BaseViktorClaw.Value; }; Plugin.BaseViktorHair.SettingChanged += delegate { BaseViktorHairNAPI.Value = (int)Plugin.BaseViktorHair.Value; }; Plugin.BaseViktorCape.SettingChanged += delegate { BaseViktorCapeNAPI.Value = (int)Plugin.BaseViktorCape.Value; }; Plugin.BaseViktorCapeLength.SettingChanged += delegate { BaseViktorCapeLNAPI.Value = (int)Plugin.BaseViktorCapeLength.Value; }; Plugin.BaseViktorMedal.SettingChanged += delegate { BaseViktorMedalNAPI.Value = Plugin.BaseViktorMedal.Value; }; Plugin.BaseViktorGlow.SettingChanged += delegate { BaseViktorGlowNAPI.Value = Plugin.BaseViktorGlow.Value; }; Plugin.FMViktorClaw.SettingChanged += delegate { FMViktorClawNAPI.Value = Plugin.FMViktorClaw.Value; }; Plugin.FMViktorCape.SettingChanged += delegate { FMViktorCapeNAPI.Value = (int)Plugin.FMViktorCape.Value; }; Plugin.FMViktorCapeLength.SettingChanged += delegate { FMViktorCapeLNAPI.Value = (int)Plugin.FMViktorCapeLength.Value; }; Plugin.FMViktorGlow.SettingChanged += delegate { FMViktorGlowNAPI.Value = Plugin.FMViktorGlow.Value; }; Plugin.ProtoViktorClaw.SettingChanged += delegate { ProtoViktorClawNAPI.Value = Plugin.ProtoViktorClaw.Value; }; Plugin.ProtoViktorCape.SettingChanged += delegate { ProtoViktorCapeNAPI.Value = (int)Plugin.ProtoViktorCape.Value; }; Plugin.ProtoViktorCapeLength.SettingChanged += delegate { ProtoViktorCapeLNAPI.Value = (int)Plugin.ProtoViktorCapeLength.Value; }; Plugin.ProtoViktorGlasses.SettingChanged += delegate { ProtoViktorGlassesNAPI.Value = Plugin.ProtoViktorGlasses.Value; }; Plugin.ProtoViktorGlow.SettingChanged += delegate { ProtoViktorGlowNAPI.Value = Plugin.ProtoViktorGlow.Value; }; Plugin.CreatorViktorClaw.SettingChanged += delegate { CreatorViktorClawNAPI.Value = Plugin.CreatorViktorClaw.Value; }; Plugin.CreatorViktorCape.SettingChanged += delegate { CreatorViktorCapeNAPI.Value = Plugin.CreatorViktorCape.Value; }; Plugin.CreatorViktorCapeLength.SettingChanged += delegate { CreatorViktorCapeLNAPI.Value = (int)Plugin.CreatorViktorCapeLength.Value; }; Plugin.CreatorViktorLShoulder.SettingChanged += delegate { CreatorViktorLShoulderNAPI.Value = Plugin.CreatorViktorLShoulder.Value; }; Plugin.CreatorViktorRShoulder.SettingChanged += delegate { CreatorViktorRShoulderNAPI.Value = Plugin.CreatorViktorRShoulder.Value; }; Plugin.CreatorViktorGlow.SettingChanged += delegate { CreatorViktorGlowNAPI.Value = Plugin.CreatorViktorGlow.Value; }; Plugin.DSViktorClaw.SettingChanged += delegate { DSViktorClawNAPI.Value = Plugin.DSViktorClaw.Value; }; Plugin.DSViktorMask.SettingChanged += delegate { DSViktorMaskNAPI.Value = Plugin.DSViktorMask.Value; }; Plugin.DSViktorCape.SettingChanged += delegate { DSViktorCapeNAPI.Value = (int)Plugin.DSViktorCape.Value; }; Plugin.DSViktorCapeLength.SettingChanged += delegate { DSViktorCapeLNAPI.Value = (int)Plugin.DSViktorCapeLength.Value; }; Plugin.DSViktorGlow.SettingChanged += delegate { DSViktorGlowNAPI.Value = Plugin.DSViktorGlow.Value; }; Plugin.PsyopsViktorChroma.SettingChanged += delegate { PsyopsViktorChromaNAPI.Value = (int)Plugin.PsyopsViktorChroma.Value; }; Plugin.PsyopsViktorClaw.SettingChanged += delegate { PsyopsViktorClawNAPI.Value = Plugin.PsyopsViktorClaw.Value; }; Plugin.PsyopsViktorCape.SettingChanged += delegate { PsyopsViktorCapeNAPI.Value = (int)Plugin.PsyopsViktorCape.Value; }; Plugin.PsyopsViktorCapeLength.SettingChanged += delegate { PsyopsViktorCapeLNAPI.Value = (int)Plugin.PsyopsViktorCapeLength.Value; }; Plugin.PsyopsViktorBag.SettingChanged += delegate { PsyopsViktorBagNAPI.Value = Plugin.PsyopsViktorBag.Value; }; Plugin.PsyopsViktorGun.SettingChanged += delegate { PsyopsViktorGunNAPI.Value = Plugin.PsyopsViktorGun.Value; }; Plugin.PsyopsViktorGlow.SettingChanged += delegate { PsyopsViktorGlowNAPI.Value = Plugin.PsyopsViktorGlow.Value; }; Plugin.HNViktorChroma.SettingChanged += delegate { HNViktorChromaNAPI.Value = (int)Plugin.HNViktorChroma.Value; }; Plugin.HNViktorClaw.SettingChanged += delegate { HNViktorClawNAPI.Value = Plugin.HNViktorClaw.Value; }; Plugin.HNViktorCape.SettingChanged += delegate { HNViktorCapeNAPI.Value = Plugin.HNViktorCape.Value; }; Plugin.HNViktorCapeLength.SettingChanged += delegate { HNViktorCapeLNAPI.Value = (int)Plugin.HNViktorCapeLength.Value; }; Plugin.HNViktorPad.SettingChanged += delegate { HNViktorPadNAPI.Value = Plugin.HNViktorPad.Value; }; Plugin.HNViktorNecklace.SettingChanged += delegate { HNViktorNecklaceNAPI.Value = Plugin.HNViktorNecklace.Value; }; Plugin.HNViktorGlow.SettingChanged += delegate { HNViktorGlowNAPI.Value = Plugin.HNViktorGlow.Value; }; Plugin.ASViktorArm.SettingChanged += delegate { ASViktorArmNAPI.Value = Plugin.ASViktorArm.Value; }; Plugin.ASViktorHalo.SettingChanged += delegate { ASViktorHaloNAPI.Value = Plugin.ASViktorHalo.Value; }; Plugin.ASViktorGold.SettingChanged += delegate { ASViktorGoldNAPI.Value = Plugin.ASViktorGold.Value; }; Plugin.ASViktorCape.SettingChanged += delegate { ASViktorCapeNAPI.Value = Plugin.ASViktorCape.Value; }; Plugin.ASViktorSkirt.SettingChanged += delegate { ASViktorSkirtNAPI.Value = Plugin.ASViktorSkirt.Value; }; } protected override GameObject LoadAssetsAndReturnModel() { if (ViktorSkinValueNAPI_MODEL.Value == 1) { Material material = Assets.MainAssetBundle.LoadAsset<Material>("viktor_invis"); Material material2 = Assets.MainAssetBundle.LoadAsset<Material>("VKB_body"); Material material3 = Assets.MainAssetBundle.LoadAsset<Material>("VKB_body_GLOW"); Material material4 = Assets.MainAssetBundle.LoadAsset<Material>("VKB_body_NEW"); if (!BaseViktorClawNAPI.Value) { Debug.Log((object)("HELLO WORLD: VALUE " + BaseViktorCapeNAPI.Value)); if (BaseViktorCapeNAPI.Value == 1) { string text = "viktor_base"; GameObject val = Assets.MainAssetBundle.LoadAsset<GameObject>(text); SkinnedMeshRenderer[] componentsInChildren = val.GetComponentsInChildren<SkinnedMeshRenderer>(); ((Renderer)componentsInChildren[0]).material = material2; ((Renderer)componentsInChildren[1]).material = material3; ((Renderer)componentsInChildren[2]).material = material2; ((Renderer)componentsInChildren[3]).material = material4; ((Renderer)componentsInChildren[4]).material = material2; ((Renderer)componentsInChildren[5]).material = material3; ((Renderer)componentsInChildren[6]).material = material2; ((Renderer)componentsInChildren[7]).material = material2; ((Renderer)componentsInChildren[8]).material = material2; ((Renderer)componentsInChildren[9]).material = material2; if (BaseViktorCapeLNAPI.Value == 1) { ((Renderer)componentsInChildren[2]).material = material; } if (BaseViktorCapeLNAPI.Value == 2) { ((Renderer)componentsInChildren[3]).material = material; } if (BaseViktorHairNAPI.Value == 1) { ((Renderer)componentsInChildren[7]).material = material; } if (BaseViktorHairNAPI.Value == 2) { ((Renderer)componentsInChildren[6]).material = material; } if (BaseViktorMedalNAPI.Value) { ((Renderer)componentsInChildren[9]).material = material; } if (BaseViktorGlowNAPI.Value) { ((Renderer)componentsInChildren[1]).material = material2; ((Renderer)componentsInChildren[5]).material = material2; } return val; } if (BaseViktorCapeNAPI.Value > 1) { Debug.Log((object)("HELLO WORLD: VALUE " + BaseViktorCapeNAPI.Value)); string text2 = "viktor_base_NOCAPE"; GameObject val2 = Assets.MainAssetBundle.LoadAsset<GameObject>(text2); SkinnedMeshRenderer[] componentsInChildren2 = val2.GetComponentsInChildren<SkinnedMeshRenderer>(); ((Renderer)componentsInChildren2[0]).material = material2; ((Renderer)componentsInChildren2[1]).material = material3; ((Renderer)componentsInChildren2[2]).material = material2; ((Renderer)componentsInChildren2[3]).material = material3; ((Renderer)componentsInChildren2[4]).material = material2; ((Renderer)componentsInChildren2[5]).material = material2; ((Renderer)componentsInChildren2[6]).material = material2; ((Renderer)componentsInChildren2[7]).material = material2; if (BaseViktorHairNAPI.Value == 1) { ((Renderer)componentsInChildren2[5]).material = material; } if (BaseViktorHairNAPI.Value == 2) { ((Renderer)componentsInChildren2[4]).material = material; } if (BaseViktorCapeNAPI.Value == 3) { ((Renderer)componentsInChildren2[6]).material = material; ((Renderer)componentsInChildren2[7]).material = material; } if (BaseViktorMedalNAPI.Value) { ((Renderer)componentsInChildren2[7]).material = material; } if (BaseViktorGlowNAPI.Value) { ((Renderer)componentsInChildren2[1]).material = material2; ((Renderer)componentsInChildren2[3]).material = material2; } return val2; } } if (BaseViktorClawNAPI.Value) { if (BaseViktorCapeNAPI.Value == 1) { string text3 = "viktor_base_NOCLAW"; GameObject val3 = Assets.MainAssetBundle.LoadAsset<GameObject>(text3); SkinnedMeshRenderer[] componentsInChildren3 = val3.GetComponentsInChildren<SkinnedMeshRenderer>(); ((Renderer)componentsInChildren3[0]).material = material2; ((Renderer)componentsInChildren3[1]).material = material3; ((Renderer)componentsInChildren3[2]).material = material2; ((Renderer)componentsInChildren3[3]).material = material4; ((Renderer)componentsInChildren3[4]).material = material2; ((Renderer)componentsInChildren3[5]).material = material2; ((Renderer)componentsInChildren3[6]).material = material2; ((Renderer)componentsInChildren3[7]).material = material2; if (BaseViktorCapeLNAPI.Value == 1) { ((Renderer)componentsInChildren3[2]).material = material; } if (BaseViktorCapeLNAPI.Value == 2) { ((Renderer)componentsInChildren3[3]).material = material; } if (BaseViktorHairNAPI.Value == 1) { ((Renderer)componentsInChildren3[5]).material = material; } if (BaseViktorHairNAPI.Value == 2) { ((Renderer)componentsInChildren3[4]).material = material; } if (BaseViktorMedalNAPI.Value) { ((Renderer)componentsInChildren3[7]).material = material; } if (BaseViktorGlowNAPI.Value) { ((Renderer)componentsInChildren3[1]).material = material2; } return val3; } if (BaseViktorCapeNAPI.Value > 1) { string text4 = "viktor_base_NOCLAW_NOCAPE"; GameObject val4 = Assets.MainAssetBundle.LoadAsset<GameObject>(text4); SkinnedMeshRenderer[] componentsInChildren4 = val4.GetComponentsInChildren<SkinnedMeshRenderer>(); ((Renderer)componentsInChildren4[0]).material = material2; ((Renderer)componentsInChildren4[1]).material = material3; ((Renderer)componentsInChildren4[2]).material = material2; ((Renderer)componentsInChildren4[3]).material = material2; ((Renderer)componentsInChildren4[4]).material = material2; ((Renderer)componentsInChildren4[5]).material = material2; if (BaseViktorHairNAPI.Value == 1) { ((Renderer)componentsInChildren4[3]).material = material; } if (BaseViktorHairNAPI.Value == 2) { ((Renderer)componentsInChildren4[2]).material = material; } if (BaseViktorCapeNAPI.Value == 3) { ((Renderer)componentsInChildren4[4]).material = material; ((Renderer)componentsInChildren4[5]).material = material; } if (BaseViktorMedalNAPI.Value) { ((Renderer)componentsInChildren4[5]).material = material; } if (BaseViktorGlowNAPI.Value) { ((Renderer)componentsInChildren4[1]).material = material2; } return val4; } } } if (ViktorSkinValueNAPI_MODEL.Value == 2) { Material material5 = Assets.MainAssetBundle.LoadAsset<Material>("viktor_invis"); Material material6 = Assets.MainAssetBundle.LoadAsset<Material>("VKFM_body"); Material material7 = Assets.MainAssetBundle.LoadAsset<Material>("VKFM_body_GLOW"); Material material8 = Assets.MainAssetBundle.LoadAsset<Material>("VKFM_body_TRANS"); if (!FMViktorClawNAPI.Value) { if (FMViktorCapeNAPI.Value == 1) { string text5 = "viktor_FM"; GameObject val5 = Assets.MainAssetBundle.LoadAsset<GameObject>(text5); SkinnedMeshRenderer[] componentsInChildren5 = val5.GetComponentsInChildren<SkinnedMeshRenderer>(); ((Renderer)componentsInChildren5[0]).material = material6; ((Renderer)componentsInChildren5[1]).material = material7; ((Renderer)componentsInChildren5[2]).material = material6; ((Renderer)componentsInChildren5[3]).material = material7; ((Renderer)componentsInChildren5[4]).material = material8; ((Renderer)componentsInChildren5[5]).material = material6; ((Renderer)componentsInChildren5[6]).material = material8; ((Renderer)componentsInChildren5[7]).material = material6; ((Renderer)componentsInChildren5[8]).material = material7; if (FMViktorCapeLNAPI.Value == 1) { ((Renderer)componentsInChildren5[4]).material = material5; } if (FMViktorCapeLNAPI.Value == 2) { ((Renderer)componentsInChildren5[6]).material = material5; } if (FMViktorGlowNAPI.Value) { ((Renderer)componentsInChildren5[1]).material = material6; ((Renderer)componentsInChildren5[3]).material = material6; ((Renderer)componentsInChildren5[4]).material = material6; ((Renderer)componentsInChildren5[6]).material = material6; ((Renderer)componentsInChildren5[8]).material = material6; } return val5; } if (FMViktorCapeNAPI.Value > 1) { string text6 = "viktor_FM_NOCAPE"; GameObject val6 = Assets.MainAssetBundle.LoadAsset<GameObject>(text6); SkinnedMeshRenderer[] componentsInChildren6 = val6.GetComponentsInChildren<SkinnedMeshRenderer>(); Debug.Log((object)"HELLO WORLD"); ((Renderer)componentsInChildren6[0]).material = material6; ((Renderer)componentsInChildren6[1]).material = material7; ((Renderer)componentsInChildren6[2]).material = material6; ((Renderer)componentsInChildren6[3]).material = material7; ((Renderer)componentsInChildren6[4]).material = material6; ((Renderer)componentsInChildren6[5]).material = material7; if (FMViktorCapeNAPI.Value == 3) { ((Renderer)componentsInChildren6[0]).material = material5; ((Renderer)componentsInChildren6[1]).material = material5; } if (FMViktorGlowNAPI.Value) { ((Renderer)componentsInChildren6[1]).material = material6; ((Renderer)componentsInChildren6[3]).material = material6; ((Renderer)componentsInChildren6[5]).material = material6; } return val6; } } if (FMViktorClawNAPI.Value) { if (FMViktorCapeNAPI.Value == 1) { string text7 = "viktor_FM_NOCLAW"; GameObject val7 = Assets.MainAssetBundle.LoadAsset<GameObject>(text7); SkinnedMeshRenderer[] componentsInChildren7 = val7.GetComponentsInChildren<SkinnedMeshRenderer>(); ((Renderer)componentsInChildren7[0]).material = material6; ((Renderer)componentsInChildren7[1]).material = material7; ((Renderer)componentsInChildren7[2]).material = material6; ((Renderer)componentsInChildren7[3]).material = material7; ((Renderer)componentsInChildren7[4]).material = material8; ((Renderer)componentsInChildren7[5]).material = material6; ((Renderer)componentsInChildren7[6]).material = material8; if (FMViktorCapeLNAPI.Value == 1) { ((Renderer)componentsInChildren7[4]).material = material5; } if (FMViktorCapeLNAPI.Value == 2) { ((Renderer)componentsInChildren7[6]).material = material5; } if (FMViktorGlowNAPI.Value) { ((Renderer)componentsInChildren7[1]).material = material6; ((Renderer)componentsInChildren7[3]).material = material6; ((Renderer)componentsInChildren7[4]).material = material6; ((Renderer)componentsInChildren7[6]).material = material6; } return val7; } if (FMViktorCapeNAPI.Value > 1) { string text8 = "viktor_FM_NOCLAW_NOCAPE"; GameObject val8 = Assets.MainAssetBundle.LoadAsset<GameObject>(text8); SkinnedMeshRenderer[] componentsInChildren8 = val8.GetComponentsInChildren<SkinnedMeshRenderer>(); ((Renderer)componentsInChildren8[0]).material = material6; ((Renderer)componentsInChildren8[1]).material = material7; ((Renderer)componentsInChildren8[2]).material = material6; ((Renderer)componentsInChildren8[3]).material = material7; if (FMViktorCapeNAPI.Value == 3) { ((Renderer)componentsInChildren8[0]).material = material5; ((Renderer)componentsInChildren8[1]).material = material5; } if (FMViktorGlowNAPI.Value) { ((Renderer)componentsInChildren8[1]).material = material6; ((Renderer)componentsInChildren8[3]).material = material6; } return val8; } } } if (ViktorSkinValueNAPI_MODEL.Value == 3) { Material material9 = Assets.MainAssetBundle.LoadAsset<Material>("viktor_invis"); Material material10 = Assets.MainAssetBundle.LoadAsset<Material>("VKPR_body"); Material material11 = Assets.MainAssetBundle.LoadAsset<Material>("VKPR_body_GLOW"); if (!ProtoViktorClawNAPI.Value) { if (ProtoViktorCapeNAPI.Value == 1) { string text9 = "viktor_proto"; GameObject val9 = Assets.MainAssetBundle.LoadAsset<GameObject>(text9); SkinnedMeshRenderer[] componentsInChildren9 = val9.GetComponentsInChildren<SkinnedMeshRenderer>(); ((Renderer)componentsInChildren9[0]).material = material10; ((Renderer)componentsInChildren9[1]).material = material11; ((Renderer)componentsInChildren9[2]).material = material10; ((Renderer)componentsInChildren9[3]).material = material10; ((Renderer)componentsInChildren9[4]).material = material10; ((Renderer)componentsInChildren9[5]).material = material11; ((Renderer)componentsInChildren9[6]).material = material11; ((Renderer)componentsInChildren9[7]).material = material10; ((Renderer)componentsInChildren9[8]).material = material11; if (ProtoViktorCapeLNAPI.Value == 1) { ((Renderer)componentsInChildren9[2]).material = material9; } if (ProtoViktorCapeLNAPI.Value == 2) { ((Renderer)componentsInChildren9[3]).material = material9; } if (ProtoViktorGlassesNAPI.Value) { ((Renderer)componentsInChildren9[6]).material = material9; } if (ProtoViktorGlowNAPI.Value) { ((Renderer)componentsInChildren9[1]).material = material10; ((Renderer)componentsInChildren9[5]).material = material10; ((Renderer)componentsInChildren9[8]).material = material10; } return val9; } string text10 = "viktor_proto_NOCLAW"; GameObject val10 = Assets.MainAssetBundle.LoadAsset<GameObject>(text10); SkinnedMeshRenderer[] componentsInChildren10 = val10.GetComponentsInChildren<SkinnedMeshRenderer>(); ((Renderer)componentsInChildren10[0]).material = material10; ((Renderer)componentsInChildren10[1]).material = material11; ((Renderer)componentsInChildren10[2]).material = material10; ((Renderer)componentsInChildren10[3]).material = material11; ((Renderer)componentsInChildren10[4]).material = material11; ((Renderer)componentsInChildren10[5]).material = material10; ((Renderer)componentsInChildren10[6]).material = material11; if (ProtoViktorGlassesNAPI.Value) { ((Renderer)componentsInChildren10[4]).material = material9; } if (ProtoViktorCapeNAPI.Value == 3) { ((Renderer)componentsInChildren10[5]).material = material9; ((Renderer)componentsInChildren10[6]).material = material9; } if (ProtoViktorGlowNAPI.Value) { ((Renderer)componentsInChildren10[1]).material = material10; ((Renderer)componentsInChildren10[3]).material = material10; ((Renderer)componentsInChildren10[6]).material = material10; } return val10; } if (ProtoViktorCapeNAPI.Value == 1) { string text11 = "viktor_prototype_NOCLAW"; GameObject val11 = Assets.MainAssetBundle.LoadAsset<GameObject>(text11); SkinnedMeshRenderer[] componentsInChildren11 = val11.GetComponentsInChildren<SkinnedMeshRenderer>(); ((Renderer)componentsInChildren11[0]).material = material10; ((Renderer)componentsInChildren11[1]).material = material11; ((Renderer)componentsInChildren11[2]).material = material10; ((Renderer)componentsInChildren11[3]).material = material10; ((Renderer)componentsInChildren11[4]).material = material11; ((Renderer)componentsInChildren11[5]).material = material10; ((Renderer)componentsInChildren11[6]).material = material11; if (ProtoViktorCapeLNAPI.Value == 1) { ((Renderer)componentsInChildren11[2]).material = material9; } if (ProtoViktorCapeLNAPI.Value == 2) { ((Renderer)componentsInChildren11[3]).material = material9; } if (ProtoViktorGlassesNAPI.Value) { ((Renderer)componentsInChildren11[4]).material = material9; } if (ProtoViktorGlowNAPI.Value) { ((Renderer)componentsInChildren11[1]).material = material10; ((Renderer)componentsInChildren11[4]).material = material10; ((Renderer)componentsInChildren11[6]).material = material10; } return val11; } string text12 = "viktor_prototype_NOCLAW_NOCAPE"; GameObject val12 = Assets.MainAssetBundle.LoadAsset<GameObject>(text12); SkinnedMeshRenderer[] componentsInChildren12 = val12.GetComponentsInChildren<SkinnedMeshRenderer>(); ((Renderer)componentsInChildren12[0]).material = material10; ((Renderer)componentsInChildren12[1]).material = material11; ((Renderer)componentsInChildren12[2]).material = material11; ((Renderer)componentsInChildren12[3]).material = material10; ((Renderer)componentsInChildren12[4]).material = material11; if (ProtoViktorGlassesNAPI.Value) { ((Renderer)componentsInChildren12[2]).material = material9; } if (ProtoViktorCapeNAPI.Value == 3) { ((Renderer)componentsInChildren12[3]).material = material9; ((Renderer)componentsInChildren12[4]).material = material9; } if (ProtoViktorGlowNAPI.Value) { ((Renderer)componentsInChildren12[1]).material = material10; ((Renderer)componentsInChildren12[2]).material = material10; ((Renderer)componentsInChildren12[4]).material = material10; } return val12; } if (ViktorSkinValueNAPI_MODEL.Value == 4) { Material material12 = Assets.MainAssetBundle.LoadAsset<Material>("viktor_invis"); Material material13 = Assets.MainAssetBundle.LoadAsset<Material>("VKCR_body"); Material material14 = Assets.MainAssetBundle.LoadAsset<Material>("VKCR_body_GLOW"); if (!CreatorViktorClawNAPI.Value) { if (!CreatorViktorCapeNAPI.Value) { string text13 = "viktor_creator"; GameObject val13 = Assets.MainAssetBundle.LoadAsset<GameObject>(text13); SkinnedMeshRenderer[] componentsInChildren13 = val13.GetComponentsInChildren<SkinnedMeshRenderer>(); ((Renderer)componentsInChildren13[0]).material = material13; ((Renderer)componentsInChildren13[1]).material = material14; ((Renderer)componentsInChildren13[2]).material = material13; ((Renderer)componentsInChildren13[3]).material = material13; ((Renderer)componentsInChildren13[4]).material = material14; ((Renderer)componentsInChildren13[5]).material = material13; ((Renderer)componentsInChildren13[6]).material = material13; ((Renderer)componentsInChildren13[7]).material = material13; if (CreatorViktorCapeLNAPI.Value == 1) { ((Renderer)componentsInChildren13[2]).material = material12; } if (CreatorViktorCapeLNAPI.Value == 2) { ((Renderer)componentsInChildren13[3]).material = material12; } if (CreatorViktorLShoulderNAPI.Value) { ((Renderer)componentsInChildren13[6]).material = material12; } if (CreatorViktorRShoulderNAPI.Value) { ((Renderer)componentsInChildren13[7]).material = material12; } if (CreatorViktorGlowNAPI.Value) { ((Renderer)componentsInChildren13[1]).material = material13; ((Renderer)componentsInChildren13[4]).material = material13; } return val13; } string text14 = "viktor_creator_NOCAPE"; GameObject val14 = Assets.MainAssetBundle.LoadAsset<GameObject>(text14); SkinnedMeshRenderer[] componentsInChildren14 = val14.GetComponentsInChildren<SkinnedMeshRenderer>(); ((Renderer)componentsInChildren14[0]).material = material13; ((Renderer)componentsInChildren14[1]).material = material14; ((Renderer)componentsInChildren14[2]).material = material14; ((Renderer)componentsInChildren14[3]).material = material13; ((Renderer)componentsInChildren14[4]).material = material13; ((Renderer)componentsInChildren14[5]).material = material13; if (CreatorViktorLShoulderNAPI.Value) { ((Renderer)componentsInChildren14[4]).material = material12; } if (CreatorViktorRShoulderNAPI.Value) { ((Renderer)componentsInChildren14[5]).material = material12; } if (CreatorViktorGlowNAPI.Value) { ((Renderer)componentsInChildren14[1]).material = material13; ((Renderer)componentsInChildren14[2]).material = material13; } return val14; } if (!CreatorViktorCapeNAPI.Value) { string text15 = "viktor_creator_NOCLAW"; GameObject val15 = Assets.MainAssetBundle.LoadAsset<GameObject>(text15); SkinnedMeshRenderer[] componentsInChildren15 = val15.GetComponentsInChildren<SkinnedMeshRenderer>(); ((Renderer)componentsInChildren15[0]).material = material13; ((Renderer)componentsInChildren15[1]).material = material14; ((Renderer)componentsInChildren15[2]).material = material13; ((Renderer)componentsInChildren15[3]).material = material13; ((Renderer)componentsInChildren15[4]).material = material13; ((Renderer)componentsInChildren15[5]).material = material13; if (CreatorViktorCapeLNAPI.Value == 1) { ((Renderer)componentsInChildren15[2]).material = material12; } if (CreatorViktorCapeLNAPI.Value == 2) { ((Renderer)componentsInChildren15[3]).material = material12; } if (CreatorViktorLShoulderNAPI.Value) { ((Renderer)componentsInChildren15[4]).material = material12; } if (CreatorViktorRShoulderNAPI.Value) { ((Renderer)componentsInChildren15[5]).material = material12; } if (CreatorViktorGlowNAPI.Value) { ((Renderer)componentsInChildren15[1]).material = material13; } return val15; } string text16 = "viktor_creator_NOCAPE_NOCLAW"; GameObject val16 = Assets.MainAssetBundle.LoadAsset<GameObject>(text16); SkinnedMeshRenderer[] componentsInChildren16 = val16.GetComponentsInChildren<SkinnedMeshRenderer>(); ((Renderer)componentsInChildren16[0]).material = material13; ((Renderer)componentsInChildren16[1]).material = material14; ((Renderer)componentsInChildren16[3]).material = material13; ((Renderer)componentsInChildren16[4]).material = material13; if (CreatorViktorLShoulderNAPI.Value) { ((Renderer)componentsInChildren16[3]).material = material12; } if (CreatorViktorRShoulderNAPI.Value) { ((Renderer)componentsInChildren16[4]).material = material12; } if (CreatorViktorGlowNAPI.Value) { ((Renderer)componentsInChildren16[1]).material = material13; } return val16; } if (ViktorSkinValueNAPI_MODEL.Value == 5) { Material material15 = Assets.MainAssetBundle.LoadAsset<Material>("viktor_invis"); Material material16 = Assets.MainAssetBundle.LoadAsset<Material>("VKDS_body"); Material material17 = Assets.MainAssetBundle.LoadAsset<Material>("VKDS_body_GLOW"); if (!DSViktorClawNAPI.Value) { if (DSViktorCapeNAPI.Value == 1) { string text17 = "viktor_DS"; GameObject val17 = Assets.MainAssetBundle.LoadAsset<GameObject>(text17); SkinnedMeshRenderer[] componentsInChildren17 = val17.GetComponentsInChildren<SkinnedMeshRenderer>(); ((Renderer)componentsInChildren17[0]).material = material16; ((Renderer)componentsInChildren17[1]).material = material17; ((Renderer)componentsInChildren17[2]).material = material17; ((Renderer)componentsInChildren17[3]).material = material17; ((Renderer)componentsInChildren17[4]).material = material17; ((Renderer)componentsInChildren17[5]).material = material16; ((Renderer)componentsInChildren17[6]).material = material17; ((Renderer)componentsInChildren17[7]).material = material16; ((Renderer)componentsInChildren17[8]).material = material17; ((Renderer)componentsInChildren17[9]).material = material16; if (DSViktorCapeLNAPI.Value == 1) { ((Renderer)componentsInChildren17[2]).material = material15; } if (DSViktorCapeLNAPI.Value == 2) { ((Renderer)componentsInChildren17[3]).material = material15; } if (DSViktorMaskNAPI.Value) { ((Renderer)componentsInChildren17[5]).material = material15; ((Renderer)componentsInChildren17[6]).material = material15; } if (DSViktorGlowNAPI.Value) { ((Renderer)componentsInChildren17[1]).material = material16; ((Renderer)componentsInChildren17[2]).material = material16; ((Renderer)componentsInChildren17[3]).material = material16; ((Renderer)componentsInChildren17[4]).material = material16; ((Renderer)componentsInChildren17[6]).material = material16; ((Renderer)componentsInChildren17[8]).material = material16; } return val17; } string text18 = "viktor_DS_NOCAPE"; GameObject val18 = Assets.MainAssetBundle.LoadAsset<GameObject>(text18); SkinnedMeshRenderer[] componentsInChildren18 = val18.GetComponentsInChildren<SkinnedMeshRenderer>(); ((Renderer)componentsInChildren18[0]).material = material16; ((Renderer)componentsInChildren18[1]).material = material17; ((Renderer)componentsInChildren18[2]).material = material17; ((Renderer)componentsInChildren18[3]).material = material16; ((Renderer)componentsInChildren18[4]).material = material17; ((Renderer)componentsInChildren18[5]).material = material16; ((Renderer)componentsInChildren18[6]).material = material17; ((Renderer)componentsInChildren18[7]).material = material16; if (DSViktorMaskNAPI.Value) { ((Renderer)componentsInChildren18[3]).material = material15; ((Renderer)componentsInChildren18[4]).material = material15; } if (DSViktorCapeNAPI.Value == 3) { ((Renderer)componentsInChildren18[5]).material = material15; ((Renderer)componentsInChildren18[6]).material = material15; } if (DSViktorCapeNAPI.Value == 4) { ((Renderer)componentsInChildren18[5]).material = material15; ((Renderer)componentsInChildren18[6]).material = material15; ((Renderer)componentsInChildren18[7]).material = material15; } if (DSViktorGlowNAPI.Value) { ((Renderer)componentsInChildren18[1]).material = material16; ((Renderer)componentsInChildren18[2]).material = material16; ((Renderer)componentsInChildren18[4]).material = material16; ((Renderer)componentsInChildren18[6]).material = material16; } return val18; } if (DSViktorCapeNAPI.Value == 1) { string text19 = "viktor_DS_NOCLAW"; GameObject val19 = Assets.MainAssetBundle.LoadAsset<GameObject>(text19); SkinnedMeshRenderer[] componentsInChildren19 = val19.GetComponentsInChildren<SkinnedMeshRenderer>(); ((Renderer)componentsInChildren19[0]).material = material16; ((Renderer)componentsInChildren19[1]).material = material17; ((Renderer)componentsInChildren19[2]).material = material17; ((Renderer)componentsInChildren19[3]).material = material17; ((Renderer)componentsInChildren19[4]).material = material16; ((Renderer)componentsInChildren19[5]).material = material17; ((Renderer)componentsInChildren19[6]).material = material16; ((Renderer)componentsInChildren19[7]).material = material17; ((Renderer)componentsInChildren19[8]).material = material16; if (DSViktorCapeLNAPI.Value == 1) { ((Renderer)componentsInChildren19[2]).material = material15; } if (DSViktorCapeLNAPI.Value == 2) { ((Renderer)componentsInChildren19[3]).material = material15; } if (DSViktorMaskNAPI.Value) { ((Renderer)componentsInChildren19[4]).material = material15; ((Renderer)componentsInChildren19[5]).material = material15; } if (DSViktorGlowNAPI.Value) { ((Renderer)componentsInChildren19[1]).material = material16; ((Renderer)componentsInChildren19[2]).material = material16; ((Renderer)componentsInChildren19[3]).material = material16; ((Renderer)componentsInChildren19[5]).material = material16; ((Renderer)componentsInChildren19[7]).material = material16; } return val19; } string text20 = "viktor_DS_NOCLAW_NOCAPE"; GameObject val20 = Assets.MainAssetBundle.LoadAsset<GameObject>(text20); SkinnedMeshRenderer[] componentsInChildren20 = val20.GetComponentsInChildren<SkinnedMeshRenderer>(); ((Renderer)componentsInChildren20[0]).material = material16; ((Renderer)componentsInChildren20[1]).material = material17; ((Renderer)componentsInChildren20[4]).material = material16; ((Renderer)componentsInChildren20[5]).material = material17; ((Renderer)componentsInChildren20[6]).material = material16; ((Renderer)componentsInChildren20[7]).material = material17; ((Renderer)componentsInChildren20[8]).material = material16; if (DSViktorMaskNAPI.Value) { ((Renderer)componentsInChildren20[4]).material = material15; ((Renderer)componentsInChildren20[5]).material = material15; } if (DSViktorCapeNAPI.Value == 3) { ((Renderer)componentsInChildren20[6]).material = material15; ((Renderer)componentsInChildren20[7]).material = material15; } if (DSViktorCapeNAPI.Value == 4) { ((Renderer)componentsInChildren20[6]).material = material15; ((Renderer)componentsInChildren20[7]).material = material15; ((Renderer)componentsInChildren20[8]).material = material15; } if (DSViktorGlowNAPI.Value) { ((Renderer)componentsInChildren20[1]).material = material16; ((Renderer)componentsInChildren20[5]).material = material16; ((Renderer)componentsInChildren20[7]).material = material16; } return val20; } if (ViktorSkinValueNAPI_MODEL.Value == 6) { Material material18 = Assets.MainAssetBundle.LoadAsset<Material>("viktor_invis"); Material material19 = Assets.MainAssetBundle.LoadAsset<Material>("VPO_body_color" + PsyopsViktorChromaNAPI.Value); Material material20 = Assets.MainAssetBundle.LoadAsset<Material>("VPO_body_color" + PsyopsViktorChromaNAPI.Value + "_GLOW"); Material material21 = Assets.MainAssetBundle.LoadAsset<Material>("VPO_cape_color" + PsyopsViktorChromaNAPI.Value); Material material22 = Assets.MainAssetBundle.LoadAsset<Material>("VPO_cape_color1_OLD"); if (!PsyopsViktorClawNAPI.Value) { if (PsyopsViktorCapeNAPI.Value == 1) { string text21 = "viktor_psyops"; GameObject val21 = Assets.MainAssetBundle.LoadAsset<GameObject>(text21); SkinnedMeshRenderer[] componentsInChildren21 = val21.GetComponentsInChildren<SkinnedMeshRenderer>(); ((Renderer)componentsInChildren21[0]).material = material19; ((Renderer)componentsInChildren21[1]).material = material19; ((Renderer)componentsInChildren21[2]).material = material20; ((Renderer)componentsInChildren21[3]).material = material21; ((Renderer)componentsInChildren21[4]).material = material21; ((Renderer)componentsInChildren21[5]).material = material19; ((Renderer)componentsInChildren21[6]).material = material20; ((Renderer)componentsInChildren21[7]).material = material19; ((Renderer)componentsInChildren21[8]).material = material19; ((Renderer)componentsInChildren21[9]).material = material19; if (PsyopsViktorCapeLNAPI.Value == 1) { ((Renderer)componentsInChildren21[3]).material = material18; } if (PsyopsViktorCapeLNAPI.Value == 2) { ((Renderer)componentsInChildren21[4]).material = material18; } if (PsyopsViktorChromaNAPI.Value == 1) { ((Renderer)componentsInChildren21[3]).material = material22; } if (PsyopsViktorGunNAPI.Value) { ((Renderer)componentsInChildren21[7]).material = material18; } if (PsyopsViktorBagNAPI.Value) { ((Renderer)componentsInChildren21[0]).material = material18; } if (PsyopsViktorGlowNAPI.Value) { ((Renderer)componentsInChildren21[2]).material = material19; ((Renderer)componentsInChildren21[6]).material = material19; } return val21; } string text22 = "viktor_psyops_NOCAPE"; GameObject val22 = Assets.MainAssetBundle.LoadAsset<GameObject>(text22); SkinnedMeshRenderer[] componentsInChildren22 = val22.GetComponentsInChildren<SkinnedMeshRenderer>(); ((Renderer)componentsInChildren22[0]).material = material19; ((Renderer)componentsInChildren22[1]).material = material19; ((Renderer)componentsInChildren22[2]).material = material20; ((Renderer)componentsInChildren22[3]).material = material19; ((Renderer)componentsInChildren22[4]).material = material20; ((Renderer)componentsInChildren22[5]).material = material19; ((Renderer)componentsInChildren22[6]).material = material19; ((Renderer)componentsInChildren22[7]).material = material19; if (PsyopsViktorCapeNAPI.Value == 3) { ((Renderer)componentsInChildren22[6]).material = material18; } if (PsyopsViktorCapeNAPI.Value == 4) { ((Renderer)componentsInChildren22[6]).material = material18; ((Renderer)componentsInChildren22[7]).material = material18; } if (PsyopsViktorGunNAPI.Value) { ((Renderer)componentsInChildren22[5]).material = material18; } if (PsyopsViktorBagNAPI.Value) { ((Renderer)componentsInChildren22[0]).material = material18; } if (PsyopsViktorGlowNAPI.Value) { ((Renderer)componentsInChildren22[2]).material = material19; ((Renderer)componentsInChildren22[4]).material = material19; } return val22; } if (PsyopsViktorCapeNAPI.Value == 1) { string text23 = "viktor_psyops_NOCLAW"; GameObject val23 = Assets.MainAssetBundle.LoadAsset<GameObject>(text23); SkinnedMeshRenderer[] componentsInChildren23 = val23.GetComponentsInChildren<SkinnedMeshRenderer>(); ((Renderer)componentsInChildren23[0]).material = material19; ((Renderer)componentsInChildren23[1]).material = material19; ((Renderer)componentsInChildren23[2]).material = material20; ((Renderer)componentsInChildren23[3]).material = material22; ((Renderer)componentsInChildren23[4]).material = material21; ((Renderer)componentsInChildren23[5]).material = material19; ((Renderer)componentsInChildren23[6]).material = material19; ((Renderer)componentsInChildren23[7]).material = material19; if (PsyopsViktorCapeLNAPI.Value == 1) { ((Renderer)componentsInChildren23[3]).material = material18; } if (PsyopsViktorCapeLNAPI.Value == 2) { ((Renderer)componentsInChildren23[4]).material = material18; } if (PsyopsViktorChromaNAPI.Value == 1) { ((Renderer)componentsInChildren23[3]).material = material22; } if (PsyopsViktorGunNAPI.Value) { ((Renderer)componentsInChildren23[5]).material = material18; } if (PsyopsViktorBagNAPI.Value) { ((Renderer)componentsInChildren23[0]).material = material18; } if (PsyopsViktorGlowNAPI.Value) { ((Renderer)componentsInChildren23[2]).material = material19; } return val23; } string text24 = "viktor_psyops_NOCLAW_NOCAPE"; GameObject val24 = Assets.MainAssetBundle.LoadAsset<GameObject>(text24); SkinnedMeshRenderer[] componentsInChildren24 = val24.GetComponentsInChildren<SkinnedMeshRenderer>(); ((Renderer)componentsInChildren24[0]).material = material19; ((Renderer)componentsInChildren24[1]).material = material19; ((Renderer)componentsInChildren24[2]).material = material20; ((Renderer)componentsInChildren24[3]).material = material19; ((Renderer)componentsInChildren24[4]).material = material19; ((Renderer)componentsInChildren24[5]).material = material19; if (PsyopsViktorCapeNAPI.Value == 3) { ((Renderer)componentsInChildren24[4]).material = material18; } if (PsyopsViktorCapeNAPI.Value == 4) { ((Renderer)componentsInChildren24[4]).material = material18; ((Renderer)componentsInChildren24[5]).material = material18; } if (PsyopsViktorGunNAPI.Value) { ((Renderer)componentsInChildren24[3]).material = material18; } if (PsyopsViktorBagNAPI.Value) { ((Renderer)componentsInChildren24[0]).material = material18; } if (PsyopsViktorGlowNAPI.Value) { ((Renderer)componentsInChildren24[2]).material = material19; } return val24; } if (ViktorSkinValueNAPI_MODEL.Value == 7) { Material material23 = Assets.MainAssetBundle.LoadAsset<Material>("viktor_invis"); Material material24 = Assets.MainAssetBundle.LoadAsset<Material>("VHN_body_color" + HNViktorChromaNAPI.Value); Material material25 = Assets.MainAssetBundle.LoadAsset<Material>("VHN_body_color" + HNViktorChromaNAPI.Value + "_GLOW"); if (!HNViktorClawNAPI.Value) { if (!HNViktorCapeNAPI.Value) { string text25 = "viktor_HN"; GameObject val25 = Assets.MainAssetBundle.LoadAsset<GameObject>(text25); SkinnedMeshRenderer[] componentsInChildren25 = val25.GetComponentsInChildren<SkinnedMeshRenderer>(); ((Renderer)componentsInChildren25[0]).material = material24; ((Renderer)componentsInChildren25[1]).material = material24; ((Renderer)componentsInChildren25[2]).material = material24; ((Renderer)componentsInChildren25[3]).material = material24; ((Renderer)componentsInChildren25[4]).material = material25; ((Renderer)componentsInChildren25[5]).material = material25; ((Renderer)componentsInChildren25[6]).material = material24; ((Renderer)componentsInChildren25[7]).material = material24; if (HNViktorCapeLNAPI.Value == 1) { ((Renderer)componentsInChildren25[1]).material = material23; } if (HNViktorCapeLNAPI.Value == 2) { ((Renderer)componentsInChildren25[2]).material = material23; } if (HNViktorNecklaceNAPI.Value) { ((Renderer)componentsInChildren25[6]).material = material23; } if (HNViktorPadNAPI.Value) { ((Renderer)componentsInChildren25[7]).material = material23; } if (HNViktorGlowNAPI.Value) { ((Renderer)componentsInChildren25[4]).material = material24; ((Renderer)componentsInChildren25[5]).material = material24; } return val25; } string text26 = "viktor_HN_NOCAPE"; GameObject val26 = Assets.MainAssetBundle.LoadAsset<GameObject>(text26); SkinnedMeshRenderer[] componentsInChildren26 = val26.GetComponentsInChildren<SkinnedMeshRenderer>(); ((Renderer)componentsInChildren26[0]).material = material24; ((Renderer)componentsInChildren26[1]).material = material24; ((Renderer)componentsInChildren26[2]).material = material25; ((Renderer)componentsInChildren26[3]).material = material25; ((Renderer)componentsInChildren26[4]).material = material24; ((Renderer)componentsInChildren26[5]).material = material24; if (HNViktorNecklaceNAPI.Value) { ((Renderer)componentsInChildren26[4]).material = material23; } if (HNViktorPadNAPI.Value) { ((Renderer)componentsInChildren26[5]).material = material23; } if (HNViktorGlowNAPI.Value) { ((Renderer)componentsInChildren26[2]).material = material24; ((Renderer)componentsInChildren26[3]).material = material24; } return val26; } if (!HNViktorCapeNAPI.Value) { string text27 = "viktor_HN_NOCLAW"; GameObject val27 = Assets.MainAssetBundle.LoadAsset<GameObject>(text27); SkinnedMeshRenderer[] componentsInChildren27 = val27.GetComponentsInChildren<SkinnedMeshRenderer>(); ((Renderer)componentsInChildren27[0]).material = material24; ((Renderer)componentsInChildren27[1]).material = material24; ((Renderer)componentsInChildren27[2]).material = material24; ((Renderer)componentsInChildren27[3]).material = material25; ((Renderer)componentsInChildren27[4]).material = material24; ((Renderer)componentsInChildren27[5]).material = material24; if (HNViktorCapeLNAPI.Value == 1) { ((Renderer)componentsInChildren27[1]).material = material23; } if (HNViktorCapeLNAPI.Value == 2) { ((Renderer)componentsInChildren27[2]).material = material23; } if (HNViktorNecklaceNAPI.Value) { ((Renderer)componentsInChildren27[4]).material = material23; } if (HNViktorPadNAPI.Value) { ((Renderer)componentsInChildren27[5]).material = material23; } if (HNViktorGlowNAPI.Value) { ((Renderer)componentsInChildren27[3]).material = material24; } return val27; } string text28 = "viktor_HN_NOCLAW_NOCAPE"; GameObject val28 = Assets.MainAssetBundle.LoadAsset<GameObject>(text28); SkinnedMeshRenderer[] componentsInChildren28 = val28.GetComponentsInChildren<SkinnedMeshRenderer>(); ((Renderer)componentsInChildren28[0]).material = material24; ((Renderer)componentsInChildren28[1]).material = material25; ((Renderer)componentsInChildren28[2]).material = material24; ((Renderer)componentsInChildren28[3]).material = material24; if (HNViktorNecklaceNAPI.Value) { ((Renderer)componentsInChildren28[2]).material = material23; } if (HNViktorPadNAPI.Value) { ((Renderer)componentsInChildren28[3]).material = material23; } if (HNViktorGlowNAPI.Value) { ((Renderer)componentsInChildren28[1]).material = material24; } return val28; } if (ViktorSkinValueNAPI_MODEL.Value == 8) { Material material26 = Assets.MainAssetBundle.LoadAsset<Material>("viktor_invis"); Material material27 = Assets.MainAssetBundle.LoadAsset<Material>("VKAS_body"); Material material28 = Assets.MainAssetBundle.LoadAsset<Material>("VKAS_body_HALO"); Material material29 = Assets.MainAssetBundle.LoadAsset<Material>("VKAS_body_ARM"); if (!ASViktorArmNAPI.Value) { if (!ASViktorHaloNAPI.Value) { string text29 = "viktor_AS"; GameObject val29 = Assets.MainAssetBundle.LoadAsset<GameObject>(text29); SkinnedMeshRenderer[] componentsInChildren29 = val29.GetComponentsInChildren<SkinnedMeshRenderer>(); ((Renderer)componentsInChildren29[0]).material = material27; ((Renderer)componentsInChildren29[1]).material = material27; ((Renderer)componentsInChildren29[2]).material = material27; ((Renderer)componentsInChildren29[3]).material = material28; ((Renderer)componentsInChildren29[4]).material = material29; ((Renderer)componentsInChildren29[5]).material = material27; if (ASViktorCapeNAPI.Value) { ((Renderer)componentsInChildren29[1]).material = material26; } if (ASViktorGoldNAPI.Value) { ((Renderer)componentsInChildren29[2]).material = material26; } if (ASViktorSkirtNAPI.Value) { ((Renderer)componentsInChildren29[5]).material = material26; } if (ASViktorGlowNAPI.Value) { ((Renderer)componentsInChildren29[3]).material = material27; ((Renderer)componentsInChildren29[4]).material = material27; } return val29; } string text30 = "viktor_AS_NOHALO"; GameObject val30 = Assets.MainAssetBundle.LoadAsset<GameObject>(text30); SkinnedMeshRenderer[] componentsInChildren30 = val30.GetComponentsInChildren<SkinnedMeshRenderer>(); ((Renderer)componentsInChildren30[0]).material = material27; ((Renderer)componentsInChildren30[1]).material = material27; ((Renderer)componentsInChildren30[2]).material = material27; ((Renderer)componentsInChildren30[3]).material = material29; ((Renderer)componentsInChildren30[4]).material = material27; if (ASViktorCapeNAPI.Value) { ((Renderer)componentsInChildren30[1]).material = material26; } if (ASViktorGoldNAPI.Value) { ((Renderer)componentsInChildren30[2]).material = material26; } if (ASViktorSkirtNAPI.Value) { ((Renderer)componentsInChildren30[4]).material = material26; } if (ASViktorGlowNAPI.Value) { ((Renderer)componentsInChildren30[3]).material = material27; } return val30; } if (!ASViktorHaloNAPI.Value) { string text31 = "viktor_AS_NOARM"; GameObject val31 = Assets.MainAssetBundle.LoadAsset<GameObject>(text31); SkinnedMeshRenderer[] componentsInChildren31 = val31.GetComponentsInChildren<SkinnedMeshRenderer>(); ((Renderer)componentsInChildren31[0]).material = material27; ((Renderer)componentsInChildren31[1]).material = material27; ((Renderer)componentsInChildren31[2]).material = material27; ((Renderer)componentsInChildren31[3]).material = material28; ((Renderer)componentsInChildren31[4]).material = material27; if (ASViktorCapeNAPI.Value) { ((Renderer)componentsInChildren31[1]).material = material26; } if (ASViktorGoldNAPI.Value) { ((Renderer)componentsInChildren31[2]).material = material26; } if (ASViktorSkirtNAPI.Value) { ((Renderer)componentsInChildren31[4]).material = material26; } if (ASViktorGlowNAPI.Value) { ((Renderer)componentsInChildren31[3]).material = material27; } return val31; } string text32 = "viktor_AS_NA"; GameObject val32 = Assets.MainAssetBundle.LoadAsset<GameObject>(text32); SkinnedMeshRenderer[] componentsInChildren32 = val32.GetComponentsInChildren<SkinnedMeshRenderer>(); ((Renderer)componentsInChildren32[0]).material = material27; ((Renderer)componentsInChildren32[1]).material = material27; ((Renderer)componentsInChildren32[2]).material = material27; ((Renderer)componentsInChildren32[3]).material = material27; if (ASViktorCapeNAPI.Value) { ((Renderer)componentsInChildren32[1]).material = material26; } if (ASViktorGoldNAPI.Value) { ((Renderer)componentsInChildren32[2]).material = material26; } if (ASViktorSkirtNAPI.Value) { ((Renderer)componentsInChildren32[3]).material = material26; } return val32; } string text33 = "viktor_base"; GameObject val33 = Assets.MainAssetBundle.LoadAsset<GameObject>(text33); SkinnedMeshRenderer[] componentsInChildren33 = val33.GetComponentsInChildren<SkinnedMeshRenderer>(); Debug.Log((object)"VIKTOR OF FAILURE"); return val33; } } [BepInPlugin("com.theflipsider.viktorplayermodels", "Viktor Playermodel Pack", "0.1.0")] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] public class Plugin : BaseUnityPlugin { public enum ViktorSkinList { Classic = 1, Full_Machine, Prototype, Creator, Deathsowrn, Psyops, High_Noon, Arcane_Savior } public enum BaseViktorHairEnum { Arcane = 1, League } public enum BaseViktorCapeEnum { Original = 1, No_cape, No_mantle } public enum BaseViktorCapeLengthEnum { Short = 1, Long } public enum FMViktorCapeEnum { Original = 1, No_cape, No_armor } public enum FMViktorCapeLengthEnum { Short = 1, Long } public enum ProtoViktorCapeEnum { Original = 1, No_cape, No_armor } public enum ProtoViktorCapeLengthEnum { Short = 1, Long } public enum CreatorViktorCapeLengthEnum { Short = 1, Long } public enum DSViktorCapeEnum { Original = 1, No_cape, No_armor, No_pads } public enum DSViktorCapeLengthEnum { Short = 1, Long } public enum PsyopsViktorC { Original = 1, Ruby, Sandstone, Sapphire, Amethyst, Turquoise, Obsidian, Peridot, Hunter } public enum PsyopsViktorCapeEnum { Original = 1, No_cape, No_mantle, No_pads } public enum PsyopsViktorCapeLengthEnum { Short = 1, Long } public enum HNViktorC { Original = 1, Ruby, Catseye, Emerald, Turquoise, Tanzanite, RoseQuartz, Obsidian, Pearl, Nomad } public enum HNViktorCapeLengthEnum { Short = 1, Long } public static ConfigFile config; public static ConfigEntry<ViktorSkinList> ViktorSkin { get; private set; } public static ConfigEntry<bool> BaseViktorClaw { get; private set; } public static ConfigEntry<BaseViktorHairEnum> BaseViktorHair { get; private set; } public static ConfigEntry<BaseViktorCapeEnum> BaseViktorCape { get; private set; } public static ConfigEntry<BaseViktorCapeLengthEnum> BaseViktorCapeLength { get; private set; } public static ConfigEntry<bool> BaseViktorMedal { get; private set; } public static ConfigEntry<bool> BaseViktorGlow { get; private set; } public static ConfigEntry<bool> FMViktorClaw { get; private set; } public static ConfigEntry<FMViktorCapeEnum> FMViktorCape { get; private set; } public static ConfigEntry<FMViktorCapeLengthEnum> FMViktorCapeLength { get; private set; } public static ConfigEntry<bool> FMViktorGlow { get; private set; } public static ConfigEntry<bool> ProtoViktorClaw { get; private set; } public static ConfigEntry<ProtoViktorCapeEnum> ProtoViktorCape { get; private set; } public static ConfigEntry<ProtoViktorCapeLengthEnum> ProtoViktorCapeLength { get; private set; } public static ConfigEntry<bool> ProtoViktorGlasses { get; private set; } public static ConfigEntry<bool> ProtoViktorGlow { get; private set; } public static ConfigEntry<bool> CreatorViktorClaw { get; private set; } public static ConfigEntry<bool> CreatorViktorCape { get; private set; } public static ConfigEntry<CreatorViktorCapeLengthEnum> CreatorViktorCapeLength { get; private set; } public static ConfigEntry<bool> CreatorViktorLShoulder { get; private set; } public static ConfigEntry<bool> CreatorViktorRShoulder { get; private set; } public static ConfigEntry<bool> CreatorViktorGlow { get; private set; } public static ConfigEntry<bool> DSViktorClaw { get; private set; } public static ConfigEntry<bool> DSViktorMask { get; private set; } public static ConfigEntry<DSViktorCapeEnum> DSViktorCape { get; private set; } public static ConfigEntry<DSViktorCapeLengthEnum> DSViktorCapeLength { get; private set; } public static ConfigEntry<bool> DSViktorGlow { get; private set; } public static ConfigEntry<PsyopsViktorC> PsyopsViktorChroma { get; private set; } public static ConfigEntry<bool> PsyopsViktorClaw { get; private set; } public static ConfigEntry<PsyopsViktorCapeEnum> PsyopsViktorCape { get; private set; } public static ConfigEntry<PsyopsViktorCapeLengthEnum> PsyopsViktorCapeLength { get; private set; } public static ConfigEntry<bool> PsyopsViktorBag { get; private set; } public static ConfigEntry<bool> PsyopsViktorGun { get; private set; } public static ConfigEntry<bool> PsyopsViktorGlow { get; private set; } public static ConfigEntry<HNViktorC> HNViktorChroma { get; private set; } public static ConfigEntry<bool> HNViktorClaw { get; private set; } public static ConfigEntry<bool> HNViktorCape { get; private set; } public static ConfigEntry<HNViktorCapeLengthEnum> HNViktorCapeLength { get; private set; } public static ConfigEntry<bool> HNViktorPad { get; private set; } public static ConfigEntry<bool> HNViktorNecklace { get; private set; } public static ConfigEntry<bool> HNViktorGlow { get; private set; } public static ConfigEntry<bool> ASViktorArm { get; private set; } public static ConfigEntry<bool> ASViktorHalo { get; private set; } public static ConfigEntry<bool> ASViktorCape { get; private set; } public static ConfigEntry<bool> ASViktorGold { get; private set; } public static ConfigEntry<bool> ASViktorSkirt { get; private set; } public static ConfigEntry<bool> ASViktorGlow { get; private set; } private static void InitConfig() { //IL_05e6: Unknown result type (might be due to invalid IL or missing references) //IL_05eb: Unknown result type (might be due to invalid IL or missing references) //IL_05f8: Expected O, but got Unknown //IL_0605: Unknown result type (might be due to invalid IL or missing references) //IL_060a: Unknown result type (might be due to invalid IL or missing references) //IL_0617: Expected O, but got Unknown //IL_0612: Unknown result type (might be due to invalid IL or missing references) //IL_0618: Expected O, but got Unknown //IL_0624: Unknown result type (might be due to invalid IL or missing references) //IL_0629: Unknown result type (might be due to invalid IL or missing references) //IL_0636: Expected O, but got Unknown //IL_0631: Unknown result type (might be due to invalid IL or missing references) //IL_0637: Expected O, but got Unknown //IL_0643: Unknown result type (might be due to invalid IL or missing references) //IL_0648: Unknown result type (might be due to invalid IL or missing references) //IL_0655: Expected O, but got Unknown //IL_0662: Unknown result type (might be due to invalid IL or missing references) //IL_0667: Unknown result type (might be due to invalid IL or missing references) //IL_0674: Expected O, but got Unknown //IL_0683: Unknown result type (might be due to invalid IL or missing references) //IL_0688: Unknown result type (might be due to invalid IL or missing references) //IL_0695: Expected O, but got Unknown //IL_06a4: Unknown result type (might be due to invalid IL or missing references) //IL_06a9: Unknown result type (might be due to invalid IL or missing references) //IL_06b6: Expected O, but got Unknown //IL_06b1: Unknown result type (might be due to invalid IL or missing references) //IL_06b8: Expected O, but got Unknown //IL_06c5: Unknown result type (might be due to invalid IL or missing references) //IL_06ca: Unknown result type (might be due to invalid IL or missing references) //IL_06d7: Expected O, but got Unknown //IL_06d2: Unknown result type (might be due to invalid IL or missing references) //IL_06d9: Expected O, but got Unknown //IL_06e6: Unknown result type (might be due to invalid IL or missing references) //IL_06eb: Unknown result type (might be due to invalid IL or missing references) //IL_06f8: Expected O, but got Unknown //IL_06f3: Unknown result type (might be due to invalid IL or missing references) //IL_06fa: Expected O, but got Unknown //IL_0707: Unknown result type (might be due to invalid IL or missing references) //IL_070c: Unknown result type (might be due to invalid IL or missing references) //IL_0719: Expected O, but got Unknown //IL_0728: Unknown result type (might be due to invalid IL or missing references) //IL_072d: Unknown result type (might be due to invalid IL or missing references) //IL_073a: Expected O, but got Unknown //IL_0749: Unknown result type (might be due to invalid IL or missing references) //IL_074e: Unknown result type (might be due to invalid IL or missing references) //IL_075b: Expected O, but got Unknown //IL_0756: Unknown result type (might be due to invalid IL or missing references) //IL_075d: Expected O, but got Unknown //IL_076a: Unknown result type (might be due to invalid IL or missing references) //IL_076f: Unknown result type (might be due to invalid IL or missing references) //IL_077c: Expected O, but got Unknown //IL_0777: Unknown result type (might be due to invalid IL or missing references) //IL_077e: Expected O, but got Unknown //IL_078b: Unknown result type (might be due to invalid IL or missing references) //IL_0790: Unknown result type (might be due to invalid IL or missing references) //IL_079d: Expected O, but got Unknown //IL_07ac: Unknown result type (might be due to invalid IL or missing references) //IL_07b1: Unknown result type (might be due to invalid IL or missing references) //IL_07be: Expected O, but got Unknown //IL_07cd: Unknown result type (might be due to invalid IL or missing references) //IL_07d2: Unknown result type (might be due to invalid IL or missing references) //IL_07df: Expected O, but got Unknown //IL_07da: Unknown result type (might be due to invalid IL or missing references) //IL_07e1: Expected O, but got Unknown //IL_07ee: Unknown result type (might be due to invalid IL or missing references) //IL_07f3: Unknown result type (might be due to invalid IL or missing references) //IL_0800: Expected O, but got Unknown //IL_07fb: Unknown result type (might be due to invalid IL or missing references) //IL_0802: Expected O, but got Unknown //IL_080f: Unknown result type (might be due to invalid IL or missing references) //IL_0814: Unknown result type (might be due to invalid IL or missing references) //IL_0821: Expected O, but got Unknown //IL_081c: Unknown result type (might be due to invalid IL or missing references) //IL_0823: Expected O, but got Unknown //IL_0830: Unknown result type (might be due to invalid IL or missing references) //IL_0835: Unknown result type (might be due to invalid IL or missing references) //IL_0842: Expected O, but got Unknown //IL_0851: Unknown result type (might be due to invalid IL or missing references) //IL_0856: Unknown result type (might be due to invalid IL or missing references) //IL_0863: Expected O, but got Unknown //IL_085e: Unknown result type (might be due to invalid IL or missing references) //IL_0865: Expected O, but got Unknown //IL_0872: Unknown result type (might be due to invalid IL or missing references) //IL_0877: Unknown result type (might be due to invalid IL or missing references) //IL_0884: Expected O, but got Unknown //IL_087f: Unknown result type (might be due to invalid IL or missing references) //IL_0886: Expected O, but got Unknown //IL_0893: Unknown result type (might be due to invalid IL or missing references) //IL_0898: Unknown result type (might be due to invalid IL or missing references) //IL_08a5: Expected O, but got Unknown //IL_08a0: Unknown result type (might be due to invalid IL or missing references) //IL_08a7: Expected O, but got Unknown //IL_08b4: Unknown result type (might be due to invalid IL or missing references) //IL_08b9: Unknown result type (might be due to invalid IL or missing references) //IL_08c6: Expected O, but got Unknown //IL_08c1: Unknown result type (might be due to invalid IL or missing references) //IL_08c8: Expected O, but got Unknown //IL_08d5: Unknown result type (might be due to invalid IL or missing references) //IL_08da: Unknown result type (might be due to invalid IL or missing references) //IL_08e7: Expected O, but got Unknown //IL_08e2: Unknown result type (might be due to invalid IL or missing references) //IL_08e9: Expected O, but got Unknown //IL_08f6: Unknown result type (might be due to invalid IL or missing references) //IL_08fb: Unknown result type (might be due to invalid IL or missing references) //IL_0908: Expected O, but got Unknown //IL_0917: Unknown result type (might be due to invalid IL or missing references) //IL_091c: Unknown result type (might be due to invalid IL or missing references) //IL_0929: Expected O, but got Unknown //IL_0938: Unknown result type (might be due to invalid IL or missing references) //IL_093d: Unknown result type (might be due to invalid IL or missing references) //IL_094a: Expected O, but got Unknown //IL_0945: Unknown result type (might be due to invalid IL or missing references) //IL_094c: Expected O, but got Unknown //IL_0959: Unknown result type (might be due to invalid IL or missing references) //IL_095e: Unknown result type (might be due to invalid IL or missing references) //IL_096b: Expected O, but got Unknown //IL_097a: Unknown result type (might be due to invalid IL or missing references) //IL_097f: Unknown result type (might be due to invalid IL or missing references) //IL_098c: Expected O, but got Unknown //IL_0987: Unknown result type (might be due to invalid IL or missing references) //IL_098e: Expected O, but got Unknown //IL_099b: Unknown result type (might be due to invalid IL or missing references) //IL_09a0: Unknown result type (might be due to invalid IL or missing references) //IL_09ad: Expected O, but got Unknown //IL_09bc: Unknown result type (might be due to invalid IL or missing references) //IL_09c1: Unknown result type (might be due to invalid IL or missing references) //IL_09ce: Expected O, but got Unknown //IL_09dd: Unknown result type (might be due to invalid IL or missing references) //IL_09e2: Unknown result type (might be due to invalid IL or missing references) //IL_09ef: Expected O, but got Unknown //IL_09ea: Unknown result type (might be due to invalid IL or missing references) //IL_09f1: Expected O, but got Unknown //IL_09fe: Unknown result type (might be due to invalid IL or missing references) //IL_0a03: Unknown result type (might be due to invalid IL or missing references) //IL_0a10: Expected O, but got Unknown //IL_0a0b: Unknown result type (might be due to invalid IL or missing references) //IL_0a12: Expected O, but got Unknown //IL_0a1f: Unknown result type (might be due to invalid IL or missing references) //IL_0a24: Unknown result type (might be due to invalid IL or missing references) //IL_0a31: Expected O, but got Unknown //IL_0a2c: Unknown result type (might be due to invalid IL or missing references) //IL_0a33: Expected O, but got Unknown //IL_0a40: Unknown result type (might be due to invalid IL or missing references) //IL_0a45: Unknown result type (might be due to invalid IL or missing references) //IL_0a52: Expected O, but got Unknown //IL_0a61: Unknown result type (might be due to invalid IL or missing references) //IL_0a66: Unknown result type (might be due to invalid IL or missing references) //IL_0a73: Expected O, but got Unknown //IL_0a6e: Unknown result type (might be due to invalid IL or missing references) //IL_0a75: Expected O, but got Unknown //IL_0a82: Unknown result type (might be due to invalid IL or missing references) //IL_0a87: Unknown result type (might be due to invalid IL or missing references) //IL_0a94: Expected O, but got Unknown //IL_0a8f: Unknown result type (might be due to invalid IL or missing references) //IL_0a96: Expected O, but got Unknown //IL_0aa3: Unknown result type (might be due to invalid IL or missing references) //IL_0aa8: Unknown result type (might be due to invalid IL or missing references) //IL_0ab5: Expected O, but got Unknown //IL_0ac4: Unknown result type (might be due to invalid IL or missing references) //IL_0ac9: Unknown result type (might be due to invalid IL or missing references) //IL_0ad6: Expected O, but got Unknown //IL_0ad1: Unknown result type (might be due to invalid IL or missing references) //IL_0ad8: Expected O, but got Unknown //IL_0ae5: Unknown result type (might be due to invalid IL or missing references) //IL_0aea: Unknown result type (might be due to invalid IL or missing references) //IL_0af7: Expected O, but got Unknown //IL_0af2: Unknown result type (might be due to invalid IL or missing references) //IL_0af9: Expected O, but got Unknown //IL_0b06: Unknown result type (might be due to invalid IL or missing references) //IL_0b0b: Unknown result type (might be due to invalid IL or missing references) //IL_0b18: Expected O, but got Unknown //IL_0b13: Unknown result type (might be due to invalid IL or missing references) //IL_0b1a: Expected O, but got Unknown //IL_0b27: Unknown result type (might be due to invalid IL or missing references) //IL_0b2c: Unknown result type (might be due to invalid IL or missing references) //IL_0b39: Expected O, but got Unknown //IL_0b34: Unknown result type (might be due to invalid IL or missing references) //IL_0b3b: Expected O, but got Unknown //IL_0b48: Unknown result type (might be due to invalid IL or missing references) //IL_0b4d: Unknown result type (might be due to invalid IL or missing references) //IL_0b5a: Expected O, but got Unknown //IL_0b55: Unknown result type (might be due to invalid IL or missing references) //IL_0b5c: Expected O, but got Unknown //IL_0b69: Unknown result type (might be due to invalid IL or missing references) //IL_0b6e: Unknown result type (might be due to invalid IL or missing references) //IL_0b7b: Expected O, but got Unknown //IL_0b76: Unknown result type (might be due to invalid IL or missing references) //IL_0b7d: Expected O, but got Unknown //IL_0b8a: Unknown result type (might be due to invalid IL or missing references) //IL_0b8f: Unknown result type (might be due to invalid IL or missing references) //IL_0b9c: Expected O, but got Unknown //IL_0b97: Unknown result type (might be due to invalid IL or missing references) //IL_0b9e: Expected O, but got Unknown //IL_0bab: Unknown result type (might be due to invalid IL or missing references) //IL_0bb0: Unknown result type (might be due to invalid IL or missing references) //IL_0bbd: Expected O, but got Unknown //IL_0bb8: Unknown result type (might be due to invalid IL or missing references) //IL_0bbf: Expected O, but got Unknown ViktorSkin = config.Bind<ViktorSkinList>("General", "Choose skin", ViktorSkinList.Classic, "Picks what skin Viktor uses. Reapply the suit for the effect!"); BaseViktorClaw = config.Bind<bool>("Classic Viktor", "Disable Claw", false, "Disables the hexclaw of Base Viktor. Reapply the suit for the effect!"); BaseViktorHair = config.Bind<BaseViktorHairEnum>("Classic Viktor", "Choose Hair Style", BaseViktorHairEnum.Arcane, "Picks what hair style base Viktor uses. Reapply the suit for the effect!"); BaseViktorCape = config.Bind<BaseViktorCapeEnum>("Classic Viktor", "Choose Cape Style", BaseViktorCapeEnum.Original, "Picks what cape style base Viktor uses. Reapply the suit for the effect!"); BaseViktorCapeLength = config.Bind<BaseViktorCapeLengthEnum>("Classic Viktor", "Choose Cape Length", BaseViktorCapeLengthEnum.Short, "Picks what cape length base Viktor uses. Reapply the suit for the effect!"); BaseViktorMedal = config.Bind<bool>("Classic Viktor", "Disable Medal", false, "Disables the medal of Base Viktor. Reapply the suit for the effect!"); BaseViktorGlow = config.Bind<bool>("Classic Viktor", "Disable Glow", false, "Disables the glowing parts of Base Viktor. Reapply the suit for the effect!"); FMViktorClaw = config.Bind<bool>("Full Machine", "Disable Claw", false, "Disables the claw of Full Machine Viktor. Reapply the suit for the effect!"); FMViktorCape = config.Bind<FMViktorCapeEnum>("Full Machine", "Choose Cape Style", FMViktorCapeEnum.Original, "Picks what cape style full machine Viktor uses. Reapply the suit for the effect!"); FMViktorCapeLength = config.Bind<FMViktorCapeLengthEnum>("Full Machine", "Choose Cape Length", FMViktorCapeLengthEnum.Short, "Picks what cape length full machine Viktor uses. Reapply the suit for the effect!"); FMViktorGlow = config.Bind<bool>("Full Machine", "Disable Glow", false, "Disables the glowing parts of Full Machine Viktor. Reapply the suit for the effect!"); ProtoViktorClaw = config.Bind<bool>("Prototype", "Disable Claw", false, "Disables the claw of Prototype Viktor. Reapply the suit for the effect!"); ProtoViktorCape = config.Bind<ProtoViktorCapeEnum>("Prototype", "Choose Cape Style", ProtoViktorCapeEnum.Original, "Picks what cape style prototype Viktor uses. Reapply the suit for the effect!"); ProtoViktorCapeLength = config.Bind<ProtoViktorCapeLengthEnum>("Prototype", "Choose Cape Length", ProtoViktorCapeLengthEnum.Short, "Picks what cape length prototype Viktor uses. Reapply the suit for the effect!"); ProtoViktorGlasses = config.Bind<bool>("Prototype", "Disable Left Lense", false, "Disables the lense over prototype Viktor's eye. Reapply the suit for the effect!"); ProtoViktorGlow = config.Bind<bool>("Prototype", "Disable Glow", false, "Disables the glowing parts of prototype Viktor. Reapply the suit for the effect!"); CreatorViktorClaw = config.Bind<bool>("Creator", "Disable Third Arm", false, "Disables the Third arm of creator Viktor. Reapply the suit for the effect!"); CreatorViktorCape = config.Bind<bool>("Creator", "Disable Cape", false, "Disables the cape of creator Viktor. Reapply the suit for the effect!"); CreatorViktorCapeLength = config.Bind<CreatorViktorCapeLengthEnum>("Creator", "Choose Cape Length", CreatorViktorCapeLengthEnum.Short, "Picks what cape length creator Viktor uses. Reapply the suit for the effect!"); CreatorViktorLShoulder = config.Bind<bool>("Creator", "Disable Left Shoulder Pad", false, "Disables the left shoulder pad of creator Viktor. Reapply the suit for the effect!"); CreatorViktorRShoulder = config.Bind<bool>("Creator", "Disable right Shoulder Pad", false, "Disables the right shoulder pad of creator Viktor. Reapply the suit for the effect!"); CreatorViktorGlow = config.Bind<bool>("Creator", "Disable Glow", false, "Disables the glowing parts of creator Viktor. Reapply the suit for the effect!"); DSViktorClaw = config.Bind<bool>("Deathsworn", "Disable Claw", false, "Disables the claw of Deathsworn Viktor. Reapply the suit for the effect!"); DSViktorMask = config.Bind<bool>("Deathsworn", "Disable Mask", false, "Disables the mask of Deathsworn Viktor. Reapply the suit for the effect!"); DSViktorCape = config.Bind<DSViktorCapeEnum>("Deathsworn", "Choose Cape Style", DSViktorCapeEnum.Original, "Picks what cape style Deathsworn Viktor uses. Reapply the suit for the effect!"); DSViktorCapeLength = config.Bind<DSViktorCapeLengthEnum>("Deathsworn", "Choose Cape Length", DSViktorCapeLengthEnum.Short, "Picks what cape length Deathsworn Viktor uses. Reapply the suit for the effect!"); DSViktorGlow = config.Bind<bool>("Deathsworn", "Disable Glow", false, "Disables the glowing parts of Deathsworn Viktor. Reapply the suit for the effect!"); PsyopsViktorChroma = config.Bind<PsyopsViktorC>("Psyops", "Choose chroma", PsyopsViktorC.Original, "Picks what chroma Psyops Viktor uses. Reapply the suit for the effect!"); PsyopsViktorClaw = config.Bind<bool>("Psyops", "Disable Claw", false, "Disables the claw of Psyops Viktor. Reapply the suit for the effect!"); PsyopsViktorCape = config.Bind<PsyopsViktorCapeEnum>("Psyops", "Choose Cape Style", PsyopsViktorCapeEnum.Original, "Picks what cape style Psyops Viktor uses. Reapply the suit for the effect!"); PsyopsViktorCapeLength = config.Bind<PsyopsViktorCapeLengthEnum>("Psyops", "Choose Cape Length", PsyopsViktorCapeLengthEnum.Short, "Picks what cape length Psyops Viktor uses. Reapply the suit for the effect!"); PsyopsViktorBag = config.Bind<bool>("Psyops", "Disable Pouch", false, "Disables the pouch in Psyops Viktor's waist. Reapply the suit for the effect!"); PsyopsViktorGun = config.Bind<bool>("Psyops", "Disable Holster", false, "Disables the holsters of Psyops Viktor's thigh. Reapply the suit for the effect!"); PsyopsViktorGlow = config.Bind<bool>("Psyops", "Disable Glow", false, "Disables the glowing parts of Psyops Viktor. Reapply the suit for the effect!"); HNViktorChroma = config.Bind<HNViktorC>("High Noon", "Choose chroma", HNViktorC.Original, "Picks what chroma High Noon Viktor uses. Reapply the suit for the effect!"); HNViktorClaw = config.Bind<bool>("High Noon", "Disable Claw", false, "Disables the claw of High Noon Viktor. Reapply the suit for the effect!"); HNViktorCape = config.Bind<bool>("High Noon", "Disable Cape", false, "Disables the cape of High Noon Viktor. Reapply the suit for the effect!"); HNViktorCapeLength = config.Bind<HNViktorCapeLengthEnum>("High Noon", "Choose Cape Length", HNViktorCapeLengthEnum.Short, "Picks what cape length Psyops Viktor uses. Reapply the suit for the effect!"); HNViktorPad = config.Bind<bool>("High Noon", "Disable Shoulder Pad", false, "Disables the shoulder pad of High Noon Viktor. Reapply the suit for the effect!"); HNViktorNecklace = config.Bind<bool>("High Noon", "Disable Necklace", false, "Disables the necklace of High Noon Viktor. Reapply the suit for the effect!"); HNViktorGlow = config.Bind<bool>("High Noon", "Disable Glow", false, "Disables the glowing parts on High Noon Viktor. Reapply the suit for the effect!"); ASViktorArm = config.Bind<bool>("Arcane Savior", "Disable Arm", false, "Disables the mystical arm on Arcane Viktor. Reapply the suit for the effect!"); ASViktorHalo = config.Bind<bool>("Arcane Savior", "Disable Halo", false, "Disables the halo on Arcane Viktor. Reapply the suit for the effect!"); ASViktorCape = config.Bind<bool>("Arcane Savior", "Disable Cape", false, "Disables the cape on Arcane Viktor. Reapply the suit for the effect!"); ASViktorGold = config.Bind<bool>("Arcane Savior", "Disable Gold Details", false, "Disables the gold details on Arcane Viktor. Reapply the suit for the effect!"); ASViktorSkirt = config.Bind<bool>("Arcane Savior", "Disable Lower Cloth", false, "Disables the lower cloth of Arcane Viktor. Reapply the suit for the effect!"); ASViktorGlow = config.Bind<bool>("Arcane Savior", "Disable Glow", false, "Disables the glowing parts on Arcane Viktor. Reapply the suit for the effect!"); EnumDropDownConfigItem<ViktorSkinList> val = new EnumDropDownConfigItem<ViktorSkinList>(ViktorSkin, new EnumDropDownOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val); BoolCheckBoxConfigItem val2 = new BoolCheckBoxConfigItem(BaseViktorGlow, new BoolCheckBoxOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val2); BoolCheckBoxConfigItem val3 = new BoolCheckBoxConfigItem(BaseViktorClaw, new BoolCheckBoxOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val3); EnumDropDownConfigItem<BaseViktorHairEnum> val4 = new EnumDropDownConfigItem<BaseViktorHairEnum>(BaseViktorHair, new EnumDropDownOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val4); EnumDropDownConfigItem<BaseViktorCapeEnum> val5 = new EnumDropDownConfigItem<BaseViktorCapeEnum>(BaseViktorCape, new EnumDropDownOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val5); EnumDropDownConfigItem<BaseViktorCapeLengthEnum> val6 = new EnumDropDownConfigItem<BaseViktorCapeLengthEnum>(BaseViktorCapeLength, new EnumDropDownOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val6); BoolCheckBoxConfigItem val7 = new BoolCheckBoxConfigItem(BaseViktorMedal, new BoolCheckBoxOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val7); BoolCheckBoxConfigItem val8 = new BoolCheckBoxConfigItem(FMViktorGlow, new BoolCheckBoxOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val8); BoolCheckBoxConfigItem val9 = new BoolCheckBoxConfigItem(FMViktorClaw, new BoolCheckBoxOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val9); EnumDropDownConfigItem<FMViktorCapeEnum> val10 = new EnumDropDownConfigItem<FMViktorCapeEnum>(FMViktorCape, new EnumDropDownOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val10); EnumDropDownConfigItem<FMViktorCapeLengthEnum> val11 = new EnumDropDownConfigItem<FMViktorCapeLengthEnum>(FMViktorCapeLength, new EnumDropDownOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val11); BoolCheckBoxConfigItem val12 = new BoolCheckBoxConfigItem(ProtoViktorGlow, new BoolCheckBoxOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val12); BoolCheckBoxConfigItem val13 = new BoolCheckBoxConfigItem(ProtoViktorClaw, new BoolCheckBoxOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val13); EnumDropDownConfigItem<ProtoViktorCapeEnum> val14 = new EnumDropDownConfigItem<ProtoViktorCapeEnum>(ProtoViktorCape, new EnumDropDownOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val14); EnumDropDownConfigItem<ProtoViktorCapeLengthEnum> val15 = new EnumDropDownConfigItem<ProtoViktorCapeLengthEnum>(ProtoViktorCapeLength, new EnumDropDownOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val15); BoolCheckBoxConfigItem val16 = new BoolCheckBoxConfigItem(ProtoViktorGlasses, new BoolCheckBoxOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val16); BoolCheckBoxConfigItem val17 = new BoolCheckBoxConfigItem(CreatorViktorGlow, new BoolCheckBoxOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val17); BoolCheckBoxConfigItem val18 = new BoolCheckBoxConfigItem(CreatorViktorClaw, new BoolCheckBoxOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val18); EnumDropDownConfigItem<CreatorViktorCapeLengthEnum> val19 = new EnumDropDownConfigItem<CreatorViktorCapeLengthEnum>(CreatorViktorCapeLength, new EnumDropDownOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val19); BoolCheckBoxConfigItem val20 = new BoolCheckBoxConfigItem(CreatorViktorLShoulder, new BoolCheckBoxOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val20); BoolCheckBoxConfigItem val21 = new BoolCheckBoxConfigItem(CreatorViktorRShoulder, new BoolCheckBoxOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val21); BoolCheckBoxConfigItem val22 = new BoolCheckBoxConfigItem(DSViktorGlow, new BoolCheckBoxOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val22); BoolCheckBoxConfigItem val23 = new BoolCheckBoxConfigItem(DSViktorClaw, new BoolCheckBoxOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val23); BoolCheckBoxConfigItem val24 = new BoolCheckBoxConfigItem(DSViktorMask, new BoolCheckBoxOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val24); EnumDropDownConfigItem<DSViktorCapeEnum> val25 = new EnumDropDownConfigItem<DSViktorCapeEnum>(DSViktorCape, new EnumDropDownOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val25); EnumDropDownConfigItem<DSViktorCapeLengthEnum> val26 = new EnumDropDownConfigItem<DSViktorCapeLengthEnum>(DSViktorCapeLength, new EnumDropDownOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val26); BoolCheckBoxConfigItem val27 = new BoolCheckBoxConfigItem(PsyopsViktorGlow, new BoolCheckBoxOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val27); EnumDropDownConfigItem<PsyopsViktorC> val28 = new EnumDropDownConfigItem<PsyopsViktorC>(PsyopsViktorChroma, new EnumDropDownOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val28); BoolCheckBoxConfigItem val29 = new BoolCheckBoxConfigItem(PsyopsViktorClaw, new BoolCheckBoxOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val29); EnumDropDownConfigItem<PsyopsViktorCapeEnum> val30 = new EnumDropDownConfigItem<PsyopsViktorCapeEnum>(PsyopsViktorCape, new EnumDropDownOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val30); EnumDropDownConfigItem<PsyopsViktorCapeLengthEnum> val31 = new EnumDropDownConfigItem<PsyopsViktorCapeLengthEnum>(PsyopsViktorCapeLength, new EnumDropDownOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val31); BoolCheckBoxConfigItem val32 = new BoolCheckBoxConfigItem(PsyopsViktorBag, new BoolCheckBoxOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val32); BoolCheckBoxConfigItem val33 = new BoolCheckBoxConfigItem(PsyopsViktorGun, new BoolCheckBoxOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val33); BoolCheckBoxConfigItem val34 = new BoolCheckBoxConfigItem(HNViktorGlow, new BoolCheckBoxOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val34); EnumDropDownConfigItem<HNViktorC> val35 = new EnumDropDownConfigItem<HNViktorC>(HNViktorChroma, new EnumDropDownOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val35); BoolCheckBoxConfigItem val36 = new BoolCheckBoxConfigItem(HNViktorClaw, new BoolCheckBoxOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val36); BoolCheckBoxConfigItem val37 = new BoolCheckBoxConfigItem(HNViktorCape, new BoolCheckBoxOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val37); EnumDropDownConfigItem<HNViktorCapeLengthEnum> val38 = new EnumDropDownConfigItem<HNViktorCapeLengthEnum>(HNViktorCapeLength, new EnumDropDownOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val38); BoolCheckBoxConfigItem val39 = new BoolCheckBoxConfigItem(HNViktorPad, new BoolCheckBoxOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val39); BoolCheckBoxConfigItem val40 = new BoolCheckBoxConfigItem(HNViktorNecklace, new BoolCheckBoxOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val40); BoolCheckBoxConfigItem val41 = new BoolCheckBoxConfigItem(ASViktorGlow, new BoolCheckBoxOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val41); BoolCheckBoxConfigItem val42 = new BoolCheckBoxConfigItem(ASViktorArm, new BoolCheckBoxOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val42); BoolCheckBoxConfigItem val43 = new BoolCheckBoxConfigItem(ASViktorHalo, new BoolCheckBoxOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val43); BoolCheckBoxConfigItem val44 = new BoolCheckBoxConfigItem(ASViktorCape, new BoolCheckBoxOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val44); BoolCheckBoxConfigItem val45 = new BoolCheckBoxConfigItem(ASViktorGold, new BoolCheckBoxOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val45); BoolCheckBoxConfigItem val46 = new BoolCheckBoxConfigItem(ASViktorSkirt, new BoolCheckBoxOptions { RequiresRestart = false }); LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val46); } private void Awake() { //IL_0032: Unknown result type (might be due to invalid IL or missing references) //IL_0038: Expected O, but got Unknown config = ((BaseUnityPlugin)this).Config; InitConfig(); Assets.PopulateAssets(); ModelReplacementAPI.RegisterSuitModelReplacement("Viktor (Check LethalConfig)", typeof(VIKTOR_SUIT)); Harmony val = new Harmony("com.theflipsider.viktorplayermodels"); val.PatchAll(); ((BaseUnityPlugin)this).Logger.LogInfo((object)"Viktor Playermodels - Evolution fast approaches!"); } } public static class Assets { public static string mainAssetBundleName = "ViktorPlayermodels"; public static AssetBundle MainAssetBundle = null; private static string GetAssemblyName() { return Assembly.GetExecutingAssembly().GetName().Name.Replace(" ", "_"); } public static void PopulateAssets() { if ((Object)(object)MainAssetBundle == (Object)null) { Console.WriteLine(GetAssemblyName() + "." + mainAssetBundleName); 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 : Att