147 lines
5.5 KiB
C#
147 lines
5.5 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x020000AB RID: 171
|
|
[Token(Token = "0x20000AB")]
|
|
public static class Common
|
|
{
|
|
// Token: 0x060007A3 RID: 1955 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x60007A3")]
|
|
[Address(RVA = "0xE8F590", Offset = "0xE8E390", VA = "0x180E8F590")]
|
|
public static float Exceed(float lowest, float value)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x060007A4 RID: 1956 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x60007A4")]
|
|
[Address(RVA = "0xE8F680", Offset = "0xE8E480", VA = "0x180E8F680")]
|
|
public static float Gap(float a, float b)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x060007A5 RID: 1957 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x60007A5")]
|
|
[Address(RVA = "0xC95880", Offset = "0xC94680", VA = "0x180C95880")]
|
|
public static float Clamp(float fVal, float fMin, float fMax)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x060007A6 RID: 1958 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x60007A6")]
|
|
[Address(RVA = "0xE900B0", Offset = "0xE8EEB0", VA = "0x180E900B0")]
|
|
public static float YAxisDegreeBetween2Vector(Vector3 fromDir, Vector3 toDir)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x060007A7 RID: 1959 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x60007A7")]
|
|
[Address(RVA = "0xE8FF90", Offset = "0xE8ED90", VA = "0x180E8FF90")]
|
|
public static float XAxisDegreeBetween2Vector(Vector3 fromDir, Vector3 toDir)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x060007A8 RID: 1960 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x60007A8")]
|
|
[Address(RVA = "0xE90160", Offset = "0xE8EF60", VA = "0x180E90160")]
|
|
public static float ZAxisDegreeBetween2Vector(Vector3 fromDir, Vector3 toDir)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x060007A9 RID: 1961 RVA: 0x0001185C File Offset: 0x0000FA5C
|
|
[Token(Token = "0x60007A9")]
|
|
[Address(RVA = "0xE8F5A0", Offset = "0xE8E3A0", VA = "0x180E8F5A0")]
|
|
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: 0x060007AA RID: 1962 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x60007AA")]
|
|
[Address(RVA = "0xE8F760", Offset = "0xE8E560", VA = "0x180E8F760")]
|
|
public static ValueTuple<string, string> GetResolvedPath(string assetPath)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x060007AB RID: 1963 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x60007AB")]
|
|
[Address(RVA = "0xE8F890", Offset = "0xE8E690", VA = "0x180E8F890")]
|
|
public static SoundEffect GetSoundEffectOfPrefabs(GameObject source, Transform parent)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x060007AC RID: 1964 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x60007AC")]
|
|
[Address(RVA = "0xE8FB20", Offset = "0xE8E920", VA = "0x180E8FB20")]
|
|
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: 0x060007AD RID: 1965 RVA: 0x000118A4 File Offset: 0x0000FAA4
|
|
[Token(Token = "0x60007AD")]
|
|
[Address(RVA = "0xE8FE10", Offset = "0xE8EC10", VA = "0x180E8FE10")]
|
|
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: 0x060007AE RID: 1966 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x60007AE")]
|
|
[Address(RVA = "0xE8FAB0", Offset = "0xE8E8B0", VA = "0x180E8FAB0")]
|
|
public static float GetYZeroDistance(Vector3 Pos01, Vector3 Pos02)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x060007AF RID: 1967 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x60007AF")]
|
|
[Address(RVA = "0xE8F6B0", Offset = "0xE8E4B0", VA = "0x180E8F6B0")]
|
|
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: 0x060007B0 RID: 1968 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x60007B0")]
|
|
[Address(RVA = "0xE8F710", Offset = "0xE8E510", VA = "0x180E8F710")]
|
|
public static float GetGameBeatingMultiply(int gameBeatingCounter)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
}
|