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 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("lethal company update")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("lethal company update")]
[assembly: AssemblyTitle("lethal company update")]
[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 MRCOLMYNT : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "ColMynt";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRCOLMYNT_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "ColMynt";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MR17BUCKSPEACOCK : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "17BUCKSPEACOCK";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRALLISON : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Allison";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRBREDAY : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "breday";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRPIZZABEE : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "pizza bee";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRZELOOC : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "zelooc";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRYOK : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "yok";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRYANA : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "yana";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRNEWZIBIDI : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "newzibidi";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MR17BUCKSPEACOCK_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "17BUCKSPEACOCK";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRALLISON_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Allison";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRMELODDI : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Meloddi";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRWINTRES : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Wintres";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRVIVIANNE : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Vivianne";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MROMEGA : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Omega";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRCLOUDVIV : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "cloudviv";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRCUBBOX : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "cub box";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MREDGYPOOB : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "edgy poob";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRGOATGF : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "goat gf";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRBON : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Bon";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRCLOUDGUY : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "CloudGuy";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRCOFI : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Cofi";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRDUCKSEASONDOG : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "DuckSeasonDog";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRLETHALGNARPYREDESIGN : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "lethalgnarpyredesign";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRGOLU : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Golu";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MREMPLOYEESTYLIZED : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "EmployeeStylized";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRKINTO : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Kinto";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRMAWA : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Mawa";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRMRGORSKIY : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "MrGorskiy";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRKID : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Kid";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRNUNYO : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Nunyo";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MROTIS : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Otis";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRPICO : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Pico";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRPROTOTYPE : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Prototype";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRROBINHOOD : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "RobinHood";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRSHA : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Sha";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRSONICSPOTEXE : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "SonicSpotexe";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRMUSHBUN : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "mushbun";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRTURDLE : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Turdle";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRTNK : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Tnk";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRNERMALNEWS : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "nermalnews";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRUPGRADEDMRGORSKIY : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "UpgradedMrGorskiy";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRUPGRADEDLETHALROBINHOOD : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "upgradedlethalrobinhood";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRMELODDI_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Meloddi";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRWINTRES_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Wintres";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRVIVIANNE_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Vivianne";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MROMEGA_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Omega";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRBON_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Bon";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRCLOUDGUY_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "CloudGuy";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRCOFI_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Cofi";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRDUCKSEASONDOG_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "DuckSeasonDog";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRLETHALGNARPYREDESIGN_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "lethalgnarpyredesign";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRGOLU_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Golu";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MREMPLOYEESTYLIZED_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "EmployeeStylized";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRKINTO_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Kinto";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRMAWA_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Mawa";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRMRGORSKIY_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "MrGorskiy";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRKID_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Kid";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRNUNYO_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Nunyo";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MROTIS_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Otis";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRPICO_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Pico";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRPROTOTYPE_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Prototype";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRROBINHOOD_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "RobinHood";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRSHA_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Sha";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRSONICSPOTEXE_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "SonicSpotexe";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRTURDLE_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Turdle";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRTNK_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Tnk";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRUPGRADEDMRGORSKIY_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "UpgradedMrGorskiy";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRVIVIANNIE20 : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Viviannie2.0";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRVREENGUY : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Vreen guy";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRCLUE : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Clue";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRMEWMIXVREEN : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "MewMixVreen";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRGLUE : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Glue";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRMGENTA : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Mgenta";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRLISS : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Liss";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRMIGUEL : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Miguel";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRYCARLET : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Ycarlet";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRVLACK : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Vlack";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRPRANGEGUY : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "prange guy";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRQHITE : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Qhite";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRVED : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Ved";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRVAROON : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Varoon";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRVIVIANNIE20_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Viviannie2.0";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRVREENGUY_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Vreen guy";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRCLUE_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Clue";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRMEWMIXVREEN_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "MewMixVreen";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRGLUE_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Glue";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRMGENTA_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Mgenta";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRLISS_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Liss";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRMIGUEL_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Miguel";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRYCARLET_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Ycarlet";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRVLACK_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Vlack";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRQHITE_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Qhite";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRVED_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Ved";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
public class MRVAROON_ : BodyReplacementBase
{
protected override GameObject LoadAssetsAndReturnModel()
{
string text = "Varoon";
return Assets.MainAssetBundle.LoadAsset<GameObject>(text);
}
}
[BepInPlugin("com.zelo", "Zelos_Lame_Model_Pack", "0.1.0")]
[BepInDependency(/*Could not decode attribute arguments.*/)]
public class Plugin : BaseUnityPlugin
{
public static ConfigFile config;
public static ConfigEntry<bool> enableModelForAllSuits { get; private set; }
public static ConfigEntry<bool> enableModelAsDefault { get; private set; }
public static ConfigEntry<string> suitNamesToEnableModel { get; private set; }
private static void InitConfig()
{
enableModelForAllSuits = config.Bind<bool>("Suits to Replace Settings", "Enable Model for all Suits", false, "Enable to model replace every suit. Set to false to specify suits");
enableModelAsDefault = config.Bind<bool>("Suits to Replace Settings", "Enable Model as default", false, "Enable to model replace every suit that hasn't been otherwise registered.");
suitNamesToEnableModel = config.Bind<string>("Suits to Replace Settings", "Suits to enable Model for", "Default,Orange suit", "Enter a comma separated list of suit names.(Additionally, [Green suit,Pajama suit,Hazard suit])");
}
private void Awake()
{
//IL_04fe: Unknown result type (might be due to invalid IL or missing references)
//IL_0504: Expected O, but got Unknown
config = ((BaseUnityPlugin)this).Config;
InitConfig();
Assets.PopulateAssets();
if (enableModelForAllSuits.Value)
{
ModelReplacementAPI.RegisterModelReplacementOverride(typeof(MRCOLMYNT));
}
if (enableModelAsDefault.Value)
{
ModelReplacementAPI.RegisterModelReplacementDefault(typeof(MRCOLMYNT));
}
string[] array = suitNamesToEnableModel.Value.Split(',');
string[] array2 = array;
foreach (string text in array2)
{
}
ModelReplacementAPI.RegisterSuitModelReplacement("Colmynt", typeof(MRCOLMYNT));
ModelReplacementAPI.RegisterSuitModelReplacement("Peacock", typeof(MR17BUCKSPEACOCK));
ModelReplacementAPI.RegisterSuitModelReplacement("Allison", typeof(MRALLISON));
ModelReplacementAPI.RegisterSuitModelReplacement("Breday", typeof(MRBREDAY));
ModelReplacementAPI.RegisterSuitModelReplacement("PIZZABee", typeof(MRPIZZABEE));
ModelReplacementAPI.RegisterSuitModelReplacement("Vickie", typeof(MRZELOOC));
ModelReplacementAPI.RegisterSuitModelReplacement("Yok", typeof(MRYOK));
ModelReplacementAPI.RegisterSuitModelReplacement("Yana", typeof(MRYANA));
ModelReplacementAPI.RegisterSuitModelReplacement("Meloddi", typeof(MRMELODDI_));
ModelReplacementAPI.RegisterSuitModelReplacement("Zibidi", typeof(MRNEWZIBIDI));
ModelReplacementAPI.RegisterSuitModelReplacement("Wintres", typeof(MRWINTRES));
ModelReplacementAPI.RegisterSuitModelReplacement("Vivianne", typeof(MRVIVIANNE));
ModelReplacementAPI.RegisterSuitModelReplacement("Omega", typeof(MROMEGA));
ModelReplacementAPI.RegisterSuitModelReplacement("Cloudviv", typeof(MRCLOUDVIV));
ModelReplacementAPI.RegisterSuitModelReplacement("Cubbox", typeof(MRCUBBOX));
ModelReplacementAPI.RegisterSuitModelReplacement("Edgypoob", typeof(MREDGYPOOB));
ModelReplacementAPI.RegisterSuitModelReplacement("Goatgf", typeof(MRGOATGF));
ModelReplacementAPI.RegisterSuitModelReplacement("Bon", typeof(MRBON));
ModelReplacementAPI.RegisterSuitModelReplacement("CloudGuy", typeof(MRCLOUDGUY));
ModelReplacementAPI.RegisterSuitModelReplacement("Cofi", typeof(MRCOFI));
ModelReplacementAPI.RegisterSuitModelReplacement("Duckseasondog", typeof(MRDUCKSEASONDOG));
ModelReplacementAPI.RegisterSuitModelReplacement("Gnarpy", typeof(MRLETHALGNARPYREDESIGN));
ModelReplacementAPI.RegisterSuitModelReplacement("Golu", typeof(MRGOLU));
ModelReplacementAPI.RegisterSuitModelReplacement("EmployeeStylized", typeof(MREMPLOYEESTYLIZED));
ModelReplacementAPI.RegisterSuitModelReplacement("Kinito", typeof(MRKINTO));
ModelReplacementAPI.RegisterSuitModelReplacement("Mawa", typeof(MRMAWA));
ModelReplacementAPI.RegisterSuitModelReplacement("MrGorskiy", typeof(MRMRGORSKIY));
ModelReplacementAPI.RegisterSuitModelReplacement("Kid", typeof(MRKID));
ModelReplacementAPI.RegisterSuitModelReplacement("Nunyo", typeof(MRNUNYO));
ModelReplacementAPI.RegisterSuitModelReplacement("Otis", typeof(MROTIS));
ModelReplacementAPI.RegisterSuitModelReplacement("Pico", typeof(MRPICO));
ModelReplacementAPI.RegisterSuitModelReplacement("Prototype", typeof(MRPROTOTYPE));
ModelReplacementAPI.RegisterSuitModelReplacement("RobinHood", typeof(MRROBINHOOD));
ModelReplacementAPI.RegisterSuitModelReplacement("Sha", typeof(MRSHA));
ModelReplacementAPI.RegisterSuitModelReplacement("Spotexe", typeof(MRSONICSPOTEXE));
ModelReplacementAPI.RegisterSuitModelReplacement("Mushbun", typeof(MRMUSHBUN));
ModelReplacementAPI.RegisterSuitModelReplacement("Turdle", typeof(MRTURDLE));
ModelReplacementAPI.RegisterSuitModelReplacement("Tnk", typeof(MRTNK));
ModelReplacementAPI.RegisterSuitModelReplacement("NermalNews", typeof(MRNERMALNEWS));
ModelReplacementAPI.RegisterSuitModelReplacement("UpgradedRobinHood", typeof(MRUPGRADEDLETHALROBINHOOD));
ModelReplacementAPI.RegisterSuitModelReplacement("UpgradedGorskiy", typeof(MRUPGRADEDMRGORSKIY));
ModelReplacementAPI.RegisterSuitModelReplacement("Vivianne2", typeof(MRVIVIANNIE20));
ModelReplacementAPI.RegisterSuitModelReplacement("VreenGuy", typeof(MRVREENGUY));
ModelReplacementAPI.RegisterSuitModelReplacement("ClueGuy", typeof(MRCLUE));
ModelReplacementAPI.RegisterSuitModelReplacement("MgentaGuy", typeof(MRMGENTA));
ModelReplacementAPI.RegisterSuitModelReplacement("LissGuy", typeof(MRLISS));
ModelReplacementAPI.RegisterSuitModelReplacement("Miguel", typeof(MRMIGUEL));
ModelReplacementAPI.RegisterSuitModelReplacement("YcarletGie", typeof(MRYCARLET_));
ModelReplacementAPI.RegisterSuitModelReplacement("Vlack Guy", typeof(MRVLACK_));
ModelReplacementAPI.RegisterSuitModelReplacement("PrangeGuy", typeof(MRPRANGEGUY));
ModelReplacementAPI.RegisterSuitModelReplacement("QhiteGuy", typeof(MRQHITE_));
ModelReplacementAPI.RegisterSuitModelReplacement("VedGuy", typeof(MRVED_));
ModelReplacementAPI.RegisterSuitModelReplacement("VaroonGuy", typeof(MRVAROON));
ModelReplacementAPI.RegisterSuitModelReplacement("MewMixVreen", typeof(MRMEWMIXVREEN_));
Harmony val = new Harmony("com.zelo");
val.PatchAll();
((BaseUnityPlugin)this).Logger.LogInfo((object)"Plugin com.zelo is loaded!");
}
}
public static class Assets
{
public static string mainAssetBundleName = "Zelo's Model Pack";
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 : Attribute
{
public IgnoresAccessChecksToAttribute(string assemblyName)
{
}
}
}