using System;
using Cpp2IlInjected;
using UnityEngine;

namespace Obi.CrossPlatformInput
{
	// Token: 0x0200054B RID: 1355
	[Token(Token = "0x200054B")]
	public class ButtonHandler : MonoBehaviour
	{
		// Token: 0x06002F1A RID: 12058 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002F1A")]
		[Address(RVA = "0x29E8B0", Offset = "0x29D8B0", VA = "0x18029E8B0")]
		private void OnEnable()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002F1B RID: 12059 RVA: 0x00067268 File Offset: 0x00065468
		[Token(Token = "0x6002F1B")]
		[Address(RVA = "0xB89250", Offset = "0xB88250", VA = "0x180B89250")]
		public void SetDownState()
		{
			CrossPlatformInputManager.SetButtonDown(this.Name);
		}

		// Token: 0x06002F1C RID: 12060 RVA: 0x00067280 File Offset: 0x00065480
		[Token(Token = "0x6002F1C")]
		[Address(RVA = "0xB892B0", Offset = "0xB882B0", VA = "0x180B892B0")]
		public void SetUpState()
		{
			CrossPlatformInputManager.SetButtonUp(this.Name);
		}

		// Token: 0x06002F1D RID: 12061 RVA: 0x00067298 File Offset: 0x00065498
		[Token(Token = "0x6002F1D")]
		[Address(RVA = "0xB891F0", Offset = "0xB881F0", VA = "0x180B891F0")]
		public void SetAxisPositiveState()
		{
			CrossPlatformInputManager.SetAxisPositive(this.Name);
		}

		// Token: 0x06002F1E RID: 12062 RVA: 0x000672B0 File Offset: 0x000654B0
		[Token(Token = "0x6002F1E")]
		[Address(RVA = "0xB89190", Offset = "0xB88190", VA = "0x180B89190")]
		public void SetAxisNeutralState()
		{
			CrossPlatformInputManager.SetAxisZero(this.Name);
		}

		// Token: 0x06002F1F RID: 12063 RVA: 0x000672C8 File Offset: 0x000654C8
		[Token(Token = "0x6002F1F")]
		[Address(RVA = "0xB89130", Offset = "0xB88130", VA = "0x180B89130")]
		public void SetAxisNegativeState()
		{
			CrossPlatformInputManager.SetAxisNegative(this.Name);
		}

		// Token: 0x06002F20 RID: 12064 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002F20")]
		[Address(RVA = "0x29E8B0", Offset = "0x29D8B0", VA = "0x18029E8B0")]
		public void Update()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002F21 RID: 12065 RVA: 0x000672E0 File Offset: 0x000654E0
		[Token(Token = "0x6002F21")]
		[Address(RVA = "0x328C40", Offset = "0x327C40", VA = "0x180328C40")]
		public ButtonHandler()
		{
		}

		// Token: 0x040037A3 RID: 14243
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x40037A3")]
		public string Name;
	}
}
