using System;
using Cpp2IlInjected;
using UnityEngine;

namespace RootMotion
{
	// Token: 0x020003FC RID: 1020
	[Token(Token = "0x20003FC")]
	public static class Warning
	{
		// Token: 0x060025BA RID: 9658 RVA: 0x000577F8 File Offset: 0x000559F8
		[Token(Token = "0x60025BA")]
		[Address(RVA = "0x4B9BF0", Offset = "0x4B8BF0", VA = "0x1804B9BF0")]
		public static void Log(string message, Warning.Logger logger, bool logInEditMode = false)
		{
			if ((logInEditMode || Application.isPlaying) && logger != 0)
			{
				logger(message);
			}
		}

		// Token: 0x060025BB RID: 9659 RVA: 0x00057820 File Offset: 0x00055A20
		[Token(Token = "0x60025BB")]
		[Address(RVA = "0x4B9C80", Offset = "0x4B8C80", VA = "0x1804B9C80")]
		public static void Log(string message, Transform context, bool logInEditMode = false)
		{
			if (logInEditMode || Application.isPlaying)
			{
				Debug.LogWarning(message, context);
			}
		}

		// Token: 0x04002EFD RID: 12029
		[Token(Token = "0x4002EFD")]
		public static bool logged;

		// Token: 0x020003FD RID: 1021
		[Token(Token = "0x20003FD")]
		public sealed class Logger : MulticastDelegate
		{
			// Token: 0x060025BC RID: 9660 RVA: 0x000020D3 File Offset: 0x000002D3
			[Token(Token = "0x60025BC")]
			[Address(RVA = "0x4932A0", Offset = "0x4922A0", VA = "0x1804932A0")]
			public Logger(object @object, IntPtr method)
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}

			// Token: 0x060025BD RID: 9661 RVA: 0x000020D3 File Offset: 0x000002D3
			[Token(Token = "0x60025BD")]
			[Address(RVA = "0x6C8510", Offset = "0x6C7510", VA = "0x1806C8510", Slot = "13")]
			public void Invoke(string message)
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}

			// Token: 0x060025BE RID: 9662 RVA: 0x000020D3 File Offset: 0x000002D3
			[Token(Token = "0x60025BE")]
			[Address(RVA = "0x4F1420", Offset = "0x4F0420", VA = "0x1804F1420", Slot = "14")]
			public IAsyncResult BeginInvoke(string message, AsyncCallback callback, object @object)
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}

			// Token: 0x060025BF RID: 9663 RVA: 0x000020D3 File Offset: 0x000002D3
			[Token(Token = "0x60025BF")]
			[Address(RVA = "0x492FC0", Offset = "0x491FC0", VA = "0x180492FC0", Slot = "15")]
			public void EndInvoke(IAsyncResult result)
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}
		}
	}
}
