77 lines
2.4 KiB
C#
77 lines
2.4 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using MarsSDK;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x02000201 RID: 513
|
|
[Token(Token = "0x2000201")]
|
|
public class SoulPool
|
|
{
|
|
// Token: 0x06001441 RID: 5185 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6001441")]
|
|
[Address(RVA = "0x11C79D0", Offset = "0x11C61D0", VA = "0x1811C79D0")]
|
|
public SoulPool(string soulEffectName, Transform root, int size, float visibleTime = 60f)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06001442 RID: 5186 RVA: 0x0002E698 File Offset: 0x0002C898
|
|
[Token(Token = "0x6001442")]
|
|
[Address(RVA = "0x11C78C0", Offset = "0x11C60C0", VA = "0x1811C78C0")]
|
|
public void SetTimeScale(float timeScale)
|
|
{
|
|
if (this.soulProcessor == (ulong)0L)
|
|
{
|
|
Action<Soul> action = delegate(Soul soul)
|
|
{
|
|
float num = timeScale;
|
|
soul.UpdateTimeScale(num);
|
|
};
|
|
this.soulProcessor = action;
|
|
}
|
|
GameObjectPoolLimited<Soul> gameObjectPoolLimited = this.pooledSoulEffects;
|
|
Action<Soul> action2 = this.soulProcessor;
|
|
gameObjectPoolLimited.ProcessActivePool(action2);
|
|
}
|
|
|
|
// Token: 0x06001443 RID: 5187 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6001443")]
|
|
[Address(RVA = "0x11C7680", Offset = "0x11C5E80", VA = "0x1811C7680")]
|
|
public Soul NewUse(Vector3 position, Quaternion rotation, bool playSoundOnCreated = true)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06001444 RID: 5188 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6001444")]
|
|
[Address(RVA = "0x11C7580", Offset = "0x11C5D80", VA = "0x1811C7580")]
|
|
public void GetBalance(float soulValue, ref float balanceValue)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x04001F8E RID: 8078
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4001F8E")]
|
|
private GameObjectPoolLimited<Soul> pooledSoulEffects;
|
|
|
|
// Token: 0x04001F8F RID: 8079
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4001F8F")]
|
|
private Action<Soul> soulProcessor;
|
|
|
|
// Token: 0x04001F90 RID: 8080
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4001F90")]
|
|
private float timeScale;
|
|
|
|
// Token: 0x04001F91 RID: 8081
|
|
[FieldOffset(Offset = "0x24")]
|
|
[Token(Token = "0x4001F91")]
|
|
private float visibleTime;
|
|
|
|
// Token: 0x04001F92 RID: 8082
|
|
[Token(Token = "0x4001F92")]
|
|
private const float ALIVE_TIME_COEFF = 3f;
|
|
}
|