118 lines
5.4 KiB
C#
118 lines
5.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using Cpp2IlInjected;
|
|
using RecRoom.Avatars;
|
|
|
|
namespace RRUI.Data
|
|
{
|
|
// Token: 0x02000C9D RID: 3229
|
|
[Token(Token = "0x2000C9D")]
|
|
public class HairPatternListModel : ListModel
|
|
{
|
|
// Token: 0x17000E10 RID: 3600
|
|
// (get) Token: 0x06004E06 RID: 19974 RVA: 0x0011CF8C File Offset: 0x0011B18C
|
|
[Token(Token = "0x17000E10")]
|
|
protected override bool PHGOLNMDJLH
|
|
{
|
|
[Token(Token = "0x6004E06")]
|
|
[Address(RVA = "0x4246A0", Offset = "0x4236A0", VA = "0x1804246A0", Slot = "12")]
|
|
get
|
|
{
|
|
return true;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000E11 RID: 3601
|
|
// (get) Token: 0x06004E07 RID: 19975 RVA: 0x0011CF9C File Offset: 0x0011B19C
|
|
[Token(Token = "0x17000E11")]
|
|
protected override bool DALKHIPOALJ
|
|
{
|
|
[Token(Token = "0x6004E07")]
|
|
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "27")]
|
|
get
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000E12 RID: 3602
|
|
// (get) Token: 0x06004E08 RID: 19976 RVA: 0x0011CFAC File Offset: 0x0011B1AC
|
|
[Token(Token = "0x17000E12")]
|
|
public override bool MEBGJGNMIMG
|
|
{
|
|
[Token(Token = "0x6004E08")]
|
|
[Address(RVA = "0x1740CE0", Offset = "0x173FCE0", VA = "0x181740CE0", Slot = "26")]
|
|
get
|
|
{
|
|
bool flag;
|
|
return this.HOMLMMDPEFJ == 0 || flag;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000E13 RID: 3603
|
|
// (get) Token: 0x06004E09 RID: 19977 RVA: 0x0011CFC8 File Offset: 0x0011B1C8
|
|
[Token(Token = "0x17000E13")]
|
|
public IReadOnlyList<AvatarHairPattern> CGDBLHIHLLH
|
|
{
|
|
[Token(Token = "0x6004E09")]
|
|
[Address(RVA = "0x54F060", Offset = "0x54E060", VA = "0x18054F060")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06004E09)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IReadOnlyList`1<RecRoom.Avatars.AvatarHairPattern> RRUI.Data.HairPatternListModel::get_Patterns()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:class [mscorlib]System.Collections.Generic.List`1<class RecRoom.Avatars.AvatarHairPattern>(var_0_06, ldfld:class [mscorlib]System.Collections.Generic.List`1<class RecRoom.Avatars.AvatarHairPattern>(HairPatternListModel::HOMLMMDPEFJ, ldloc:HairPatternListModel(this)))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004E0A RID: 19978 RVA: 0x0011CFDC File Offset: 0x0011B1DC
|
|
[Token(Token = "0x6004E0A")]
|
|
[Address(RVA = "0x1740B80", Offset = "0x173FB80", VA = "0x181740B80", Slot = "22")]
|
|
protected override void AHFKACICJNC()
|
|
{
|
|
base.AHFKACICJNC();
|
|
this.HOMLMMDPEFJ = (ulong)0L;
|
|
}
|
|
|
|
// Token: 0x06004E0B RID: 19979 RVA: 0x0011CFF8 File Offset: 0x0011B1F8
|
|
[Token(Token = "0x6004E0B")]
|
|
[Address(RVA = "0x1740BD0", Offset = "0x173FBD0", VA = "0x181740BD0", Slot = "31")]
|
|
protected override DABKFAIHBBP GLPJPIEOLDF()
|
|
{
|
|
if (this.HOMLMMDPEFJ == (ulong)0L)
|
|
{
|
|
List<AvatarHairPattern> list = Enumerable.ToList<AvatarHairPattern>(NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.HairPatternVault.patterns);
|
|
this.HOMLMMDPEFJ = list;
|
|
}
|
|
return JJEKJGALHKO.<EIDHKJMHBEC>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06004E0C RID: 19980 RVA: 0x0011D038 File Offset: 0x0011B238
|
|
[Token(Token = "0x6004E0C")]
|
|
[Address(RVA = "0x173C7E0", Offset = "0x173B7E0", VA = "0x18173C7E0")]
|
|
public HairPatternListModel()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04003923 RID: 14627
|
|
[FieldOffset(Offset = "0x90")]
|
|
[Token(Token = "0x4003923")]
|
|
private List<AvatarHairPattern> HOMLMMDPEFJ;
|
|
}
|
|
}
|