147 lines
5.6 KiB
C#
147 lines
5.6 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x020000C2 RID: 194
|
|
[Token(Token = "0x20000C2")]
|
|
public static class Common
|
|
{
|
|
// Token: 0x0600084C RID: 2124 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600084C")]
|
|
[Address(RVA = "0x12ED510", Offset = "0x12EC510", VA = "0x1812ED510")]
|
|
public static float Exceed(float lowest, float value)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600084D RID: 2125 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600084D")]
|
|
[Address(RVA = "0x12ED600", Offset = "0x12EC600", VA = "0x1812ED600")]
|
|
public static float Gap(float a, float b)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600084E RID: 2126 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600084E")]
|
|
[Address(RVA = "0xFD2AE0", Offset = "0xFD1AE0", VA = "0x180FD2AE0")]
|
|
public static float Clamp(float fVal, float fMin, float fMax)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600084F RID: 2127 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600084F")]
|
|
[Address(RVA = "0x12EE030", Offset = "0x12ED030", VA = "0x1812EE030")]
|
|
public static float YAxisDegreeBetween2Vector(Vector3 fromDir, Vector3 toDir)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000850 RID: 2128 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000850")]
|
|
[Address(RVA = "0x12EDF10", Offset = "0x12ECF10", VA = "0x1812EDF10")]
|
|
public static float XAxisDegreeBetween2Vector(Vector3 fromDir, Vector3 toDir)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000851 RID: 2129 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000851")]
|
|
[Address(RVA = "0x12EE0E0", Offset = "0x12ED0E0", VA = "0x1812EE0E0")]
|
|
public static float ZAxisDegreeBetween2Vector(Vector3 fromDir, Vector3 toDir)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000852 RID: 2130 RVA: 0x00012330 File Offset: 0x00010530
|
|
[Token(Token = "0x6000852")]
|
|
[Address(RVA = "0x12ED520", Offset = "0x12EC520", VA = "0x1812ED520")]
|
|
public static Transform FindChild(Transform check, string name)
|
|
{
|
|
Transform[] componentsInChildren = check.GetComponentsInChildren<Transform>();
|
|
int num = 0;
|
|
int length = componentsInChildren.Length;
|
|
if (num < length)
|
|
{
|
|
if (!string.Equals(componentsInChildren[num].name, name))
|
|
{
|
|
num++;
|
|
}
|
|
return componentsInChildren[num];
|
|
}
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06000853 RID: 2131 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000853")]
|
|
[Address(RVA = "0x12ED6E0", Offset = "0x12EC6E0", VA = "0x1812ED6E0")]
|
|
public static ValueTuple<string, string> GetResolvedPath(string assetPath)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000854 RID: 2132 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000854")]
|
|
[Address(RVA = "0x12ED810", Offset = "0x12EC810", VA = "0x1812ED810")]
|
|
public static SoundEffect GetSoundEffectOfPrefabs(GameObject source, Transform parent)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000855 RID: 2133 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000855")]
|
|
[Address(RVA = "0x12EDAA0", Offset = "0x12ECAA0", VA = "0x1812EDAA0")]
|
|
public static void LoadSoundEffect(string sourcePath, Transform parent, Action<SoundEffect> callback)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000856 RID: 2134 RVA: 0x00012378 File Offset: 0x00010578
|
|
[Token(Token = "0x6000856")]
|
|
[Address(RVA = "0x12EDD90", Offset = "0x12ECD90", VA = "0x1812EDD90")]
|
|
public static void SetEffectTimeScale(ParticleSystem ps, float fTimeScale)
|
|
{
|
|
int num = 0;
|
|
ParticleSystem.MainModule.set_simulationSpeed_Injected(ps.main, fTimeScale);
|
|
if (ps.transform.childCount > 0)
|
|
{
|
|
int childCount = ps.transform.childCount;
|
|
if (num < childCount)
|
|
{
|
|
ParticleSystem component = ps.transform.GetChild(num).GetComponent<ParticleSystem>();
|
|
int num2 = 0;
|
|
if (component != num2)
|
|
{
|
|
ParticleSystem.MainModule.set_simulationSpeed_Injected(component.main, fTimeScale);
|
|
}
|
|
num++;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000857 RID: 2135 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000857")]
|
|
[Address(RVA = "0x12EDA30", Offset = "0x12ECA30", VA = "0x1812EDA30")]
|
|
public static float GetYZeroDistance(Vector3 Pos01, Vector3 Pos02)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000858 RID: 2136 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000858")]
|
|
[Address(RVA = "0x12ED630", Offset = "0x12EC630", VA = "0x1812ED630")]
|
|
public static float GetGameBeatingCalculate(float fValue, float fMax, float fMin, float fMaxMultiply, float fMinMultiply)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000859 RID: 2137 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000859")]
|
|
[Address(RVA = "0x12ED690", Offset = "0x12EC690", VA = "0x1812ED690")]
|
|
public static float GetGameBeatingMultiply(int gameBeatingCounter)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
}
|