Decompiled source of FlloppisChat v1.0.0

plugins/FlloppisChat/FlloppisChat.dll

Decompiled a day ago
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using BepInEx;
using BepInEx.Configuration;
using BepInEx.Logging;
using GameNetcodeStuff;
using HarmonyLib;
using LethalConfig;
using LethalConfig.ConfigItems;
using QuickChat.RadialMenu;
using UnityEngine;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: AssemblyTitle("QuickChat")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("QuickChat")]
[assembly: AssemblyCopyright("Copyright ©  2024")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: Guid("5c2f0b6a-7ca6-4131-abbf-3f1d4650154e")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: TargetFramework(".NETFramework,Version=v4.8.1", FrameworkDisplayName = ".NET Framework 4.8.1")]
[assembly: AssemblyVersion("1.0.0.0")]
namespace FlloppisChat;

public class FlloppisMenuSetup
{
	public static RadialMenu flloppisPositionsMenu = new RadialMenu("Positionni", true);

	public static RadialMenu flloppisMonstersMenu2 = new RadialMenu("Monstersi 2", true)
	{
		saveToHistory = false,
		radialOffset = (float)Math.PI
	};

	public static RadialMenu flloppisMonstersMenu = new RadialMenu("Monstersi", true)
	{
		radialOffset = 0f
	};

	public static RadialMenu flloppisCommandsMenu = new RadialMenu("Commandii", true);

	public static RadialMenu flloppisAnswersMenu = new RadialMenu("Answersi", true);

	public static RadialMenu flloppisQuestionsMenu = new RadialMenu("Questionni", true);

	public static RadialMenu flloppisEmotionsMenu = new RadialMenu("Emotionsi", true);

	public static RadialMenu flloppisObservationsMenu = new RadialMenu("Observationni", true);

	public static RadialMenu flloppisUrgentMenu = new RadialMenu("URGENTSI", true);

	public static RadialMenu flloppisMenu = new RadialMenu("Flopsi Quicksi Chat", true);

	public static List<RadialButton> flloppisMenuButtons = new List<RadialButton>();

	internal static void Init()
	{
		//IL_000c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0011: Unknown result type (might be due to invalid IL or missing references)
		//IL_001b: Expected O, but got Unknown
		//IL_0022: Unknown result type (might be due to invalid IL or missing references)
		//IL_0027: Unknown result type (might be due to invalid IL or missing references)
		//IL_0031: Expected O, but got Unknown
		//IL_0038: Unknown result type (might be due to invalid IL or missing references)
		//IL_003d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0047: Expected O, but got Unknown
		//IL_004e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0053: Unknown result type (might be due to invalid IL or missing references)
		//IL_005d: Expected O, but got Unknown
		//IL_0064: Unknown result type (might be due to invalid IL or missing references)
		//IL_0069: Unknown result type (might be due to invalid IL or missing references)
		//IL_0073: Expected O, but got Unknown
		//IL_007a: Unknown result type (might be due to invalid IL or missing references)
		//IL_007f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0089: Expected O, but got Unknown
		//IL_00a4: Unknown result type (might be due to invalid IL or missing references)
		//IL_00a9: Unknown result type (might be due to invalid IL or missing references)
		//IL_00d3: Expected O, but got Unknown
		//IL_00da: Unknown result type (might be due to invalid IL or missing references)
		//IL_00e4: Expected O, but got Unknown
		//IL_00eb: Unknown result type (might be due to invalid IL or missing references)
		//IL_00f5: Expected O, but got Unknown
		//IL_00fc: Unknown result type (might be due to invalid IL or missing references)
		//IL_0106: Expected O, but got Unknown
		//IL_010d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0117: Expected O, but got Unknown
		//IL_011e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0128: Expected O, but got Unknown
		//IL_012f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0139: Expected O, but got Unknown
		//IL_0140: Unknown result type (might be due to invalid IL or missing references)
		//IL_014a: Expected O, but got Unknown
		//IL_015c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0161: Unknown result type (might be due to invalid IL or missing references)
		//IL_016d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0174: Unknown result type (might be due to invalid IL or missing references)
		//IL_019e: Expected O, but got Unknown
		//IL_01aa: Unknown result type (might be due to invalid IL or missing references)
		//IL_01b4: Expected O, but got Unknown
		//IL_01c0: Unknown result type (might be due to invalid IL or missing references)
		//IL_01ca: Expected O, but got Unknown
		//IL_01d6: Unknown result type (might be due to invalid IL or missing references)
		//IL_01e0: Expected O, but got Unknown
		//IL_01ec: Unknown result type (might be due to invalid IL or missing references)
		//IL_01f6: Expected O, but got Unknown
		//IL_0202: Unknown result type (might be due to invalid IL or missing references)
		//IL_020c: Expected O, but got Unknown
		//IL_0218: Unknown result type (might be due to invalid IL or missing references)
		//IL_0222: Expected O, but got Unknown
		//IL_022e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0233: Unknown result type (might be due to invalid IL or missing references)
		//IL_025d: Expected O, but got Unknown
		//IL_0269: Unknown result type (might be due to invalid IL or missing references)
		//IL_026e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0298: Expected O, but got Unknown
		//IL_02aa: Unknown result type (might be due to invalid IL or missing references)
		//IL_02af: Unknown result type (might be due to invalid IL or missing references)
		//IL_02bb: Unknown result type (might be due to invalid IL or missing references)
		//IL_02c2: Unknown result type (might be due to invalid IL or missing references)
		//IL_02ec: Expected O, but got Unknown
		//IL_02f8: Unknown result type (might be due to invalid IL or missing references)
		//IL_0302: Expected O, but got Unknown
		//IL_030e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0318: Expected O, but got Unknown
		//IL_0324: Unknown result type (might be due to invalid IL or missing references)
		//IL_032e: Expected O, but got Unknown
		//IL_033a: Unknown result type (might be due to invalid IL or missing references)
		//IL_0344: Expected O, but got Unknown
		//IL_0350: Unknown result type (might be due to invalid IL or missing references)
		//IL_035a: Expected O, but got Unknown
		//IL_0366: Unknown result type (might be due to invalid IL or missing references)
		//IL_0370: Expected O, but got Unknown
		//IL_037c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0386: Expected O, but got Unknown
		//IL_0392: Unknown result type (might be due to invalid IL or missing references)
		//IL_039c: Expected O, but got Unknown
		//IL_03b3: Unknown result type (might be due to invalid IL or missing references)
		//IL_03bd: Expected O, but got Unknown
		//IL_03c4: Unknown result type (might be due to invalid IL or missing references)
		//IL_03ce: Expected O, but got Unknown
		//IL_03d5: Unknown result type (might be due to invalid IL or missing references)
		//IL_03df: Expected O, but got Unknown
		//IL_03e6: Unknown result type (might be due to invalid IL or missing references)
		//IL_03f0: Expected O, but got Unknown
		//IL_0401: Unknown result type (might be due to invalid IL or missing references)
		//IL_040b: Expected O, but got Unknown
		//IL_0422: Unknown result type (might be due to invalid IL or missing references)
		//IL_0427: Unknown result type (might be due to invalid IL or missing references)
		//IL_042c: Unknown result type (might be due to invalid IL or missing references)
		//IL_042d: Unknown result type (might be due to invalid IL or missing references)
		//IL_043d: Expected O, but got Unknown
		//IL_0444: Unknown result type (might be due to invalid IL or missing references)
		//IL_0449: Unknown result type (might be due to invalid IL or missing references)
		//IL_0453: Expected O, but got Unknown
		//IL_045a: Unknown result type (might be due to invalid IL or missing references)
		//IL_045f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0469: Expected O, but got Unknown
		//IL_0470: Unknown result type (might be due to invalid IL or missing references)
		//IL_0475: Unknown result type (might be due to invalid IL or missing references)
		//IL_047f: Expected O, but got Unknown
		//IL_0486: Unknown result type (might be due to invalid IL or missing references)
		//IL_048b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0495: Expected O, but got Unknown
		//IL_049c: Unknown result type (might be due to invalid IL or missing references)
		//IL_04a1: Unknown result type (might be due to invalid IL or missing references)
		//IL_04a6: Unknown result type (might be due to invalid IL or missing references)
		//IL_04a7: Unknown result type (might be due to invalid IL or missing references)
		//IL_04b7: Expected O, but got Unknown
		//IL_04be: Unknown result type (might be due to invalid IL or missing references)
		//IL_04c3: Unknown result type (might be due to invalid IL or missing references)
		//IL_04c8: Unknown result type (might be due to invalid IL or missing references)
		//IL_04c9: Unknown result type (might be due to invalid IL or missing references)
		//IL_04d9: Expected O, but got Unknown
		//IL_04e0: Unknown result type (might be due to invalid IL or missing references)
		//IL_04e5: Unknown result type (might be due to invalid IL or missing references)
		//IL_04ea: Unknown result type (might be due to invalid IL or missing references)
		//IL_04eb: Unknown result type (might be due to invalid IL or missing references)
		//IL_04fb: Expected O, but got Unknown
		//IL_0502: Unknown result type (might be due to invalid IL or missing references)
		//IL_0507: Unknown result type (might be due to invalid IL or missing references)
		//IL_0511: Expected O, but got Unknown
		//IL_0518: Unknown result type (might be due to invalid IL or missing references)
		//IL_051d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0527: Expected O, but got Unknown
		//IL_0540: Unknown result type (might be due to invalid IL or missing references)
		//IL_054a: Expected O, but got Unknown
		//IL_0553: Unknown result type (might be due to invalid IL or missing references)
		//IL_055d: Expected O, but got Unknown
		//IL_0566: Unknown result type (might be due to invalid IL or missing references)
		//IL_0570: Expected O, but got Unknown
		//IL_0579: Unknown result type (might be due to invalid IL or missing references)
		//IL_0583: Expected O, but got Unknown
		//IL_058c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0596: Expected O, but got Unknown
		//IL_059f: Unknown result type (might be due to invalid IL or missing references)
		//IL_05a9: Expected O, but got Unknown
		//IL_05b2: Unknown result type (might be due to invalid IL or missing references)
		//IL_05bc: Expected O, but got Unknown
		//IL_05d3: Unknown result type (might be due to invalid IL or missing references)
		//IL_05d8: Unknown result type (might be due to invalid IL or missing references)
		//IL_05d9: Unknown result type (might be due to invalid IL or missing references)
		//IL_05e9: Expected O, but got Unknown
		//IL_05f0: Unknown result type (might be due to invalid IL or missing references)
		//IL_05f5: 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_0606: Expected O, but got Unknown
		//IL_060d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0612: Unknown result type (might be due to invalid IL or missing references)
		//IL_0613: Unknown result type (might be due to invalid IL or missing references)
		//IL_0623: Expected O, but got Unknown
		//IL_062a: Unknown result type (might be due to invalid IL or missing references)
		//IL_062f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0630: Unknown result type (might be due to invalid IL or missing references)
		//IL_0640: Expected O, but got Unknown
		//IL_0647: Unknown result type (might be due to invalid IL or missing references)
		//IL_064c: Unknown result type (might be due to invalid IL or missing references)
		//IL_064d: Unknown result type (might be due to invalid IL or missing references)
		//IL_065d: Expected O, but got Unknown
		//IL_0664: Unknown result type (might be due to invalid IL or missing references)
		//IL_0669: Unknown result type (might be due to invalid IL or missing references)
		//IL_066a: Unknown result type (might be due to invalid IL or missing references)
		//IL_067a: Expected O, but got Unknown
		//IL_0681: Unknown result type (might be due to invalid IL or missing references)
		//IL_0686: 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_0697: Expected O, but got Unknown
		//IL_069e: Unknown result type (might be due to invalid IL or missing references)
		//IL_06a3: Unknown result type (might be due to invalid IL or missing references)
		//IL_06a4: Unknown result type (might be due to invalid IL or missing references)
		//IL_06b4: Expected O, but got Unknown
		//IL_06bb: Unknown result type (might be due to invalid IL or missing references)
		//IL_06c0: Unknown result type (might be due to invalid IL or missing references)
		//IL_06c1: Unknown result type (might be due to invalid IL or missing references)
		//IL_06d1: Expected O, but got Unknown
		//IL_06d8: Unknown result type (might be due to invalid IL or missing references)
		//IL_06dd: Unknown result type (might be due to invalid IL or missing references)
		//IL_06de: Unknown result type (might be due to invalid IL or missing references)
		//IL_06ee: Expected O, but got Unknown
		//IL_06f5: Unknown result type (might be due to invalid IL or missing references)
		//IL_06fa: Unknown result type (might be due to invalid IL or missing references)
		//IL_06fb: Unknown result type (might be due to invalid IL or missing references)
		//IL_070b: Expected O, but got Unknown
		//IL_0712: Unknown result type (might be due to invalid IL or missing references)
		//IL_0717: Unknown result type (might be due to invalid IL or missing references)
		//IL_0718: Unknown result type (might be due to invalid IL or missing references)
		//IL_0728: Expected O, but got Unknown
		//IL_072f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0734: Unknown result type (might be due to invalid IL or missing references)
		//IL_0735: Unknown result type (might be due to invalid IL or missing references)
		//IL_0745: Expected O, but got Unknown
		//IL_074c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0751: Unknown result type (might be due to invalid IL or missing references)
		//IL_0752: Unknown result type (might be due to invalid IL or missing references)
		//IL_0762: Expected O, but got Unknown
		//IL_0769: Unknown result type (might be due to invalid IL or missing references)
		//IL_076e: Unknown result type (might be due to invalid IL or missing references)
		//IL_076f: Unknown result type (might be due to invalid IL or missing references)
		//IL_077f: Expected O, but got Unknown
		//IL_0786: Unknown result type (might be due to invalid IL or missing references)
		//IL_078b: Unknown result type (might be due to invalid IL or missing references)
		//IL_078c: Unknown result type (might be due to invalid IL or missing references)
		//IL_079c: Expected O, but got Unknown
		//IL_07a3: Unknown result type (might be due to invalid IL or missing references)
		//IL_07ad: Expected O, but got Unknown
		//IL_07b4: Unknown result type (might be due to invalid IL or missing references)
		//IL_07be: Expected O, but got Unknown
		//IL_07c5: Unknown result type (might be due to invalid IL or missing references)
		//IL_07ca: Unknown result type (might be due to invalid IL or missing references)
		//IL_07cb: Unknown result type (might be due to invalid IL or missing references)
		//IL_07db: Expected O, but got Unknown
		//IL_07fc: Unknown result type (might be due to invalid IL or missing references)
		//IL_0806: Expected O, but got Unknown
		//IL_0817: Unknown result type (might be due to invalid IL or missing references)
		//IL_0821: Expected O, but got Unknown
		//IL_0832: Unknown result type (might be due to invalid IL or missing references)
		//IL_083c: Expected O, but got Unknown
		//IL_084d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0857: Expected O, but got Unknown
		//IL_0860: Unknown result type (might be due to invalid IL or missing references)
		//IL_086a: Expected O, but got Unknown
		//IL_0873: Unknown result type (might be due to invalid IL or missing references)
		//IL_087d: Expected O, but got Unknown
		//IL_0896: Unknown result type (might be due to invalid IL or missing references)
		//IL_089b: Unknown result type (might be due to invalid IL or missing references)
		//IL_089c: Unknown result type (might be due to invalid IL or missing references)
		//IL_08ac: Expected O, but got Unknown
		//IL_08b5: Unknown result type (might be due to invalid IL or missing references)
		//IL_08ba: Unknown result type (might be due to invalid IL or missing references)
		//IL_08bb: Unknown result type (might be due to invalid IL or missing references)
		//IL_08cb: Expected O, but got Unknown
		//IL_08d4: Unknown result type (might be due to invalid IL or missing references)
		//IL_08d9: Unknown result type (might be due to invalid IL or missing references)
		//IL_08da: Unknown result type (might be due to invalid IL or missing references)
		//IL_08ea: Expected O, but got Unknown
		//IL_08f3: Unknown result type (might be due to invalid IL or missing references)
		//IL_08f8: Unknown result type (might be due to invalid IL or missing references)
		//IL_08f9: Unknown result type (might be due to invalid IL or missing references)
		//IL_0909: Expected O, but got Unknown
		//IL_0912: Unknown result type (might be due to invalid IL or missing references)
		//IL_0917: Unknown result type (might be due to invalid IL or missing references)
		//IL_0918: Unknown result type (might be due to invalid IL or missing references)
		//IL_0928: Expected O, but got Unknown
		//IL_0931: Unknown result type (might be due to invalid IL or missing references)
		//IL_0936: Unknown result type (might be due to invalid IL or missing references)
		//IL_0937: Unknown result type (might be due to invalid IL or missing references)
		//IL_0947: Expected O, but got Unknown
		//IL_0950: Unknown result type (might be due to invalid IL or missing references)
		//IL_0955: Unknown result type (might be due to invalid IL or missing references)
		//IL_0956: Unknown result type (might be due to invalid IL or missing references)
		//IL_0966: Expected O, but got Unknown
		//IL_096f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0974: Unknown result type (might be due to invalid IL or missing references)
		//IL_0975: Unknown result type (might be due to invalid IL or missing references)
		//IL_0985: Expected O, but got Unknown
		//IL_098e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0993: Unknown result type (might be due to invalid IL or missing references)
		//IL_0994: Unknown result type (might be due to invalid IL or missing references)
		//IL_09a4: Expected O, but got Unknown
		//IL_09ad: Unknown result type (might be due to invalid IL or missing references)
		//IL_09b2: Unknown result type (might be due to invalid IL or missing references)
		//IL_09b3: Unknown result type (might be due to invalid IL or missing references)
		//IL_09c3: Expected O, but got Unknown
		//IL_09cc: Unknown result type (might be due to invalid IL or missing references)
		//IL_09d1: Unknown result type (might be due to invalid IL or missing references)
		//IL_09d2: Unknown result type (might be due to invalid IL or missing references)
		//IL_09e2: Expected O, but got Unknown
		//IL_09eb: Unknown result type (might be due to invalid IL or missing references)
		//IL_09f0: Unknown result type (might be due to invalid IL or missing references)
		//IL_09f1: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a01: Expected O, but got Unknown
		//IL_0a0a: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a0f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a10: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a20: Expected O, but got Unknown
		//IL_0a29: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a2e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a2f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a3f: Expected O, but got Unknown
		//IL_0a48: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a4d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a4e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a5e: Expected O, but got Unknown
		//IL_0a67: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a6c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a6d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a7d: Expected O, but got Unknown
		//IL_0a86: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a8b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a8c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a9c: Expected O, but got Unknown
		//IL_0bb0: Unknown result type (might be due to invalid IL or missing references)
		//IL_0bba: Expected O, but got Unknown
		flloppisMenuButtons = new List<RadialButton>
		{
			new RadialButton(flloppisObservationsMenu, Color.cyan),
			new RadialButton(flloppisQuestionsMenu, Color.yellow),
			new RadialButton(flloppisCommandsMenu, Color.magenta),
			new RadialButton(flloppisUrgentMenu, Color.red),
			new RadialButton(flloppisAnswersMenu, Color.green),
			new RadialButton(flloppisEmotionsMenu, Color.white)
		};
		flloppisPositionsMenu.UpdateRadialButtons(new List<RadialButton>
		{
			new RadialButton("thaddar way!", "\"thaddar way!\" (point)")
			{
				postRadialButtonClicked = delegate
				{
					PerformEmoteFix(2);
				}
			},
			new RadialButton("ta the rightsi"),
			new RadialButton("uppa 'head"),
			new RadialButton("atta FireExitsi"),
			new RadialButton("atta Main"),
			new RadialButton("!"),
			new RadialButton("'ere"),
			new RadialButton("ta the leftsi")
		});
		flloppisMonstersMenu2.UpdateRadialButtons(new List<RadialButton>
		{
			new RadialButton
			{
				displayText = "<<LASTSI PAGE>>",
				saveToHistory = false,
				connectingRadialMenu = () => flloppisMonstersMenu
			},
			new RadialButton("Nutcrackersi", flloppisPositionsMenu),
			new RadialButton("Coilli", flloppisPositionsMenu),
			new RadialButton("Jestersi", flloppisPositionsMenu),
			new RadialButton("Maski", flloppisPositionsMenu),
			new RadialButton("Giantii", flloppisPositionsMenu),
			new RadialButton("Birdsi", flloppisPositionsMenu),
			new RadialButton("Dogsi", flloppisPositionsMenu)
			{
				preRadialButtonClicked = delegate
				{
					RadialMenuManager.ModifyRadialButtonHistory("Theres 'an", RadialMenuManager.RadialButtonHistory.Count - 1);
				}
			},
			new RadialButton("Wormmi", flloppisPositionsMenu)
			{
				preRadialButtonClicked = delegate
				{
					RadialMenuManager.ModifyRadialButtonHistory("Theres 'an", RadialMenuManager.RadialButtonHistory.Count - 1);
				}
			}
		});
		flloppisMonstersMenu.UpdateRadialButtons(new List<RadialButton>
		{
			new RadialButton
			{
				displayText = "<<NEXTTI PAGE>>",
				saveToHistory = false,
				connectingRadialMenu = () => flloppisMonstersMenu2
			},
			new RadialButton("Snarey Flee", flloppisPositionsMenu),
			new RadialButton("Spiderri", flloppisPositionsMenu),
			new RadialButton("Bugsi", flloppisPositionsMenu),
			new RadialButton("Brackenna", flloppisPositionsMenu),
			new RadialButton("Thumpersi", flloppisPositionsMenu),
			new RadialButton("Slimesii", flloppisPositionsMenu),
			new RadialButton("Ghostii", flloppisPositionsMenu),
			new RadialButton("Lizardsi", flloppisPositionsMenu)
		});
		flloppisCommandsMenu.UpdateRadialButtons(new List<RadialButton>
		{
			new RadialButton("Followwi me"),
			new RadialButton("Stopsi"),
			new RadialButton("Shhhh!"),
			new RadialButton("Amma go 'head"),
			new RadialButton("Letsi go", "\"Letsi go {direction}\"", flloppisPositionsMenu)
		});
		flloppisAnswersMenu.UpdateRadialButtons(new List<RadialButton>
		{
			new RadialButton("Eh?", Color.gray)
			{
				textColor = Color.white
			},
			new RadialButton("Uuhh-", Color.gray),
			new RadialButton("Oi!", Color.gray),
			new RadialButton("Dunno-", Color.gray),
			new RadialButton("Nuh uh!", Color.red),
			new RadialButton("ACK!", Color.white)
			{
				textColor = Color.red
			},
			new RadialButton("AAA?", Color.white)
			{
				textColor = Color.red
			},
			new RadialButton("AAAAA!!!", Color.white)
			{
				textColor = Color.red
			},
			new RadialButton("Yuh?", Color.green),
			new RadialButton("Yuh!", Color.green)
		});
		flloppisQuestionsMenu.UpdateRadialButtons(new List<RadialButton>
		{
			new RadialButton("Wha was thaddar", '?'),
			new RadialButton("Whosi there", '?'),
			new RadialButton("Are'ya oki", '?'),
			new RadialButton("Did'ja hearsi that", '?'),
			new RadialButton("Are'ya real", '?'),
			new RadialButton("Wha upsi", '?'),
			new RadialButton("Wha", '?')
		});
		flloppisEmotionsMenu.UpdateRadialButtons(new List<RadialButton>
		{
			new RadialButton("O-O")
			{
				textColor = Color.green
			},
			new RadialButton("O-O!")
			{
				textColor = Color.green
			},
			new RadialButton("O~O")
			{
				textColor = Color.blue
			},
			new RadialButton("O~O!")
			{
				textColor = Color.blue
			},
			new RadialButton(">:[")
			{
				textColor = Color.red
			},
			new RadialButton(">:]")
			{
				textColor = Color.red
			},
			new RadialButton("o-o")
			{
				textColor = Color.blue
			},
			new RadialButton(">~<")
			{
				textColor = Color.blue
			},
			new RadialButton(">~<!")
			{
				textColor = Color.blue
			},
			new RadialButton(">-<")
			{
				textColor = Color.blue
			},
			new RadialButton(">-<!")
			{
				textColor = Color.blue
			},
			new RadialButton(";<")
			{
				textColor = Color.blue
			},
			new RadialButton(";>")
			{
				textColor = Color.green
			},
			new RadialButton(">:P")
			{
				textColor = Color.green
			},
			new RadialButton(":o")
			{
				textColor = Color.red
			},
			new RadialButton(">:o")
			{
				textColor = Color.red
			},
			new RadialButton(">:D"),
			new RadialButton(">:D"),
			new RadialButton("D;")
			{
				textColor = Color.blue
			}
		});
		flloppisObservationsMenu.UpdateRadialButtons(new List<RadialButton>
		{
			new RadialButton("More scrapsi", "\"More scrapsi {direction}\"", flloppisPositionsMenu),
			new RadialButton("Theres'a trappi", "\"Theres'a trappi {direction}\"", flloppisPositionsMenu),
			new RadialButton("Theresi dead-end", "\"Theresi dead-end {direction}\"", flloppisPositionsMenu),
			new RadialButton("Theres'a", "\"Theres'a(n) {monster} {direction}\"", flloppisMonstersMenu),
			new RadialButton("Thaddar'n mimic", '!'),
			new RadialButton("Tha notsi real", '!')
		});
		flloppisUrgentMenu.UpdateRadialButtons(new List<RadialButton>
		{
			new RadialButton("NUTCRACKERSI", '!')
			{
				textColor = Color.red
			},
			new RadialButton("COILLSI", '!')
			{
				textColor = Color.red
			},
			new RadialButton("JESTERRI", '!')
			{
				textColor = Color.red
			},
			new RadialButton("MASKII", '!')
			{
				textColor = Color.red
			},
			new RadialButton("GIANTI", '!')
			{
				textColor = Color.red
			},
			new RadialButton("BIRDSII", '!')
			{
				textColor = Color.red
			},
			new RadialButton("SNAREY FLEE", '!')
			{
				textColor = Color.red
			},
			new RadialButton("SPIDERSI", '!')
			{
				textColor = Color.red
			},
			new RadialButton("BUGS-A", '!')
			{
				textColor = Color.red
			},
			new RadialButton("BRACKENNA", '!')
			{
				textColor = Color.red
			},
			new RadialButton("THUMPERSI", '!')
			{
				textColor = Color.red
			},
			new RadialButton("SLIMESII", '!')
			{
				textColor = Color.red
			},
			new RadialButton("GHOSTII HAUNTED", '!')
			{
				textColor = Color.red
			},
			new RadialButton("LIZARDSI", '!')
			{
				textColor = Color.red
			},
			new RadialButton("RUNSI", '!')
			{
				textColor = Color.red
			},
			new RadialButton("GO GO", '!')
			{
				textColor = Color.red
			},
			new RadialButton("HELPSII", '!')
			{
				textColor = Color.red
			}
		});
		flloppisMenu.UpdateRadialButtons(flloppisMenuButtons);
		List<TextInputFieldConfigItem> list = new List<TextInputFieldConfigItem>();
		List<IntSliderConfigItem[]> list2 = new List<IntSliderConfigItem[]>();
		foreach (RadialButton flloppisMenuButton in flloppisMenuButtons)
		{
			list.Add(RadialMenuConfig.DisplayTextConfigFromButton(Plugin.ConfigF, flloppisMenuButton));
			list2.Add(RadialMenuConfig.ColorConfigFromButton(Plugin.ConfigF, flloppisMenuButton));
		}
		foreach (TextInputFieldConfigItem item in list)
		{
			LethalConfigManager.AddConfigItem((BaseConfigItem)(object)item);
		}
		foreach (IntSliderConfigItem[] item2 in list2)
		{
			IntSliderConfigItem[] array = item2;
			foreach (IntSliderConfigItem val in array)
			{
				LethalConfigManager.AddConfigItem((BaseConfigItem)(object)val);
			}
		}
		RadialMenuManager.MainMenu.AddRadialButton(new RadialButton(flloppisMenu));
	}

	private static void PerformEmoteFix(int emoteIndex)
	{
		PlayerControllerB localPlayerController = GameNetworkManager.Instance.localPlayerController;
		localPlayerController.timeSinceStartingEmote = 0f;
		localPlayerController.performingEmote = true;
		localPlayerController.playerBodyAnimator.SetInteger("emoteNumber", emoteIndex);
		localPlayerController.StartPerformingEmoteServerRpc();
	}
}
[BepInPlugin("alfungy.flloppischat", "Flloppis Chat", "1.0")]
[BepInDependency(/*Could not decode attribute arguments.*/)]
public class Plugin : BaseUnityPlugin
{
	private readonly Harmony Harmony = new Harmony("alfungy.flloppischat");

	internal static ManualLogSource LogSource = Logger.CreateLogSource("alfungy.flloppischat");

	internal static ConfigFile ConfigF;

	private void Awake()
	{
		ConfigF = ((BaseUnityPlugin)this).Config;
		LogSource.LogInfo((object)"Flloppis Chat 1.0 has been loaded!");
		LethalConfigManager.SkipAutoGen();
		FlloppisMenuSetup.Init();
		Harmony.PatchAll(typeof(FlloppisMenuSetup));
	}
}
internal static class PluginInfo
{
	public const string ModGUID = "alfungy.flloppischat";

	public const string ModName = "Flloppis Chat";

	public const string ModVersion = "1.0";
}