96 lines
4.5 KiB
C#
96 lines
4.5 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Core
|
|
{
|
|
// Token: 0x02002D99 RID: 11673
|
|
[Token(Token = "0x2002D99")]
|
|
[CreateAssetMenu]
|
|
public class ScreenPlayerRangedWeaponAccuracySettings : ScriptableObject
|
|
{
|
|
// Token: 0x06013B47 RID: 80711 RVA: 0x0048F634 File Offset: 0x0048D834
|
|
[Token(Token = "0x6013B47")]
|
|
[Address(RVA = "0x6A46E0", Offset = "0x6A36E0", VA = "0x1806A46E0")]
|
|
public float PCKHDFAFKAF()
|
|
{
|
|
return this.dynamicSpreadRadiusChangeTime;
|
|
}
|
|
|
|
// Token: 0x06013B48 RID: 80712 RVA: 0x0048F648 File Offset: 0x0048D848
|
|
[Token(Token = "0x6013B48")]
|
|
[Address(RVA = "0x1564B10", Offset = "0x1563B10", VA = "0x181564B10")]
|
|
public float CJINMEMGIMN(Player IEKDDPPNFPF, bool KCHDNDCGCIA)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06013B48)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single RecRoom.Core.ScreenPlayerRangedWeaponAccuracySettings::CJINMEMGIMN(Player,System.Boolean)
|
|
|
|
---> 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 403
|
|
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: 0x06013B49 RID: 80713 RVA: 0x0048F6B4 File Offset: 0x0048D8B4
|
|
[Token(Token = "0x6013B49")]
|
|
[Address(RVA = "0x1564BE0", Offset = "0x1563BE0", VA = "0x181564BE0")]
|
|
public ScreenPlayerRangedWeaponAccuracySettings()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400CC78 RID: 52344
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400CC78")]
|
|
[SerializeField]
|
|
[Header("Canonical Spread Radius")]
|
|
private float canonicalMaxSpreadRadius;
|
|
|
|
// Token: 0x0400CC79 RID: 52345
|
|
[FieldOffset(Offset = "0x1C")]
|
|
[Token(Token = "0x400CC79")]
|
|
[SerializeField]
|
|
[Header("Dynamic Spread Radius")]
|
|
private float dynamicSpreadRadiusChangeTime = 0.2f;
|
|
|
|
// Token: 0x0400CC7A RID: 52346
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400CC7A")]
|
|
[SerializeField]
|
|
private float walkingSpreadRadiusScaler = 1f;
|
|
|
|
// Token: 0x0400CC7B RID: 52347
|
|
[FieldOffset(Offset = "0x24")]
|
|
[Token(Token = "0x400CC7B")]
|
|
[SerializeField]
|
|
private float sprintingSpreadRadiusScaler = 1f;
|
|
|
|
// Token: 0x0400CC7C RID: 52348
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x400CC7C")]
|
|
[SerializeField]
|
|
private float crouchingSpreadRadiusScaler = 1f;
|
|
|
|
// Token: 0x0400CC7D RID: 52349
|
|
[FieldOffset(Offset = "0x2C")]
|
|
[Token(Token = "0x400CC7D")]
|
|
[SerializeField]
|
|
private float proneSpreadRadiusScaler = 1f;
|
|
|
|
// Token: 0x0400CC7E RID: 52350
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x400CC7E")]
|
|
[SerializeField]
|
|
private float aimDownSightsSpreadRadiusScaler = 1f;
|
|
}
|
|
}
|