103 lines
4.6 KiB
C#
103 lines
4.6 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x020000F7 RID: 247
|
|
[Token(Token = "0x20000F7")]
|
|
[StructLayout(3)]
|
|
public class StuntRunnerAudienceAnimator : MonoBehaviour
|
|
{
|
|
// Token: 0x06000663 RID: 1635 RVA: 0x00020128 File Offset: 0x0001E328
|
|
[Token(Token = "0x6000663")]
|
|
[Address(RVA = "0x13AAF90", Offset = "0x13A9990", VA = "0x1813AAF90")]
|
|
private void Start()
|
|
{
|
|
float num = global::UnityEngine.Random.Range(3.5f, 6f);
|
|
this.EJHELOHKGCF = num;
|
|
float num2 = global::UnityEngine.Random.Range(5f, 12f);
|
|
this.LJLOFBKIHLD = num2;
|
|
Transform transform = base.transform;
|
|
Transform transform2 = base.transform;
|
|
Vector3 vector;
|
|
float z = vector.z;
|
|
this.DFJKEGAKEFB.z = z;
|
|
Transform transform3 = base.transform;
|
|
float z2 = this.rotAxis.z;
|
|
Vector3 vector2;
|
|
float z3 = vector2.z;
|
|
this.MECCJPGOHKJ.z = z3;
|
|
}
|
|
|
|
// Token: 0x06000664 RID: 1636 RVA: 0x000201BC File Offset: 0x0001E3BC
|
|
[Token(Token = "0x6000664")]
|
|
[Address(RVA = "0x13AB080", Offset = "0x13A9A80", VA = "0x1813AB080")]
|
|
private void Update()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06000664)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void StuntRunnerAudienceAnimator::Update()
|
|
|
|
---> System.ArgumentOutOfRangeException: length ('-1') must be a non-negative value. (Parameter 'length')
|
|
Actual value was -1.
|
|
at System.ArgumentOutOfRangeException.ThrowNegative[T](T value, String paramName)
|
|
at System.Array.CopyImpl(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
|
|
at System.Array.Copy(Array sourceArray, Array destinationArray, Int32 length)
|
|
at ICSharpCode.Decompiler.ILAst.ILAstBuilder.StackAnalysis(MethodDef methodDef) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstBuilder.cs:line 327
|
|
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 117
|
|
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 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06000665 RID: 1637 RVA: 0x00020288 File Offset: 0x0001E488
|
|
[Token(Token = "0x6000665")]
|
|
[Address(RVA = "0x13AB680", Offset = "0x13AA080", VA = "0x1813AB680")]
|
|
public StuntRunnerAudienceAnimator()
|
|
{
|
|
float z = Vector3.forward.z;
|
|
this.rotAxis.z = z;
|
|
float z2 = Vector3.up.z;
|
|
this.scaleAxis.z = z2;
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x04000566 RID: 1382
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4000566")]
|
|
public Vector3 rotAxis;
|
|
|
|
// Token: 0x04000567 RID: 1383
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x24")]
|
|
[Token(Token = "0x4000567")]
|
|
public Vector3 scaleAxis;
|
|
|
|
// Token: 0x04000568 RID: 1384
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x4000568")]
|
|
private float EJHELOHKGCF;
|
|
|
|
// Token: 0x04000569 RID: 1385
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x34")]
|
|
[Token(Token = "0x4000569")]
|
|
private float LJLOFBKIHLD;
|
|
|
|
// Token: 0x0400056A RID: 1386
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x400056A")]
|
|
private Quaternion MBIEHEFDGKE;
|
|
|
|
// Token: 0x0400056B RID: 1387
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x400056B")]
|
|
private Vector3 DFJKEGAKEFB;
|
|
|
|
// Token: 0x0400056C RID: 1388
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x54")]
|
|
[Token(Token = "0x400056C")]
|
|
private Vector3 MECCJPGOHKJ;
|
|
}
|