164 lines
6.4 KiB
C#
164 lines
6.4 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using Photon.Pun;
|
|
using RecRoom.Networking.SynchronizedFields;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Activities.Bowling
|
|
{
|
|
// Token: 0x0200276F RID: 10095
|
|
[Token(Token = "0x200276F")]
|
|
[StructLayout(3)]
|
|
public class BowlingPin : MonoBehaviourPun
|
|
{
|
|
// Token: 0x17002F96 RID: 12182
|
|
// (get) Token: 0x06011A2B RID: 72235 RVA: 0x00434CA8 File Offset: 0x00432EA8
|
|
[Token(Token = "0x17002F96")]
|
|
public Tool PBBJCLJPFMI
|
|
{
|
|
[Token(Token = "0x6011A2B")]
|
|
[Address(RVA = "0x3D32F0", Offset = "0x3D1CF0", VA = "0x1803D32F0")]
|
|
get
|
|
{
|
|
return this.tool;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002F97 RID: 12183
|
|
// (get) Token: 0x06011A2C RID: 72236 RVA: 0x00434CBC File Offset: 0x00432EBC
|
|
[Token(Token = "0x17002F97")]
|
|
public BowlingLane CPOGPHEEAEP
|
|
{
|
|
[Token(Token = "0x6011A2C")]
|
|
[Address(RVA = "0x3EDEA0", Offset = "0x3EC8A0", VA = "0x1803EDEA0")]
|
|
get
|
|
{
|
|
return this.lane;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002F98 RID: 12184
|
|
// (get) Token: 0x06011A2D RID: 72237 RVA: 0x00434CD0 File Offset: 0x00432ED0
|
|
// (set) Token: 0x06011A2E RID: 72238 RVA: 0x00434CF0 File Offset: 0x00432EF0
|
|
[Token(Token = "0x17002F98")]
|
|
public bool BMPGFCCFNCA
|
|
{
|
|
[Token(Token = "0x6011A2D")]
|
|
[Address(RVA = "0x10FF810", Offset = "0x10FE210", VA = "0x1810FF810")]
|
|
get
|
|
{
|
|
return this.DPMCBGBMEOP.Get() != null;
|
|
}
|
|
[Token(Token = "0x6011A2E")]
|
|
[Address(RVA = "0x10FF860", Offset = "0x10FE260", VA = "0x1810FF860")]
|
|
set
|
|
{
|
|
SynchronizedField<bool> dpmcbgbmeop = this.DPMCBGBMEOP;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002F99 RID: 12185
|
|
// (get) Token: 0x06011A2F RID: 72239 RVA: 0x00434D0C File Offset: 0x00432F0C
|
|
[Token(Token = "0x17002F99")]
|
|
public float JEGDKLAGHIL
|
|
{
|
|
[Token(Token = "0x6011A2F")]
|
|
[Address(RVA = "0x10FF730", Offset = "0x10FE130", VA = "0x1810FF730")]
|
|
get
|
|
{
|
|
Transform transform = base.transform;
|
|
Vector3 vector;
|
|
float z = vector.z;
|
|
float z2 = Vector3.up.z;
|
|
float num;
|
|
return num;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002F9A RID: 12186
|
|
// (get) Token: 0x06011A30 RID: 72240 RVA: 0x00434D3C File Offset: 0x00432F3C
|
|
[Token(Token = "0x17002F9A")]
|
|
public bool ALCMLADDOIK
|
|
{
|
|
[Token(Token = "0x6011A30")]
|
|
[Address(RVA = "0x10FF7F0", Offset = "0x10FE1F0", VA = "0x1810FF7F0")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06011A30)
|
|
|
|
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: 0x06011A31 RID: 72241 RVA: 0x00434D50 File Offset: 0x00432F50
|
|
[Token(Token = "0x6011A31")]
|
|
[Address(RVA = "0x10FF5E0", Offset = "0x10FDFE0", VA = "0x1810FF5E0", Slot = "13")]
|
|
protected override void Awake()
|
|
{
|
|
base..ctor();
|
|
SynchronizedField<bool> synchronizedField;
|
|
this.DPMCBGBMEOP = synchronizedField;
|
|
}
|
|
|
|
// Token: 0x06011A32 RID: 72242 RVA: 0x00434D6C File Offset: 0x00432F6C
|
|
[Token(Token = "0x6011A32")]
|
|
[Address(RVA = "0x10FF670", Offset = "0x10FE070", VA = "0x1810FF670")]
|
|
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: 0x06011A33 RID: 72243 RVA: 0x00434DAC File Offset: 0x00432FAC
|
|
[Token(Token = "0x6011A33")]
|
|
[Address(RVA = "0x6A4030", Offset = "0x6A2A30", VA = "0x1806A4030")]
|
|
public BowlingPin()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400BCD4 RID: 48340
|
|
[Token(Token = "0x400BCD4")]
|
|
private const float GBAJJHALEBB = 25f;
|
|
|
|
// Token: 0x0400BCD5 RID: 48341
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x400BCD5")]
|
|
[SerializeField]
|
|
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false)]
|
|
private Tool tool;
|
|
|
|
// Token: 0x0400BCD6 RID: 48342
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x400BCD6")]
|
|
[SerializeField]
|
|
private BowlingLane lane;
|
|
|
|
// Token: 0x0400BCD7 RID: 48343
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x400BCD7")]
|
|
private SynchronizedField<bool> DPMCBGBMEOP;
|
|
}
|
|
}
|