161 lines
6.2 KiB
C#
161 lines
6.2 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using Photon.Pun;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Activities.Bowling
|
|
{
|
|
// Token: 0x02002D55 RID: 11605
|
|
[Token(Token = "0x2002D55")]
|
|
public class BowlingPin : MonoBehaviourPun
|
|
{
|
|
// Token: 0x1700361F RID: 13855
|
|
// (get) Token: 0x0601386F RID: 79983 RVA: 0x00482A28 File Offset: 0x00480C28
|
|
[Token(Token = "0x1700361F")]
|
|
public Tool PBBJCLJPFMI
|
|
{
|
|
[Token(Token = "0x601386F")]
|
|
[Address(RVA = "0x417680", Offset = "0x416680", VA = "0x180417680")]
|
|
get
|
|
{
|
|
return this.tool;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17003620 RID: 13856
|
|
// (get) Token: 0x06013870 RID: 79984 RVA: 0x00482A3C File Offset: 0x00480C3C
|
|
[Token(Token = "0x17003620")]
|
|
public BowlingLane CPOGPHEEAEP
|
|
{
|
|
[Token(Token = "0x6013870")]
|
|
[Address(RVA = "0x4975A0", Offset = "0x4965A0", VA = "0x1804975A0")]
|
|
get
|
|
{
|
|
return this.lane;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17003621 RID: 13857
|
|
// (get) Token: 0x06013871 RID: 79985 RVA: 0x00482A50 File Offset: 0x00480C50
|
|
// (set) Token: 0x06013872 RID: 79986 RVA: 0x00482A70 File Offset: 0x00480C70
|
|
[Token(Token = "0x17003621")]
|
|
public bool BMPGFCCFNCA
|
|
{
|
|
[Token(Token = "0x6013871")]
|
|
[Address(RVA = "0x1622210", Offset = "0x1621210", VA = "0x181622210")]
|
|
get
|
|
{
|
|
return this.DPMCBGBMEOP.IAHDANBDAAM() != null;
|
|
}
|
|
[Token(Token = "0x6013872")]
|
|
[Address(RVA = "0x1622260", Offset = "0x1621260", VA = "0x181622260")]
|
|
set
|
|
{
|
|
KLLMCPFPIIE<bool> dpmcbgbmeop = this.DPMCBGBMEOP;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17003622 RID: 13858
|
|
// (get) Token: 0x06013873 RID: 79987 RVA: 0x00482A8C File Offset: 0x00480C8C
|
|
[Token(Token = "0x17003622")]
|
|
public float JEGDKLAGHIL
|
|
{
|
|
[Token(Token = "0x6013873")]
|
|
[Address(RVA = "0x1622130", Offset = "0x1621130", VA = "0x181622130")]
|
|
get
|
|
{
|
|
Transform transform = base.transform;
|
|
Vector3 vector;
|
|
float z = vector.z;
|
|
float z2 = Vector3.up.z;
|
|
float num;
|
|
return num;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17003623 RID: 13859
|
|
// (get) Token: 0x06013874 RID: 79988 RVA: 0x00482ABC File Offset: 0x00480CBC
|
|
[Token(Token = "0x17003623")]
|
|
public bool ALCMLADDOIK
|
|
{
|
|
[Token(Token = "0x6013874")]
|
|
[Address(RVA = "0x16221F0", Offset = "0x16211F0", VA = "0x1816221F0")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06013874)
|
|
|
|
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 1663
|
|
*/;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06013875 RID: 79989 RVA: 0x00482AD0 File Offset: 0x00480CD0
|
|
[Token(Token = "0x6013875")]
|
|
[Address(RVA = "0x1621FE0", Offset = "0x1620FE0", VA = "0x181621FE0", Slot = "13")]
|
|
protected override void Awake()
|
|
{
|
|
base..ctor();
|
|
KLLMCPFPIIE<bool> kllmcpfpiie;
|
|
this.DPMCBGBMEOP = kllmcpfpiie;
|
|
}
|
|
|
|
// Token: 0x06013876 RID: 79990 RVA: 0x00482AEC File Offset: 0x00480CEC
|
|
[Token(Token = "0x6013876")]
|
|
[Address(RVA = "0x1622070", Offset = "0x1621070", VA = "0x181622070")]
|
|
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: 0x06013877 RID: 79991 RVA: 0x00482B2C File Offset: 0x00480D2C
|
|
[Token(Token = "0x6013877")]
|
|
[Address(RVA = "0x8E9790", Offset = "0x8E8790", VA = "0x1808E9790")]
|
|
public BowlingPin()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400CA91 RID: 51857
|
|
[Token(Token = "0x400CA91")]
|
|
private const float GBAJJHALEBB = 25f;
|
|
|
|
// Token: 0x0400CA92 RID: 51858
|
|
[FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x400CA92")]
|
|
[SerializeField]
|
|
[NKNLDEIPALE(FHBJCBPFODN.Self, false, false, false)]
|
|
private Tool tool;
|
|
|
|
// Token: 0x0400CA93 RID: 51859
|
|
[FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x400CA93")]
|
|
[SerializeField]
|
|
private BowlingLane lane;
|
|
|
|
// Token: 0x0400CA94 RID: 51860
|
|
[FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x400CA94")]
|
|
private KLLMCPFPIIE<bool> DPMCBGBMEOP;
|
|
}
|
|
}
|