Add v1.0.3.1
This commit is contained in:
79
Cpp2IL/Assembly-CSharp/RootMotion/Demos/FPSCharacter.cs
Normal file
79
Cpp2IL/Assembly-CSharp/RootMotion/Demos/FPSCharacter.cs
Normal file
@@ -0,0 +1,79 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RootMotion.Demos
|
||||
{
|
||||
// Token: 0x020003BE RID: 958
|
||||
[Token(Token = "0x20003BE")]
|
||||
[RequireComponent(typeof(Animator))]
|
||||
[RequireComponent(typeof(FPSAiming))]
|
||||
public class FPSCharacter : MonoBehaviour
|
||||
{
|
||||
// Token: 0x06002355 RID: 9045 RVA: 0x00051008 File Offset: 0x0004F208
|
||||
[Token(Token = "0x6002355")]
|
||||
[Address(RVA = "0x4BEB80", Offset = "0x4BD980", VA = "0x1804BEB80")]
|
||||
private void Start()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06002355)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void RootMotion.Demos.FPSCharacter::Start()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{; Block_0:; stloc:Animator(var_0_06, call:Animator(Component::GetComponent, ldloc:FPSCharacter[exp:Component](this))); stfld:Animator(FPSCharacter::animator, ldloc:FPSCharacter(this), ldloc:Animator(var_0_06)); stloc:FPSAiming(var_1_14, call:FPSAiming(Component::GetComponent, ldloc:FPSCharacter[exp:Component](this))); stfld:FPSAiming(FPSCharacter::FPSAiming, ldloc:FPSCharacter(this), ldloc:FPSAiming(var_1_14)); };
|
||||
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: 0x06002356 RID: 9046 RVA: 0x000020D3 File Offset: 0x000002D3
|
||||
[Token(Token = "0x6002356")]
|
||||
[Address(RVA = "0x4BEC00", Offset = "0x4BDA00", VA = "0x1804BEC00")]
|
||||
private void Update()
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x06002357 RID: 9047 RVA: 0x000020D3 File Offset: 0x000002D3
|
||||
[Token(Token = "0x6002357")]
|
||||
[Address(RVA = "0x4BEAC0", Offset = "0x4BD8C0", VA = "0x1804BEAC0")]
|
||||
private void OnGUI()
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x06002358 RID: 9048 RVA: 0x00051030 File Offset: 0x0004F230
|
||||
[Token(Token = "0x6002358")]
|
||||
[Address(RVA = "0x4BECF0", Offset = "0x4BDAF0", VA = "0x1804BECF0")]
|
||||
public FPSCharacter()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04002CC6 RID: 11462
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4002CC6")]
|
||||
[Range(0f, 1f)]
|
||||
public float walkSpeed = 0.5f;
|
||||
|
||||
// Token: 0x04002CC7 RID: 11463
|
||||
[FieldOffset(Offset = "0x1C")]
|
||||
[Token(Token = "0x4002CC7")]
|
||||
private float sVel;
|
||||
|
||||
// Token: 0x04002CC8 RID: 11464
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4002CC8")]
|
||||
private Animator animator;
|
||||
|
||||
// Token: 0x04002CC9 RID: 11465
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4002CC9")]
|
||||
private FPSAiming FPSAiming;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user