Decompiled source of Brynza Emotes v1.4.0
plugins/BrynzaEmotesPlugin.dll
Decompiled 2 months ago
The result has been truncated due to the large size, download it to view full contents!
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using System.Security; using System.Security.Permissions; using BepInEx; using BepInEx.Configuration; using EmotesAPI; using Microsoft.CodeAnalysis; using R2API; using R2API.Utils; using RiskOfOptions; using RiskOfOptions.OptionConfigs; using RiskOfOptions.Options; using RoR2; 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.0", FrameworkDisplayName = ".NET Standard 2.0")] [assembly: AssemblyCompany("BrynzaEmotesPlugin")] [assembly: AssemblyConfiguration("Debug")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0")] [assembly: AssemblyProduct("BrynzaEmotesPlugin")] [assembly: AssemblyTitle("BrynzaEmotesPlugin")] [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: AssemblyVersion("1.0.0.0")] [module: UnverifiableCode] [module: RefSafetyRules(11)] namespace Microsoft.CodeAnalysis { [CompilerGenerated] [Microsoft.CodeAnalysis.Embedded] internal sealed class EmbeddedAttribute : Attribute { } } namespace System.Runtime.CompilerServices { [CompilerGenerated] [Microsoft.CodeAnalysis.Embedded] [AttributeUsage(AttributeTargets.Module, AllowMultiple = false, Inherited = false)] internal sealed class RefSafetyRulesAttribute : Attribute { public readonly int Version; public RefSafetyRulesAttribute(int P_0) { Version = P_0; } } } namespace ExamplePlugin { public static class Assets { private enum ResourceType { AssetBundle, SoundBank, DisplayRuleSetOverride, Other } private static readonly string[] KnownExtensions = new string[5] { "png", "exe", "txt", "xcf", "bat" }; private static readonly List<AssetBundle> AssetBundles = new List<AssetBundle>(); private static readonly Dictionary<string, int> AssetIndices = new Dictionary<string, int>(); private static readonly List<string> SoundBanksToLoad = new List<string>(); private static readonly List<string> FoundSoundBanks = new List<string>(); private static readonly Dictionary<string, string> DisplayRuleSetOverrides = new Dictionary<string, string>(); public static void AddBundle(string assetBundleLocation) { using Stream stream = Assembly.GetExecutingAssembly().GetManifestResourceStream("BrynzaEmotesPlugin." + assetBundleLocation); AssetBundle val = AssetBundle.LoadFromStream(stream); int count = AssetBundles.Count; AssetBundles.Add(val); string[] allAssetNames = val.GetAllAssetNames(); foreach (string text in allAssetNames) { string text2 = text.ToLower(); if (text2.StartsWith("assets/")) { text2 = text2.Remove(0, "assets/".Length); } AssetIndices[text2] = count; } } internal static void PopulateAssets() { string[] manifestResourceNames = Assembly.GetExecutingAssembly().GetManifestResourceNames(); string[] array = manifestResourceNames; foreach (string text in array) { switch (GetResourceType(text)) { case ResourceType.AssetBundle: LoadAssetBundle(text); break; case ResourceType.SoundBank: FoundSoundBanks.Add(text); break; case ResourceType.DisplayRuleSetOverride: DisplayRuleSetOverrides.Add(GetFileName(text).Split(new char[1] { '.' })[0], text); break; } } } private static string GetFileName(string resource) { string[] array = resource.Split(new char[1] { '.' }); return array[^2] + "." + array[^1]; } public static void LoadAssetBundlesFromFolder(string folderName) { folderName = Path.Combine(Path.GetDirectoryName(BrynzaEmotesPlugin.PInfo.Location), folderName); string[] files = Directory.GetFiles(folderName); foreach (string text in files) { AssetBundle val = AssetBundle.LoadFromFile(text); int count = AssetBundles.Count; AssetBundles.Add(val); string[] allAssetNames = val.GetAllAssetNames(); foreach (string text2 in allAssetNames) { string text3 = text2.ToLowerInvariant(); if (text3.StartsWith("assets/")) { text3 = text3.Remove(0, "assets/".Length); } AssetIndices[text3] = count; } DebugClass.Log((object)("Loaded AssetBundle: " + Path.GetFileName(text))); } } private static ResourceType GetResourceType(string resourceName) { string[] array = resourceName.Split(new char[1] { '.' }); if (array.Length == 0) { throw new Exception("Invalid asset found: " + resourceName); } string text = array[^1]; if (text == "bnk") { return ResourceType.SoundBank; } if (text == "drso") { return ResourceType.DisplayRuleSetOverride; } if (Array.IndexOf(KnownExtensions, text) >= 0) { return ResourceType.Other; } return ResourceType.AssetBundle; } internal static void AddSoundBank(string name) { SoundBanksToLoad.Add(name ?? ""); } public static void LoadAllSoundBanksFromFolder(string folderName) { folderName = Path.Combine(Path.GetDirectoryName(BrynzaEmotesPlugin.PInfo.Location), folderName); string[] files = Directory.GetFiles(folderName); foreach (string path in files) { using FileStream fileStream = File.OpenRead(folderName + "\\" + Path.GetFileName(path)); byte[] array = new byte[fileStream.Length]; fileStream.Read(array, 0, array.Length); SoundBanks.Add(array); DebugClass.Log((object)("Loaded SoundBank: " + Path.GetFileName(path))); } } private static void LoadAssetBundle(string location) { using Stream stream = Assembly.GetExecutingAssembly().GetManifestResourceStream(location); AssetBundle val = AssetBundle.LoadFromStream(stream); int count = AssetBundles.Count; AssetBundles.Add(val); string[] allAssetNames = val.GetAllAssetNames(); foreach (string text in allAssetNames) { string text2 = text.ToLowerInvariant(); if (text2.StartsWith("assets/")) { text2 = text2.Remove(0, "assets/".Length); } AssetIndices[text2] = count; } DebugClass.Log((object)("Loaded AssetBundle: " + location)); } internal static void LoadSoundBanks() { foreach (string foundSoundBank in FoundSoundBanks) { int num = SoundBanksToLoad.IndexOf(GetFileName(foundSoundBank)); if (num >= 0) { LoadSoundBank(foundSoundBank); SoundBanksToLoad.RemoveAt(num); } } } private static void LoadSoundBank(string location) { using Stream stream = Assembly.GetExecutingAssembly().GetManifestResourceStream(location); byte[] array = new byte[stream.Length]; stream.Read(array, 0, array.Length); SoundBanks.Add(array); DebugClass.Log((object)("Loaded SoundBank: " + location)); } public static T Load<T>(string assetName) where T : Object { if (assetName.Contains(":")) { string[] array = assetName.Split(new char[1] { ':' }); assetName = array[1].ToLower(); } if (assetName.StartsWith("assets/")) { assetName = assetName.Remove(0, "assets/".Length); } int index = AssetIndices[assetName]; return AssetBundles[index].LoadAsset<T>("assets/" + assetName); } } [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInPlugin("com.brynzananas.brynzaemotes", "Brynzananas Emotes", "1.4.0")] [NetworkCompatibility(/*Could not decode attribute arguments.*/)] public class BrynzaEmotesPlugin : BaseUnityPlugin { public const string PluginGUID = "com.brynzananas.brynzaemotes"; public const string PluginAuthor = "Brynzananas"; public const string PluginName = "Brynzananas Emotes"; public const string PluginVersion = "1.4.0"; private string currentAnim = ""; public static ConfigEntry<KeyboardShortcut> QuickEmoteButton1; public static ConfigEntry<string> QuickEmoteString1; public static ConfigEntry<KeyboardShortcut> QuickEmoteButton2; public static ConfigEntry<string> QuickEmoteString2; public static ConfigEntry<KeyboardShortcut> QuickEmoteButton3; public static ConfigEntry<string> QuickEmoteString3; public static ConfigEntry<KeyboardShortcut> QuickEmoteButton4; public static ConfigEntry<string> QuickEmoteString4; public static ConfigEntry<KeyboardShortcut> QuickEmoteButton5; public static ConfigEntry<string> QuickEmoteString5; public static ConfigEntry<KeyboardShortcut> QuickEmoteButton6; public static ConfigEntry<string> QuickEmoteString6; public static ConfigEntry<KeyboardShortcut> QuickEmoteButton7; public static ConfigEntry<string> QuickEmoteString7; public static ConfigEntry<KeyboardShortcut> QuickEmoteButton8; public static ConfigEntry<string> QuickEmoteString8; public static ConfigEntry<KeyboardShortcut> QuickEmoteButton9; public static ConfigEntry<string> QuickEmoteString9; public static ConfigEntry<KeyboardShortcut> RandomEmotesButton1; public static ConfigEntry<string> RandomEmotesString1; public static ConfigEntry<KeyboardShortcut> RandomEmotesButton2; public static ConfigEntry<string> RandomEmotesString2; public static ConfigEntry<KeyboardShortcut> RandomEmotesButton3; public static ConfigEntry<string> RandomEmotesString3; public static ConfigEntry<KeyboardShortcut> RandomEmotesButton4; public static ConfigEntry<string> RandomEmotesString4; public static ConfigEntry<KeyboardShortcut> RandomEmotesButton5; public static ConfigEntry<string> RandomEmotesString5; public static ConfigEntry<bool> PizzaTowerEmotes; public static ConfigEntry<bool> Emote1; public static ConfigEntry<bool> Emote2; public static ConfigEntry<bool> Emote3; public static ConfigEntry<bool> Emote4; public static ConfigEntry<bool> Emote5; public static ConfigEntry<bool> Emote6; public static ConfigEntry<bool> Emote7; public static ConfigEntry<bool> Emote8; public static ConfigEntry<bool> Emote9; public static ConfigEntry<bool> Emote10; public static ConfigEntry<bool> Emote11; public static ConfigEntry<bool> Emote12; public static ConfigEntry<bool> Emote13; public static ConfigEntry<bool> Emote14; public static ConfigEntry<bool> Emote15; public static ConfigEntry<bool> Emote16; public static ConfigEntry<bool> Emote17; public static ConfigEntry<bool> Emote18; public static ConfigEntry<bool> Emote19; public static ConfigEntry<bool> Emote20; public static ConfigEntry<bool> Emote21; public static ConfigEntry<bool> Emote22; public static ConfigEntry<bool> Emote23; public static ConfigEntry<bool> Emote24; public static ConfigEntry<bool> Emote25; public static ConfigEntry<bool> Emote26; public static ConfigEntry<bool> Emote27; public static ConfigEntry<bool> Emote28; public static ConfigEntry<bool> Emote29; public static ConfigEntry<bool> Emote30; public static ConfigEntry<bool> Emote31; public static ConfigEntry<bool> Emote32; public static ConfigEntry<bool> Emote33; public static ConfigEntry<bool> Emote34; public static ConfigEntry<bool> Emote35; public static ConfigEntry<bool> Emote36; public static ConfigEntry<bool> Emote37; public static ConfigEntry<bool> Emote38; public static ConfigEntry<bool> Emote39; public static ConfigEntry<bool> Emote40; public static ConfigEntry<bool> Emote41; public static ConfigEntry<bool> Emote42; public static ConfigEntry<bool> Emote43; public static ConfigEntry<bool> Emote44; public static ConfigEntry<bool> Emote45; public static ConfigEntry<bool> Emote46; public static ConfigEntry<bool> Emote47; public static ConfigEntry<bool> Emote48; public static ConfigEntry<bool> Emote49; public static ConfigEntry<bool> Emote50; public static ConfigEntry<bool> Emote51; public static ConfigEntry<bool> Emote52; public static ConfigEntry<bool> Emote53; public static ConfigEntry<bool> Emote54; public static ConfigEntry<bool> Emote55; public static ConfigEntry<bool> Emote56; public static ConfigEntry<bool> Emote57; public static ConfigEntry<bool> Emote58; public static ConfigEntry<bool> Emote59; public static ConfigEntry<bool> Emote60; public static ConfigEntry<bool> Emote61; internal static List<string> BumperCartEmotes = new List<string>(); public static BrynzaEmotesPlugin instance; private bool restartRequired = true; private string[] Taunts = new string[9] { "Taunt1", "Taunt2", "Taunt3", "Taunt4", "Taunt5", "Taunt6", "Taunt7", "Taunt8", "Taunt9" }; private string[] BumperCartString = new string[2] { "ScoutBumperCart", "EngineerBumperCart" }; private int EmoteIndex; private string[] RandomEmotesArray1; private string[] RandomEmotesArray2; private string[] RandomEmotesArray3; private string[] RandomEmotesArray4; private string[] RandomEmotesArray5; private int stand = -1; private List<BoneMapper> punchingMappers = new List<BoneMapper>(); private int prop1 = -1; private CameraParamsOverrideHandle fovHandle; internal CharacterBody localBody = null; public static PluginInfo PInfo { get; private set; } public void Awake() { //IL_0040: Unknown result type (might be due to invalid IL or missing references) //IL_008f: Unknown result type (might be due to invalid IL or missing references) //IL_00de: Unknown result type (might be due to invalid IL or missing references) //IL_012d: Unknown result type (might be due to invalid IL or missing references) //IL_017c: Unknown result type (might be due to invalid IL or missing references) //IL_01cb: Unknown result type (might be due to invalid IL or missing references) //IL_021a: Unknown result type (might be due to invalid IL or missing references) //IL_0269: Unknown result type (might be due to invalid IL or missing references) //IL_02b8: Unknown result type (might be due to invalid IL or missing references) //IL_0307: Unknown result type (might be due to invalid IL or missing references) //IL_0356: Unknown result type (might be due to invalid IL or missing references) //IL_03a5: Unknown result type (might be due to invalid IL or missing references) //IL_03f4: Unknown result type (might be due to invalid IL or missing references) //IL_0443: Unknown result type (might be due to invalid IL or missing references) //IL_0c60: Unknown result type (might be due to invalid IL or missing references) //IL_0c6a: Expected O, but got Unknown //IL_0c70: Unknown result type (might be due to invalid IL or missing references) //IL_0c7a: Expected O, but got Unknown //IL_0c80: Unknown result type (might be due to invalid IL or missing references) //IL_0c8a: Expected O, but got Unknown //IL_0c90: Unknown result type (might be due to invalid IL or missing references) //IL_0c9a: Expected O, but got Unknown //IL_0ca0: Unknown result type (might be due to invalid IL or missing references) //IL_0caa: Expected O, but got Unknown //IL_0cb0: Unknown result type (might be due to invalid IL or missing references) //IL_0cba: Expected O, but got Unknown //IL_0cc0: Unknown result type (might be due to invalid IL or missing references) //IL_0cca: Expected O, but got Unknown //IL_0cd0: Unknown result type (might be due to invalid IL or missing references) //IL_0cda: Expected O, but got Unknown //IL_0ce0: Unknown result type (might be due to invalid IL or missing references) //IL_0cea: Expected O, but got Unknown //IL_0cf0: Unknown result type (might be due to invalid IL or missing references) //IL_0cfa: Expected O, but got Unknown //IL_0d00: Unknown result type (might be due to invalid IL or missing references) //IL_0d0a: Expected O, but got Unknown //IL_0d10: Unknown result type (might be due to invalid IL or missing references) //IL_0d1a: Expected O, but got Unknown //IL_0d20: Unknown result type (might be due to invalid IL or missing references) //IL_0d2a: Expected O, but got Unknown //IL_0d30: Unknown result type (might be due to invalid IL or missing references) //IL_0d3a: Expected O, but got Unknown //IL_0d40: Unknown result type (might be due to invalid IL or missing references) //IL_0d4a: Expected O, but got Unknown //IL_0d50: Unknown result type (might be due to invalid IL or missing references) //IL_0d5a: Expected O, but got Unknown //IL_0d60: Unknown result type (might be due to invalid IL or missing references) //IL_0d6a: Expected O, but got Unknown //IL_0d70: Unknown result type (might be due to invalid IL or missing references) //IL_0d7a: Expected O, but got Unknown //IL_0d80: Unknown result type (might be due to invalid IL or missing references) //IL_0d8a: Expected O, but got Unknown //IL_0d90: Unknown result type (might be due to invalid IL or missing references) //IL_0d9a: Expected O, but got Unknown //IL_0da0: Unknown result type (might be due to invalid IL or missing references) //IL_0daa: Expected O, but got Unknown //IL_0db0: Unknown result type (might be due to invalid IL or missing references) //IL_0dba: Expected O, but got Unknown //IL_0dc0: Unknown result type (might be due to invalid IL or missing references) //IL_0dca: Expected O, but got Unknown //IL_0dd0: Unknown result type (might be due to invalid IL or missing references) //IL_0dda: Expected O, but got Unknown //IL_0de0: Unknown result type (might be due to invalid IL or missing references) //IL_0dea: Expected O, but got Unknown //IL_0df0: Unknown result type (might be due to invalid IL or missing references) //IL_0dfa: Expected O, but got Unknown //IL_0e00: Unknown result type (might be due to invalid IL or missing references) //IL_0e0a: Expected O, but got Unknown //IL_0e10: Unknown result type (might be due to invalid IL or missing references) //IL_0e1a: Expected O, but got Unknown //IL_0e20: Unknown result type (might be due to invalid IL or missing references) //IL_0e25: Unknown result type (might be due to invalid IL or missing references) //IL_0e36: Expected O, but got Unknown //IL_0e31: Unknown result type (might be due to invalid IL or missing references) //IL_0e3b: Expected O, but got Unknown //IL_0e41: Unknown result type (might be due to invalid IL or missing references) //IL_0e46: Unknown result type (might be due to invalid IL or missing references) //IL_0e57: Expected O, but got Unknown //IL_0e52: Unknown result type (might be due to invalid IL or missing references) //IL_0e5c: Expected O, but got Unknown //IL_0e62: Unknown result type (might be due to invalid IL or missing references) //IL_0e67: Unknown result type (might be due to invalid IL or missing references) //IL_0e78: Expected O, but got Unknown //IL_0e73: Unknown result type (might be due to invalid IL or missing references) //IL_0e7d: Expected O, but got Unknown //IL_0e83: Unknown result type (might be due to invalid IL or missing references) //IL_0e88: Unknown result type (might be due to invalid IL or missing references) //IL_0e99: Expected O, but got Unknown //IL_0e94: Unknown result type (might be due to invalid IL or missing references) //IL_0e9e: Expected O, but got Unknown //IL_0ea4: Unknown result type (might be due to invalid IL or missing references) //IL_0ea9: Unknown result type (might be due to invalid IL or missing references) //IL_0eba: Expected O, but got Unknown //IL_0eb5: Unknown result type (might be due to invalid IL or missing references) //IL_0ebf: Expected O, but got Unknown //IL_0ec5: Unknown result type (might be due to invalid IL or missing references) //IL_0eca: Unknown result type (might be due to invalid IL or missing references) //IL_0edb: Expected O, but got Unknown //IL_0ed6: Unknown result type (might be due to invalid IL or missing references) //IL_0ee0: Expected O, but got Unknown //IL_0ee6: Unknown result type (might be due to invalid IL or missing references) //IL_0eeb: Unknown result type (might be due to invalid IL or missing references) //IL_0efc: Expected O, but got Unknown //IL_0ef7: Unknown result type (might be due to invalid IL or missing references) //IL_0f01: Expected O, but got Unknown //IL_0f07: Unknown result type (might be due to invalid IL or missing references) //IL_0f0c: Unknown result type (might be due to invalid IL or missing references) //IL_0f1d: Expected O, but got Unknown //IL_0f18: Unknown result type (might be due to invalid IL or missing references) //IL_0f22: Expected O, but got Unknown //IL_0f28: Unknown result type (might be due to invalid IL or missing references) //IL_0f2d: Unknown result type (might be due to invalid IL or missing references) //IL_0f3e: Expected O, but got Unknown //IL_0f39: Unknown result type (might be due to invalid IL or missing references) //IL_0f43: Expected O, but got Unknown //IL_0f49: Unknown result type (might be due to invalid IL or missing references) //IL_0f4e: Unknown result type (might be due to invalid IL or missing references) //IL_0f5f: Expected O, but got Unknown //IL_0f5a: Unknown result type (might be due to invalid IL or missing references) //IL_0f64: Expected O, but got Unknown //IL_0f6a: Unknown result type (might be due to invalid IL or missing references) //IL_0f6f: Unknown result type (might be due to invalid IL or missing references) //IL_0f80: Expected O, but got Unknown //IL_0f7b: Unknown result type (might be due to invalid IL or missing references) //IL_0f85: Expected O, but got Unknown //IL_0f8b: Unknown result type (might be due to invalid IL or missing references) //IL_0f90: Unknown result type (might be due to invalid IL or missing references) //IL_0fa1: Expected O, but got Unknown //IL_0f9c: Unknown result type (might be due to invalid IL or missing references) //IL_0fa6: Expected O, but got Unknown //IL_0fac: Unknown result type (might be due to invalid IL or missing references) //IL_0fb1: Unknown result type (might be due to invalid IL or missing references) //IL_0fc2: Expected O, but got Unknown //IL_0fbd: Unknown result type (might be due to invalid IL or missing references) //IL_0fc7: Expected O, but got Unknown //IL_0fcd: Unknown result type (might be due to invalid IL or missing references) //IL_0fd2: Unknown result type (might be due to invalid IL or missing references) //IL_0fe3: Expected O, but got Unknown //IL_0fde: Unknown result type (might be due to invalid IL or missing references) //IL_0fe8: Expected O, but got Unknown //IL_0fee: Unknown result type (might be due to invalid IL or missing references) //IL_0ff3: Unknown result type (might be due to invalid IL or missing references) //IL_1004: Expected O, but got Unknown //IL_0fff: Unknown result type (might be due to invalid IL or missing references) //IL_1009: Expected O, but got Unknown //IL_100f: Unknown result type (might be due to invalid IL or missing references) //IL_1014: Unknown result type (might be due to invalid IL or missing references) //IL_1025: Expected O, but got Unknown //IL_1020: Unknown result type (might be due to invalid IL or missing references) //IL_102a: Expected O, but got Unknown //IL_1030: Unknown result type (might be due to invalid IL or missing references) //IL_1035: Unknown result type (might be due to invalid IL or missing references) //IL_1046: Expected O, but got Unknown //IL_1041: Unknown result type (might be due to invalid IL or missing references) //IL_104b: Expected O, but got Unknown //IL_1051: Unknown result type (might be due to invalid IL or missing references) //IL_1056: Unknown result type (might be due to invalid IL or missing references) //IL_1067: Expected O, but got Unknown //IL_1062: Unknown result type (might be due to invalid IL or missing references) //IL_106c: Expected O, but got Unknown //IL_1072: Unknown result type (might be due to invalid IL or missing references) //IL_1077: Unknown result type (might be due to invalid IL or missing references) //IL_1088: Expected O, but got Unknown //IL_1083: Unknown result type (might be due to invalid IL or missing references) //IL_108d: Expected O, but got Unknown //IL_1093: Unknown result type (might be due to invalid IL or missing references) //IL_1098: Unknown result type (might be due to invalid IL or missing references) //IL_10a9: Expected O, but got Unknown //IL_10a4: Unknown result type (might be due to invalid IL or missing references) //IL_10ae: Expected O, but got Unknown //IL_10b4: Unknown result type (might be due to invalid IL or missing references) //IL_10b9: Unknown result type (might be due to invalid IL or missing references) //IL_10ca: Expected O, but got Unknown //IL_10c5: Unknown result type (might be due to invalid IL or missing references) //IL_10cf: Expected O, but got Unknown //IL_10d5: Unknown result type (might be due to invalid IL or missing references) //IL_10da: Unknown result type (might be due to invalid IL or missing references) //IL_10eb: Expected O, but got Unknown //IL_10e6: Unknown result type (might be due to invalid IL or missing references) //IL_10f0: Expected O, but got Unknown //IL_10f6: Unknown result type (might be due to invalid IL or missing references) //IL_10fb: Unknown result type (might be due to invalid IL or missing references) //IL_110c: Expected O, but got Unknown //IL_1107: Unknown result type (might be due to invalid IL or missing references) //IL_1111: Expected O, but got Unknown //IL_1117: Unknown result type (might be due to invalid IL or missing references) //IL_111c: Unknown result type (might be due to invalid IL or missing references) //IL_112d: Expected O, but got Unknown //IL_1128: Unknown result type (might be due to invalid IL or missing references) //IL_1132: Expected O, but got Unknown //IL_1138: Unknown result type (might be due to invalid IL or missing references) //IL_113d: Unknown result type (might be due to invalid IL or missing references) //IL_114e: Expected O, but got Unknown //IL_1149: Unknown result type (might be due to invalid IL or missing references) //IL_1153: Expected O, but got Unknown //IL_1159: Unknown result type (might be due to invalid IL or missing references) //IL_115e: Unknown result type (might be due to invalid IL or missing references) //IL_116f: Expected O, but got Unknown //IL_116a: Unknown result type (might be due to invalid IL or missing references) //IL_1174: Expected O, but got Unknown //IL_117a: Unknown result type (might be due to invalid IL or missing references) //IL_117f: Unknown result type (might be due to invalid IL or missing references) //IL_1190: Expected O, but got Unknown //IL_118b: Unknown result type (might be due to invalid IL or missing references) //IL_1195: Expected O, but got Unknown //IL_119b: Unknown result type (might be due to invalid IL or missing references) //IL_11a0: Unknown result type (might be due to invalid IL or missing references) //IL_11b1: Expected O, but got Unknown //IL_11ac: Unknown result type (might be due to invalid IL or missing references) //IL_11b6: Expected O, but got Unknown //IL_11bc: Unknown result type (might be due to invalid IL or missing references) //IL_11c1: Unknown result type (might be due to invalid IL or missing references) //IL_11d2: Expected O, but got Unknown //IL_11cd: Unknown result type (might be due to invalid IL or missing references) //IL_11d7: Expected O, but got Unknown //IL_11dd: Unknown result type (might be due to invalid IL or missing references) //IL_11e2: Unknown result type (might be due to invalid IL or missing references) //IL_11f3: Expected O, but got Unknown //IL_11ee: Unknown result type (might be due to invalid IL or missing references) //IL_11f8: Expected O, but got Unknown //IL_11fe: Unknown result type (might be due to invalid IL or missing references) //IL_1203: Unknown result type (might be due to invalid IL or missing references) //IL_1214: Expected O, but got Unknown //IL_120f: Unknown result type (might be due to invalid IL or missing references) //IL_1219: Expected O, but got Unknown //IL_121f: Unknown result type (might be due to invalid IL or missing references) //IL_1224: Unknown result type (might be due to invalid IL or missing references) //IL_1235: Expected O, but got Unknown //IL_1230: Unknown result type (might be due to invalid IL or missing references) //IL_123a: Expected O, but got Unknown //IL_1240: Unknown result type (might be due to invalid IL or missing references) //IL_1245: Unknown result type (might be due to invalid IL or missing references) //IL_1256: Expected O, but got Unknown //IL_1251: Unknown result type (might be due to invalid IL or missing references) //IL_125b: Expected O, but got Unknown //IL_1261: Unknown result type (might be due to invalid IL or missing references) //IL_1266: Unknown result type (might be due to invalid IL or missing references) //IL_1277: Expected O, but got Unknown //IL_1272: Unknown result type (might be due to invalid IL or missing references) //IL_127c: Expected O, but got Unknown //IL_1282: Unknown result type (might be due to invalid IL or missing references) //IL_1287: Unknown result type (might be due to invalid IL or missing references) //IL_1298: Expected O, but got Unknown //IL_1293: Unknown result type (might be due to invalid IL or missing references) //IL_129d: Expected O, but got Unknown //IL_12a3: Unknown result type (might be due to invalid IL or missing references) //IL_12a8: Unknown result type (might be due to invalid IL or missing references) //IL_12b9: Expected O, but got Unknown //IL_12b4: Unknown result type (might be due to invalid IL or missing references) //IL_12be: Expected O, but got Unknown //IL_12c4: Unknown result type (might be due to invalid IL or missing references) //IL_12c9: Unknown result type (might be due to invalid IL or missing references) //IL_12da: Expected O, but got Unknown //IL_12d5: Unknown result type (might be due to invalid IL or missing references) //IL_12df: Expected O, but got Unknown //IL_12e5: Unknown result type (might be due to invalid IL or missing references) //IL_12ea: Unknown result type (might be due to invalid IL or missing references) //IL_12fb: Expected O, but got Unknown //IL_12f6: Unknown result type (might be due to invalid IL or missing references) //IL_1300: Expected O, but got Unknown //IL_1306: Unknown result type (might be due to invalid IL or missing references) //IL_130b: Unknown result type (might be due to invalid IL or missing references) //IL_131c: Expected O, but got Unknown //IL_1317: Unknown result type (might be due to invalid IL or missing references) //IL_1321: Expected O, but got Unknown //IL_1327: Unknown result type (might be due to invalid IL or missing references) //IL_132c: Unknown result type (might be due to invalid IL or missing references) //IL_133d: Expected O, but got Unknown //IL_1338: Unknown result type (might be due to invalid IL or missing references) //IL_1342: Expected O, but got Unknown //IL_1348: Unknown result type (might be due to invalid IL or missing references) //IL_134d: Unknown result type (might be due to invalid IL or missing references) //IL_135e: Expected O, but got Unknown //IL_1359: Unknown result type (might be due to invalid IL or missing references) //IL_1363: Expected O, but got Unknown //IL_1369: Unknown result type (might be due to invalid IL or missing references) //IL_136e: Unknown result type (might be due to invalid IL or missing references) //IL_137f: Expected O, but got Unknown //IL_137a: Unknown result type (might be due to invalid IL or missing references) //IL_1384: Expected O, but got Unknown //IL_138a: Unknown result type (might be due to invalid IL or missing references) //IL_138f: Unknown result type (might be due to invalid IL or missing references) //IL_13a0: Expected O, but got Unknown //IL_139b: Unknown result type (might be due to invalid IL or missing references) //IL_13a5: Expected O, but got Unknown //IL_13ab: Unknown result type (might be due to invalid IL or missing references) //IL_13b0: Unknown result type (might be due to invalid IL or missing references) //IL_13c1: Expected O, but got Unknown //IL_13bc: Unknown result type (might be due to invalid IL or missing references) //IL_13c6: Expected O, but got Unknown //IL_13cc: Unknown result type (might be due to invalid IL or missing references) //IL_13d1: Unknown result type (might be due to invalid IL or missing references) //IL_13e2: Expected O, but got Unknown //IL_13dd: Unknown result type (might be due to invalid IL or missing references) //IL_13e7: Expected O, but got Unknown //IL_13ed: Unknown result type (might be due to invalid IL or missing references) //IL_13f2: Unknown result type (might be due to invalid IL or missing references) //IL_1403: Expected O, but got Unknown //IL_13fe: Unknown result type (might be due to invalid IL or missing references) //IL_1408: Expected O, but got Unknown //IL_140e: Unknown result type (might be due to invalid IL or missing references) //IL_1413: Unknown result type (might be due to invalid IL or missing references) //IL_1424: Expected O, but got Unknown //IL_141f: Unknown result type (might be due to invalid IL or missing references) //IL_1429: Expected O, but got Unknown //IL_142f: Unknown result type (might be due to invalid IL or missing references) //IL_1434: Unknown result type (might be due to invalid IL or missing references) //IL_1445: Expected O, but got Unknown //IL_1440: Unknown result type (might be due to invalid IL or missing references) //IL_144a: Expected O, but got Unknown //IL_1450: Unknown result type (might be due to invalid IL or missing references) //IL_1455: Unknown result type (might be due to invalid IL or missing references) //IL_1466: Expected O, but got Unknown //IL_1461: Unknown result type (might be due to invalid IL or missing references) //IL_146b: Expected O, but got Unknown //IL_1471: Unknown result type (might be due to invalid IL or missing references) //IL_1476: Unknown result type (might be due to invalid IL or missing references) //IL_1487: Expected O, but got Unknown //IL_1482: Unknown result type (might be due to invalid IL or missing references) //IL_148c: Expected O, but got Unknown //IL_1492: Unknown result type (might be due to invalid IL or missing references) //IL_1497: Unknown result type (might be due to invalid IL or missing references) //IL_14a8: Expected O, but got Unknown //IL_14a3: Unknown result type (might be due to invalid IL or missing references) //IL_14ad: Expected O, but got Unknown //IL_14b3: Unknown result type (might be due to invalid IL or missing references) //IL_14b8: Unknown result type (might be due to invalid IL or missing references) //IL_14c9: Expected O, but got Unknown //IL_14c4: Unknown result type (might be due to invalid IL or missing references) //IL_14ce: Expected O, but got Unknown //IL_14d4: Unknown result type (might be due to invalid IL or missing references) //IL_14d9: Unknown result type (might be due to invalid IL or missing references) //IL_14ea: Expected O, but got Unknown //IL_14e5: Unknown result type (might be due to invalid IL or missing references) //IL_14ef: Expected O, but got Unknown //IL_14f5: Unknown result type (might be due to invalid IL or missing references) //IL_14fa: Unknown result type (might be due to invalid IL or missing references) //IL_150b: Expected O, but got Unknown //IL_1506: Unknown result type (might be due to invalid IL or missing references) //IL_1510: Expected O, but got Unknown //IL_1516: Unknown result type (might be due to invalid IL or missing references) //IL_151b: Unknown result type (might be due to invalid IL or missing references) //IL_152c: Expected O, but got Unknown //IL_1527: Unknown result type (might be due to invalid IL or missing references) //IL_1531: Expected O, but got Unknown //IL_1537: Unknown result type (might be due to invalid IL or missing references) //IL_153c: Unknown result type (might be due to invalid IL or missing references) //IL_154d: Expected O, but got Unknown //IL_1548: Unknown result type (might be due to invalid IL or missing references) //IL_1552: Expected O, but got Unknown //IL_1558: Unknown result type (might be due to invalid IL or missing references) //IL_155d: Unknown result type (might be due to invalid IL or missing references) //IL_156e: Expected O, but got Unknown //IL_1569: Unknown result type (might be due to invalid IL or missing references) //IL_1573: Expected O, but got Unknown //IL_1579: Unknown result type (might be due to invalid IL or missing references) //IL_157e: Unknown result type (might be due to invalid IL or missing references) //IL_158f: Expected O, but got Unknown //IL_158a: Unknown result type (might be due to invalid IL or missing references) //IL_1594: Expected O, but got Unknown //IL_159a: Unknown result type (might be due to invalid IL or missing references) //IL_159f: Unknown result type (might be due to invalid IL or missing references) //IL_15b0: Expected O, but got Unknown //IL_15ab: Unknown result type (might be due to invalid IL or missing references) //IL_15b5: Expected O, but got Unknown //IL_15bb: Unknown result type (might be due to invalid IL or missing references) //IL_15c0: Unknown result type (might be due to invalid IL or missing references) //IL_15d1: Expected O, but got Unknown //IL_15cc: Unknown result type (might be due to invalid IL or missing references) //IL_15d6: Expected O, but got Unknown //IL_23ed: Unknown result type (might be due to invalid IL or missing references) //IL_23f7: Expected O, but got Unknown //IL_23ff: Unknown result type (might be due to invalid IL or missing references) //IL_2409: Expected O, but got Unknown //IL_2411: Unknown result type (might be due to invalid IL or missing references) //IL_241b: Expected O, but got Unknown instance = this; PInfo = ((BaseUnityPlugin)this).Info; Assets.LoadAssetBundlesFromFolder("assetbundles"); Assets.LoadAllSoundBanksFromFolder("soundbanks"); QuickEmoteButton1 = ((BaseUnityPlugin)this).Config.Bind<KeyboardShortcut>("Controls", "Quick Emote 1 button", new KeyboardShortcut((KeyCode)49, Array.Empty<KeyCode>()), "Press to quick emote 1"); QuickEmoteString1 = ((BaseUnityPlugin)this).Config.Bind<string>("Controls", "Quick Emote 1", "Like", "Set emote to first Quick Emote slot"); QuickEmoteButton2 = ((BaseUnityPlugin)this).Config.Bind<KeyboardShortcut>("Controls", "Quick Emote 2 button", new KeyboardShortcut((KeyCode)50, Array.Empty<KeyCode>()), "Press to quick emote 2"); QuickEmoteString2 = ((BaseUnityPlugin)this).Config.Bind<string>("Controls", "Quick Emote 2", "DisLike", "Set emote to second Quick Emote slot"); QuickEmoteButton3 = ((BaseUnityPlugin)this).Config.Bind<KeyboardShortcut>("Controls", "Quick Emote 3 button", new KeyboardShortcut((KeyCode)51, Array.Empty<KeyCode>()), "Press to quick emote 3"); QuickEmoteString3 = ((BaseUnityPlugin)this).Config.Bind<string>("Controls", "Quick Emote 3", "OhMyGod", "Set emote to third Quick Emote slot"); QuickEmoteButton4 = ((BaseUnityPlugin)this).Config.Bind<KeyboardShortcut>("Controls", "Quick Emote 4 button", new KeyboardShortcut((KeyCode)52, Array.Empty<KeyCode>()), "Press to quick emote 4"); QuickEmoteString4 = ((BaseUnityPlugin)this).Config.Bind<string>("Controls", "Quick Emote 4", "Yippee", "Set emote to fourth Quick Emote slot"); QuickEmoteButton5 = ((BaseUnityPlugin)this).Config.Bind<KeyboardShortcut>("Controls", "Quick Emote 5 button", new KeyboardShortcut((KeyCode)53, Array.Empty<KeyCode>()), "Press to quick emote 5"); QuickEmoteString5 = ((BaseUnityPlugin)this).Config.Bind<string>("Controls", "Quick Emote 5", "GetOut", "Set emote to fifth Quick Emote slot"); QuickEmoteButton6 = ((BaseUnityPlugin)this).Config.Bind<KeyboardShortcut>("Controls", "Quick Emote 6 button", new KeyboardShortcut((KeyCode)54, Array.Empty<KeyCode>()), "Press to quick emote 6"); QuickEmoteString6 = ((BaseUnityPlugin)this).Config.Bind<string>("Controls", "Quick Emote 6", "FuckYou", "Set emote to sixth Quick Emote slot"); QuickEmoteButton7 = ((BaseUnityPlugin)this).Config.Bind<KeyboardShortcut>("Controls", "Quick Emote 7 button", new KeyboardShortcut((KeyCode)55, Array.Empty<KeyCode>()), "Press to quick emote 7"); QuickEmoteString7 = ((BaseUnityPlugin)this).Config.Bind<string>("Controls", "Quick Emote 7", "OffToHangMyself", "Set emote to seventh Quick Emote slot"); QuickEmoteButton8 = ((BaseUnityPlugin)this).Config.Bind<KeyboardShortcut>("Controls", "Quick Emote 8 button", new KeyboardShortcut((KeyCode)56, Array.Empty<KeyCode>()), "Press to quick emote 8"); QuickEmoteString8 = ((BaseUnityPlugin)this).Config.Bind<string>("Controls", "Quick Emote 8", "IAmNotGonnaSugarCoatIt", "Set emote to eighth Quick Emote slot"); QuickEmoteButton9 = ((BaseUnityPlugin)this).Config.Bind<KeyboardShortcut>("Controls", "Quick Emote 9 button", new KeyboardShortcut((KeyCode)57, Array.Empty<KeyCode>()), "Press to quick emote 9"); QuickEmoteString9 = ((BaseUnityPlugin)this).Config.Bind<string>("Controls", "Quick Emote 9", "EngineerDance", "Set emote to nineth Quick Emote slot"); RandomEmotesButton1 = ((BaseUnityPlugin)this).Config.Bind<KeyboardShortcut>("Controls", "Random Emote 1 button", new KeyboardShortcut((KeyCode)116, Array.Empty<KeyCode>()), "Press to random emote 1"); RandomEmotesString1 = ((BaseUnityPlugin)this).Config.Bind<string>("Controls", "Random Emote 1", "Taunt1,Taunt2,Taunt3,Taunt4,Taunt5,Taunt6,Taunt7,Taunt8,Taunt9", "Play random emote from the first container"); RandomEmotesButton2 = ((BaseUnityPlugin)this).Config.Bind<KeyboardShortcut>("Controls", "Random Emote 2 button", new KeyboardShortcut((KeyCode)121, Array.Empty<KeyCode>()), "Press to random emote 2"); RandomEmotesString2 = ((BaseUnityPlugin)this).Config.Bind<string>("Controls", "Random Emote 2", "ScoutTaunt,EngineerDance,ScoutBonk,DemoButt,DemoDrink,DemoTaunt,DemoKaboom,HeavyBoxing,HeavyBlunt,HeavyTaunt,HeavyEat,MedicBlunt,MedicTaunt,MedicBow,PyroBlunt,PyroGuitarPlay,SniperTauntSMG,SniperTaunt,SoldierBeatHead,SoldierBeatChest,SpyCrab", "Play random emote from the second container"); RandomEmotesButton3 = ((BaseUnityPlugin)this).Config.Bind<KeyboardShortcut>("Controls", "Random Emote 3 button", new KeyboardShortcut((KeyCode)117, Array.Empty<KeyCode>()), "Press to random emote 3"); RandomEmotesString3 = ((BaseUnityPlugin)this).Config.Bind<string>("Controls", "Random Emote 3", "PeppinoDance,3DGifRun,FeastDance,BallsRookie,IAmNotGonnaSugarCoatIt,OffToHangMyself,YouAreSoSussy,PootisBird,CaramellDansen,AbuenoAdiosMaster,PraiseTheSun,Invisible,IWokeUpInANewBugatti,Bailan las Rochas y las Chetas,BigShoeLmfao,CaramellDansen,CmereMyLittlePogchamp,DrLiveSeyWalk,ImagenaryTechnique,KahootBonetrousle,KiryuPose,LeaveMeAlone,MajimaDance,MajimaPose,OhHeyBabe,OutOfTouch,TomSpeen,WhatAThrill,YouAreSoSussy,YouSpinMeRound,APose,Popipo,DragonDreamFeet,Yaga", "Play random emote from the third container"); RandomEmotesButton4 = ((BaseUnityPlugin)this).Config.Bind<KeyboardShortcut>("Controls", "Random Emote 4 button", new KeyboardShortcut((KeyCode)105, Array.Empty<KeyCode>()), "Press to random emote 4"); RandomEmotesString4 = ((BaseUnityPlugin)this).Config.Bind<string>("Controls", "Random Emote 4", "OhMyGod,Yippee,Like,DisLike,GetOut,FuckYou", "Play random emote from the forth container"); RandomEmotesButton5 = ((BaseUnityPlugin)this).Config.Bind<KeyboardShortcut>("Controls", "Random Emote 5 button", new KeyboardShortcut((KeyCode)111, Array.Empty<KeyCode>()), "Press to random emote 5"); RandomEmotesString5 = ((BaseUnityPlugin)this).Config.Bind<string>("Controls", "Random Emote 5", "", "Play random emote from the fifth container"); PizzaTowerEmotes = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "Pizza Tower Taunts", true, "Enable Pizza Tower Taunts emotes?"); Emote1 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "PeppinoDance", true, "Enable PeppinoDance emote?"); Emote2 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "3DGifRun", true, "Enable 3DGifRun emote?"); Emote3 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "FeastDance", true, "Enable FeastDance emote?"); Emote4 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "BallsRookie", true, "Enable BallsRookie emote?"); Emote4 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "PootisBird", true, "Enable PootisBird emote?"); Emote5 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "YouAreSoSussy", true, "Enable YouAreSoSussy emote?"); Emote6 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "CaramellDansen", true, "Enable CaramellDansen emote?"); Emote7 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "AbuenoAdiosMaster", true, "Enable AbuenoAdiosMaster emote?"); Emote8 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "PraiseTheSun", true, "Enable PraiseTheSun emote?"); Emote9 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "BallsRookie", true, "Enable BallsRookie emote?"); Emote10 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "OffToHangMyself", true, "Enable OffToHangMyself emote?"); Emote11 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "Invisible", true, "Enable Invisible emote?"); Emote12 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "IWokeUpInANewBugatti", true, "Enable IWokeUpInANewBugatti emote?"); Emote13 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "Bailan las Rochas y las Chetas", true, "Enable Bailan las Rochas y las Chetas emote?"); Emote14 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "LeaveMeAlone", true, "Enable LeaveMeAlone emote?"); Emote15 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "KiryuPose", true, "Enable KiryuPose emote?"); Emote16 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "MajimaPose", true, "Enable MajimaPose emote?"); Emote17 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "OhHeyBabe", true, "Enable OhHeyBabe emote?"); Emote18 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "TomSpeen", true, "Enable TomSpeen emote?"); Emote19 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "APose", true, "Enable APose emote?"); Emote20 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "ImagenaryTechnique", true, "Enable ImagenaryTechnique emote?"); Emote21 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "GetOut", true, "Enable GetOut emote?"); Emote22 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "Like", true, "Enable Like emote?"); Emote23 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "DisLike", true, "Enable DisLike emote?"); Emote24 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "KahootBonetrousle", true, "Enable KahootBonetrousle emote?"); Emote25 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "MajimaDance", true, "Enable MajimaDance emote?"); Emote26 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "OhMyGod", true, "Enable OhMyGod emote?"); Emote27 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "OutOfTouch", true, "Enable OutOfTouch emote?"); Emote28 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "WhatAThrill", true, "Enable WhatAThrill emote?"); Emote29 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "BigShoeLmfao", true, "Enable BigShoeLmfao emote?"); Emote30 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "DrLiveseyWalk", true, "Enable DrLiveseyWalk emote?"); Emote31 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "YouSpinMeRound", true, "Enable YouSpinMeRound emote?"); Emote32 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "Yippee", true, "Enable Yippee emote?"); Emote33 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "CmereMyLittlePogChamp", true, "Enable CmereMyLittlePogChamp emote?"); Emote34 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "DemoDrink", true, "Enable DemoDrink emote?"); Emote35 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "DemoKaboom", true, "Enable DemoKaboom emote?"); Emote36 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "DemoTaunt", true, "Enable DemoTaunt emote?"); Emote37 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "DemoButt", true, "Enable DemoButt emote?"); Emote39 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "HeavyBlunt", true, "Enable HeavyBlunt emote?"); Emote40 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "HeavyBoxing", true, "Enable HeavyBoxing emote?"); Emote41 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "HeavyTaunt", true, "Enable HeavyTaunt emote?"); Emote42 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "HeavyEat", true, "Enable HeavyEat emote?"); Emote38 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "EngineerDance", true, "Enable EngineerDance emote?"); Emote43 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "MedicBlunt", true, "Enable MedicBlunt emote?"); Emote44 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "MedicTaunt", true, "Enable MedicTaunt emote?"); Emote45 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "MedicBow", true, "Enable MedicBow emote?"); Emote46 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "PyroGuitarPlay", true, "Enable PyroGuitarPlay emote?"); Emote48 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "ScoutTaunt", true, "Enable ScoutTaunt emote?"); Emote49 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "ScoutBonk", true, "Enable ScoutBonk emote?"); Emote50 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "SniperTaunt", true, "Enable SniperTaunt emote?"); Emote51 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "SniperTauntSMG", true, "Enable SniperTauntSMG emote?"); Emote52 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "SoldierBeatHead", true, "Enable SoldierBeatHead emote?"); Emote53 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "SoldierBeatChest", true, "Enable SoldierBeatChest emote?"); Emote54 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "SoldierExplode", true, "Enable SoldierExplode emote?"); Emote55 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "SoldierJuggle", true, "Enable SoldierJuggle emote?"); Emote56 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "SpyCrab", true, "Enable SpyCrab emote?"); Emote47 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "PyroBlunt", true, "Enable PyroBlunt emote?"); Emote57 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "FuckYou", true, "Enable FuckYou emote?"); Emote58 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "Yaga", true, "Enable Yaga emote?"); Emote59 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "Popipo", true, "Enable Popipo emote?"); Emote60 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "DragonDreamFeet", true, "Enable DragonDreamFeet emote?"); Emote61 = ((BaseUnityPlugin)this).Config.Bind<bool>("Emotes", "IAmNotGonnaSugarCoatIt", true, "Enable IAmNotGonnaSugarCoatIt emote?"); ModSettingsManager.AddOption((BaseOption)new KeyBindOption(QuickEmoteButton1)); ModSettingsManager.AddOption((BaseOption)new StringInputFieldOption(QuickEmoteString1)); ModSettingsManager.AddOption((BaseOption)new KeyBindOption(QuickEmoteButton2)); ModSettingsManager.AddOption((BaseOption)new StringInputFieldOption(QuickEmoteString2)); ModSettingsManager.AddOption((BaseOption)new KeyBindOption(QuickEmoteButton3)); ModSettingsManager.AddOption((BaseOption)new StringInputFieldOption(QuickEmoteString3)); ModSettingsManager.AddOption((BaseOption)new KeyBindOption(QuickEmoteButton4)); ModSettingsManager.AddOption((BaseOption)new StringInputFieldOption(QuickEmoteString4)); ModSettingsManager.AddOption((BaseOption)new KeyBindOption(QuickEmoteButton5)); ModSettingsManager.AddOption((BaseOption)new StringInputFieldOption(QuickEmoteString5)); ModSettingsManager.AddOption((BaseOption)new KeyBindOption(QuickEmoteButton6)); ModSettingsManager.AddOption((BaseOption)new StringInputFieldOption(QuickEmoteString6)); ModSettingsManager.AddOption((BaseOption)new KeyBindOption(QuickEmoteButton7)); ModSettingsManager.AddOption((BaseOption)new StringInputFieldOption(QuickEmoteString7)); ModSettingsManager.AddOption((BaseOption)new KeyBindOption(QuickEmoteButton8)); ModSettingsManager.AddOption((BaseOption)new StringInputFieldOption(QuickEmoteString8)); ModSettingsManager.AddOption((BaseOption)new KeyBindOption(QuickEmoteButton9)); ModSettingsManager.AddOption((BaseOption)new StringInputFieldOption(QuickEmoteString9)); ModSettingsManager.AddOption((BaseOption)new KeyBindOption(RandomEmotesButton1)); ModSettingsManager.AddOption((BaseOption)new StringInputFieldOption(RandomEmotesString1)); ModSettingsManager.AddOption((BaseOption)new KeyBindOption(RandomEmotesButton2)); ModSettingsManager.AddOption((BaseOption)new StringInputFieldOption(RandomEmotesString2)); ModSettingsManager.AddOption((BaseOption)new KeyBindOption(RandomEmotesButton3)); ModSettingsManager.AddOption((BaseOption)new StringInputFieldOption(RandomEmotesString3)); ModSettingsManager.AddOption((BaseOption)new KeyBindOption(RandomEmotesButton4)); ModSettingsManager.AddOption((BaseOption)new StringInputFieldOption(RandomEmotesString4)); ModSettingsManager.AddOption((BaseOption)new KeyBindOption(RandomEmotesButton5)); ModSettingsManager.AddOption((BaseOption)new StringInputFieldOption(RandomEmotesString5)); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(PizzaTowerEmotes, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote1, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote2, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote3, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote4, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote5, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote6, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote7, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote8, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote9, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote10, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote11, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote12, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote13, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote14, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote15, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote16, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote17, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote18, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote19, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote20, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote21, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote22, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote23, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote24, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote25, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote26, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote27, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote28, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote29, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote30, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote31, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote32, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote33, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote34, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote35, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote36, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote37, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote38, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote39, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote40, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote41, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote42, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote43, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote44, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote45, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote46, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote47, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote48, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote49, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote50, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote51, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote52, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote53, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote56, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote57, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote61, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote58, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote59, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.AddOption((BaseOption)new CheckBoxOption(Emote60, new CheckBoxConfig { restartRequired = restartRequired })); ModSettingsManager.SetModIcon(Assets.Load<Sprite>("@BrynzaEmotesPlugin_brynza_emotes:assets/icon.png")); if (PizzaTowerEmotes.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/taunt1.anim"), false, "Play_taunt", "Stop_tauntt", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, false, false, false); CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/taunt2.anim"), false, "Play_taunt", "Stop_tauntt", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, false, false, false); CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/taunt3.anim"), false, "Play_taunt", "Stop_tauntt", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, false, false, false); CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/taunt4.anim"), false, "Play_taunt", "Stop_tauntt", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, false, false, false); CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/taunt5.anim"), false, "Play_taunt", "Stop_tauntt", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, false, false, false); CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/taunt6.anim"), false, "Play_taunt", "Stop_tauntt", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, false, false, false); CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/taunt7.anim"), false, "Play_taunt", "Stop_tauntt", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, false, false, false); CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/taunt8.anim"), false, "Play_taunt", "Stop_tauntt", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, false, false, false); CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/taunt9.anim"), false, "Play_taunt", "Stop_tauntt", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, false, false, false); } if (Emote1.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/peppinodance.anim"), true, "", "", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, true, false, false); } if (Emote2.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/3DGifRun.anim"), true, "", "", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, true, false, false); } if (Emote3.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/feastdance.anim"), true, "Play_feast", "Stop_feast", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, true, false, false, true, false, false); } if (Emote4.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/ballsrookie.anim"), true, "Play_metal_balls", "Stop_metal_balls", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, true, false, false); } if (Emote5.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/pootisbird.anim"), true, "Play_Heavy_needdispenser01", "Stop_Heavy_needdispenser01", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, true, false, false); } if (Emote6.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/youaresosussy.anim"), false, "Play_yoursosussy", "Stop_yoursosussy", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, true, true, true); } if (Emote7.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/caramelldansen.anim"), true, "Play_caramelldansen", "Stop_caramelldansen", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, true, false, false, true, false, false); } if (Emote8.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/abuenoadiosmaster.anim"), false, "Play_A_bueno_adios_m_ster", "Stop_A_bueno_adios_m_ster", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, true, false, false, true, true, true); } if (Emote9.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/praisethesun.anim"), true, "", "", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, true, false, false); } if (Emote10.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/offtohangmyself.anim"), false, "Play_offtohangmyselfwatchandlearn", "Stop_offtohangmyselfwatchandlearn", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, true, true, true); } if (Emote11.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/invisible.anim"), true, "Play_invisible", "Stop_invisible", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, true, false, false, true, true, true); } if (Emote12.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/iwokeupinanewbugatti.anim"), true, "Play_iwokeupinanewbugatti", "Stop_iwokeupinanewbugatti", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, true, false, false, true, false, false); } if (Emote13.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/bailan las rochas y las chetas.anim"), false, "Play_Bailan_las_Rochas_y_las_Chetas", "Stop_Bailan_las_Rochas_y_las_Chetas", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, true, false, false, true, true, true); } if (Emote14.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/leavemealone.anim"), false, "Play_glue_on_the_roach_bro", "Stop_glue_on_the_roach_bro", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, true, false, false, true, false, false); } if (Emote15.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/kiryupose.anim"), true, "Play_receive_you_kiryu", "Stop_receive_you_kiryu", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, true, false, false, true, false, false); } if (Emote16.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/majimapose.anim"), true, "Play_receive_you_majima", "Stop_receive_you_majima", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, true, false, false, true, false, false); } if (Emote17.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/ohheybabe.anim"), false, "Play_ohheybabe", "Stop_ohheybabe", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, true, false, false, true, true, true); } if (Emote18.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/tomspeen.anim"), true, "Play_speen", "Stop_speen", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, true, false, false, true, false, false); } if (Emote19.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/apose.anim"), true, "", "", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, true, false, false); } if (Emote20.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/imagenarytechnique.anim"), false, "Play_imagenary_technique", "Stop_imagenary_technique", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, true, false, false, true, true, true); } if (Emote21.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/getout.anim"), false, "Play_get_out", "Stop_get_out", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, true, true, true); } if (Emote22.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/like.anim"), false, "Play_thumbs_up", "Stop_thumbs_up", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, true, true, false); } if (Emote23.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/dislike.anim"), false, "Play_thumbs_down", "Stop_thumbs_down", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, true, true, false); } if (Emote24.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/kahootbonetrousle.anim"), true, "Play_kahoot_bonetrousle", "Stop_kahoot_bonetrousle", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, true, false, false, true, false, false); } if (Emote25.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/majimadance.anim"), true, "Play_cindarella", "Stop_cindarella", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, true, false, false); } if (Emote26.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/ohmygod.anim"), false, "Play_oh_my_god", "Stop_oh_my_god", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, false, true, false); } if (Emote27.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/outoftouch.anim"), false, "Play_out_of_touch", "Stop_out_of_touch", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, true, false, false, true, false, false); } if (Emote28.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/whatathrill.anim"), true, "Play_what_a_thrill", "Stop_what_a_thrill", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, true, false, false, true, false, false); } if (Emote29.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/bigshoelmfao.anim"), true, "Play_big_shoe_lmfao", "Stop_big_shoe_lmfao", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, true, false, false, true, true, true); } if (Emote30.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/drliveseywalk.anim"), true, "Play_DrLiveseyWalk", "Stop_DrLiveseyWalk", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, true, false, false, true, false, false); } if (Emote31.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/youspinmeround.anim"), true, "Play_you_spin_me", "Stop_you_spin_me", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, true, false, false, true, false, false); } if (Emote32.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/yippee.anim"), false, "Play_yippee", "Stop_yippee", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, true, true, true); } if (Emote33.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/cmeremylittlepogchamp.anim"), false, "Play_cmere_pogcha", "Stop_cmere_pogcha", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, true, false, false, true, true, true); } if (Emote34.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/demodrink.anim"), false, "Play_Demoman_goodjob01", "Stop_Demoman_goodjob01", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, true, false, false); } if (Emote35.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/demokaboom.anim"), false, "Play_Demoman_specialcompleted11", "Stop_Demoman_specialcompleted11", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, true, false, false); } if (Emote36.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/demotaunt.anim"), false, "", "", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, true, false, false); } if (Emote37.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/demobutt.anim"), false, "Play_Taunt_shake_it", "Stop_Taunt_shake_it", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, true, false, false); } if (Emote38.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/engineerdance.anim"), false, "Play_engineer_dance", "Stop_engineer_dance", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, true, false, false); } if (Emote39.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/heavyblunt.anim"), false, "Play_heavy_blunt", "Stop_heavy_blunt", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, true, false, false); } if (Emote40.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/heavyboxing.anim"), false, "Play_Taunt_bell", "Stop_Taunt_bell", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, true, false, false); } if (Emote41.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/heavytaunt.anim"), false, "Play_heavy_taunt", "Stop_heavy_taunt", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, true, false, false); } if (Emote42.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/heavyeat.anim"), false, "Play_SandwichEat09", "Stop_SandwichEat09", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, true, false, false); } if (Emote43.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/medicblunt.anim"), false, "Play_Medic_taunts16", "Stop_Medic_taunts16", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, true, false, false); } if (Emote44.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/medictaunt.anim"), false, "Play_medic_taunt", "Stop_medic_taunt", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, true, false, false); } if (Emote45.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/medicbow.anim"), false, "Play_Medic_jeers10", "Stop_Medic_jeers10", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, true, false, false); } if (Emote46.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/pyroguitarplay.anim"), false, "Play_pyro_guitar", "Stop_pyro_guitar", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, true, false, false); } if (Emote47.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/pyroblunt.anim"), false, "Play_pyro_blunt", "Stop_pyro_blunt", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, true, false, false); } if (Emote48.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/scouttaunt.anim"), false, "Play_scout_taunt", "Stop_scout_taunt", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, true, false, false); } if (Emote49.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/scoutbonk.anim"), false, "Play_scout_bonk", "Stop_scout_bonk", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, true, false, false); } if (Emote50.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/snipertaunt.anim"), false, "Play_sniper_taunt", "Stop_sniper_taunt", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, true, false, false); } if (Emote51.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/snipertauntsmg.anim"), false, "Play_sniper_taunt_smg", "Stop_sniper_taunt_smg", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, true, false, false); } if (Emote52.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/soldierbeatchest.anim"), false, "Play_soldier_scream", "Stop_soldier_scream", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, true, false, false); } if (Emote53.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/soldierbeathead.anim"), false, "Play_soldier_scream", "Stop_soldier_scream", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, true, false, false); } if (Emote56.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/spycrab.anim"), false, "", "", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, true, false, false); } if (Emote57.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/fuckyou.anim"), false, "Play_fuck_you", "Stop_fuck_you", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, true, false, false); } if (Emote61.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/iamnotgonnasugarcoatit.anim"), false, "Play_Im_not_gonna_sugarcoat_it", "Stop_Im_not_gonna_sugarcoat_it", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, true, false, false); } if (Emote58.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/yaga.anim"), false, "Play_yaga", "Stop_yaga", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, false, false, false, true, true, false); } if (Emote59.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/popipo.anim"), true, "Play_popipo", "Stop_popipo", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, true, false, false, true, true, false); } if (Emote60.Value) { CustomEmotesAPI.AddCustomAnimation(Assets.Load<AnimationClip>("@BrynzaEmotesPlugin_brynza_emotes:assets/dragondreamfeet.anim"), true, "Play_dragon_dream_feet", "Stop_dragon_dream_feet", (HumanBodyBones[])null, (HumanBodyBones[])null, (AnimationClip)null, true, false, false, true, true, true); } CustomEmotesAPI.animChanged += new AnimationChanged(CustomEmotesAPI_animChanged); CustomEmotesAPI.emoteSpotJoined_Body += new JoinedEmoteSpotBody(CustomEmotesAPI_emoteSpotJoined_Body); CustomEmotesAPI.emoteSpotJoined_Prop += new JoinedEmoteSpotProp(CustomEmotesAPI_emoteSpotJoined_Prop); } private IEnumerator WaitForSecondsThenEndEmote(BoneMapper mapper, float time, GameObject parent) { yield return (object)new WaitForSeconds(time); if (Object.op_Implicit((Object)(object)mapper) && (Object)(object)mapper.parentGameObject == (Object)(object)parent) { mapper.preserveProps = true; mapper.AssignParentGameObject(mapper.parentGameObject, false, false, true, false, false); mapper.preserveParent = true; mapper.preserveProps = true; mapper.PlayAnim("none", 0); } } internal IEnumerator WaitForSecondsThenDeleteGameObject(GameObject obj, float time) { yield return (object)new WaitForSeconds(time); if (Object.op_Implicit((Object)(object)obj)) { Object.Destroy((Object)(object)obj); } } private void CustomEmotesAPI_animChanged(string newAnimation, BoneMapper mapper) { //IL_00f7: Unknown result type (might be due to invalid IL or missing references) //IL_0118: Unknown result type (might be due to invalid IL or missing references) //IL_01a9: Unknown result type (might be due to invalid IL or missing references) //IL_01ca: Unknown result type (might be due to invalid IL or missing references) //IL_025b: Unknown result type (might be due to invalid IL or missing references) //IL_027c: Unknown result type (might be due to invalid IL or missing references) //IL_030d: Unknown result type (might be due to invalid IL or missing references) //IL_032e: Unknown result type (might be due to invalid IL or missing references) //IL_03bf: Unknown result type (might be due to invalid IL or missing references) //IL_03e0: Unknown result type (might be due to invalid IL or missing references) //IL_0471: Unknown result type (might be due to invalid IL or missing references) //IL_0492: Unknown result type (might be due to invalid IL or missing references) //IL_0523: Unknown result type (might be due to invalid IL or missing references) //IL_0544: Unknown result type (might be due to invalid IL or missing references) //IL_05d5: Unknown result type (might be due to invalid IL or missing references) //IL_05f6: Unknown result type (might be due to invalid IL or missing references) //IL_0687: Unknown result type (might be due to invalid IL or missing references) //IL_06a8: Unknown result type (might be due to invalid IL or missing references) //IL_073a: Unknown result type (might be due to invalid IL or missing references) //IL_075b: Unknown result type (might be due to invalid IL or missing references) //IL_07ec: Unknown result type (might be due to invalid IL or missing references) //IL_080d: Unknown result type (might be due to invalid IL or missing references) //IL_089e: Unknown result type (might be due to invalid IL or missing references) //IL_08bf: Unknown result type (might be due to invalid IL or missing references) //IL_0950: Unknown result type (might be due to invalid IL or missing references) //IL_0971: Unknown result type (might be due to invalid IL or missing references) //IL_0a02: Unknown result type (might be due to invalid IL or missing references) //IL_0a23: Unknown result type (might be due to invalid IL or missing references) //IL_0ab4: Unknown result type (might be due to invalid IL or missing references) //IL_0ad5: Unknown result type (might be due to invalid IL or missing references) //IL_0b66: Unknown result type (might be due to invalid IL or missing references) //IL_0b87: Unknown result type (might be due to invalid IL or missing references) //IL_0c18: Unknown result type (might be due to invalid IL or missing references) //IL_0c39: Unknown result type (might be due to invalid IL or missing references) //IL_0cca: Unknown result type (might be due to invalid IL or missing references) //IL_0ceb: Unknown result type (might be due to invalid IL or missing references) //IL_0d7c: Unknown result type (might be due to invalid IL or missing references) //IL_0d9d: Unknown result type (might be due to invalid IL or missing references) //IL_0e2e: Unknown result type (might be due to invalid IL or missing references) //IL_0e4f: Unknown result type (might be due to invalid IL or missing references) //IL_0ee0: Unknown result type (might be due to invalid IL or missing references) //IL_0f01: Unknown result type (might be due to invalid IL or missing references) //IL_0f92: Unknown result type (might be due to invalid IL or missing references) //IL_0fb3: Unknown result type (might be due to invalid IL or missing references) //IL_1044: Unknown result type (might be due to invalid IL or missing references) //IL_1065: Unknown result type (might be due to invalid IL or missing references) //IL_10f6: Unknown result type (might be due to invalid IL or missing references) //IL_1117: Unknown result type (might be due to invalid IL or missing references) //IL_11a8: Unknown result type (might be due to invalid IL or missing references) //IL_11c9: Unknown result type (might be due to invalid IL or missing references) //IL_125b: Unknown result type (might be due to invalid IL or missing references) //IL_127c: Unknown result type (might be due to invalid IL or missing references) prop1 = -1; try { if (newAnimation != "none") { stand = mapper.currentClip.syncPos; } } catch (Exception) { } if (newAnimation == "BumperCart") { switch (Random.RandomRangeInt(0, 3)) { case 0: CustomEmotesAPI.PlayAnimation("ScoutBumperCart", -2); break; case 1: CustomEmotesAPI.PlayAnimation("EngineerBumperCart", -2); break; } } if (newAnimation == "OffToHangMyself") { prop1 = mapper.props.Count; mapper.props.Add(Object.Instantiate<GameObject>(Assets.Load<GameObject>("@BrynzaEmotesPlugin_brynza_emotes:assets/Prefabs/ObjectsHangCOpy.prefab"))); mapper.props[prop1].transform.SetParent(((Component)mapper).transform.parent); mapper.props[prop1].transform.localEulerAngles = Vector3.zero; mapper.props[prop1].transform.localPosition = Vector3.zero; mapper.ScaleProps(); } if (newAnimation == "DragonDreamFeet") { prop1 = mapper.props.Count; mapper.props.Add(Object.Instantiate<GameObject>(Assets.Load<GameObject>("@BrynzaEmotesPlugin_brynza_emotes:assets/Prefabs/boom.prefab"))); mapper.props[prop1].transform.SetParent(((Component)mapper).transform.parent); mapper.props[prop1].transform.localEulerAngles = Vector3.zero; mapper.props[prop1].transform.localPosition = Vector3.zero; mapper.ScaleProps(); } if (newAnimation == "BallsRookie") { prop1 = mapper.props.Count; mapper.props.Add(Object.Instantiate<GameObject>(Assets.Load<GameObject>("@BrynzaEmotesPlugin_brynza_emotes:assets/Prefabs/ballsrookie.prefab"))); mapper.props[prop1].transform.SetParent(((Component)mapper).transform.parent); mapper.props[prop1].transform.localEulerAngles = Vector3.zero; mapper.props[prop1].transform.localPosition = Vector3.zero; mapper.ScaleProps(); } if (newAnimation == "IWokeUpInANewBugatti") { prop1 = mapper.props.Count; mapper.props.Add(Object.Instantiate<GameObject>(Assets.Load<GameObject>("@BrynzaEmotesPlugin_brynza_emotes:assets/Prefabs/buggati.prefab"))); mapper.props[prop1].transform.SetParent(((Component)mapper).transform.parent); mapper.props[prop1].transform.localEulerAngles = Vector3.zero; mapper.props[prop1].transform.localPosition = Vector3.zero; mapper.ScaleProps(); } if (newAnimation == "IAmNotGonnaSugarCoatIt") { prop1 = mapper.props.Count; mapper.props.Add(Object.Instantiate<GameObject>(Assets.Load<GameObject>("@BrynzaEmotesPlugin_brynza_emotes:assets/Prefabs/daaamn.prefab"))); mapper.props[prop1].transform.SetParent(((Component)mapper).transform.parent); mapper.props[prop1].transform.localEulerAngles = Vector3.zero; mapper.props[prop1].transform.localPosition = Vector3.zero; mapper.ScaleProps(); } if (newAnimation == "HeavyTaunt") { prop1 = mapper.props.Count; mapper.props.Add(Object.Instantiate<GameObject>(Assets.Load<GameObject>("@BrynzaEmotesPlugin_brynza_emotes:assets/Prefabs/HeavyTaunt.prefab"))); mapper.props[prop1].transform.SetParent(((Component)mapper).transform.parent); mapper.props[prop1].transform.localEulerAngles = Vector3.zero; mapper.props[prop1].transform.localPosition = Vector3.zero; mapper.ScaleProps(); } if (newAnimation == "HeavyEat") { prop1 = mapper.props.Count; mapper.props.Add(Object.Instantiate<GameObject>(Assets.Load<GameObject>("@BrynzaEmotesPlugin_brynza_emotes:assets/Prefabs/HeavyEat.prefab"))); mapper.props[prop1].transform.SetParent(((Component)mapper).transform.parent); mapper.props[prop1].transform.localEulerAngles = Vector3.zero; mapper.props[prop1].transform.localPosition = Vector3.zero; mapper.ScaleProps(); } if (newAnimation == "DemoDrink") { prop1 = mapper.props.Count; mapper.props.Add(Object.Instantiate<GameObject>(Assets.Load<GameObject>("@BrynzaEmotesPlugin_brynza_emotes:assets/Prefabs/DemoDrink.prefab"))); mapper.props[prop1].transform.SetParent(((Component)mapper).transform.parent); mapper.props[prop1].transform.localEulerAngles = Vector3.zero; mapper.props[prop1].transform.localPosition = Vector3.zero; mapper.ScaleProps(); } if (newAnimation == "OhHeyBabe") { prop1 = mapper.props.Count; mapper.props.Add(Object.Instantiate<GameObject>(Assets.Load<GameObject>("@BrynzaEmotesPlugin_brynza_emotes:assets/Prefabs/ohheybabe.prefab"))); mapper.props[prop1].transform.SetParent(((Component)mapper).transform.parent); mapper.props[prop1].transform.localEulerAngles = Vector3.zero; mapper.props[prop1].transform.localPosition = Vector3.zero; mapper.ScaleProps(); } if (BumperCartString.Contains(newAnimation)) { prop1 = mapper.props.Count; mapper.props.Add(Object.Instantiate<GameObject>(Assets.Load<GameObject>("@BrynzaEmotesPlugin_brynza_emotes:assets/Prefabs/BumperCart.prefab"))); mapper.props[prop1].transform.SetParent(((Component)mapper).transform.parent); mapper.props[prop1].transform.localEulerAngles = Vector3.zero; mapper.props[prop1].transform.localPosition = Vector3.zero; mapper.ScaleProps(); } if (newAnimation == "SkibidiToilet") { prop1 = mapper.props.Count; mapper.props.Add(Object.Instantiate<GameObject>(Assets.Load<GameObject>("@BrynzaEmotesPlugin_brynza_emotes:assets/Prefabs/furnituretoilet001a.prefab"))); mapper.props[prop1].transform.SetParent(((Component)mapper).transform.parent); mapper.props[prop1].transform.localEulerAngles = Vector3.zero; mapper.props[prop1].transform.localPosition = Vector3.zero; mapper.ScaleProps(); } if (newAnimation == "ImagenaryTechnique") { prop1 = mapper.props.Count; mapper.props.Add(Object.Instantiate<GameObject>(Assets.Load<GameObject>("@BrynzaEmotesPlugin_brynza_emotes:assets/Prefabs/Imagenary_Technique.prefab"))); mapper.props[prop1].transform.SetParent(((Component)mapper).transform.parent); mapper.props[prop1].transform.localEulerAngles = Vector3.zero; mapper.props[prop1].transform.localPosition = Vector3.zero; mapper.ScaleProps(); } if (newAnimation == "WhatAThrill") { prop1 = mapper.props.Count; mapper.props.Add(Object.Instantiate<GameObject>(Assets.Load<GameObject>("@BrynzaEmotesPlugin_brynza_emotes:assets/Prefabs/WhatAThrill.prefab"))); mapper.props[prop1].transform.SetParent(((Component)mapper).transform.parent); mapper.props[prop1].transform.localEulerAngles = Vector3.zero; mapper.props[prop1].transform.localPosition = Vector3.zero; mapper.ScaleProps(); } if (newAnimation == "OutOfTouch") { prop1 = mapper.props.Count; mapper.props.Add(Object.Instantiate<GameObject>(Assets.Load<GameObject>("@BrynzaEmotesPlugin_brynza_emotes:assets/Prefabs/OutOfTouch.prefab"))); mapper.props[prop1].transform.SetParent(((Component)mapper).transform.parent); mapper.props[prop1].transform.localEulerAngles = Vector3.zero; mapper.props[prop1].transform.localPosition = Vector3.zero; mapper.ScaleProps(); } if (newAnimation == "PyroBlunt") { prop1 = mapper.props.Count; mapper.props.Add(Object.Instantiate<GameObject>(Assets.Load<GameObject>("@BrynzaEmotesPlugin_brynza_emotes:assets/Prefabs/PyroBlunt.prefab"))); mapper.props[prop1].transform.SetParent(((Component)mapper).transform.parent); mapper.props[prop1].transform.localEulerAngles = Vector3.zero; mapper.props[prop1].transform.localPosition = Vector3.zero; mapper.ScaleProps(); } if (newAnimation == "HeavyBlunt") { prop1 = mapper.props.Count; mapper.props.Add(Object.Instantiate<GameObject>(Assets.Load<GameObject>("@BrynzaEmotesPlugin_brynza_emotes:assets/Prefabs/HeavyBlunt.prefab"))); mapper.props[prop1].transform.SetParent(((Component)mapper).transform.parent); mapper.props[prop1].transform.localEulerAngles = Vector3.zero; mapper.props[prop1].transform.localPosition = Vector3.zero; mapper.ScaleProps(); } if (newAnimation == "MedicBlunt") { prop1 = mapper.props.Count; mapper.props.Add(Object.Instantiate<GameObject>(Assets.Load<GameObject>("@BrynzaEmotesPlugin_brynza_emotes:assets/Prefabs/MedicBlunt.prefab"))); mapper.props[prop1].transform.SetParent(((Component)mapper).transform.parent); mapper.props[prop1].transform.localEulerAngles = Vector3.zero; mapper.props[prop1].transform.localPosition = Vector3.zero; mapper.ScaleProps(); } if (newAnimation == "Like") { prop1 = mapper.props.Count; mapper.props.Add(Object.Instantiate<GameObject>(Assets.Load<GameObject>("@BrynzaEmotesPlugin_brynza_emotes:assets/Prefabs/Like.prefab"))); mapper.props[prop1].transform.SetParent(((Component)mapper).transform.parent); mapper.props[prop1].transform.localEulerAngles = Vector3.zero; mapper.props[prop1].transform.localPosition = Vector3.zero; mapper.ScaleProps(); } if (newAnimation == "Yippee") { prop1 = mapper.props.Count; mapper.props.Add(Object.Instantiate<GameObject>(Assets.Load<GameObject>("@BrynzaEmotesPlugin_brynza_emotes:assets/Prefabs/Yippee.prefab"))); mapper.props[prop1].transform.SetParent(((Component)mapper).transform.parent); mapper.props[prop1].transform.localEulerAngles = Vector3.zero; mapper.props[prop1].transform.localPosition = Vector3.zero; mapper.ScaleProps(); } if (newAnimation == "DisLike") { prop1 = mapper.props.Count; mapper.props.Add(Object.Instantiate<GameObject>(Assets.Load<GameObject>("@BrynzaEmotesPlugin_brynza_emotes:assets/Prefabs/DisLike.prefab"))); mapper.props[prop1].transform.SetParent(((Component)mapper).transform.parent); mapper.props[prop1].transform.localEulerAngles = Vector3.zero; mapper.props[prop1].transform.localPosition = Vector3.zero; mapper.ScaleProps(); } if (newAnimation == "LeaveMeAlone") { prop1 = mapper.props.Count; mapper.props.Add(Object.Instantiate<GameObject>(Assets.Load<GameObject>("@BrynzaEmotesPlugin_brynza_emotes:assets/Prefabs/LeaveMeAlone.prefab"))); mapper.props[prop1].transform.SetParent(((Component)mapper).transform.parent); mapper.props[prop1].transform.localEulerAngles = Vector3.zero; mapper.props[prop1].transform.localPosition = Vector3.zero; mapper.ScaleProps(); } if (newAnimation == "PyroGuitarPlay") { prop1 = mapper.props.Count; mapper.props.Add(Object.Instantiate<GameObject>(Assets.Load<GameObject>("@BrynzaEmotesPlugin_brynza_emotes:assets/Prefabs/PyroGuitarPlay.prefab"))); mapper.props[prop1].transform.SetParent(((Component)mapper).transform.parent); mapper.props[prop1].transform.localEulerAngles = Vector3.zero; mapper.props[prop1].transform.localPosition = Vector3.zero; mapper.ScaleProps(); } if (newAnimation == "PraiseTheSun") { prop1 = mapper.props.Count; mapper.props.Add(Object.Instantiate<GameObject>(Assets.Load<GameObject>("@BrynzaEmotesPlugin_brynza_emotes:assets/Prefabs/PraiseTheSun.prefab"))); mapper.props[prop1].transform.SetParent(((Component)mapper).transform.parent); mapper.props[prop1].transform.localEulerAngles = Vector3.zero; mapper.props[prop1].transform.localPosition = Vector3.zero; mapper.ScaleProps(); } if (newAnimation == "YouSpinMeRound") { prop1 = mapper.props.Count; mapper.props.Add(Object.Instantiate<GameObject>(Assets.Load<GameObject>("@BrynzaEmotesPlugin_brynza_emotes:assets/Prefabs/YouSpinMe.prefab"))); mapper.props[prop1].transform.SetParent(((Component)mapper).transform.parent); mapper.props[prop1].transform.localEulerAngles = Vector3.zero; mapper.props[prop1].transform.localPosition = Vector3.zero; mapper.ScaleProps(); } if (newAnimation == "BigShoeLmfao") { prop1 = mapper.props.Count; mapper.props.Add(Object.Instantiate<GameObject>(Assets.Load<GameObject>("@BrynzaEmotesPlugin_brynza_emotes:assets/Prefabs/lmaobigshoe.prefab"))); mapper.props[prop1].transform.SetParent(((Component)mapper).transform.parent); mapper.props[prop1].transform.localEulerAngles = Vector3.zero; mapper.props[prop1].transform.localPosition = Vector3.zero; mapper.ScaleProps(); } if (Taunts.Contains(newAnimation)) {