Add v1.1.0

This commit is contained in:
2023-09-06 22:19:13 +02:00
parent 310f06ecde
commit 4422db7037
2160 changed files with 214256 additions and 178490 deletions

View File

@@ -5,127 +5,127 @@ using UnityEngine;
namespace Obi.CrossPlatformInput.PlatformSpecific
{
// Token: 0x0200050D RID: 1293
[Token(Token = "0x200050D")]
// Token: 0x0200055C RID: 1372
[Token(Token = "0x200055C")]
public class MobileInput : VirtualInput
{
// Token: 0x06002CF1 RID: 11505 RVA: 0x00060FF0 File Offset: 0x0005F1F0
[Token(Token = "0x6002CF1")]
[Address(RVA = "0xCBD0F0", Offset = "0xCBB8F0", VA = "0x180CBD0F0")]
// 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: 0x06002CF2 RID: 11506 RVA: 0x00061008 File Offset: 0x0005F208
[Token(Token = "0x6002CF2")]
[Address(RVA = "0xCBD060", Offset = "0xCBB860", VA = "0x180CBD060")]
// 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: 0x06002CF3 RID: 11507 RVA: 0x00061020 File Offset: 0x0005F220
[Token(Token = "0x6002CF3")]
[Address(RVA = "0xCBD180", Offset = "0xCBB980", VA = "0x180CBD180", Slot = "4")]
// 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: 0x06002CF4 RID: 11508 RVA: 0x0006105C File Offset: 0x0005F25C
[Token(Token = "0x6002CF4")]
[Address(RVA = "0xCBD690", Offset = "0xCBBE90", VA = "0x180CBD690", Slot = "8")]
// 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: 0x06002CF5 RID: 11509 RVA: 0x00061098 File Offset: 0x0005F298
[Token(Token = "0x6002CF5")]
[Address(RVA = "0xCBD730", Offset = "0xCBBF30", VA = "0x180CBD730", Slot = "9")]
// 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: 0x06002CF6 RID: 11510 RVA: 0x000610D4 File Offset: 0x0005F2D4
[Token(Token = "0x6002CF6")]
[Address(RVA = "0xCBD4A0", Offset = "0xCBBCA0", VA = "0x180CBD4A0", Slot = "10")]
// 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: 0x06002CF7 RID: 11511 RVA: 0x00061118 File Offset: 0x0005F318
[Token(Token = "0x6002CF7")]
[Address(RVA = "0xCBD400", Offset = "0xCBBC00", VA = "0x180CBD400", Slot = "11")]
// 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: 0x06002CF8 RID: 11512 RVA: 0x0006115C File Offset: 0x0005F35C
[Token(Token = "0x6002CF8")]
[Address(RVA = "0xCBD540", Offset = "0xCBBD40", VA = "0x180CBD540", Slot = "12")]
// 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: 0x06002CF9 RID: 11513 RVA: 0x000611A0 File Offset: 0x0005F3A0
[Token(Token = "0x6002CF9")]
[Address(RVA = "0xCBD5E0", Offset = "0xCBBDE0", VA = "0x180CBD5E0", Slot = "13")]
// 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: 0x06002CFA RID: 11514 RVA: 0x000611E0 File Offset: 0x0005F3E0
[Token(Token = "0x6002CFA")]
[Address(RVA = "0xCBD220", Offset = "0xCBBA20", VA = "0x180CBD220", Slot = "6")]
// 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: 0x06002CFB RID: 11515 RVA: 0x0006121C File Offset: 0x0005F41C
[Token(Token = "0x6002CFB")]
[Address(RVA = "0xCBD2C0", Offset = "0xCBBAC0", VA = "0x180CBD2C0", Slot = "7")]
// 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: 0x06002CFC RID: 11516 RVA: 0x00061258 File Offset: 0x0005F458
[Token(Token = "0x6002CFC")]
[Address(RVA = "0xCBD360", Offset = "0xCBBB60", VA = "0x180CBD360", Slot = "5")]
// 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: 0x06002CFD RID: 11517 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002CFD")]
[Address(RVA = "0x470CF0", Offset = "0x46F4F0", VA = "0x180470CF0", Slot = "14")]
// 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: 0x06002CFE RID: 11518 RVA: 0x00061294 File Offset: 0x0005F494
[Token(Token = "0x6002CFE")]
[Address(RVA = "0xB195B0", Offset = "0xB17DB0", VA = "0x180B195B0")]
// Token: 0x06002F95 RID: 12181 RVA: 0x000681FC File Offset: 0x000663FC
[Token(Token = "0x6002F95")]
[Address(RVA = "0x985940", Offset = "0x984940", VA = "0x180985940")]
public MobileInput()
{
}

View File

@@ -4,13 +4,13 @@ using UnityEngine;
namespace Obi.CrossPlatformInput.PlatformSpecific
{
// Token: 0x0200050E RID: 1294
[Token(Token = "0x200050E")]
// Token: 0x0200055D RID: 1373
[Token(Token = "0x200055D")]
public class StandaloneInput : VirtualInput
{
// Token: 0x06002CFF RID: 11519 RVA: 0x000612A8 File Offset: 0x0005F4A8
[Token(Token = "0x6002CFF")]
[Address(RVA = "0xB19360", Offset = "0xB17B60", VA = "0x180B19360", Slot = "4")]
// Token: 0x06002F96 RID: 12182 RVA: 0x00068210 File Offset: 0x00066410
[Token(Token = "0x6002F96")]
[Address(RVA = "0x9856E0", Offset = "0x9846E0", VA = "0x1809856E0", Slot = "4")]
public override float GetAxis(string name, bool raw)
{
while (raw)
@@ -19,37 +19,37 @@ namespace Obi.CrossPlatformInput.PlatformSpecific
return Input.GetAxis(name);
}
// Token: 0x06002D00 RID: 11520 RVA: 0x000612C0 File Offset: 0x0005F4C0
[Token(Token = "0x6002D00")]
[Address(RVA = "0xB19390", Offset = "0xB17B90", VA = "0x180B19390", Slot = "5")]
// Token: 0x06002F97 RID: 12183 RVA: 0x00068228 File Offset: 0x00066428
[Token(Token = "0x6002F97")]
[Address(RVA = "0x985720", Offset = "0x984720", VA = "0x180985720", Slot = "5")]
public override bool GetButton(string name)
{
return Input.GetButton(name);
}
// Token: 0x06002D01 RID: 11521 RVA: 0x000612D4 File Offset: 0x0005F4D4
[Token(Token = "0x6002D01")]
[Address(RVA = "0x9DFFD0", Offset = "0x9DE7D0", VA = "0x1809DFFD0", Slot = "6")]
// Token: 0x06002F98 RID: 12184 RVA: 0x0006823C File Offset: 0x0006643C
[Token(Token = "0x6002F98")]
[Address(RVA = "0x985700", Offset = "0x984700", VA = "0x180985700", Slot = "6")]
public override bool GetButtonDown(string name)
{
return Input.GetButtonDown(name);
}
// Token: 0x06002D02 RID: 11522 RVA: 0x000612E8 File Offset: 0x0005F4E8
[Token(Token = "0x6002D02")]
[Address(RVA = "0xB19380", Offset = "0xB17B80", VA = "0x180B19380", Slot = "7")]
// Token: 0x06002F99 RID: 12185 RVA: 0x00068250 File Offset: 0x00066450
[Token(Token = "0x6002F99")]
[Address(RVA = "0x985710", Offset = "0x984710", VA = "0x180985710", Slot = "7")]
public override bool GetButtonUp(string name)
{
return Input.GetButtonUp(name);
}
// Token: 0x06002D03 RID: 11523 RVA: 0x000612FC File Offset: 0x0005F4FC
[Token(Token = "0x6002D03")]
[Address(RVA = "0xB19510", Offset = "0xB17D10", VA = "0x180B19510", Slot = "8")]
// Token: 0x06002F9A RID: 12186 RVA: 0x00068264 File Offset: 0x00066464
[Token(Token = "0x6002F9A")]
[Address(RVA = "0x9858A0", Offset = "0x9848A0", VA = "0x1809858A0", Slot = "8")]
public override void SetButtonDown(string name)
{
/*
An exception occurred when decompiling this method (06002D03)
An exception occurred when decompiling this method (06002F9A)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void Obi.CrossPlatformInput.PlatformSpecific.StandaloneInput::SetButtonDown(System.String)
@@ -65,13 +65,13 @@ ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void Obi.Cr
*/;
}
// Token: 0x06002D04 RID: 11524 RVA: 0x00061314 File Offset: 0x0005F514
[Token(Token = "0x6002D04")]
[Address(RVA = "0xB19560", Offset = "0xB17D60", VA = "0x180B19560", Slot = "9")]
// Token: 0x06002F9B RID: 12187 RVA: 0x0006827C File Offset: 0x0006647C
[Token(Token = "0x6002F9B")]
[Address(RVA = "0x9858F0", Offset = "0x9848F0", VA = "0x1809858F0", Slot = "9")]
public override void SetButtonUp(string name)
{
/*
An exception occurred when decompiling this method (06002D04)
An exception occurred when decompiling this method (06002F9B)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void Obi.CrossPlatformInput.PlatformSpecific.StandaloneInput::SetButtonUp(System.String)
@@ -87,13 +87,13 @@ ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void Obi.Cr
*/;
}
// Token: 0x06002D05 RID: 11525 RVA: 0x0006132C File Offset: 0x0005F52C
[Token(Token = "0x6002D05")]
[Address(RVA = "0xB19420", Offset = "0xB17C20", VA = "0x180B19420", Slot = "10")]
// Token: 0x06002F9C RID: 12188 RVA: 0x00068294 File Offset: 0x00066494
[Token(Token = "0x6002F9C")]
[Address(RVA = "0x9857B0", Offset = "0x9847B0", VA = "0x1809857B0", Slot = "10")]
public override void SetAxisPositive(string name)
{
/*
An exception occurred when decompiling this method (06002D05)
An exception occurred when decompiling this method (06002F9C)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void Obi.CrossPlatformInput.PlatformSpecific.StandaloneInput::SetAxisPositive(System.String)
@@ -109,13 +109,13 @@ ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void Obi.Cr
*/;
}
// Token: 0x06002D06 RID: 11526 RVA: 0x00061344 File Offset: 0x0005F544
[Token(Token = "0x6002D06")]
[Address(RVA = "0xB193D0", Offset = "0xB17BD0", VA = "0x180B193D0", Slot = "11")]
// Token: 0x06002F9D RID: 12189 RVA: 0x000682AC File Offset: 0x000664AC
[Token(Token = "0x6002F9D")]
[Address(RVA = "0x985760", Offset = "0x984760", VA = "0x180985760", Slot = "11")]
public override void SetAxisNegative(string name)
{
/*
An exception occurred when decompiling this method (06002D06)
An exception occurred when decompiling this method (06002F9D)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void Obi.CrossPlatformInput.PlatformSpecific.StandaloneInput::SetAxisNegative(System.String)
@@ -131,13 +131,13 @@ ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void Obi.Cr
*/;
}
// Token: 0x06002D07 RID: 11527 RVA: 0x0006135C File Offset: 0x0005F55C
[Token(Token = "0x6002D07")]
[Address(RVA = "0xB19470", Offset = "0xB17C70", VA = "0x180B19470", Slot = "12")]
// Token: 0x06002F9E RID: 12190 RVA: 0x000682C4 File Offset: 0x000664C4
[Token(Token = "0x6002F9E")]
[Address(RVA = "0x985800", Offset = "0x984800", VA = "0x180985800", Slot = "12")]
public override void SetAxisZero(string name)
{
/*
An exception occurred when decompiling this method (06002D07)
An exception occurred when decompiling this method (06002F9E)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void Obi.CrossPlatformInput.PlatformSpecific.StandaloneInput::SetAxisZero(System.String)
@@ -153,13 +153,13 @@ ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void Obi.Cr
*/;
}
// Token: 0x06002D08 RID: 11528 RVA: 0x00061374 File Offset: 0x0005F574
[Token(Token = "0x6002D08")]
[Address(RVA = "0xB194C0", Offset = "0xB17CC0", VA = "0x180B194C0", Slot = "13")]
// Token: 0x06002F9F RID: 12191 RVA: 0x000682DC File Offset: 0x000664DC
[Token(Token = "0x6002F9F")]
[Address(RVA = "0x985850", Offset = "0x984850", VA = "0x180985850", Slot = "13")]
public override void SetAxis(string name, float value)
{
/*
An exception occurred when decompiling this method (06002D08)
An exception occurred when decompiling this method (06002F9F)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void Obi.CrossPlatformInput.PlatformSpecific.StandaloneInput::SetAxis(System.String,System.Single)
@@ -175,17 +175,17 @@ ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void Obi.Cr
*/;
}
// Token: 0x06002D09 RID: 11529 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002D09")]
[Address(RVA = "0xB193A0", Offset = "0xB17BA0", VA = "0x180B193A0", Slot = "14")]
// Token: 0x06002FA0 RID: 12192 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002FA0")]
[Address(RVA = "0x985730", Offset = "0x984730", VA = "0x180985730", Slot = "14")]
public override Vector3 MousePosition()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002D0A RID: 11530 RVA: 0x0006138C File Offset: 0x0005F58C
[Token(Token = "0x6002D0A")]
[Address(RVA = "0xB195B0", Offset = "0xB17DB0", VA = "0x180B195B0")]
// Token: 0x06002FA1 RID: 12193 RVA: 0x000682F4 File Offset: 0x000664F4
[Token(Token = "0x6002FA1")]
[Address(RVA = "0x985940", Offset = "0x984940", VA = "0x180985940")]
public StandaloneInput()
{
}