Decompiled source of FlloppisChat v1.0.2

plugins/FlloppisChat/FlloppisChat.dll

Decompiled 7 months 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_00a9: Unknown result type (might be due to invalid IL or missing references)
		//IL_00ae: Unknown result type (might be due to invalid IL or missing references)
		//IL_00d8: Expected O, but got Unknown
		//IL_00df: Unknown result type (might be due to invalid IL or missing references)
		//IL_00e9: Expected O, but got Unknown
		//IL_00f0: Unknown result type (might be due to invalid IL or missing references)
		//IL_00fa: Expected O, but got Unknown
		//IL_0101: Unknown result type (might be due to invalid IL or missing references)
		//IL_010b: Expected O, but got Unknown
		//IL_0112: Unknown result type (might be due to invalid IL or missing references)
		//IL_011c: Expected O, but got Unknown
		//IL_0123: Unknown result type (might be due to invalid IL or missing references)
		//IL_012d: Expected O, but got Unknown
		//IL_0134: Unknown result type (might be due to invalid IL or missing references)
		//IL_013e: Expected O, but got Unknown
		//IL_0145: Unknown result type (might be due to invalid IL or missing references)
		//IL_014f: Expected O, but got Unknown
		//IL_0161: Unknown result type (might be due to invalid IL or missing references)
		//IL_0166: Unknown result type (might be due to invalid IL or missing references)
		//IL_0172: Unknown result type (might be due to invalid IL or missing references)
		//IL_0179: Unknown result type (might be due to invalid IL or missing references)
		//IL_01a3: Expected O, but got Unknown
		//IL_01af: Unknown result type (might be due to invalid IL or missing references)
		//IL_01b9: Expected O, but got Unknown
		//IL_01c5: Unknown result type (might be due to invalid IL or missing references)
		//IL_01cf: Expected O, but got Unknown
		//IL_01db: Unknown result type (might be due to invalid IL or missing references)
		//IL_01e5: Expected O, but got Unknown
		//IL_01f1: Unknown result type (might be due to invalid IL or missing references)
		//IL_01fb: Expected O, but got Unknown
		//IL_0207: Unknown result type (might be due to invalid IL or missing references)
		//IL_0211: Expected O, but got Unknown
		//IL_021d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0227: Expected O, but got Unknown
		//IL_0233: Unknown result type (might be due to invalid IL or missing references)
		//IL_0238: Unknown result type (might be due to invalid IL or missing references)
		//IL_0262: Expected O, but got Unknown
		//IL_026e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0273: Unknown result type (might be due to invalid IL or missing references)
		//IL_029d: Expected O, but got Unknown
		//IL_02af: Unknown result type (might be due to invalid IL or missing references)
		//IL_02b4: Unknown result type (might be due to invalid IL or missing references)
		//IL_02c0: Unknown result type (might be due to invalid IL or missing references)
		//IL_02c7: Unknown result type (might be due to invalid IL or missing references)
		//IL_02f1: Expected O, but got Unknown
		//IL_02fd: Unknown result type (might be due to invalid IL or missing references)
		//IL_0307: Expected O, but got Unknown
		//IL_0313: Unknown result type (might be due to invalid IL or missing references)
		//IL_031d: Expected O, but got Unknown
		//IL_0329: Unknown result type (might be due to invalid IL or missing references)
		//IL_0333: Expected O, but got Unknown
		//IL_033f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0349: Expected O, but got Unknown
		//IL_0355: Unknown result type (might be due to invalid IL or missing references)
		//IL_035f: Expected O, but got Unknown
		//IL_036b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0375: Expected O, but got Unknown
		//IL_0381: Unknown result type (might be due to invalid IL or missing references)
		//IL_038b: Expected O, but got Unknown
		//IL_0397: Unknown result type (might be due to invalid IL or missing references)
		//IL_03a1: Expected O, but got Unknown
		//IL_03b8: Unknown result type (might be due to invalid IL or missing references)
		//IL_03c2: Expected O, but got Unknown
		//IL_03c9: Unknown result type (might be due to invalid IL or missing references)
		//IL_03d3: Expected O, but got Unknown
		//IL_03dc: Unknown result type (might be due to invalid IL or missing references)
		//IL_03e6: Expected O, but got Unknown
		//IL_03ed: Unknown result type (might be due to invalid IL or missing references)
		//IL_03f7: Expected O, but got Unknown
		//IL_0408: Unknown result type (might be due to invalid IL or missing references)
		//IL_0412: Expected O, but got Unknown
		//IL_042b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0430: Unknown result type (might be due to invalid IL or missing references)
		//IL_0435: Unknown result type (might be due to invalid IL or missing references)
		//IL_0436: Unknown result type (might be due to invalid IL or missing references)
		//IL_0441: Unknown result type (might be due to invalid IL or missing references)
		//IL_044d: Expected O, but got Unknown
		//IL_0456: Unknown result type (might be due to invalid IL or missing references)
		//IL_045b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0465: Expected O, but got Unknown
		//IL_046e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0473: Unknown result type (might be due to invalid IL or missing references)
		//IL_047d: 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_049e: Unknown result type (might be due to invalid IL or missing references)
		//IL_04a3: Unknown result type (might be due to invalid IL or missing references)
		//IL_04ad: Expected O, but got Unknown
		//IL_04b6: Unknown result type (might be due to invalid IL or missing references)
		//IL_04bb: Unknown result type (might be due to invalid IL or missing references)
		//IL_04c5: Expected O, but got Unknown
		//IL_04ce: Unknown result type (might be due to invalid IL or missing references)
		//IL_04d3: Unknown result type (might be due to invalid IL or missing references)
		//IL_04d4: Unknown result type (might be due to invalid IL or missing references)
		//IL_04df: Unknown result type (might be due to invalid IL or missing references)
		//IL_04eb: Expected O, but got Unknown
		//IL_04f4: Unknown result type (might be due to invalid IL or missing references)
		//IL_04f9: Unknown result type (might be due to invalid IL or missing references)
		//IL_0503: Expected O, but got Unknown
		//IL_050c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0511: Unknown result type (might be due to invalid IL or missing references)
		//IL_0516: Unknown result type (might be due to invalid IL or missing references)
		//IL_0517: Unknown result type (might be due to invalid IL or missing references)
		//IL_0522: Unknown result type (might be due to invalid IL or missing references)
		//IL_052e: Expected O, but got Unknown
		//IL_0537: Unknown result type (might be due to invalid IL or missing references)
		//IL_053c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0541: Unknown result type (might be due to invalid IL or missing references)
		//IL_0542: Unknown result type (might be due to invalid IL or missing references)
		//IL_054d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0559: Expected O, but got Unknown
		//IL_056a: Unknown result type (might be due to invalid IL or missing references)
		//IL_056f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0570: Unknown result type (might be due to invalid IL or missing references)
		//IL_057b: Unknown result type (might be due to invalid IL or missing references)
		//IL_057c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0587: Unknown result type (might be due to invalid IL or missing references)
		//IL_0593: Expected O, but got Unknown
		//IL_059a: Unknown result type (might be due to invalid IL or missing references)
		//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_05b7: Unknown result type (might be due to invalid IL or missing references)
		//IL_05c1: Expected O, but got Unknown
		//IL_05ca: Unknown result type (might be due to invalid IL or missing references)
		//IL_05cf: Unknown result type (might be due to invalid IL or missing references)
		//IL_05d9: Expected O, but got Unknown
		//IL_05e2: Unknown result type (might be due to invalid IL or missing references)
		//IL_05e7: Unknown result type (might be due to invalid IL or missing references)
		//IL_05f1: Expected O, but got Unknown
		//IL_05fa: Unknown result type (might be due to invalid IL or missing references)
		//IL_05ff: Unknown result type (might be due to invalid IL or missing references)
		//IL_0609: Expected O, but got Unknown
		//IL_0612: Unknown result type (might be due to invalid IL or missing references)
		//IL_0617: Unknown result type (might be due to invalid IL or missing references)
		//IL_0621: 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_0639: Expected O, but got Unknown
		//IL_0652: Unknown result type (might be due to invalid IL or missing references)
		//IL_065c: Expected O, but got Unknown
		//IL_0665: Unknown result type (might be due to invalid IL or missing references)
		//IL_066f: Expected O, but got Unknown
		//IL_0678: Unknown result type (might be due to invalid IL or missing references)
		//IL_0682: Expected O, but got Unknown
		//IL_068b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0695: Expected O, but got Unknown
		//IL_069e: Unknown result type (might be due to invalid IL or missing references)
		//IL_06a8: Expected O, but got Unknown
		//IL_06b1: Unknown result type (might be due to invalid IL or missing references)
		//IL_06bb: Expected O, but got Unknown
		//IL_06c4: Unknown result type (might be due to invalid IL or missing references)
		//IL_06ce: Expected O, but got Unknown
		//IL_06e5: Unknown result type (might be due to invalid IL or missing references)
		//IL_06ea: Unknown result type (might be due to invalid IL or missing references)
		//IL_06eb: Unknown result type (might be due to invalid IL or missing references)
		//IL_06f6: Unknown result type (might be due to invalid IL or missing references)
		//IL_06fd: 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_0740: Unknown result type (might be due to invalid IL or missing references)
		//IL_0747: Unknown result type (might be due to invalid IL or missing references)
		//IL_0772: Expected O, but got Unknown
		//IL_0779: Unknown result type (might be due to invalid IL or missing references)
		//IL_077e: Unknown result type (might be due to invalid IL or missing references)
		//IL_077f: Unknown result type (might be due to invalid IL or missing references)
		//IL_078a: Unknown result type (might be due to invalid IL or missing references)
		//IL_0791: Unknown result type (might be due to invalid IL or missing references)
		//IL_07bc: Expected O, but got Unknown
		//IL_07c3: Unknown result type (might be due to invalid IL or missing references)
		//IL_07c8: Unknown result type (might be due to invalid IL or missing references)
		//IL_07c9: Unknown result type (might be due to invalid IL or missing references)
		//IL_07d4: Unknown result type (might be due to invalid IL or missing references)
		//IL_07db: Unknown result type (might be due to invalid IL or missing references)
		//IL_0806: Expected O, but got Unknown
		//IL_080d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0812: Unknown result type (might be due to invalid IL or missing references)
		//IL_0813: Unknown result type (might be due to invalid IL or missing references)
		//IL_081e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0825: Unknown result type (might be due to invalid IL or missing references)
		//IL_0850: Expected O, but got Unknown
		//IL_0857: Unknown result type (might be due to invalid IL or missing references)
		//IL_085c: Unknown result type (might be due to invalid IL or missing references)
		//IL_085d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0868: Unknown result type (might be due to invalid IL or missing references)
		//IL_086f: Unknown result type (might be due to invalid IL or missing references)
		//IL_089a: Expected O, but got Unknown
		//IL_08a1: Unknown result type (might be due to invalid IL or missing references)
		//IL_08a6: Unknown result type (might be due to invalid IL or missing references)
		//IL_08a7: Unknown result type (might be due to invalid IL or missing references)
		//IL_08b2: Unknown result type (might be due to invalid IL or missing references)
		//IL_08b9: Unknown result type (might be due to invalid IL or missing references)
		//IL_08e4: Expected O, but got Unknown
		//IL_08eb: Unknown result type (might be due to invalid IL or missing references)
		//IL_08f0: Unknown result type (might be due to invalid IL or missing references)
		//IL_08f1: Unknown result type (might be due to invalid IL or missing references)
		//IL_08fc: Unknown result type (might be due to invalid IL or missing references)
		//IL_0903: Unknown result type (might be due to invalid IL or missing references)
		//IL_092e: Expected O, but got Unknown
		//IL_0935: Unknown result type (might be due to invalid IL or missing references)
		//IL_093a: Unknown result type (might be due to invalid IL or missing references)
		//IL_093b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0946: Unknown result type (might be due to invalid IL or missing references)
		//IL_094d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0978: Expected O, but got Unknown
		//IL_097f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0984: Unknown result type (might be due to invalid IL or missing references)
		//IL_0985: Unknown result type (might be due to invalid IL or missing references)
		//IL_0990: Unknown result type (might be due to invalid IL or missing references)
		//IL_0997: Unknown result type (might be due to invalid IL or missing references)
		//IL_09c2: Expected O, but got Unknown
		//IL_09c9: Unknown result type (might be due to invalid IL or missing references)
		//IL_09ce: Unknown result type (might be due to invalid IL or missing references)
		//IL_09cf: Unknown result type (might be due to invalid IL or missing references)
		//IL_09da: Unknown result type (might be due to invalid IL or missing references)
		//IL_09e1: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a0c: Expected O, but got Unknown
		//IL_0a13: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a18: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a19: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a24: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a2b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a56: Expected O, but got Unknown
		//IL_0a5d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a62: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a63: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a6e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0a75: Unknown result type (might be due to invalid IL or missing references)
		//IL_0aa0: Expected O, but got Unknown
		//IL_0aa7: Unknown result type (might be due to invalid IL or missing references)
		//IL_0aac: Unknown result type (might be due to invalid IL or missing references)
		//IL_0aad: Unknown result type (might be due to invalid IL or missing references)
		//IL_0ab8: Unknown result type (might be due to invalid IL or missing references)
		//IL_0abf: Unknown result type (might be due to invalid IL or missing references)
		//IL_0aea: Expected O, but got Unknown
		//IL_0af1: Unknown result type (might be due to invalid IL or missing references)
		//IL_0af6: Unknown result type (might be due to invalid IL or missing references)
		//IL_0af7: Unknown result type (might be due to invalid IL or missing references)
		//IL_0b02: Unknown result type (might be due to invalid IL or missing references)
		//IL_0b09: Unknown result type (might be due to invalid IL or missing references)
		//IL_0b34: Expected O, but got Unknown
		//IL_0b3b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0b40: Unknown result type (might be due to invalid IL or missing references)
		//IL_0b6b: Expected O, but got Unknown
		//IL_0b72: Unknown result type (might be due to invalid IL or missing references)
		//IL_0b77: Unknown result type (might be due to invalid IL or missing references)
		//IL_0ba2: Expected O, but got Unknown
		//IL_0ba9: Unknown result type (might be due to invalid IL or missing references)
		//IL_0bae: Unknown result type (might be due to invalid IL or missing references)
		//IL_0baf: Unknown result type (might be due to invalid IL or missing references)
		//IL_0bba: Unknown result type (might be due to invalid IL or missing references)
		//IL_0bc1: Unknown result type (might be due to invalid IL or missing references)
		//IL_0bec: Expected O, but got Unknown
		//IL_0bf5: Unknown result type (might be due to invalid IL or missing references)
		//IL_0bfa: Unknown result type (might be due to invalid IL or missing references)
		//IL_0bfb: Unknown result type (might be due to invalid IL or missing references)
		//IL_0c06: Unknown result type (might be due to invalid IL or missing references)
		//IL_0c12: Expected O, but got Unknown
		//IL_0c34: Unknown result type (might be due to invalid IL or missing references)
		//IL_0c3e: Expected O, but got Unknown
		//IL_0c4f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0c59: Expected O, but got Unknown
		//IL_0c6a: Unknown result type (might be due to invalid IL or missing references)
		//IL_0c74: Expected O, but got Unknown
		//IL_0c85: Unknown result type (might be due to invalid IL or missing references)
		//IL_0c8f: Expected O, but got Unknown
		//IL_0c98: Unknown result type (might be due to invalid IL or missing references)
		//IL_0ca2: Expected O, but got Unknown
		//IL_0cab: Unknown result type (might be due to invalid IL or missing references)
		//IL_0cb5: Expected O, but got Unknown
		//IL_0cce: Unknown result type (might be due to invalid IL or missing references)
		//IL_0cd3: Unknown result type (might be due to invalid IL or missing references)
		//IL_0cd4: Unknown result type (might be due to invalid IL or missing references)
		//IL_0cdf: Unknown result type (might be due to invalid IL or missing references)
		//IL_0ceb: Expected O, but got Unknown
		//IL_0cf4: Unknown result type (might be due to invalid IL or missing references)
		//IL_0cf9: Unknown result type (might be due to invalid IL or missing references)
		//IL_0cfa: Unknown result type (might be due to invalid IL or missing references)
		//IL_0d05: Unknown result type (might be due to invalid IL or missing references)
		//IL_0d11: Expected O, but got Unknown
		//IL_0d1a: Unknown result type (might be due to invalid IL or missing references)
		//IL_0d1f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0d20: Unknown result type (might be due to invalid IL or missing references)
		//IL_0d2b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0d37: Expected O, but got Unknown
		//IL_0d40: Unknown result type (might be due to invalid IL or missing references)
		//IL_0d45: Unknown result type (might be due to invalid IL or missing references)
		//IL_0d46: Unknown result type (might be due to invalid IL or missing references)
		//IL_0d51: Unknown result type (might be due to invalid IL or missing references)
		//IL_0d5d: Expected O, but got Unknown
		//IL_0d66: Unknown result type (might be due to invalid IL or missing references)
		//IL_0d6b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0d6c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0d77: Unknown result type (might be due to invalid IL or missing references)
		//IL_0d83: Expected O, but got Unknown
		//IL_0d8c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0d91: Unknown result type (might be due to invalid IL or missing references)
		//IL_0d92: 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_0da9: Expected O, but got Unknown
		//IL_0db2: Unknown result type (might be due to invalid IL or missing references)
		//IL_0db7: Unknown result type (might be due to invalid IL or missing references)
		//IL_0db8: Unknown result type (might be due to invalid IL or missing references)
		//IL_0dc3: Unknown result type (might be due to invalid IL or missing references)
		//IL_0dcf: Expected O, but got Unknown
		//IL_0dd8: Unknown result type (might be due to invalid IL or missing references)
		//IL_0ddd: Unknown result type (might be due to invalid IL or missing references)
		//IL_0dde: Unknown result type (might be due to invalid IL or missing references)
		//IL_0de9: Unknown result type (might be due to invalid IL or missing references)
		//IL_0df5: Expected O, but got Unknown
		//IL_0dfe: Unknown result type (might be due to invalid IL or missing references)
		//IL_0e03: Unknown result type (might be due to invalid IL or missing references)
		//IL_0e04: Unknown result type (might be due to invalid IL or missing references)
		//IL_0e0f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0e1b: Expected O, but got Unknown
		//IL_0e24: Unknown result type (might be due to invalid IL or missing references)
		//IL_0e29: Unknown result type (might be due to invalid IL or missing references)
		//IL_0e2a: Unknown result type (might be due to invalid IL or missing references)
		//IL_0e35: Unknown result type (might be due to invalid IL or missing references)
		//IL_0e41: Expected O, but got Unknown
		//IL_0e4a: 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_0e50: Unknown result type (might be due to invalid IL or missing references)
		//IL_0e5b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0e67: Expected O, but got Unknown
		//IL_0e70: Unknown result type (might be due to invalid IL or missing references)
		//IL_0e75: Unknown result type (might be due to invalid IL or missing references)
		//IL_0e76: Unknown result type (might be due to invalid IL or missing references)
		//IL_0e81: Unknown result type (might be due to invalid IL or missing references)
		//IL_0e8d: Expected O, but got Unknown
		//IL_0e96: Unknown result type (might be due to invalid IL or missing references)
		//IL_0e9b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0e9c: Unknown result type (might be due to invalid IL or missing references)
		//IL_0ea7: Unknown result type (might be due to invalid IL or missing references)
		//IL_0eb3: Expected O, but got Unknown
		//IL_0ebc: Unknown result type (might be due to invalid IL or missing references)
		//IL_0ec1: Unknown result type (might be due to invalid IL or missing references)
		//IL_0ec2: Unknown result type (might be due to invalid IL or missing references)
		//IL_0ecd: Unknown result type (might be due to invalid IL or missing references)
		//IL_0ed9: Expected O, but got Unknown
		//IL_0ee2: Unknown result type (might be due to invalid IL or missing references)
		//IL_0ee7: Unknown result type (might be due to invalid IL or missing references)
		//IL_0ee8: Unknown result type (might be due to invalid IL or missing references)
		//IL_0ef3: Unknown result type (might be due to invalid IL or missing references)
		//IL_0eff: Expected O, but got Unknown
		//IL_0f08: Unknown result type (might be due to invalid IL or missing references)
		//IL_0f0d: Unknown result type (might be due to invalid IL or missing references)
		//IL_0f0e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0f19: Unknown result type (might be due to invalid IL or missing references)
		//IL_0f25: Expected O, but got Unknown
		//IL_0f2e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0f33: Unknown result type (might be due to invalid IL or missing references)
		//IL_0f34: Unknown result type (might be due to invalid IL or missing references)
		//IL_0f3f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0f4b: Expected O, but got Unknown
		//IL_105f: Unknown result type (might be due to invalid IL or missing references)
		//IL_1069: 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,
				useTextColorOnChat = true
			},
			new RadialButton("Uuhh", '-', Color.gray),
			new RadialButton("Oi", '!', Color.gray),
			new RadialButton("Wah", '?', Color.gray),
			new RadialButton("Dunno", '-', Color.gray),
			new RadialButton("Kiinda", '-', Color.gray),
			new RadialButton("Nuh uh", '!')
			{
				textColor = Color.red,
				useTextColorOnChat = true
			},
			new RadialButton("Nono", '!', Color.red),
			new RadialButton("ACK", '!', Color.white)
			{
				textColor = Color.red,
				useTextColorOnChat = true
			},
			new RadialButton("AAA", '?', Color.white)
			{
				textColor = Color.red,
				useTextColorOnChat = true
			},
			new RadialButton("AAAAA", "AAAAA!!!", "!!!")
			{
				buttonColor = Color.white,
				textColor = Color.red,
				useTextColorOnChat = true
			},
			new RadialButton("HEHEHHEEE", Color.green),
			new RadialButton("Yuh", '?', Color.green),
			new RadialButton("Yeye", '!', Color.green),
			new RadialButton("Yuh", '!', Color.green),
			new RadialButton("Hehe", '!', Color.green),
			new RadialButton("Ello", '!', Color.green),
			new RadialButton("Byebye", '!', Color.blue)
		});
		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(">:D")
			{
				textColor = Color.red,
				useTextColorOnChat = true,
				punctuation = () => string.Empty
			},
			new RadialButton("D:<")
			{
				textColor = Color.red,
				useTextColorOnChat = true,
				punctuation = () => string.Empty
			},
			new RadialButton(">:P")
			{
				textColor = Color.green,
				useTextColorOnChat = true,
				punctuation = () => string.Empty
			},
			new RadialButton(">:]")
			{
				textColor = Color.red,
				useTextColorOnChat = true,
				punctuation = () => string.Empty
			},
			new RadialButton(">:[")
			{
				textColor = Color.red,
				useTextColorOnChat = true,
				punctuation = () => string.Empty
			},
			new RadialButton(">-<")
			{
				textColor = Color.blue,
				useTextColorOnChat = true,
				punctuation = () => string.Empty
			},
			new RadialButton(">~<")
			{
				textColor = Color.blue,
				useTextColorOnChat = true,
				punctuation = () => string.Empty
			},
			new RadialButton("o~o")
			{
				textColor = Color.blue,
				useTextColorOnChat = true,
				punctuation = () => string.Empty
			},
			new RadialButton(";<")
			{
				textColor = Color.blue,
				useTextColorOnChat = true,
				punctuation = () => string.Empty
			},
			new RadialButton(":>")
			{
				textColor = Color.green,
				useTextColorOnChat = true,
				punctuation = () => string.Empty
			},
			new RadialButton("O-O")
			{
				textColor = Color.green,
				useTextColorOnChat = true,
				punctuation = () => string.Empty
			},
			new RadialButton("O~O")
			{
				textColor = Color.blue,
				useTextColorOnChat = true,
				punctuation = () => string.Empty
			},
			new RadialButton("@~@")
			{
				textColor = Color.blue,
				useTextColorOnChat = true,
				punctuation = () => string.Empty
			},
			new RadialButton("T-T")
			{
				textColor = Color.blue,
				useTextColorOnChat = true,
				punctuation = () => string.Empty
			},
			new RadialButton("ToT")
			{
				textColor = Color.blue,
				useTextColorOnChat = true,
				punctuation = () => string.Empty
			},
			new RadialButton("O - O")
			{
				punctuation = () => string.Empty
			},
			new RadialButton(":o")
			{
				punctuation = () => string.Empty
			},
			new RadialButton(">:o")
			{
				textColor = Color.red,
				useTextColorOnChat = true,
				punctuation = () => string.Empty
			},
			new RadialButton(":o", '?')
			{
				textColor = Color.blue,
				useTextColorOnChat = true
			}
		});
		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,
				useTextColorOnChat = true
			},
			new RadialButton("COILLSI", '!')
			{
				textColor = Color.red,
				useTextColorOnChat = true
			},
			new RadialButton("JESTERRI", '!')
			{
				textColor = Color.red,
				useTextColorOnChat = true
			},
			new RadialButton("MASKII", '!')
			{
				textColor = Color.red,
				useTextColorOnChat = true
			},
			new RadialButton("GIANTI", '!')
			{
				textColor = Color.red,
				useTextColorOnChat = true
			},
			new RadialButton("BIRDSII", '!')
			{
				textColor = Color.red,
				useTextColorOnChat = true
			},
			new RadialButton("SNAREY FLEE", '!')
			{
				textColor = Color.red,
				useTextColorOnChat = true
			},
			new RadialButton("SPIDERSI", '!')
			{
				textColor = Color.red,
				useTextColorOnChat = true
			},
			new RadialButton("BUGS-A", '!')
			{
				textColor = Color.red,
				useTextColorOnChat = true
			},
			new RadialButton("BRACKENNA", '!')
			{
				textColor = Color.red,
				useTextColorOnChat = true
			},
			new RadialButton("THUMPERSI", '!')
			{
				textColor = Color.red,
				useTextColorOnChat = true
			},
			new RadialButton("SLIMESII", '!')
			{
				textColor = Color.red,
				useTextColorOnChat = true
			},
			new RadialButton("GHOSTII HAUNTED", '!')
			{
				textColor = Color.red,
				useTextColorOnChat = true
			},
			new RadialButton("LIZARDSI", '!')
			{
				textColor = Color.red,
				useTextColorOnChat = true
			},
			new RadialButton("RUNSI", '!')
			{
				textColor = Color.red,
				useTextColorOnChat = true
			},
			new RadialButton("GO GO", '!')
			{
				textColor = Color.red,
				useTextColorOnChat = true
			},
			new RadialButton("HELPSII", '!')
			{
				textColor = Color.red,
				useTextColorOnChat = true
			}
		});
		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.2")]
[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.2 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.2";
}