using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using BepInEx;
using BepInEx.Logging;
using Skins;
using UnityEngine;
using WizGunCosmeticsAPI;
[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.0", FrameworkDisplayName = ".NET Standard 2.0")]
[assembly: AssemblyCompany("WizGunCosmeticsExample")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("WizGunCosmeticsExample")]
[assembly: AssemblyTitle("WizGunCosmeticsExample")]
[assembly: AssemblyVersion("1.0.0.0")]
namespace WizGunCosmeticsExample;
[BepInPlugin("cyantist.wwag.cosmeticsexample", "Cosmetics Example Mod", "1.1.0")]
[BepInDependency(/*Could not decode attribute arguments.*/)]
public class WizGunCosmeticsExample : BaseUnityPlugin
{
public const string pluginGuid = "cyantist.wwag.cosmeticsexample";
public const string pluginName = "Cosmetics Example Mod";
public const string pluginVersion = "1.1.0";
internal static ManualLogSource Log;
internal static string ModPath;
public void Awake()
{
//IL_01fd: Unknown result type (might be due to invalid IL or missing references)
Log = ((BaseUnityPlugin)this).Logger;
ModPath = Path.GetDirectoryName(((BaseUnityPlugin)this).Info.Location);
Log.LogInfo((object)"Cosmetics Example Mod Loaded");
GlamourExtensions.AddSkin(GlamourExtensions.AddSkin(GlamourExtensions.AddSkin(GlamourExtensions.AddSkin(GlamourExtensions.AddSkin(GlamourExtensions.AddSkin(GlamourExtensions.AddIcon(GlamourManager.New((ItemType)512, "customrobe", "Custom Robes", "Custom Example Robes"), Path.Combine(ModPath, "Assets/robes-custom.png")), (SkinID)14, Path.Combine(ModPath, "Assets/custom-body-forward.png")), (SkinID)15, Path.Combine(ModPath, "Assets/custom-body-backward.png")), (SkinID)6, Path.Combine(ModPath, "Assets/custom-arm-left-forward.png")), (SkinID)7, Path.Combine(ModPath, "Assets/custom-arm-left-backward.png")), (SkinID)8, Path.Combine(ModPath, "Assets/custom-arm-right-forward.png")), (SkinID)9, Path.Combine(ModPath, "Assets/custom-arm-right-backward.png"));
GlamourExtensions.AddSkin(GlamourExtensions.AddSkin(GlamourExtensions.AddSkin(GlamourExtensions.AddSkin(GlamourExtensions.AddSkin(GlamourExtensions.AddSkin(GlamourExtensions.AddIcon(GlamourManager.New((ItemType)64, "customhat", "Custom Hat", "Custom Example Hat"), Path.Combine(ModPath, "Assets/hat-custom.png")), (SkinID)0, ""), (SkinID)1, ""), (SkinID)2, Path.Combine(ModPath, "Assets/hat-back-forward.png")), (SkinID)3, Path.Combine(ModPath, "Assets/hat-back-backward.png")), (SkinID)30, Path.Combine(ModPath, "Assets/hat-middle-forward.png")), (SkinID)31, Path.Combine(ModPath, "Assets/hat-middle-backward.png"));
GlamourExtensions.AddColorSlot(GlamourExtensions.AddSkin(GlamourExtensions.AddSkin(GlamourExtensions.AddSkin(GlamourExtensions.AddSkin(GlamourExtensions.AddIcon(GlamourManager.New((ItemType)2048, "customgloves", "Custom Gloves", "Custom Example Gloves"), Path.Combine(ModPath, "Assets/elbow-custom.png")), (SkinID)12, Path.Combine(ModPath, "Assets/elbow-left-forward.png")), (SkinID)13, Path.Combine(ModPath, "Assets/elbow-left-backward.png")), (SkinID)10, Path.Combine(ModPath, "Assets/elbow-right-forward.png")), (SkinID)11, Path.Combine(ModPath, "Assets/elbow-right-backward.png")), (ColorSlot)1, Color.white);
GlamourExtensions.AddSkin(GlamourExtensions.AddSkin(GlamourExtensions.AddIcon(GlamourManager.New((ItemType)4096, "customboots", "Custom Boots", "Custom Example Boots"), Path.Combine(ModPath, "Assets/foot-custom.png")), (SkinID)18, Path.Combine(ModPath, "Assets/foot-left.png")), (SkinID)19, Path.Combine(ModPath, "Assets/foot-right.png"));
GlamourExtensions.AddSkin(GlamourExtensions.AddSkin(GlamourExtensions.AddIcon(GlamourManager.New((ItemType)1024, "custombackpack", "Custom Backpack", "Custom Example Backpack"), Path.Combine(ModPath, "Assets/backpack-custom.png")), (SkinID)4, Path.Combine(ModPath, "Assets/backpack-forward.png")), (SkinID)5, Path.Combine(ModPath, "Assets/backpack-backward.png"));
GlamourExtensions.AddSkin(GlamourExtensions.AddSkin(GlamourExtensions.AddIcon(GlamourManager.New((ItemType)256, "customamulet", "Custom Amulet", "Custom Example Amulet"), Path.Combine(ModPath, "Assets/amulet-custom.png")), (SkinID)16, Path.Combine(ModPath, "Assets/amulet-forward.png")), (SkinID)17, Path.Combine(ModPath, "Assets/amulet-backward.png"));
GlamourExtensions.AddSkin(GlamourExtensions.AddSkin(GlamourExtensions.AddIcon(GlamourManager.New((ItemType)128, "custommask", "Custom Mask", "Custom Example Mask"), Path.Combine(ModPath, "Assets/mask-custom.png")), (SkinID)28, Path.Combine(ModPath, "Assets/mask-forward.png")), (SkinID)29, Path.Combine(ModPath, "Assets/mask-backward.png"));
Log.LogInfo((object)"Glamours Added");
}
}