96 lines
4.5 KiB
C#
96 lines
4.5 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Core
|
|
{
|
|
// Token: 0x02002CB0 RID: 11440
|
|
[Token(Token = "0x2002CB0")]
|
|
[CreateAssetMenu]
|
|
public class ScreenPlayerRangedWeaponAccuracySettings : ScriptableObject
|
|
{
|
|
// Token: 0x06013706 RID: 79622 RVA: 0x004857AC File Offset: 0x004839AC
|
|
[Token(Token = "0x6013706")]
|
|
[Address(RVA = "0x763230", Offset = "0x762030", VA = "0x180763230")]
|
|
public float PCKHDFAFKAF()
|
|
{
|
|
return this.dynamicSpreadRadiusChangeTime;
|
|
}
|
|
|
|
// Token: 0x06013707 RID: 79623 RVA: 0x004857C0 File Offset: 0x004839C0
|
|
[Token(Token = "0x6013707")]
|
|
[Address(RVA = "0xA670C0", Offset = "0xA65EC0", VA = "0x180A670C0")]
|
|
public float CJINMEMGIMN(Player IEKDDPPNFPF, bool KCHDNDCGCIA)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06013707)
|
|
|
|
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 337
|
|
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: 0x06013708 RID: 79624 RVA: 0x0048582C File Offset: 0x00483A2C
|
|
[Token(Token = "0x6013708")]
|
|
[Address(RVA = "0xA67190", Offset = "0xA65F90", VA = "0x180A67190")]
|
|
public ScreenPlayerRangedWeaponAccuracySettings()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400CA63 RID: 51811
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400CA63")]
|
|
[SerializeField]
|
|
[Header("Canonical Spread Radius")]
|
|
private float canonicalMaxSpreadRadius;
|
|
|
|
// Token: 0x0400CA64 RID: 51812
|
|
[FieldOffset(Offset = "0x1C")]
|
|
[Token(Token = "0x400CA64")]
|
|
[SerializeField]
|
|
[Header("Dynamic Spread Radius")]
|
|
private float dynamicSpreadRadiusChangeTime = 0.2f;
|
|
|
|
// Token: 0x0400CA65 RID: 51813
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400CA65")]
|
|
[SerializeField]
|
|
private float walkingSpreadRadiusScaler = 1f;
|
|
|
|
// Token: 0x0400CA66 RID: 51814
|
|
[FieldOffset(Offset = "0x24")]
|
|
[Token(Token = "0x400CA66")]
|
|
[SerializeField]
|
|
private float sprintingSpreadRadiusScaler = 1f;
|
|
|
|
// Token: 0x0400CA67 RID: 51815
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x400CA67")]
|
|
[SerializeField]
|
|
private float crouchingSpreadRadiusScaler = 1f;
|
|
|
|
// Token: 0x0400CA68 RID: 51816
|
|
[FieldOffset(Offset = "0x2C")]
|
|
[Token(Token = "0x400CA68")]
|
|
[SerializeField]
|
|
private float proneSpreadRadiusScaler = 1f;
|
|
|
|
// Token: 0x0400CA69 RID: 51817
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x400CA69")]
|
|
[SerializeField]
|
|
private float aimDownSightsSpreadRadiusScaler = 1f;
|
|
}
|
|
}
|