Files
NobetaSource/Cpp2IL/Assembly-CSharp/CFX_ShurikenThreadFix.cs
2023-09-06 22:00:49 +02:00

50 lines
1.4 KiB
C#

using System;
using System.Collections;
using Cpp2IlInjected;
using UnityEngine;
// Token: 0x0200033A RID: 826
[Token(Token = "0x200033A")]
public class CFX_ShurikenThreadFix : MonoBehaviour
{
// Token: 0x06002097 RID: 8343 RVA: 0x0004DAC4 File Offset: 0x0004BCC4
[Token(Token = "0x6002097")]
[Address(RVA = "0x134A780", Offset = "0x1349580", VA = "0x18134A780")]
private void OnEnable()
{
ParticleSystem[] componentsInChildren = base.GetComponentsInChildren<ParticleSystem>();
this.systems = componentsInChildren;
ParticleSystem[] array = this.systems;
int num = 0;
int length = array.Length;
if (num < length)
{
ParticleSystem particleSystem = array[num];
particleSystem.Stop(true);
particleSystem.Clear(true);
num++;
}
Coroutine coroutine = base.StartCoroutine("WaitFrame");
}
// Token: 0x06002098 RID: 8344 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002098")]
[Address(RVA = "0x134A870", Offset = "0x1349670", VA = "0x18134A870")]
private IEnumerator WaitFrame()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002099 RID: 8345 RVA: 0x0004DB24 File Offset: 0x0004BD24
[Token(Token = "0x6002099")]
[Address(RVA = "0x3088F0", Offset = "0x3076F0", VA = "0x1803088F0")]
public CFX_ShurikenThreadFix()
{
}
// Token: 0x040029E3 RID: 10723
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x40029E3")]
private ParticleSystem[] systems;
}