Files
NobetaSource/Cpp2IL/Assembly-CSharp/Obi/CrossPlatformInput/PlatformSpecific/MobileInput.cs
2023-09-06 22:19:13 +02:00

134 lines
5.2 KiB
C#

using System;
using System.Collections.Generic;
using Cpp2IlInjected;
using UnityEngine;
namespace Obi.CrossPlatformInput.PlatformSpecific
{
// Token: 0x0200055C RID: 1372
[Token(Token = "0x200055C")]
public class MobileInput : VirtualInput
{
// Token: 0x06002F88 RID: 12168 RVA: 0x00067F58 File Offset: 0x00066158
[Token(Token = "0x6002F88")]
[Address(RVA = "0xC2F7C0", Offset = "0xC2E7C0", VA = "0x180C2F7C0")]
private void AddButton(string name)
{
CrossPlatformInputManager.RegisterVirtualButton(new CrossPlatformInputManager.VirtualButton(name));
}
// Token: 0x06002F89 RID: 12169 RVA: 0x00067F70 File Offset: 0x00066170
[Token(Token = "0x6002F89")]
[Address(RVA = "0xC2F730", Offset = "0xC2E730", VA = "0x180C2F730")]
private void AddAxes(string name)
{
CrossPlatformInputManager.RegisterVirtualAxis(new CrossPlatformInputManager.VirtualAxis(name));
}
// Token: 0x06002F8A RID: 12170 RVA: 0x00067F88 File Offset: 0x00066188
[Token(Token = "0x6002F8A")]
[Address(RVA = "0xC2F850", Offset = "0xC2E850", VA = "0x180C2F850", Slot = "4")]
public override float GetAxis(string name, bool raw)
{
Dictionary<string, CrossPlatformInputManager.VirtualAxis> virtualAxes = this.m_VirtualAxes;
throw new NullReferenceException();
}
// Token: 0x06002F8B RID: 12171 RVA: 0x00067FC4 File Offset: 0x000661C4
[Token(Token = "0x6002F8B")]
[Address(RVA = "0xC2FD60", Offset = "0xC2ED60", VA = "0x180C2FD60", Slot = "8")]
public override void SetButtonDown(string name)
{
Dictionary<string, CrossPlatformInputManager.VirtualButton> virtualButtons = this.m_VirtualButtons;
throw new NullReferenceException();
}
// Token: 0x06002F8C RID: 12172 RVA: 0x00068000 File Offset: 0x00066200
[Token(Token = "0x6002F8C")]
[Address(RVA = "0xC2FE00", Offset = "0xC2EE00", VA = "0x180C2FE00", Slot = "9")]
public override void SetButtonUp(string name)
{
Dictionary<string, CrossPlatformInputManager.VirtualButton> virtualButtons = this.m_VirtualButtons;
throw new NullReferenceException();
}
// Token: 0x06002F8D RID: 12173 RVA: 0x0006803C File Offset: 0x0006623C
[Token(Token = "0x6002F8D")]
[Address(RVA = "0xC2FB70", Offset = "0xC2EB70", VA = "0x180C2FB70", Slot = "10")]
public override void SetAxisPositive(string name)
{
Dictionary<string, CrossPlatformInputManager.VirtualAxis> virtualAxes = this.m_VirtualAxes;
throw new NullReferenceException();
}
// Token: 0x06002F8E RID: 12174 RVA: 0x00068080 File Offset: 0x00066280
[Token(Token = "0x6002F8E")]
[Address(RVA = "0xC2FAD0", Offset = "0xC2EAD0", VA = "0x180C2FAD0", Slot = "11")]
public override void SetAxisNegative(string name)
{
Dictionary<string, CrossPlatformInputManager.VirtualAxis> virtualAxes = this.m_VirtualAxes;
throw new NullReferenceException();
}
// Token: 0x06002F8F RID: 12175 RVA: 0x000680C4 File Offset: 0x000662C4
[Token(Token = "0x6002F8F")]
[Address(RVA = "0xC2FC10", Offset = "0xC2EC10", VA = "0x180C2FC10", Slot = "12")]
public override void SetAxisZero(string name)
{
Dictionary<string, CrossPlatformInputManager.VirtualAxis> virtualAxes = this.m_VirtualAxes;
throw new NullReferenceException();
}
// Token: 0x06002F90 RID: 12176 RVA: 0x00068108 File Offset: 0x00066308
[Token(Token = "0x6002F90")]
[Address(RVA = "0xC2FCB0", Offset = "0xC2ECB0", VA = "0x180C2FCB0", Slot = "13")]
public override void SetAxis(string name, float value)
{
Dictionary<string, CrossPlatformInputManager.VirtualAxis> virtualAxes = this.m_VirtualAxes;
throw new NullReferenceException();
}
// Token: 0x06002F91 RID: 12177 RVA: 0x00068148 File Offset: 0x00066348
[Token(Token = "0x6002F91")]
[Address(RVA = "0xC2F8F0", Offset = "0xC2E8F0", VA = "0x180C2F8F0", Slot = "6")]
public override bool GetButtonDown(string name)
{
Dictionary<string, CrossPlatformInputManager.VirtualButton> virtualButtons = this.m_VirtualButtons;
throw new NullReferenceException();
}
// Token: 0x06002F92 RID: 12178 RVA: 0x00068184 File Offset: 0x00066384
[Token(Token = "0x6002F92")]
[Address(RVA = "0xC2F990", Offset = "0xC2E990", VA = "0x180C2F990", Slot = "7")]
public override bool GetButtonUp(string name)
{
Dictionary<string, CrossPlatformInputManager.VirtualButton> virtualButtons = this.m_VirtualButtons;
throw new NullReferenceException();
}
// Token: 0x06002F93 RID: 12179 RVA: 0x000681C0 File Offset: 0x000663C0
[Token(Token = "0x6002F93")]
[Address(RVA = "0xC2FA30", Offset = "0xC2EA30", VA = "0x180C2FA30", Slot = "5")]
public override bool GetButton(string name)
{
Dictionary<string, CrossPlatformInputManager.VirtualButton> virtualButtons = this.m_VirtualButtons;
throw new NullReferenceException();
}
// Token: 0x06002F94 RID: 12180 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002F94")]
[Address(RVA = "0x491550", Offset = "0x490550", VA = "0x180491550", Slot = "14")]
public override Vector3 MousePosition()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002F95 RID: 12181 RVA: 0x000681FC File Offset: 0x000663FC
[Token(Token = "0x6002F95")]
[Address(RVA = "0x985940", Offset = "0x984940", VA = "0x180985940")]
public MobileInput()
{
}
}
}