Files
Jan2021-Cpp2Il-Dump/Assembly-CSharp/RecRoom/Activities/StuntRunner/StuntRunnerEndingGate.cs
T
2026-04-08 23:40:05 +02:00

137 lines
3.6 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
using UnityEngine;
namespace RecRoom.Activities.StuntRunner
{
// Token: 0x020026A9 RID: 9897
[Token(Token = "0x20026A9")]
[StructLayout(3)]
public class StuntRunnerEndingGate : MonoBehaviour
{
// Token: 0x06011302 RID: 70402 RVA: 0x0040FE6C File Offset: 0x0040E06C
[Token(Token = "0x6011302")]
[Address(RVA = "0x15CAEA0", Offset = "0x15C98A0", VA = "0x1815CAEA0")]
private void Awake()
{
ActionEvent<StuntRunnerManager.FCLFCDICFFI> feedbackEvent = StuntRunnerManager.FeedbackEvent;
Action<StuntRunnerManager.FCLFCDICFFI> action = new Action(this.EFNPEBAELCE);
StuntRunnerManager.FeedbackEvent = feedbackEvent + action;
}
// Token: 0x06011303 RID: 70403 RVA: 0x0040FE98 File Offset: 0x0040E098
[Token(Token = "0x6011303")]
[Address(RVA = "0x15CB0D0", Offset = "0x15C9AD0", VA = "0x1815CB0D0")]
private void OnDestroy()
{
ActionEvent<StuntRunnerManager.FCLFCDICFFI> feedbackEvent = StuntRunnerManager.FeedbackEvent;
Action<StuntRunnerManager.FCLFCDICFFI> action = new Action(this.EFNPEBAELCE);
StuntRunnerManager.FeedbackEvent = feedbackEvent - action;
}
// Token: 0x06011304 RID: 70404 RVA: 0x0040FEC4 File Offset: 0x0040E0C4
[Token(Token = "0x6011304")]
[Address(RVA = "0x15CAF60", Offset = "0x15C9960", VA = "0x1815CAF60")]
private void EFNPEBAELCE(StuntRunnerManager.FCLFCDICFFI DMKLBMIAAJA)
{
if (DMKLBMIAAJA == StuntRunnerManager.FCLFCDICFFI.PLAYER_FINISHED)
{
ParticleSystem[] array = this.endRaceVFX;
if (array == 0)
{
return;
}
int num = 0;
int length = array.Length;
if (num >= length)
{
return;
}
ParticleSystem particleSystem = array[num];
if (particleSystem != 0)
{
particleSystem.Play();
}
num++;
}
if (DMKLBMIAAJA == StuntRunnerManager.FCLFCDICFFI.GAME_START)
{
ParticleSystem[] array2 = this.endRaceVFX;
if (array2 != 0)
{
int num2 = 0;
int length2 = array2.Length;
if (num2 < length2)
{
ParticleSystem particleSystem2 = array2[num2];
if (particleSystem2 != 0)
{
particleSystem2.Stop();
}
num2++;
}
}
}
}
// Token: 0x06011305 RID: 70405 RVA: 0x0040FF4C File Offset: 0x0040E14C
[Token(Token = "0x6011305")]
[Address(RVA = "0x15CB010", Offset = "0x15C9A10", VA = "0x1815CB010")]
private void LPONEKPMCCI()
{
ParticleSystem[] array = this.endRaceVFX;
if (array != 0)
{
int num = 0;
int length = array.Length;
if (num < length)
{
ParticleSystem particleSystem = array[num];
if (particleSystem != 0)
{
particleSystem.Stop();
}
num++;
}
}
}
// Token: 0x06011306 RID: 70406 RVA: 0x0040FF90 File Offset: 0x0040E190
[Token(Token = "0x6011306")]
[Address(RVA = "0x15CB070", Offset = "0x15C9A70", VA = "0x1815CB070")]
private void OCKOFCKDCHH()
{
ParticleSystem[] array = this.endRaceVFX;
if (array != 0)
{
int num = 0;
int length = array.Length;
if (num < length)
{
ParticleSystem particleSystem = array[num];
if (particleSystem != 0)
{
particleSystem.Play();
}
num++;
}
}
}
// Token: 0x06011307 RID: 70407 RVA: 0x0040FFD4 File Offset: 0x0040E1D4
[Token(Token = "0x6011307")]
[Address(RVA = "0x3C1210", Offset = "0x3BFC10", VA = "0x1803C1210")]
public StuntRunnerEndingGate()
{
}
// Token: 0x0400B719 RID: 46873
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x400B719")]
[SerializeField]
[Header("Visuals")]
private ParticleSystem[] endRaceVFX;
}
}