88 lines
2.5 KiB
C#
88 lines
2.5 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Avatars
|
|
{
|
|
// Token: 0x02002383 RID: 9091
|
|
[Token(Token = "0x2002383")]
|
|
public class AvatarFaceShapeVault : MonoBehaviour
|
|
{
|
|
// Token: 0x0600E9D1 RID: 59857 RVA: 0x0035D218 File Offset: 0x0035B418
|
|
[Token(Token = "0x600E9D1")]
|
|
[Address(RVA = "0x11D2E90", Offset = "0x11D1C90", VA = "0x1811D2E90")]
|
|
protected void Awake()
|
|
{
|
|
for (;;)
|
|
{
|
|
int num = 0;
|
|
List<AvatarFaceShape> avatarFaceShapes = this.AvatarFaceShapes;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
break;
|
|
}
|
|
if (num == 0)
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
Dictionary<string, AvatarFaceShape> gbehdbbngmh = this.GBEHDBBNGMH;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600E9D2 RID: 59858 RVA: 0x0035D26C File Offset: 0x0035B46C
|
|
[Token(Token = "0x600E9D2")]
|
|
[Address(RVA = "0x11D3020", Offset = "0x11D1E20", VA = "0x1811D3020")]
|
|
public AvatarFaceShape Find(string COFLAJFOPEN)
|
|
{
|
|
Dictionary<string, AvatarFaceShape> gbehdbbngmh = this.GBEHDBBNGMH;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600E9D3 RID: 59859 RVA: 0x0035D2A0 File Offset: 0x0035B4A0
|
|
[Token(Token = "0x600E9D3")]
|
|
[Address(RVA = "0x11D30F0", Offset = "0x11D1EF0", VA = "0x1811D30F0")]
|
|
public AvatarFaceShape GetRandom()
|
|
{
|
|
return ECNNGIFNNNM.NBMJEPIPHGC<AvatarFaceShape>(this.AvatarFaceShapes);
|
|
}
|
|
|
|
// Token: 0x0600E9D4 RID: 59860 RVA: 0x0035D2B8 File Offset: 0x0035B4B8
|
|
[Token(Token = "0x600E9D4")]
|
|
[Address(RVA = "0x11D30B0", Offset = "0x11D1EB0", VA = "0x1811D30B0")]
|
|
public AvatarFaceShape GetDefault()
|
|
{
|
|
return Enumerable.First<AvatarFaceShape>(this.AvatarFaceShapes);
|
|
}
|
|
|
|
// Token: 0x0600E9D5 RID: 59861 RVA: 0x0035D2D0 File Offset: 0x0035B4D0
|
|
[Token(Token = "0x600E9D5")]
|
|
[Address(RVA = "0x11D3130", Offset = "0x11D1F30", VA = "0x1811D3130")]
|
|
public AvatarFaceShapeVault()
|
|
{
|
|
Dictionary<string, AvatarFaceShape> dictionary = new Dictionary();
|
|
this.GBEHDBBNGMH = dictionary;
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x04009A3A RID: 39482
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4009A3A")]
|
|
[Tooltip("Used only for decorative purposes.")]
|
|
public string Label = "My Vault";
|
|
|
|
// Token: 0x04009A3B RID: 39483
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4009A3B")]
|
|
public List<AvatarFaceShape> AvatarFaceShapes;
|
|
|
|
// Token: 0x04009A3C RID: 39484
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4009A3C")]
|
|
private Dictionary<string, AvatarFaceShape> GBEHDBBNGMH;
|
|
}
|
|
}
|