Add v1.0.3.1
This commit is contained in:
@@ -0,0 +1,133 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Obi.CrossPlatformInput.PlatformSpecific
|
||||
{
|
||||
// Token: 0x02000504 RID: 1284
|
||||
[Token(Token = "0x2000504")]
|
||||
public class MobileInput : VirtualInput
|
||||
{
|
||||
// Token: 0x06002CBF RID: 11455 RVA: 0x00060CC4 File Offset: 0x0005EEC4
|
||||
[Token(Token = "0x6002CBF")]
|
||||
[Address(RVA = "0xBC4B10", Offset = "0xBC3910", VA = "0x180BC4B10")]
|
||||
private void AddButton(string name)
|
||||
{
|
||||
CrossPlatformInputManager.RegisterVirtualButton(new CrossPlatformInputManager.VirtualButton(name));
|
||||
}
|
||||
|
||||
// Token: 0x06002CC0 RID: 11456 RVA: 0x00060CDC File Offset: 0x0005EEDC
|
||||
[Token(Token = "0x6002CC0")]
|
||||
[Address(RVA = "0xBC4A80", Offset = "0xBC3880", VA = "0x180BC4A80")]
|
||||
private void AddAxes(string name)
|
||||
{
|
||||
CrossPlatformInputManager.RegisterVirtualAxis(new CrossPlatformInputManager.VirtualAxis(name));
|
||||
}
|
||||
|
||||
// Token: 0x06002CC1 RID: 11457 RVA: 0x00060CF4 File Offset: 0x0005EEF4
|
||||
[Token(Token = "0x6002CC1")]
|
||||
[Address(RVA = "0xBC4BA0", Offset = "0xBC39A0", VA = "0x180BC4BA0", Slot = "4")]
|
||||
public override float GetAxis(string name, bool raw)
|
||||
{
|
||||
Dictionary<string, CrossPlatformInputManager.VirtualAxis> virtualAxes = this.m_VirtualAxes;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06002CC2 RID: 11458 RVA: 0x00060D30 File Offset: 0x0005EF30
|
||||
[Token(Token = "0x6002CC2")]
|
||||
[Address(RVA = "0xBC50B0", Offset = "0xBC3EB0", VA = "0x180BC50B0", Slot = "8")]
|
||||
public override void SetButtonDown(string name)
|
||||
{
|
||||
Dictionary<string, CrossPlatformInputManager.VirtualButton> virtualButtons = this.m_VirtualButtons;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06002CC3 RID: 11459 RVA: 0x00060D6C File Offset: 0x0005EF6C
|
||||
[Token(Token = "0x6002CC3")]
|
||||
[Address(RVA = "0xBC5150", Offset = "0xBC3F50", VA = "0x180BC5150", Slot = "9")]
|
||||
public override void SetButtonUp(string name)
|
||||
{
|
||||
Dictionary<string, CrossPlatformInputManager.VirtualButton> virtualButtons = this.m_VirtualButtons;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06002CC4 RID: 11460 RVA: 0x00060DA8 File Offset: 0x0005EFA8
|
||||
[Token(Token = "0x6002CC4")]
|
||||
[Address(RVA = "0xBC4EC0", Offset = "0xBC3CC0", VA = "0x180BC4EC0", Slot = "10")]
|
||||
public override void SetAxisPositive(string name)
|
||||
{
|
||||
Dictionary<string, CrossPlatformInputManager.VirtualAxis> virtualAxes = this.m_VirtualAxes;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06002CC5 RID: 11461 RVA: 0x00060DEC File Offset: 0x0005EFEC
|
||||
[Token(Token = "0x6002CC5")]
|
||||
[Address(RVA = "0xBC4E20", Offset = "0xBC3C20", VA = "0x180BC4E20", Slot = "11")]
|
||||
public override void SetAxisNegative(string name)
|
||||
{
|
||||
Dictionary<string, CrossPlatformInputManager.VirtualAxis> virtualAxes = this.m_VirtualAxes;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06002CC6 RID: 11462 RVA: 0x00060E30 File Offset: 0x0005F030
|
||||
[Token(Token = "0x6002CC6")]
|
||||
[Address(RVA = "0xBC4F60", Offset = "0xBC3D60", VA = "0x180BC4F60", Slot = "12")]
|
||||
public override void SetAxisZero(string name)
|
||||
{
|
||||
Dictionary<string, CrossPlatformInputManager.VirtualAxis> virtualAxes = this.m_VirtualAxes;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06002CC7 RID: 11463 RVA: 0x00060E74 File Offset: 0x0005F074
|
||||
[Token(Token = "0x6002CC7")]
|
||||
[Address(RVA = "0xBC5000", Offset = "0xBC3E00", VA = "0x180BC5000", Slot = "13")]
|
||||
public override void SetAxis(string name, float value)
|
||||
{
|
||||
Dictionary<string, CrossPlatformInputManager.VirtualAxis> virtualAxes = this.m_VirtualAxes;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06002CC8 RID: 11464 RVA: 0x00060EB4 File Offset: 0x0005F0B4
|
||||
[Token(Token = "0x6002CC8")]
|
||||
[Address(RVA = "0xBC4C40", Offset = "0xBC3A40", VA = "0x180BC4C40", Slot = "6")]
|
||||
public override bool GetButtonDown(string name)
|
||||
{
|
||||
Dictionary<string, CrossPlatformInputManager.VirtualButton> virtualButtons = this.m_VirtualButtons;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06002CC9 RID: 11465 RVA: 0x00060EF0 File Offset: 0x0005F0F0
|
||||
[Token(Token = "0x6002CC9")]
|
||||
[Address(RVA = "0xBC4CE0", Offset = "0xBC3AE0", VA = "0x180BC4CE0", Slot = "7")]
|
||||
public override bool GetButtonUp(string name)
|
||||
{
|
||||
Dictionary<string, CrossPlatformInputManager.VirtualButton> virtualButtons = this.m_VirtualButtons;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06002CCA RID: 11466 RVA: 0x00060F2C File Offset: 0x0005F12C
|
||||
[Token(Token = "0x6002CCA")]
|
||||
[Address(RVA = "0xBC4D80", Offset = "0xBC3B80", VA = "0x180BC4D80", Slot = "5")]
|
||||
public override bool GetButton(string name)
|
||||
{
|
||||
Dictionary<string, CrossPlatformInputManager.VirtualButton> virtualButtons = this.m_VirtualButtons;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06002CCB RID: 11467 RVA: 0x000020D3 File Offset: 0x000002D3
|
||||
[Token(Token = "0x6002CCB")]
|
||||
[Address(RVA = "0x42E030", Offset = "0x42CE30", VA = "0x18042E030", Slot = "14")]
|
||||
public override Vector3 MousePosition()
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x06002CCC RID: 11468 RVA: 0x00060F68 File Offset: 0x0005F168
|
||||
[Token(Token = "0x6002CCC")]
|
||||
[Address(RVA = "0xAB4F10", Offset = "0xAB3D10", VA = "0x180AB4F10")]
|
||||
public MobileInput()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user