Files
2026-04-08 23:40:05 +02:00

147 lines
4.7 KiB
C#

using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
using UnityEngine;
namespace RecRoom.Avatar.Face
{
// Token: 0x020021D3 RID: 8659
[Token(Token = "0x20021D3")]
[CreateAssetMenu]
[StructLayout(3)]
public sealed class FaceStyleSet : ScriptableObject
{
// Token: 0x170027FF RID: 10239
// (get) Token: 0x0600EE95 RID: 61077 RVA: 0x00388CF0 File Offset: 0x00386EF0
[Token(Token = "0x170027FF")]
private bool dictionariesInitialized
{
[Token(Token = "0x600EE95")]
[Address(RVA = "0x12A3830", Offset = "0x12A2230", VA = "0x1812A3830")]
get
{
while (this.eyeFeatureDictionary == (ulong)0L)
{
}
return true;
}
}
// Token: 0x0600EE96 RID: 61078 RVA: 0x00388D0C File Offset: 0x00386F0C
[Token(Token = "0x600EE96")]
[Address(RVA = "0x12A34F0", Offset = "0x12A1EF0", VA = "0x1812A34F0")]
public CJNFHDFMEOG MFBDEFCEDGN(int OLGPCPAHNDA, int ABLIGCOBGHL)
{
SymmetricalFaceFeature[] eyes = this.Eyes;
Debug.LogWarning("Eye selection out of range, setting to default");
int num = 0;
FaceFeature[] mouths = this.Mouths;
Debug.LogWarning("Mouth selection out of range, setting to default");
int num2 = 0;
SymmetricalFaceFeature[] eyes2 = this.Eyes;
FaceFeature[] mouths2 = this.Mouths;
SymmetricalFaceFeature symmetricalFaceFeature = eyes2[num];
FaceFeature faceFeature = mouths2[num2];
return new CJNFHDFMEOG(symmetricalFaceFeature, faceFeature);
}
// Token: 0x0600EE97 RID: 61079 RVA: 0x00388D74 File Offset: 0x00386F74
[Token(Token = "0x600EE97")]
[Address(RVA = "0x12A3640", Offset = "0x12A2040", VA = "0x1812A3640")]
public FaceFeatureBase NFCLIMCPGIN(FaceFeatureType KAFCOGJFANK, string COFLAJFOPEN)
{
int num = 0;
if (this.eyeFeatureDictionary == num && this.mouthFeatureDictionary <= num)
{
this.OEGCJOEKMAG();
}
if (KAFCOGJFANK == FaceFeatureType.Eye)
{
bool flag = this.eyeFeatureDictionary.TryGetValue(COFLAJFOPEN, num);
}
throw new NullReferenceException();
}
// Token: 0x0600EE98 RID: 61080 RVA: 0x00388DB4 File Offset: 0x00386FB4
[Token(Token = "0x600EE98")]
[Address(RVA = "0x12A3470", Offset = "0x12A1E70", VA = "0x1812A3470")]
public int GGKOCAMLHNF(string COFLAJFOPEN)
{
if (this.eyeFeatureDictionary == (ulong)0L && this.mouthFeatureDictionary <= (ulong)0L)
{
this.OEGCJOEKMAG();
}
Dictionary<string, int> dictionary = this.featureToIndexMap;
throw new NullReferenceException();
}
// Token: 0x0600EE99 RID: 61081 RVA: 0x00388DEC File Offset: 0x00386FEC
[Token(Token = "0x600EE99")]
[Address(RVA = "0x12A3710", Offset = "0x12A2110", VA = "0x1812A3710")]
private void OEGCJOEKMAG()
{
if (this.eyeFeatureDictionary == (ulong)0L && this.mouthFeatureDictionary <= (ulong)0L)
{
Dictionary<string, SymmetricalFaceFeature> dictionary = new Dictionary();
this.eyeFeatureDictionary = dictionary;
Dictionary<string, FaceFeature> dictionary2 = new Dictionary();
this.mouthFeatureDictionary = dictionary2;
}
}
// Token: 0x0600EE9A RID: 61082 RVA: 0x00388E2C File Offset: 0x0038702C
[Token(Token = "0x600EE9A")]
[Address(RVA = "0x1AAF3B0", Offset = "0x1AADDB0", VA = "0x181AAF3B0")]
private void OIFINHKAJGI<T>(Dictionary<string, T> IOHBEHECBGL, T[] JNEKGKBHBCN) where T : FaceFeatureBase
{
if (IOHBEHECBGL != 0 && JNEKGKBHBCN != 0 && JNEKGKBHBCN.Length != 0)
{
int num = 0;
int length = JNEKGKBHBCN.Length;
if (num < length)
{
T t = JNEKGKBHBCN[num];
Dictionary<string, int> dictionary = this.featureToIndexMap;
num++;
}
}
}
// Token: 0x0600EE9B RID: 61083 RVA: 0x00388E70 File Offset: 0x00387070
[Token(Token = "0x600EE9B")]
[Address(RVA = "0x12A37D0", Offset = "0x12A21D0", VA = "0x1812A37D0")]
public FaceStyleSet()
{
Dictionary<string, int> dictionary = new Dictionary();
this.featureToIndexMap = dictionary;
base..ctor();
}
// Token: 0x04009E73 RID: 40563
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4009E73")]
public SymmetricalFaceFeature[] Eyes;
// Token: 0x04009E74 RID: 40564
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4009E74")]
public FaceFeature[] Mouths;
// Token: 0x04009E75 RID: 40565
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x4009E75")]
private Dictionary<string, SymmetricalFaceFeature> eyeFeatureDictionary;
// Token: 0x04009E76 RID: 40566
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x4009E76")]
private Dictionary<string, FaceFeature> mouthFeatureDictionary;
// Token: 0x04009E77 RID: 40567
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
[Token(Token = "0x4009E77")]
private Dictionary<string, int> featureToIndexMap;
}
}