50 lines
1.4 KiB
C#
50 lines
1.4 KiB
C#
using System;
|
|
using System.Collections;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x02000343 RID: 835
|
|
[Token(Token = "0x2000343")]
|
|
public class CFX_ShurikenThreadFix : MonoBehaviour
|
|
{
|
|
// Token: 0x060020C9 RID: 8393 RVA: 0x0004E57C File Offset: 0x0004C77C
|
|
[Token(Token = "0x60020C9")]
|
|
[Address(RVA = "0x13D3350", Offset = "0x13D1B50", VA = "0x1813D3350")]
|
|
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: 0x060020CA RID: 8394 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x60020CA")]
|
|
[Address(RVA = "0x13D3440", Offset = "0x13D1C40", VA = "0x1813D3440")]
|
|
private IEnumerator WaitFrame()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x060020CB RID: 8395 RVA: 0x0004E5DC File Offset: 0x0004C7DC
|
|
[Token(Token = "0x60020CB")]
|
|
[Address(RVA = "0x33E460", Offset = "0x33CC60", VA = "0x18033E460")]
|
|
public CFX_ShurikenThreadFix()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04002A25 RID: 10789
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4002A25")]
|
|
private ParticleSystem[] systems;
|
|
}
|