Files
NobetaSource/Cpp2IL/Assembly-CSharp/RootMotion/Singleton.cs
2023-09-06 22:09:22 +02:00

53 lines
1.5 KiB
C#

using System;
using Cpp2IlInjected;
using UnityEngine;
namespace RootMotion
{
// Token: 0x020003A9 RID: 937
[Token(Token = "0x20003A9")]
public abstract class Singleton<T> : MonoBehaviour where T : Singleton<T>
{
// Token: 0x170001ED RID: 493
// (get) Token: 0x06002304 RID: 8964 RVA: 0x000507CC File Offset: 0x0004E9CC
[Token(Token = "0x170001ED")]
public static T instance
{
[Token(Token = "0x6002304")]
[Address(RVA = "0xA0BD40", Offset = "0xA0A540", VA = "0x180A0BD40")]
get
{
return Singleton.sInstance;
}
}
// Token: 0x06002305 RID: 8965 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002305")]
[Address(RVA = "0xA0BAC0", Offset = "0xA0A2C0", VA = "0x180A0BAC0", Slot = "4")]
protected virtual void Awake()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002306 RID: 8966 RVA: 0x000507E0 File Offset: 0x0004E9E0
[Token(Token = "0x6002306")]
[Address(RVA = "0x84DE10", Offset = "0x84C610", VA = "0x18084DE10")]
protected Singleton()
{
}
// Token: 0x06002307 RID: 8967 RVA: 0x000020D3 File Offset: 0x000002D3
// Note: this type is marked as 'beforefieldinit'.
[Token(Token = "0x6002307")]
[Address(RVA = "0x29E8B0", Offset = "0x29D0B0", VA = "0x18029E8B0")]
static Singleton()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x04002C4D RID: 11341
[Token(Token = "0x4002C4D")]
private static T sInstance;
}
}