141 lines
6.3 KiB
C#
141 lines
6.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using RecRoom;
|
|
using RecRoom.Async;
|
|
using RecRoom.Avatar;
|
|
|
|
namespace RRUI.Data
|
|
{
|
|
// Token: 0x02000AAA RID: 2730
|
|
[Token(Token = "0x2000AAA")]
|
|
[StructLayout(3)]
|
|
public class FaceShapeListModel : ListModel
|
|
{
|
|
// Token: 0x17000C3B RID: 3131
|
|
// (get) Token: 0x06004511 RID: 17681 RVA: 0x0010B190 File Offset: 0x00109390
|
|
[Token(Token = "0x17000C3B")]
|
|
protected override bool PHGOLNMDJLH
|
|
{
|
|
[Token(Token = "0x6004511")]
|
|
[Address(RVA = "0x4405A0", Offset = "0x43EFA0", VA = "0x1804405A0", Slot = "11")]
|
|
get
|
|
{
|
|
return true;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000C3C RID: 3132
|
|
// (get) Token: 0x06004512 RID: 17682 RVA: 0x0010B1A0 File Offset: 0x001093A0
|
|
[Token(Token = "0x17000C3C")]
|
|
protected override bool DALKHIPOALJ
|
|
{
|
|
[Token(Token = "0x6004512")]
|
|
[Address(RVA = "0x413970", Offset = "0x412370", VA = "0x180413970", Slot = "21")]
|
|
get
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000C3D RID: 3133
|
|
// (get) Token: 0x06004513 RID: 17683 RVA: 0x0010B1B0 File Offset: 0x001093B0
|
|
[Token(Token = "0x17000C3D")]
|
|
public override bool MEBGJGNMIMG
|
|
{
|
|
[Token(Token = "0x6004513")]
|
|
[Address(RVA = "0x186EE00", Offset = "0x186D800", VA = "0x18186EE00", Slot = "20")]
|
|
get
|
|
{
|
|
bool flag;
|
|
return this.MBCOPAPIIGC == 0 || flag;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000C3E RID: 3134
|
|
// (get) Token: 0x06004514 RID: 17684 RVA: 0x0010B1CC File Offset: 0x001093CC
|
|
[Token(Token = "0x17000C3E")]
|
|
public IReadOnlyList<AvatarFaceShape> OJMPBDJPJGP
|
|
{
|
|
[Token(Token = "0x6004514")]
|
|
[Address(RVA = "0x4BD780", Offset = "0x4BC180", VA = "0x1804BD780")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06004514)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IReadOnlyList`1<RecRoom.Avatar.AvatarFaceShape> RRUI.Data.FaceShapeListModel::get_FaceShapes()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:class [mscorlib]System.Collections.Generic.List`1<class RecRoom.Avatar.AvatarFaceShape>(var_0_06, ldfld:class [mscorlib]System.Collections.Generic.List`1<class RecRoom.Avatar.AvatarFaceShape>(FaceShapeListModel::MBCOPAPIIGC, ldloc:FaceShapeListModel(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: 0x06004515 RID: 17685 RVA: 0x0010B1E0 File Offset: 0x001093E0
|
|
[Token(Token = "0x6004515")]
|
|
[Address(RVA = "0x186ECF0", Offset = "0x186D6F0", VA = "0x18186ECF0", Slot = "16")]
|
|
protected override void OnEnable()
|
|
{
|
|
base.OnEnable();
|
|
ActionEvent localPlayerCreatedEvent = Player.LocalPlayerCreatedEvent;
|
|
Action action = new Action(base.MKBLJJGJAOH);
|
|
int num = 0;
|
|
localPlayerCreatedEvent.Add(action, num != 0);
|
|
}
|
|
|
|
// Token: 0x06004516 RID: 17686 RVA: 0x0010B218 File Offset: 0x00109418
|
|
[Token(Token = "0x6004516")]
|
|
[Address(RVA = "0x186EC30", Offset = "0x186D630", VA = "0x18186EC30", Slot = "17")]
|
|
protected override void OnDisable()
|
|
{
|
|
base.OnDisable();
|
|
ActionEvent localPlayerCreatedEvent = Player.LocalPlayerCreatedEvent;
|
|
Action action = new Action(base.MKBLJJGJAOH);
|
|
localPlayerCreatedEvent.Remove(action);
|
|
}
|
|
|
|
// Token: 0x06004517 RID: 17687 RVA: 0x0010B24C File Offset: 0x0010944C
|
|
[Token(Token = "0x6004517")]
|
|
[Address(RVA = "0x186EA30", Offset = "0x186D430", VA = "0x18186EA30", Slot = "19")]
|
|
protected override void AHFKACICJNC()
|
|
{
|
|
base.AHFKACICJNC();
|
|
this.MBCOPAPIIGC = (ulong)0L;
|
|
}
|
|
|
|
// Token: 0x06004518 RID: 17688 RVA: 0x0010B268 File Offset: 0x00109468
|
|
[Token(Token = "0x6004518")]
|
|
[Address(RVA = "0x186EA80", Offset = "0x186D480", VA = "0x18186EA80", Slot = "25")]
|
|
protected override IPromise GLPJPIEOLDF()
|
|
{
|
|
List<AvatarFaceShape> availableFaceShapes = Player.<EGKJPJKLEAI>k__BackingField.playerAvatar.GetAvailableFaceShapes();
|
|
this.MBCOPAPIIGC = availableFaceShapes;
|
|
return Promise.<CompletedPromise>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06004519 RID: 17689 RVA: 0x0010B298 File Offset: 0x00109498
|
|
[Token(Token = "0x6004519")]
|
|
[Address(RVA = "0x186EDC0", Offset = "0x186D7C0", VA = "0x18186EDC0")]
|
|
public FaceShapeListModel()
|
|
{
|
|
}
|
|
|
|
// Token: 0x040035C7 RID: 13767
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x90")]
|
|
[Token(Token = "0x40035C7")]
|
|
private List<AvatarFaceShape> MBCOPAPIIGC;
|
|
}
|
|
}
|