scripts
This commit is contained in:
@@ -0,0 +1,149 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using RecRoom;
|
||||
using RecRoom.Async;
|
||||
using RecRoom.Avatar.Face;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RRUI.Data
|
||||
{
|
||||
// Token: 0x02000AB1 RID: 2737
|
||||
[Token(Token = "0x2000AB1")]
|
||||
[StructLayout(3)]
|
||||
public class FaceStyleListModel : ListModel
|
||||
{
|
||||
// Token: 0x17000C42 RID: 3138
|
||||
// (get) Token: 0x06004530 RID: 17712 RVA: 0x0010B558 File Offset: 0x00109758
|
||||
[Token(Token = "0x17000C42")]
|
||||
protected override bool PHGOLNMDJLH
|
||||
{
|
||||
[Token(Token = "0x6004530")]
|
||||
[Address(RVA = "0x4405A0", Offset = "0x43EFA0", VA = "0x1804405A0", Slot = "11")]
|
||||
get
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000C43 RID: 3139
|
||||
// (get) Token: 0x06004531 RID: 17713 RVA: 0x0010B568 File Offset: 0x00109768
|
||||
[Token(Token = "0x17000C43")]
|
||||
protected override bool DALKHIPOALJ
|
||||
{
|
||||
[Token(Token = "0x6004531")]
|
||||
[Address(RVA = "0x413970", Offset = "0x412370", VA = "0x180413970", Slot = "21")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000C44 RID: 3140
|
||||
// (get) Token: 0x06004532 RID: 17714 RVA: 0x0010B578 File Offset: 0x00109778
|
||||
[Token(Token = "0x17000C44")]
|
||||
public override bool MEBGJGNMIMG
|
||||
{
|
||||
[Token(Token = "0x6004532")]
|
||||
[Address(RVA = "0x186FB90", Offset = "0x186E590", VA = "0x18186FB90", Slot = "20")]
|
||||
get
|
||||
{
|
||||
bool flag;
|
||||
return this.CIIJMINBOHJ == 0 || flag;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000C45 RID: 3141
|
||||
// (get) Token: 0x06004533 RID: 17715 RVA: 0x0010B594 File Offset: 0x00109794
|
||||
[Token(Token = "0x17000C45")]
|
||||
public IReadOnlyList<FaceFeatureBase> PBCLHPPGDHP
|
||||
{
|
||||
[Token(Token = "0x6004533")]
|
||||
[Address(RVA = "0x4D66C0", Offset = "0x4D50C0", VA = "0x1804D66C0")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06004533)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IReadOnlyList`1<RecRoom.Avatar.Face.FaceFeatureBase> RRUI.Data.FaceStyleListModel::get_FaceFeatures()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:class [mscorlib]System.Collections.Generic.List`1<class RecRoom.Avatar.Face.FaceFeatureBase>(var_0_06, ldfld:class [mscorlib]System.Collections.Generic.List`1<class RecRoom.Avatar.Face.FaceFeatureBase>(FaceStyleListModel::CIIJMINBOHJ, ldloc:FaceStyleListModel(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: 0x06004534 RID: 17716 RVA: 0x0010B5A8 File Offset: 0x001097A8
|
||||
[Token(Token = "0x6004534")]
|
||||
[Address(RVA = "0x186FAC0", Offset = "0x186E4C0", VA = "0x18186FAC0", 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: 0x06004535 RID: 17717 RVA: 0x0010B5E0 File Offset: 0x001097E0
|
||||
[Token(Token = "0x6004535")]
|
||||
[Address(RVA = "0x186FA00", Offset = "0x186E400", VA = "0x18186FA00", Slot = "17")]
|
||||
protected override void OnDisable()
|
||||
{
|
||||
base.OnDisable();
|
||||
ActionEvent localPlayerCreatedEvent = Player.LocalPlayerCreatedEvent;
|
||||
Action action = new Action(base.MKBLJJGJAOH);
|
||||
localPlayerCreatedEvent.Remove(action);
|
||||
}
|
||||
|
||||
// Token: 0x06004536 RID: 17718 RVA: 0x0010B614 File Offset: 0x00109814
|
||||
[Token(Token = "0x6004536")]
|
||||
[Address(RVA = "0x186F7F0", Offset = "0x186E1F0", VA = "0x18186F7F0", Slot = "19")]
|
||||
protected override void AHFKACICJNC()
|
||||
{
|
||||
base.AHFKACICJNC();
|
||||
this.CIIJMINBOHJ = (ulong)0L;
|
||||
}
|
||||
|
||||
// Token: 0x06004537 RID: 17719 RVA: 0x0010B630 File Offset: 0x00109830
|
||||
[Token(Token = "0x6004537")]
|
||||
[Address(RVA = "0x186F840", Offset = "0x186E240", VA = "0x18186F840", Slot = "25")]
|
||||
protected override IPromise GLPJPIEOLDF()
|
||||
{
|
||||
PlayerAvatar playerAvatar = Player.<EGKJPJKLEAI>k__BackingField.playerAvatar;
|
||||
FaceFeatureType faceFeatureType = this.faceFeatureType;
|
||||
List<FaceFeatureBase> availableFaceFeatures = playerAvatar.GetAvailableFaceFeatures(faceFeatureType);
|
||||
this.CIIJMINBOHJ = availableFaceFeatures;
|
||||
return Promise.<CompletedPromise>k__BackingField;
|
||||
}
|
||||
|
||||
// Token: 0x06004538 RID: 17720 RVA: 0x0010B66C File Offset: 0x0010986C
|
||||
[Token(Token = "0x6004538")]
|
||||
[Address(RVA = "0x186EDC0", Offset = "0x186D7C0", VA = "0x18186EDC0")]
|
||||
public FaceStyleListModel()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040035CA RID: 13770
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x90")]
|
||||
[Token(Token = "0x40035CA")]
|
||||
[SerializeField]
|
||||
private FaceFeatureType faceFeatureType;
|
||||
|
||||
// Token: 0x040035CB RID: 13771
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x98")]
|
||||
[Token(Token = "0x40035CB")]
|
||||
private List<FaceFeatureBase> CIIJMINBOHJ;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user