scripts
This commit is contained in:
@@ -0,0 +1,89 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RecRoom.Avatar
|
||||
{
|
||||
// Token: 0x0200216B RID: 8555
|
||||
[Token(Token = "0x200216B")]
|
||||
[StructLayout(3)]
|
||||
public class AvatarFaceShapeVault : MonoBehaviour
|
||||
{
|
||||
// Token: 0x0600EB81 RID: 60289 RVA: 0x0037D240 File Offset: 0x0037B440
|
||||
[Token(Token = "0x600EB81")]
|
||||
[Address(RVA = "0x129DDE0", Offset = "0x129C7E0", VA = "0x18129DDE0")]
|
||||
protected void Awake()
|
||||
{
|
||||
int num;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
List<AvatarFaceShape> avatarFaceShapes = this.AvatarFaceShapes;
|
||||
List.Enumerator enumerator;
|
||||
if (enumerator != 0)
|
||||
{
|
||||
Dictionary<string, AvatarFaceShape> gbehdbbngmh = this.GBEHDBBNGMH;
|
||||
bool flag;
|
||||
if (!flag)
|
||||
{
|
||||
Dictionary<string, AvatarFaceShape> gbehdbbngmh2 = this.GBEHDBBNGMH;
|
||||
}
|
||||
string text;
|
||||
Debug.LogError(text);
|
||||
}
|
||||
if (num != -1)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
}
|
||||
|
||||
// Token: 0x0600EB82 RID: 60290 RVA: 0x0037D290 File Offset: 0x0037B490
|
||||
[Token(Token = "0x600EB82")]
|
||||
[Address(RVA = "0x129DFA0", Offset = "0x129C9A0", VA = "0x18129DFA0")]
|
||||
public AvatarFaceShape Find(string COFLAJFOPEN)
|
||||
{
|
||||
if (this.GBEHDBBNGMH.ContainsKey(COFLAJFOPEN))
|
||||
{
|
||||
return this.GBEHDBBNGMH[COFLAJFOPEN];
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600EB83 RID: 60291 RVA: 0x0037D2C0 File Offset: 0x0037B4C0
|
||||
[Token(Token = "0x600EB83")]
|
||||
[Address(RVA = "0x129E030", Offset = "0x129CA30", VA = "0x18129E030")]
|
||||
public AvatarFaceShape GetRandom()
|
||||
{
|
||||
return ListExt.Random<AvatarFaceShape>(this.AvatarFaceShapes);
|
||||
}
|
||||
|
||||
// Token: 0x0600EB84 RID: 60292 RVA: 0x0037D2D8 File Offset: 0x0037B4D8
|
||||
[Token(Token = "0x600EB84")]
|
||||
[Address(RVA = "0x129E070", Offset = "0x129CA70", VA = "0x18129E070")]
|
||||
public AvatarFaceShapeVault()
|
||||
{
|
||||
Dictionary<string, AvatarFaceShape> dictionary = new Dictionary();
|
||||
this.GBEHDBBNGMH = dictionary;
|
||||
base..ctor();
|
||||
}
|
||||
|
||||
// Token: 0x04009BFD RID: 39933
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4009BFD")]
|
||||
[Tooltip("Used only for decorative purposes.")]
|
||||
public string Label = "My Vault";
|
||||
|
||||
// Token: 0x04009BFE RID: 39934
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4009BFE")]
|
||||
public List<AvatarFaceShape> AvatarFaceShapes;
|
||||
|
||||
// Token: 0x04009BFF RID: 39935
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4009BFF")]
|
||||
private Dictionary<string, AvatarFaceShape> GBEHDBBNGMH;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user