using System;
using Cpp2IlInjected;
using UnityEngine;

namespace RootMotion
{
	// Token: 0x020003A4 RID: 932
	[Token(Token = "0x20003A4")]
	public static class Warning
	{
		// Token: 0x060022F1 RID: 8945 RVA: 0x0005054C File Offset: 0x0004E74C
		[Token(Token = "0x60022F1")]
		[Address(RVA = "0x93FB70", Offset = "0x93E970", VA = "0x18093FB70")]
		public static void Log(string message, Warning.Logger logger, bool logInEditMode = false)
		{
			if ((logInEditMode || Application.isPlaying) && logger != 0)
			{
				logger(message);
			}
		}

		// Token: 0x060022F2 RID: 8946 RVA: 0x00050574 File Offset: 0x0004E774
		[Token(Token = "0x60022F2")]
		[Address(RVA = "0x93FC00", Offset = "0x93EA00", VA = "0x18093FC00")]
		public static void Log(string message, Transform context, bool logInEditMode = false)
		{
			if (logInEditMode || Application.isPlaying)
			{
				Debug.LogWarning(message, context);
			}
		}

		// Token: 0x04002C13 RID: 11283
		[Token(Token = "0x4002C13")]
		public static bool logged;

		// Token: 0x020003A5 RID: 933
		[Token(Token = "0x20003A5")]
		public sealed class Logger : MulticastDelegate
		{
			// Token: 0x060022F3 RID: 8947 RVA: 0x000020D3 File Offset: 0x000002D3
			[Token(Token = "0x60022F3")]
			[Address(RVA = "0x44EA10", Offset = "0x44D810", VA = "0x18044EA10")]
			public Logger(object @object, IntPtr method)
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}

			// Token: 0x060022F4 RID: 8948 RVA: 0x000020D3 File Offset: 0x000002D3
			[Token(Token = "0x60022F4")]
			[Address(RVA = "0x6BBC60", Offset = "0x6BAA60", VA = "0x1806BBC60", Slot = "12")]
			public void Invoke(string message)
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}

			// Token: 0x060022F5 RID: 8949 RVA: 0x000020D3 File Offset: 0x000002D3
			[Token(Token = "0x60022F5")]
			[Address(RVA = "0x527380", Offset = "0x526180", VA = "0x180527380", Slot = "13")]
			public IAsyncResult BeginInvoke(string message, AsyncCallback callback, object @object)
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}

			// Token: 0x060022F6 RID: 8950 RVA: 0x000020D3 File Offset: 0x000002D3
			[Token(Token = "0x60022F6")]
			[Address(RVA = "0x44E730", Offset = "0x44D530", VA = "0x18044E730", Slot = "14")]
			public void EndInvoke(IAsyncResult result)
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}
		}
	}
}
