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()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,193 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Obi.CrossPlatformInput.PlatformSpecific
|
||||
{
|
||||
// Token: 0x02000505 RID: 1285
|
||||
[Token(Token = "0x2000505")]
|
||||
public class StandaloneInput : VirtualInput
|
||||
{
|
||||
// Token: 0x06002CCD RID: 11469 RVA: 0x00060F7C File Offset: 0x0005F17C
|
||||
[Token(Token = "0x6002CCD")]
|
||||
[Address(RVA = "0xAB4CC0", Offset = "0xAB3AC0", VA = "0x180AB4CC0", Slot = "4")]
|
||||
public override float GetAxis(string name, bool raw)
|
||||
{
|
||||
while (raw)
|
||||
{
|
||||
}
|
||||
return Input.GetAxis(name);
|
||||
}
|
||||
|
||||
// Token: 0x06002CCE RID: 11470 RVA: 0x00060F94 File Offset: 0x0005F194
|
||||
[Token(Token = "0x6002CCE")]
|
||||
[Address(RVA = "0xAB4CF0", Offset = "0xAB3AF0", VA = "0x180AB4CF0", Slot = "5")]
|
||||
public override bool GetButton(string name)
|
||||
{
|
||||
return Input.GetButton(name);
|
||||
}
|
||||
|
||||
// Token: 0x06002CCF RID: 11471 RVA: 0x00060FA8 File Offset: 0x0005F1A8
|
||||
[Token(Token = "0x6002CCF")]
|
||||
[Address(RVA = "0x94B740", Offset = "0x94A540", VA = "0x18094B740", Slot = "6")]
|
||||
public override bool GetButtonDown(string name)
|
||||
{
|
||||
return Input.GetButtonDown(name);
|
||||
}
|
||||
|
||||
// Token: 0x06002CD0 RID: 11472 RVA: 0x00060FBC File Offset: 0x0005F1BC
|
||||
[Token(Token = "0x6002CD0")]
|
||||
[Address(RVA = "0xAB4CE0", Offset = "0xAB3AE0", VA = "0x180AB4CE0", Slot = "7")]
|
||||
public override bool GetButtonUp(string name)
|
||||
{
|
||||
return Input.GetButtonUp(name);
|
||||
}
|
||||
|
||||
// Token: 0x06002CD1 RID: 11473 RVA: 0x00060FD0 File Offset: 0x0005F1D0
|
||||
[Token(Token = "0x6002CD1")]
|
||||
[Address(RVA = "0xAB4E70", Offset = "0xAB3C70", VA = "0x180AB4E70", Slot = "8")]
|
||||
public override void SetButtonDown(string name)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06002CD1)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void Obi.CrossPlatformInput.PlatformSpecific.StandaloneInput::SetButtonDown(System.String)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{; Block_0:; stloc:Exception(var_0_0A, newobj:Exception(Exception::.ctor, ldstr:string(" This is not possible to be called for standalone input. Please check your platform and code where this is called"))); };
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1810
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 344
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1618
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06002CD2 RID: 11474 RVA: 0x00060FE8 File Offset: 0x0005F1E8
|
||||
[Token(Token = "0x6002CD2")]
|
||||
[Address(RVA = "0xAB4EC0", Offset = "0xAB3CC0", VA = "0x180AB4EC0", Slot = "9")]
|
||||
public override void SetButtonUp(string name)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06002CD2)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void Obi.CrossPlatformInput.PlatformSpecific.StandaloneInput::SetButtonUp(System.String)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{; Block_0:; stloc:Exception(var_0_0A, newobj:Exception(Exception::.ctor, ldstr:string(" This is not possible to be called for standalone input. Please check your platform and code where this is called"))); };
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1810
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 344
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1618
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06002CD3 RID: 11475 RVA: 0x00061000 File Offset: 0x0005F200
|
||||
[Token(Token = "0x6002CD3")]
|
||||
[Address(RVA = "0xAB4D80", Offset = "0xAB3B80", VA = "0x180AB4D80", Slot = "10")]
|
||||
public override void SetAxisPositive(string name)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06002CD3)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void Obi.CrossPlatformInput.PlatformSpecific.StandaloneInput::SetAxisPositive(System.String)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{; Block_0:; stloc:Exception(var_0_0A, newobj:Exception(Exception::.ctor, ldstr:string(" This is not possible to be called for standalone input. Please check your platform and code where this is called"))); };
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1810
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 344
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1618
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06002CD4 RID: 11476 RVA: 0x00061018 File Offset: 0x0005F218
|
||||
[Token(Token = "0x6002CD4")]
|
||||
[Address(RVA = "0xAB4D30", Offset = "0xAB3B30", VA = "0x180AB4D30", Slot = "11")]
|
||||
public override void SetAxisNegative(string name)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06002CD4)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void Obi.CrossPlatformInput.PlatformSpecific.StandaloneInput::SetAxisNegative(System.String)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{; Block_0:; stloc:Exception(var_0_0A, newobj:Exception(Exception::.ctor, ldstr:string(" This is not possible to be called for standalone input. Please check your platform and code where this is called"))); };
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1810
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 344
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1618
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06002CD5 RID: 11477 RVA: 0x00061030 File Offset: 0x0005F230
|
||||
[Token(Token = "0x6002CD5")]
|
||||
[Address(RVA = "0xAB4DD0", Offset = "0xAB3BD0", VA = "0x180AB4DD0", Slot = "12")]
|
||||
public override void SetAxisZero(string name)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06002CD5)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void Obi.CrossPlatformInput.PlatformSpecific.StandaloneInput::SetAxisZero(System.String)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{; Block_0:; stloc:Exception(var_0_0A, newobj:Exception(Exception::.ctor, ldstr:string(" This is not possible to be called for standalone input. Please check your platform and code where this is called"))); };
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1810
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 344
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1618
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06002CD6 RID: 11478 RVA: 0x00061048 File Offset: 0x0005F248
|
||||
[Token(Token = "0x6002CD6")]
|
||||
[Address(RVA = "0xAB4E20", Offset = "0xAB3C20", VA = "0x180AB4E20", Slot = "13")]
|
||||
public override void SetAxis(string name, float value)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06002CD6)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void Obi.CrossPlatformInput.PlatformSpecific.StandaloneInput::SetAxis(System.String,System.Single)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{; Block_0:; stloc:Exception(var_0_0A, newobj:Exception(Exception::.ctor, ldstr:string(" This is not possible to be called for standalone input. Please check your platform and code where this is called"))); };
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1810
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 344
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1618
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06002CD7 RID: 11479 RVA: 0x000020D3 File Offset: 0x000002D3
|
||||
[Token(Token = "0x6002CD7")]
|
||||
[Address(RVA = "0xAB4D00", Offset = "0xAB3B00", VA = "0x180AB4D00", Slot = "14")]
|
||||
public override Vector3 MousePosition()
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x06002CD8 RID: 11480 RVA: 0x00061060 File Offset: 0x0005F260
|
||||
[Token(Token = "0x6002CD8")]
|
||||
[Address(RVA = "0xAB4F10", Offset = "0xAB3D10", VA = "0x180AB4F10")]
|
||||
public StandaloneInput()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user