using System; using Cpp2IlInjected; using RecRoom.Core.Pools; using UnityEngine; // Token: 0x02000075 RID: 117 [Token(Token = "0x2000075")] public class Dartboard : MonoBehaviour { // Token: 0x06000328 RID: 808 RVA: 0x00011454 File Offset: 0x0000F654 [Token(Token = "0x6000328")] [Address(RVA = "0x1BDE4C0", Offset = "0x1BDD4C0", VA = "0x181BDE4C0")] private void OnTriggerEnter(Collider GLPOLGOBLAA) { Tool tool = GLPOLGOBLAA.AMKJBLIFHPB(); int num = 0; if (tool != num) { Dart component = tool.GetComponent(); } int num2 = 0; int num3 = 0; if (num2 != num3) { Transform transform = base.transform; Vector3 vector; float z = vector.z; Transform transform2 = GLPOLGOBLAA.transform; Vector3 vector2; float z2 = vector2.z; GlobalPool instance = GlobalPool.ONCPNMDGGKG; PooledParticle hitParticleOuter = this.HitParticleOuter; PooledParticle pooledParticle = instance.Acquire(hitParticleOuter); float num4; if (this.bullseyeRadius <= num4) { if (this.innerRadius <= num4) { goto IL_A7; } GlobalPool instance2 = GlobalPool.ONCPNMDGGKG; } GlobalPool instance3 = GlobalPool.ONCPNMDGGKG; PooledParticle hitParticleBullseye = this.HitParticleBullseye; PooledParticle pooledParticle2 = instance3.Acquire(hitParticleBullseye); IL_A7: if (this.outerRadius > num4) { int num5 = 0; if (pooledParticle2 != num5) { Transform transform3 = GLPOLGOBLAA.transform; Vector3 vector3; float z3 = vector3.z; Transform transform4 = GLPOLGOBLAA.transform; } RecRoomAudioClip hitAudio = this.HitAudio; Transform transform5 = base.transform; int num6 = 0; int num7 = 0; SFXAudioSource sfxaudioSource = AudioManager.Play3DSFX(hitAudio, transform5, num7, num6); } } } // Token: 0x06000329 RID: 809 RVA: 0x00011568 File Offset: 0x0000F768 [Token(Token = "0x6000329")] [Address(RVA = "0x1BDE860", Offset = "0x1BDD860", VA = "0x181BDE860")] public Dartboard() { } // Token: 0x040002B3 RID: 691 [FieldOffset(Offset = "0x18")] [Token(Token = "0x40002B3")] public float bullseyeRadius = 0.07f; // Token: 0x040002B4 RID: 692 [FieldOffset(Offset = "0x1C")] [Token(Token = "0x40002B4")] public float innerRadius = 0.15f; // Token: 0x040002B5 RID: 693 [FieldOffset(Offset = "0x20")] [Token(Token = "0x40002B5")] public float outerRadius = 0.3f; // Token: 0x040002B6 RID: 694 [FieldOffset(Offset = "0x28")] [Token(Token = "0x40002B6")] public PooledParticle HitParticleOuter; // Token: 0x040002B7 RID: 695 [FieldOffset(Offset = "0x30")] [Token(Token = "0x40002B7")] public PooledParticle HitParticleInner; // Token: 0x040002B8 RID: 696 [FieldOffset(Offset = "0x38")] [Token(Token = "0x40002B8")] public PooledParticle HitParticleBullseye; // Token: 0x040002B9 RID: 697 [FieldOffset(Offset = "0x40")] [Token(Token = "0x40002B9")] public RecRoomAudioClip HitAudio; }