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: 0x0200237B RID: 9083
|
|
[Token(Token = "0x200237B")]
|
|
public class AvatarBodyShapeVault : MonoBehaviour
|
|
{
|
|
// Token: 0x0600E9A0 RID: 59808 RVA: 0x0035CB5C File Offset: 0x0035AD5C
|
|
[Token(Token = "0x600E9A0")]
|
|
[Address(RVA = "0x9D6580", Offset = "0x9D5380", VA = "0x1809D6580")]
|
|
protected void Awake()
|
|
{
|
|
for (;;)
|
|
{
|
|
int num = 0;
|
|
List<AvatarBodyShape> avatarBodyShapes = this.AvatarBodyShapes;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
break;
|
|
}
|
|
if (num == 0)
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
Dictionary<string, AvatarBodyShape> gbehdbbngmh = this.GBEHDBBNGMH;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600E9A1 RID: 59809 RVA: 0x0035CBB0 File Offset: 0x0035ADB0
|
|
[Token(Token = "0x600E9A1")]
|
|
[Address(RVA = "0x9D6710", Offset = "0x9D5510", VA = "0x1809D6710")]
|
|
public AvatarBodyShape Find(string COFLAJFOPEN)
|
|
{
|
|
Dictionary<string, AvatarBodyShape> gbehdbbngmh = this.GBEHDBBNGMH;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600E9A2 RID: 59810 RVA: 0x0035CBE4 File Offset: 0x0035ADE4
|
|
[Token(Token = "0x600E9A2")]
|
|
[Address(RVA = "0x9D67E0", Offset = "0x9D55E0", VA = "0x1809D67E0")]
|
|
public AvatarBodyShape GetRandom()
|
|
{
|
|
return ECNNGIFNNNM.NBMJEPIPHGC<AvatarBodyShape>(this.AvatarBodyShapes);
|
|
}
|
|
|
|
// Token: 0x0600E9A3 RID: 59811 RVA: 0x0035CBFC File Offset: 0x0035ADFC
|
|
[Token(Token = "0x600E9A3")]
|
|
[Address(RVA = "0x9D67A0", Offset = "0x9D55A0", VA = "0x1809D67A0")]
|
|
public AvatarBodyShape GetDefault()
|
|
{
|
|
return Enumerable.First<AvatarBodyShape>(this.AvatarBodyShapes);
|
|
}
|
|
|
|
// Token: 0x0600E9A4 RID: 59812 RVA: 0x0035CC14 File Offset: 0x0035AE14
|
|
[Token(Token = "0x600E9A4")]
|
|
[Address(RVA = "0x9D6820", Offset = "0x9D5620", VA = "0x1809D6820")]
|
|
public AvatarBodyShapeVault()
|
|
{
|
|
Dictionary<string, AvatarBodyShape> dictionary = new Dictionary();
|
|
this.GBEHDBBNGMH = dictionary;
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x04009A15 RID: 39445
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4009A15")]
|
|
[Tooltip("Used only for decorative purposes.")]
|
|
public string Label = "My Vault";
|
|
|
|
// Token: 0x04009A16 RID: 39446
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4009A16")]
|
|
public List<AvatarBodyShape> AvatarBodyShapes;
|
|
|
|
// Token: 0x04009A17 RID: 39447
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4009A17")]
|
|
private Dictionary<string, AvatarBodyShape> GBEHDBBNGMH;
|
|
}
|
|
}
|