706 lines
27 KiB
C#
706 lines
27 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Core.Pools
|
|
{
|
|
// Token: 0x0200281A RID: 10266
|
|
[Token(Token = "0x200281A")]
|
|
[StructLayout(3)]
|
|
public class PooledParticle : MonoBehaviour
|
|
{
|
|
// Token: 0x06011FFD RID: 73725 RVA: 0x0044CF78 File Offset: 0x0044B178
|
|
[Token(Token = "0x6011FFD")]
|
|
[Address(RVA = "0x19B07B0", Offset = "0x19AF1B0", VA = "0x1819B07B0")]
|
|
public static PooledParticle TryPlayPrefab(PooledParticle CFAPNBBHEKB, Vector3 DDHPAFKBMON, Quaternion IGPENJBJADK)
|
|
{
|
|
int num = 0;
|
|
if (CFAPNBBHEKB != num)
|
|
{
|
|
PooledParticle pooledParticle = GlobalPool.ONCPNMDGGKG.Acquire<PooledParticle>(CFAPNBBHEKB);
|
|
}
|
|
int num2 = 0;
|
|
int num3 = 0;
|
|
if (num2 != num3)
|
|
{
|
|
float z = DDHPAFKBMON.z;
|
|
}
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06011FFE RID: 73726 RVA: 0x0044CFC4 File Offset: 0x0044B1C4
|
|
[Token(Token = "0x6011FFE")]
|
|
[Address(RVA = "0x19B05E0", Offset = "0x19AEFE0", VA = "0x1819B05E0")]
|
|
public static PooledParticle TryPlayPrefab(PooledParticle CFAPNBBHEKB, Vector3 DDHPAFKBMON)
|
|
{
|
|
Quaternion identity = Quaternion.identity;
|
|
int num = 0;
|
|
if (CFAPNBBHEKB != num)
|
|
{
|
|
PooledParticle pooledParticle = GlobalPool.ONCPNMDGGKG.Acquire<PooledParticle>(CFAPNBBHEKB);
|
|
}
|
|
int num2 = 0;
|
|
int num3 = 0;
|
|
if (num2 != num3)
|
|
{
|
|
float z = DDHPAFKBMON.z;
|
|
}
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x170030A5 RID: 12453
|
|
// (get) Token: 0x06011FFF RID: 73727 RVA: 0x0044D018 File Offset: 0x0044B218
|
|
// (set) Token: 0x06012000 RID: 73728 RVA: 0x0044D02C File Offset: 0x0044B22C
|
|
[Token(Token = "0x170030A5")]
|
|
public ParticleSystem HMDEFIGPCCP
|
|
{
|
|
[Token(Token = "0x6011FFF")]
|
|
[Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220")]
|
|
get;
|
|
[Token(Token = "0x6012000")]
|
|
[Address(RVA = "0x3C1260", Offset = "0x3BFC60", VA = "0x1803C1260")]
|
|
private set;
|
|
}
|
|
|
|
// Token: 0x170030A6 RID: 12454
|
|
// (get) Token: 0x06012001 RID: 73729 RVA: 0x0044D040 File Offset: 0x0044B240
|
|
// (set) Token: 0x06012002 RID: 73730 RVA: 0x0044D054 File Offset: 0x0044B254
|
|
[Token(Token = "0x170030A6")]
|
|
public ParticleSystem[] JJIBAELHAJE
|
|
{
|
|
[Token(Token = "0x6012001")]
|
|
[Address(RVA = "0x3C1230", Offset = "0x3BFC30", VA = "0x1803C1230")]
|
|
get;
|
|
[Token(Token = "0x6012002")]
|
|
[Address(RVA = "0x3C1270", Offset = "0x3BFC70", VA = "0x1803C1270")]
|
|
private set;
|
|
}
|
|
|
|
// Token: 0x170030A7 RID: 12455
|
|
// (get) Token: 0x06012003 RID: 73731 RVA: 0x0044D068 File Offset: 0x0044B268
|
|
// (set) Token: 0x06012004 RID: 73732 RVA: 0x0044D07C File Offset: 0x0044B27C
|
|
[Token(Token = "0x170030A7")]
|
|
private PooledParticle.MPLOBDNDMIC DEOFGMJOCAB
|
|
{
|
|
[Token(Token = "0x6012003")]
|
|
[Address(RVA = "0x567E50", Offset = "0x566850", VA = "0x180567E50")]
|
|
get
|
|
{
|
|
return this.KPPCKOGAAIK;
|
|
}
|
|
[Token(Token = "0x6012004")]
|
|
[Address(RVA = "0x19AF020", Offset = "0x19ADA20", VA = "0x1819AF020")]
|
|
set
|
|
{
|
|
this.KPPCKOGAAIK = value;
|
|
bool flag = value != PooledParticle.MPLOBDNDMIC.NONE;
|
|
base.enabled = flag;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06012005 RID: 73733 RVA: 0x0044D0A0 File Offset: 0x0044B2A0
|
|
[Token(Token = "0x6012005")]
|
|
[Address(RVA = "0x19AFEA0", Offset = "0x19AE8A0", VA = "0x1819AFEA0")]
|
|
private void Reset()
|
|
{
|
|
ParticleSystem[] componentsInChildren = base.GetComponentsInChildren<ParticleSystem>(true);
|
|
if (componentsInChildren != 0)
|
|
{
|
|
PooledParticle.ColorConfiguration[] array = new PooledParticle.ColorConfiguration[componentsInChildren.Length];
|
|
int num = 0;
|
|
this.colorConfigurations = array;
|
|
if (num < array.Length)
|
|
{
|
|
PooledParticle.ColorConfiguration colorConfiguration;
|
|
ParticleSystem particleSystem;
|
|
colorConfiguration.particleSystem = particleSystem;
|
|
num++;
|
|
PooledParticle.ColorConfiguration[] array2 = this.colorConfigurations;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06012006 RID: 73734 RVA: 0x0044D0F4 File Offset: 0x0044B2F4
|
|
[Token(Token = "0x6012006")]
|
|
[Address(RVA = "0x19AEB30", Offset = "0x19AD530", VA = "0x1819AEB30", Slot = "4")]
|
|
protected virtual void Awake()
|
|
{
|
|
ParticleSystem component = base.GetComponent<ParticleSystem>();
|
|
this.<OAIDPPDMCPA>k__BackingField = component;
|
|
ParticleSystem.MainModule main = component.main;
|
|
int num = 0;
|
|
ParticleSystem.MainModule.set_playOnAwake_Injected(main, num != 0);
|
|
float num2 = ParticleSystem.MainModule.get_startSizeMultiplier_Injected(main);
|
|
this.GLOPFJHKNII = num2;
|
|
ParticleSystem[] componentsInChildren = base.GetComponentsInChildren<ParticleSystem>(true);
|
|
this.<IFDLOPPHFDM>k__BackingField = componentsInChildren;
|
|
this.DFNFPPPFILG();
|
|
this.KPPCKOGAAIK = (PooledParticle.MPLOBDNDMIC)((ulong)0L);
|
|
int num3 = 0;
|
|
base.enabled = num3 != 0;
|
|
}
|
|
|
|
// Token: 0x06012007 RID: 73735 RVA: 0x0044D160 File Offset: 0x0044B360
|
|
[Token(Token = "0x6012007")]
|
|
[Address(RVA = "0x19AF180", Offset = "0x19ADB80", VA = "0x1819AF180")]
|
|
private void LateUpdate()
|
|
{
|
|
PooledParticle.MPLOBDNDMIC kppckogaaik = this.KPPCKOGAAIK;
|
|
if (kppckogaaik != PooledParticle.MPLOBDNDMIC.NONE)
|
|
{
|
|
if (kppckogaaik == PooledParticle.MPLOBDNDMIC.VELOCITY)
|
|
{
|
|
Transform transform = base.transform;
|
|
float deltaTime = Time.deltaTime;
|
|
}
|
|
if (kppckogaaik == (PooledParticle.MPLOBDNDMIC)(-3))
|
|
{
|
|
Transform ignoabfihce = this.IGNOABFIHCE;
|
|
int num = 0;
|
|
if (ignoabfihce != num)
|
|
{
|
|
Transform transform2 = base.transform;
|
|
Transform ignoabfihce2 = this.IGNOABFIHCE;
|
|
}
|
|
}
|
|
if (this.KPPCKOGAAIK <= PooledParticle.MPLOBDNDMIC.POSITION)
|
|
{
|
|
Transform ignoabfihce3 = this.IGNOABFIHCE;
|
|
int num2 = 0;
|
|
if (ignoabfihce3 != num2)
|
|
{
|
|
Transform transform3 = base.transform;
|
|
Transform ignoabfihce4 = this.IGNOABFIHCE;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06012008 RID: 73736 RVA: 0x0044D1F0 File Offset: 0x0044B3F0
|
|
[Token(Token = "0x6012008")]
|
|
[Address(RVA = "0x19AF450", Offset = "0x19ADE50", VA = "0x1819AF450")]
|
|
private IEnumerator<ISchedule> ONGEPMDKMPJ(float BJJEDIGOMGC)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06012008)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IEnumerator`1<RecRoom.Core.ISchedule> RecRoom.Core.Pools.PooledParticle::ONGEPMDKMPJ(System.Single)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(ALBDGPEOILE::System.IDisposable.Dispose, ldloc:ALBDGPEOILE(var_0))
|
|
stfld:float32(ALBDGPEOILE::duration, ldloc:ALBDGPEOILE(var_0), ldloc:float32(BJJEDIGOMGC))
|
|
stfld:int32(ALBDGPEOILE::<>1__state, ldloc:ALBDGPEOILE(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0)))
|
|
stfld:PooledParticle(ALBDGPEOILE::<>4__this, ldloc:ALBDGPEOILE(var_0), ldloc:PooledParticle(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: 0x06012009 RID: 73737 RVA: 0x0044D21C File Offset: 0x0044B41C
|
|
[Token(Token = "0x6012009")]
|
|
[Address(RVA = "0x19AED90", Offset = "0x19AD790", VA = "0x1819AED90")]
|
|
private void IOFOFLHIJGM()
|
|
{
|
|
if (this.LPCNOLEOPEB)
|
|
{
|
|
int num = 0;
|
|
if (this.ECBGCBCLBJH != num)
|
|
{
|
|
ParticleSystem[] array = this.<IFDLOPPHFDM>k__BackingField;
|
|
if (num < array.Length)
|
|
{
|
|
ParticleSystem.MainModule main = array[num].main;
|
|
ParticleSystem.MinMaxGradient[] ecbgcbclbjh = this.ECBGCBCLBJH;
|
|
long num2 = (long)((ulong)num * (ulong)56L);
|
|
throw new MissingMethodException();
|
|
}
|
|
}
|
|
this.LPCNOLEOPEB = false;
|
|
}
|
|
bool flag = GlobalPool.ONCPNMDGGKG.Release<PooledParticle>(this);
|
|
}
|
|
|
|
// Token: 0x0601200A RID: 73738 RVA: 0x0044D298 File Offset: 0x0044B498
|
|
[Token(Token = "0x601200A")]
|
|
[Address(RVA = "0x19B03D0", Offset = "0x19AEDD0", VA = "0x1819B03D0")]
|
|
public void SetDuration(float BJJEDIGOMGC, bool CKAPAMCFCAP = false)
|
|
{
|
|
if (this.<OAIDPPDMCPA>k__BackingField.isPlaying)
|
|
{
|
|
this.<OAIDPPDMCPA>k__BackingField.Stop();
|
|
}
|
|
ParticleSystem.MainModule.set_duration_Injected(this.<OAIDPPDMCPA>k__BackingField.main, BJJEDIGOMGC);
|
|
if (CKAPAMCFCAP)
|
|
{
|
|
ParticleSystem.MinMaxCurve minMaxCurve;
|
|
AnimationCurve curveMax = minMaxCurve.m_CurveMax;
|
|
throw new MissingMethodException();
|
|
}
|
|
this.DFNFPPPFILG();
|
|
}
|
|
|
|
// Token: 0x0601200B RID: 73739 RVA: 0x0044D2EC File Offset: 0x0044B4EC
|
|
[Token(Token = "0x601200B")]
|
|
[Address(RVA = "0x19AF4C0", Offset = "0x19ADEC0", VA = "0x1819AF4C0")]
|
|
public void Play(Transform IKAAJOBFLHG)
|
|
{
|
|
Vector3 vector;
|
|
float z = vector.z;
|
|
int num = 0;
|
|
this.Play(num != 0, -1f);
|
|
this.KPPCKOGAAIK = (PooledParticle.MPLOBDNDMIC)((ulong)0L);
|
|
int num2 = 0;
|
|
base.enabled = num2 != 0;
|
|
Transform transform = base.transform;
|
|
Transform transform2 = base.transform;
|
|
this.KPPCKOGAAIK = (PooledParticle.MPLOBDNDMIC)((ulong)3L);
|
|
base.enabled = true;
|
|
this.IGNOABFIHCE = IKAAJOBFLHG;
|
|
float z2 = Vector3.zero.z;
|
|
this.FBDECBBPDCG.z = z2;
|
|
}
|
|
|
|
// Token: 0x0601200C RID: 73740 RVA: 0x0044D368 File Offset: 0x0044B568
|
|
[Token(Token = "0x601200C")]
|
|
[Address(RVA = "0x19AF7A0", Offset = "0x19AE1A0", VA = "0x1819AF7A0")]
|
|
public void Play(Transform IKAAJOBFLHG, bool IOOAMNLKLGP, float EGHDOMCPMGI = -1f)
|
|
{
|
|
Vector3 vector;
|
|
float z = vector.z;
|
|
this.Play(IOOAMNLKLGP, EGHDOMCPMGI);
|
|
this.KPPCKOGAAIK = (PooledParticle.MPLOBDNDMIC)((ulong)0L);
|
|
int num = 0;
|
|
base.enabled = num != 0;
|
|
Transform transform = base.transform;
|
|
Transform transform2 = base.transform;
|
|
this.KPPCKOGAAIK = (PooledParticle.MPLOBDNDMIC)((ulong)3L);
|
|
base.enabled = true;
|
|
this.IGNOABFIHCE = IKAAJOBFLHG;
|
|
float z2 = Vector3.zero.z;
|
|
this.FBDECBBPDCG.z = z2;
|
|
}
|
|
|
|
// Token: 0x0601200D RID: 73741 RVA: 0x0044D3DC File Offset: 0x0044B5DC
|
|
[Token(Token = "0x601200D")]
|
|
[Address(RVA = "0x19AF920", Offset = "0x19AE320", VA = "0x1819AF920")]
|
|
public void Play(Transform IKAAJOBFLHG, Vector3 FBDECBBPDCG, bool IOOAMNLKLGP, float EGHDOMCPMGI = -1f)
|
|
{
|
|
Vector3 vector;
|
|
float z = vector.z;
|
|
this.KPPCKOGAAIK = (PooledParticle.MPLOBDNDMIC)((ulong)0L);
|
|
int num = 0;
|
|
base.enabled = num != 0;
|
|
Transform transform = base.transform;
|
|
Transform transform2 = base.transform;
|
|
this.KPPCKOGAAIK = (PooledParticle.MPLOBDNDMIC)((ulong)3L);
|
|
base.enabled = true;
|
|
float z2 = FBDECBBPDCG.z;
|
|
this.IGNOABFIHCE = IKAAJOBFLHG;
|
|
this.FBDECBBPDCG.z = z2;
|
|
}
|
|
|
|
// Token: 0x0601200E RID: 73742 RVA: 0x0044D444 File Offset: 0x0044B644
|
|
[Token(Token = "0x601200E")]
|
|
[Address(RVA = "0x19AFC20", Offset = "0x19AE620", VA = "0x1819AFC20")]
|
|
public void Play(Transform CNEDNJCKPPH, Quaternion IGPENJBJADK, bool IOOAMNLKLGP = false, float EGHDOMCPMGI = -1f)
|
|
{
|
|
Vector3 vector;
|
|
float z = vector.z;
|
|
this.KPPCKOGAAIK = (PooledParticle.MPLOBDNDMIC)((ulong)0L);
|
|
int num = 0;
|
|
base.enabled = num != 0;
|
|
Transform transform = base.transform;
|
|
Transform transform2 = base.transform;
|
|
this.KPPCKOGAAIK = (PooledParticle.MPLOBDNDMIC)((ulong)1L);
|
|
base.enabled = true;
|
|
this.IGNOABFIHCE = CNEDNJCKPPH;
|
|
float z2 = Vector3.zero.z;
|
|
this.FBDECBBPDCG.z = z2;
|
|
}
|
|
|
|
// Token: 0x0601200F RID: 73743 RVA: 0x0044D4B0 File Offset: 0x0044B6B0
|
|
[Token(Token = "0x601200F")]
|
|
[Address(RVA = "0x19AFB00", Offset = "0x19AE500", VA = "0x1819AFB00")]
|
|
public void Play(Transform CNEDNJCKPPH, Vector3 FBDECBBPDCG, Quaternion IGPENJBJADK, bool IOOAMNLKLGP = false, float EGHDOMCPMGI = -1f)
|
|
{
|
|
Vector3 vector;
|
|
float z = vector.z;
|
|
this.KPPCKOGAAIK = (PooledParticle.MPLOBDNDMIC)((ulong)0L);
|
|
int num = 0;
|
|
base.enabled = num != 0;
|
|
Transform transform = base.transform;
|
|
Transform transform2 = base.transform;
|
|
this.KPPCKOGAAIK = (PooledParticle.MPLOBDNDMIC)((ulong)1L);
|
|
base.enabled = true;
|
|
float z2 = FBDECBBPDCG.z;
|
|
this.IGNOABFIHCE = CNEDNJCKPPH;
|
|
this.FBDECBBPDCG.z = z2;
|
|
}
|
|
|
|
// Token: 0x06012010 RID: 73744 RVA: 0x0044D518 File Offset: 0x0044B718
|
|
[Token(Token = "0x6012010")]
|
|
[Address(RVA = "0x19AF620", Offset = "0x19AE020", VA = "0x1819AF620")]
|
|
public void Play(Vector3 DDHPAFKBMON, Quaternion IGPENJBJADK, Vector3 NHAOMEMANJA, bool IOOAMNLKLGP = false, float EGHDOMCPMGI = -1f)
|
|
{
|
|
this.KPPCKOGAAIK = (PooledParticle.MPLOBDNDMIC)((ulong)4L);
|
|
base.enabled = true;
|
|
float z = NHAOMEMANJA.z;
|
|
this.HCDPCKAECMF.z = z;
|
|
Transform transform = base.transform;
|
|
float z2 = DDHPAFKBMON.z;
|
|
Transform transform2 = base.transform;
|
|
}
|
|
|
|
// Token: 0x06012011 RID: 73745 RVA: 0x0044D564 File Offset: 0x0044B764
|
|
[Token(Token = "0x6012011")]
|
|
[Address(RVA = "0x19AFA50", Offset = "0x19AE450", VA = "0x1819AFA50")]
|
|
public void Play(Vector3 DDHPAFKBMON, Quaternion IGPENJBJADK, bool IOOAMNLKLGP = false, float EGHDOMCPMGI = -1f)
|
|
{
|
|
this.KPPCKOGAAIK = (PooledParticle.MPLOBDNDMIC)((ulong)0L);
|
|
int num = 0;
|
|
base.enabled = num != 0;
|
|
Transform transform = base.transform;
|
|
float z = DDHPAFKBMON.z;
|
|
Transform transform2 = base.transform;
|
|
}
|
|
|
|
// Token: 0x06012012 RID: 73746 RVA: 0x0044D5A0 File Offset: 0x0044B7A0
|
|
[Token(Token = "0x6012012")]
|
|
[Address(RVA = "0x19AF6F0", Offset = "0x19AE0F0", VA = "0x1819AF6F0")]
|
|
public void Play(bool IOOAMNLKLGP = false, float EGHDOMCPMGI = -1f)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06012012)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void RecRoom.Core.Pools.PooledParticle::Play(System.Boolean,System.Single)
|
|
|
|
---> System.ArgumentOutOfRangeException: length ('-1') must be a non-negative value. (Parameter 'length')
|
|
Actual value was -1.
|
|
at System.ArgumentOutOfRangeException.ThrowNegative[T](T value, String paramName)
|
|
at System.Array.CopyImpl(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
|
|
at System.Array.Copy(Array sourceArray, Array destinationArray, Int32 length)
|
|
at ICSharpCode.Decompiler.ILAst.ILAstBuilder.StackAnalysis(MethodDef methodDef) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstBuilder.cs:line 327
|
|
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 117
|
|
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: 0x06012013 RID: 73747 RVA: 0x0044D608 File Offset: 0x0044B808
|
|
[Token(Token = "0x6012013")]
|
|
[Address(RVA = "0x19B0560", Offset = "0x19AEF60", VA = "0x1819B0560")]
|
|
public void Stop()
|
|
{
|
|
ParticleSystem particleSystem = this.<OAIDPPDMCPA>k__BackingField;
|
|
int num = 0;
|
|
particleSystem.Stop(true, (ParticleSystemStopBehavior)num);
|
|
if (this.IBCGLGAPNHJ != 0)
|
|
{
|
|
this.IBCGLGAPNHJ = (ulong)0L;
|
|
}
|
|
this.IOFOFLHIJGM();
|
|
}
|
|
|
|
// Token: 0x06012014 RID: 73748 RVA: 0x0044D644 File Offset: 0x0044B844
|
|
[Token(Token = "0x6012014")]
|
|
[Address(RVA = "0x19B04B0", Offset = "0x19AEEB0", VA = "0x1819B04B0")]
|
|
public void StopAfterExistingLifetime()
|
|
{
|
|
this.<OAIDPPDMCPA>k__BackingField.Stop(true, ParticleSystemStopBehavior.StopEmitting);
|
|
ParticleSystem.MainModule main = this.<OAIDPPDMCPA>k__BackingField.main;
|
|
}
|
|
|
|
// Token: 0x06012015 RID: 73749 RVA: 0x0044D674 File Offset: 0x0044B874
|
|
[Token(Token = "0x6012015")]
|
|
[Address(RVA = "0x19AEF20", Offset = "0x19AD920", VA = "0x1819AEF20")]
|
|
private void JMHGDJOIHKG(float BJJEDIGOMGC)
|
|
{
|
|
if (this.IBCGLGAPNHJ != 0)
|
|
{
|
|
this.IBCGLGAPNHJ = (ulong)0L;
|
|
}
|
|
Scheduler instance = SingletonMonoBehaviour.Instance;
|
|
PooledParticle.ALBDGPEOILE albdgpeoile;
|
|
albdgpeoile.System.IDisposable.Dispose();
|
|
albdgpeoile.duration = BJJEDIGOMGC;
|
|
albdgpeoile.<>1__state = (int)((ulong)0L);
|
|
albdgpeoile.<>4__this = this;
|
|
int num = 0;
|
|
ISchedulerPromise schedulerPromise = instance.Run(num, albdgpeoile);
|
|
this.IBCGLGAPNHJ = schedulerPromise;
|
|
}
|
|
|
|
// Token: 0x06012016 RID: 73750 RVA: 0x0044D6D0 File Offset: 0x0044B8D0
|
|
[Token(Token = "0x6012016")]
|
|
[Address(RVA = "0x19AF030", Offset = "0x19ADA30", VA = "0x1819AF030")]
|
|
private void LMDDPMGBMGL()
|
|
{
|
|
ParticleSystem[] array = this.<IFDLOPPHFDM>k__BackingField;
|
|
int num = 0;
|
|
ParticleSystem.MinMaxGradient[] array2 = new ParticleSystem.MinMaxGradient[array.Length];
|
|
ParticleSystem[] array3 = this.<IFDLOPPHFDM>k__BackingField;
|
|
this.ECBGCBCLBJH = array2;
|
|
if (num < array3.Length)
|
|
{
|
|
ParticleSystem.MinMaxGradient[] ecbgcbclbjh = this.ECBGCBCLBJH;
|
|
ParticleSystem.MainModule main = array3[num].main;
|
|
num++;
|
|
long num2 = (long)((ulong)num * (ulong)56L);
|
|
ParticleSystem[] array4 = this.<IFDLOPPHFDM>k__BackingField;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06012017 RID: 73751 RVA: 0x0044D73C File Offset: 0x0044B93C
|
|
[Token(Token = "0x6012017")]
|
|
[Address(RVA = "0x19AFD80", Offset = "0x19AE780", VA = "0x1819AFD80")]
|
|
public void ResetColors()
|
|
{
|
|
int num = 0;
|
|
if ((this.LPCNOLEOPEB ? 1 : 0) != num && this.ECBGCBCLBJH != num)
|
|
{
|
|
ParticleSystem[] array = this.<IFDLOPPHFDM>k__BackingField;
|
|
if (num < array.Length)
|
|
{
|
|
ParticleSystem.MainModule main = array[num].main;
|
|
ParticleSystem.MinMaxGradient[] ecbgcbclbjh = this.ECBGCBCLBJH;
|
|
long num2 = (long)((ulong)num * (ulong)56L);
|
|
throw new MissingMethodException();
|
|
}
|
|
}
|
|
this.LPCNOLEOPEB = false;
|
|
}
|
|
|
|
// Token: 0x06012018 RID: 73752 RVA: 0x0044D7A8 File Offset: 0x0044B9A8
|
|
[Token(Token = "0x6012018")]
|
|
[Address(RVA = "0x19AFFF0", Offset = "0x19AE9F0", VA = "0x1819AFFF0")]
|
|
public void SetColor(Color GJAINANBOCB)
|
|
{
|
|
int num = 0;
|
|
int num2 = 0;
|
|
if (this.ECBGCBCLBJH == num)
|
|
{
|
|
ParticleSystem.MinMaxGradient[] array = new ParticleSystem.MinMaxGradient[this.<IFDLOPPHFDM>k__BackingField.Length];
|
|
ParticleSystem[] array2 = this.<IFDLOPPHFDM>k__BackingField;
|
|
this.ECBGCBCLBJH = array;
|
|
if (num2 < array2.Length)
|
|
{
|
|
ParticleSystem.MinMaxGradient[] ecbgcbclbjh = this.ECBGCBCLBJH;
|
|
ParticleSystem.MainModule main = array2[num2].main;
|
|
num2++;
|
|
long num3 = (long)((ulong)num2 * (ulong)56L);
|
|
ParticleSystem[] array3 = this.<IFDLOPPHFDM>k__BackingField;
|
|
}
|
|
}
|
|
PooledParticle.ColorConfiguration[] array4 = this.colorConfigurations;
|
|
if (array4 != 0 && array4.Length != num2)
|
|
{
|
|
int length = array4.Length;
|
|
if (num2 >= length)
|
|
{
|
|
goto IL_C6;
|
|
}
|
|
PooledParticle.ColorConfiguration colorConfiguration = array4[num2];
|
|
num2++;
|
|
}
|
|
ParticleSystem[] array5 = this.<IFDLOPPHFDM>k__BackingField;
|
|
if (num2 < array5.Length)
|
|
{
|
|
if (array5[num2].main == 0)
|
|
{
|
|
}
|
|
throw new MissingMethodException();
|
|
}
|
|
IL_C6:
|
|
this.LPCNOLEOPEB = true;
|
|
}
|
|
|
|
// Token: 0x06012019 RID: 73753 RVA: 0x0044D888 File Offset: 0x0044BA88
|
|
[Token(Token = "0x6012019")]
|
|
[Address(RVA = "0x19AEBF0", Offset = "0x19AD5F0", VA = "0x1819AEBF0")]
|
|
private void DFNFPPPFILG()
|
|
{
|
|
ParticleSystem[] array = this.<IFDLOPPHFDM>k__BackingField;
|
|
int num = 0;
|
|
this.JPOFKMCIEKB = (float)num;
|
|
int length = array.Length;
|
|
if (num < length)
|
|
{
|
|
ParticleSystem.MainModule main = array[num].main;
|
|
float num2 = ParticleSystem.MainModule.get_duration_Injected(main);
|
|
float num3 = ParticleSystem.MainModule.get_simulationSpeed_Injected(main);
|
|
num++;
|
|
float num4;
|
|
this.JPOFKMCIEKB = num4;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601201A RID: 73754 RVA: 0x0044D8E4 File Offset: 0x0044BAE4
|
|
[Token(Token = "0x601201A")]
|
|
[Address(RVA = "0x19B0930", Offset = "0x19AF330", VA = "0x1819B0930")]
|
|
public PooledParticle()
|
|
{
|
|
float z = Vector3.zero.z;
|
|
this.HCDPCKAECMF.z = z;
|
|
float z2 = Vector3.zero.z;
|
|
this.FBDECBBPDCG.z = z2;
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x0400C073 RID: 49267
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400C073")]
|
|
[SerializeField]
|
|
protected PooledParticle.ColorConfiguration[] colorConfigurations;
|
|
|
|
// Token: 0x0400C076 RID: 49270
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x400C076")]
|
|
[NonSerialized]
|
|
public bool IsLooping;
|
|
|
|
// Token: 0x0400C077 RID: 49271
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x400C077")]
|
|
private ParticleSystem.MinMaxGradient[] ECBGCBCLBJH;
|
|
|
|
// Token: 0x0400C078 RID: 49272
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x400C078")]
|
|
private bool LPCNOLEOPEB;
|
|
|
|
// Token: 0x0400C079 RID: 49273
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x44")]
|
|
[Token(Token = "0x400C079")]
|
|
private float GLOPFJHKNII;
|
|
|
|
// Token: 0x0400C07A RID: 49274
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x400C07A")]
|
|
private float JPOFKMCIEKB;
|
|
|
|
// Token: 0x0400C07B RID: 49275
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x400C07B")]
|
|
private Transform IGNOABFIHCE;
|
|
|
|
// Token: 0x0400C07C RID: 49276
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x400C07C")]
|
|
private Vector3 HCDPCKAECMF;
|
|
|
|
// Token: 0x0400C07D RID: 49277
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x64")]
|
|
[Token(Token = "0x400C07D")]
|
|
private Vector3 FBDECBBPDCG;
|
|
|
|
// Token: 0x0400C07E RID: 49278
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
|
|
[Token(Token = "0x400C07E")]
|
|
private PooledParticle.MPLOBDNDMIC KPPCKOGAAIK;
|
|
|
|
// Token: 0x0400C07F RID: 49279
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x78")]
|
|
[Token(Token = "0x400C07F")]
|
|
private ISchedulerPromise IBCGLGAPNHJ;
|
|
|
|
// Token: 0x0200281B RID: 10267
|
|
[Token(Token = "0x200281B")]
|
|
private enum MPLOBDNDMIC
|
|
{
|
|
// Token: 0x0400C081 RID: 49281
|
|
[Token(Token = "0x400C081")]
|
|
NONE,
|
|
// Token: 0x0400C082 RID: 49282
|
|
[Token(Token = "0x400C082")]
|
|
POSITION,
|
|
// Token: 0x0400C083 RID: 49283
|
|
[Token(Token = "0x400C083")]
|
|
ROTATION,
|
|
// Token: 0x0400C084 RID: 49284
|
|
[Token(Token = "0x400C084")]
|
|
POSITION_AND_ROTATION,
|
|
// Token: 0x0400C085 RID: 49285
|
|
[Token(Token = "0x400C085")]
|
|
VELOCITY
|
|
}
|
|
|
|
// Token: 0x0200281C RID: 10268
|
|
[Token(Token = "0x200281C")]
|
|
[Serializable]
|
|
public class ColorConfiguration
|
|
{
|
|
// Token: 0x0601201B RID: 73755 RVA: 0x0044D928 File Offset: 0x0044BB28
|
|
[Token(Token = "0x601201B")]
|
|
[Address(RVA = "0x199F780", Offset = "0x199E180", VA = "0x18199F780")]
|
|
public ColorConfiguration(ParticleSystem mainParticles)
|
|
{
|
|
this.particleSystem = mainParticles;
|
|
this.setStartColor = true;
|
|
}
|
|
|
|
// Token: 0x0601201C RID: 73756 RVA: 0x0044D94C File Offset: 0x0044BB4C
|
|
[Token(Token = "0x601201C")]
|
|
[Address(RVA = "0x199F570", Offset = "0x199DF70", VA = "0x18199F570")]
|
|
public void LJAEIJLMDHG(Color GJAINANBOCB)
|
|
{
|
|
int num = 0;
|
|
if ((this.setStartColor ? 1 : 0) != num)
|
|
{
|
|
ParticleSystem.MainModule main = this.particleSystem.main;
|
|
throw new MissingMethodException();
|
|
}
|
|
if (this.setMinColorOverLifetime || this.setMaxColorOverLifetime)
|
|
{
|
|
ParticleSystem.MainModule main2 = this.particleSystem.main;
|
|
if (this.setMinColorOverLifetime)
|
|
{
|
|
}
|
|
if (this.setMaxColorOverLifetime)
|
|
{
|
|
GradientColorKey[] array;
|
|
int num2 = array.Length - 1;
|
|
}
|
|
throw new MissingMethodException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0400C086 RID: 49286
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400C086")]
|
|
[SerializeField]
|
|
private ParticleSystem particleSystem;
|
|
|
|
// Token: 0x0400C087 RID: 49287
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400C087")]
|
|
[SerializeField]
|
|
private bool setStartColor;
|
|
|
|
// Token: 0x0400C088 RID: 49288
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x19")]
|
|
[Token(Token = "0x400C088")]
|
|
[SerializeField]
|
|
private bool setMinColorOverLifetime;
|
|
|
|
// Token: 0x0400C089 RID: 49289
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x1A")]
|
|
[Token(Token = "0x400C089")]
|
|
[SerializeField]
|
|
private bool setMaxColorOverLifetime;
|
|
}
|
|
}
|
|
}
|