Files
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

161 lines
6.2 KiB
C#

using System;
using Cpp2IlInjected;
using Photon.Pun;
using UnityEngine;
namespace RecRoom.Activities.Bowling
{
// Token: 0x02002C6C RID: 11372
[Token(Token = "0x2002C6C")]
public class BowlingPin : MonoBehaviourPun
{
// Token: 0x1700356B RID: 13675
// (get) Token: 0x0601342E RID: 78894 RVA: 0x00478CC4 File Offset: 0x00476EC4
[Token(Token = "0x1700356B")]
public Tool PBBJCLJPFMI
{
[Token(Token = "0x601342E")]
[Address(RVA = "0x408890", Offset = "0x407690", VA = "0x180408890")]
get
{
return this.tool;
}
}
// Token: 0x1700356C RID: 13676
// (get) Token: 0x0601342F RID: 78895 RVA: 0x00478CD8 File Offset: 0x00476ED8
[Token(Token = "0x1700356C")]
public BowlingLane CPOGPHEEAEP
{
[Token(Token = "0x601342F")]
[Address(RVA = "0x3FA170", Offset = "0x3F8F70", VA = "0x1803FA170")]
get
{
return this.lane;
}
}
// Token: 0x1700356D RID: 13677
// (get) Token: 0x06013430 RID: 78896 RVA: 0x00478CEC File Offset: 0x00476EEC
// (set) Token: 0x06013431 RID: 78897 RVA: 0x00478D0C File Offset: 0x00476F0C
[Token(Token = "0x1700356D")]
public bool BMPGFCCFNCA
{
[Token(Token = "0x6013430")]
[Address(RVA = "0xB22360", Offset = "0xB21160", VA = "0x180B22360")]
get
{
return this.DPMCBGBMEOP.IAHDANBDAAM() != null;
}
[Token(Token = "0x6013431")]
[Address(RVA = "0xB223B0", Offset = "0xB211B0", VA = "0x180B223B0")]
set
{
KLLMCPFPIIE<bool> dpmcbgbmeop = this.DPMCBGBMEOP;
}
}
// Token: 0x1700356E RID: 13678
// (get) Token: 0x06013432 RID: 78898 RVA: 0x00478D28 File Offset: 0x00476F28
[Token(Token = "0x1700356E")]
public float JEGDKLAGHIL
{
[Token(Token = "0x6013432")]
[Address(RVA = "0xB22280", Offset = "0xB21080", VA = "0x180B22280")]
get
{
Transform transform = base.transform;
Vector3 vector;
float z = vector.z;
float z2 = Vector3.up.z;
float num;
return num;
}
}
// Token: 0x1700356F RID: 13679
// (get) Token: 0x06013433 RID: 78899 RVA: 0x00478D58 File Offset: 0x00476F58
[Token(Token = "0x1700356F")]
public bool ALCMLADDOIK
{
[Token(Token = "0x6013433")]
[Address(RVA = "0xB22340", Offset = "0xB21140", VA = "0x180B22340")]
get
{
/*
An exception occurred when decompiling this method (06013433)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean RecRoom.Activities.Bowling.BowlingPin::get_IsUpright()
---> System.Exception: Basic block has to end with unconditional control flow.
{
Block_0:
stloc:float32(var_0_06, callgetter:float32(BowlingPin::get_AngleFromUpright, ldloc:BowlingPin(this)))
}
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
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 355
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 1660
*/;
}
}
// Token: 0x06013434 RID: 78900 RVA: 0x00478D6C File Offset: 0x00476F6C
[Token(Token = "0x6013434")]
[Address(RVA = "0xB22130", Offset = "0xB20F30", VA = "0x180B22130", Slot = "13")]
protected override void Awake()
{
base..ctor();
KLLMCPFPIIE<bool> kllmcpfpiie;
this.DPMCBGBMEOP = kllmcpfpiie;
}
// Token: 0x06013435 RID: 78901 RVA: 0x00478D88 File Offset: 0x00476F88
[Token(Token = "0x6013435")]
[Address(RVA = "0xB221C0", Offset = "0xB20FC0", VA = "0x180B221C0")]
private void OnCollisionEnter(Collision GBJHLKOJGPB)
{
BowlingLane bowlingLane = this.lane;
int num = 0;
if (bowlingLane != num)
{
BowlingPin componentInParent = GBJHLKOJGPB.collider.GetComponentInParent<BowlingPin>();
this.lane.OnPinCollision(GBJHLKOJGPB, this, componentInParent);
}
}
// Token: 0x06013436 RID: 78902 RVA: 0x00478DC8 File Offset: 0x00476FC8
[Token(Token = "0x6013436")]
[Address(RVA = "0x752FB0", Offset = "0x751DB0", VA = "0x180752FB0")]
public BowlingPin()
{
}
// Token: 0x0400C87D RID: 51325
[Token(Token = "0x400C87D")]
private const float GBAJJHALEBB = 25f;
// Token: 0x0400C87E RID: 51326
[FieldOffset(Offset = "0x40")]
[Token(Token = "0x400C87E")]
[SerializeField]
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false, false)]
private Tool tool;
// Token: 0x0400C87F RID: 51327
[FieldOffset(Offset = "0x48")]
[Token(Token = "0x400C87F")]
[SerializeField]
private BowlingLane lane;
// Token: 0x0400C880 RID: 51328
[FieldOffset(Offset = "0x50")]
[Token(Token = "0x400C880")]
private KLLMCPFPIIE<bool> DPMCBGBMEOP;
}
}