scripts
This commit is contained in:
@@ -0,0 +1,93 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using RecRoom.Avatar;
|
||||
using RecRoom.Players.Watch;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace RRUI.Data
|
||||
{
|
||||
// Token: 0x0200088C RID: 2188
|
||||
[Token(Token = "0x200088C")]
|
||||
[StructLayout(3)]
|
||||
public class AvatarColorModelController : ModelController<AvatarColorModel>
|
||||
{
|
||||
// Token: 0x06003C0D RID: 15373 RVA: 0x000F6CCC File Offset: 0x000F4ECC
|
||||
[Token(Token = "0x6003C0D")]
|
||||
[Address(RVA = "0x1A4BB70", Offset = "0x1A4A570", VA = "0x181A4BB70")]
|
||||
public AvatarColorModelController()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0200088D RID: 2189
|
||||
[Token(Token = "0x200088D")]
|
||||
[Serializable]
|
||||
private class AvatarColorToggleImpl : ToggleControllerImpl<AvatarColorModel>
|
||||
{
|
||||
// Token: 0x17000A91 RID: 2705
|
||||
// (get) Token: 0x06003C0E RID: 15374 RVA: 0x000F6CE0 File Offset: 0x000F4EE0
|
||||
[Token(Token = "0x17000A91")]
|
||||
private bool HasPurchaseableGiftDrop
|
||||
{
|
||||
[Token(Token = "0x6003C0E")]
|
||||
[Address(RVA = "0x1A4CD10", Offset = "0x1A4B710", VA = "0x181A4CD10")]
|
||||
get
|
||||
{
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06003C0F RID: 15375 RVA: 0x000F6CF4 File Offset: 0x000F4EF4
|
||||
[Token(Token = "0x6003C0F")]
|
||||
[Address(RVA = "0x1A4C5E0", Offset = "0x1A4AFE0", VA = "0x181A4C5E0", Slot = "27")]
|
||||
protected override void DMAHGBLDMFA()
|
||||
{
|
||||
PlayerAvatar playerAvatar = Player.<EGKJPJKLEAI>k__BackingField.playerAvatar;
|
||||
if (typeof(Player).TypeHandle != 0)
|
||||
{
|
||||
if (typeof(Player).TypeHandle != 0)
|
||||
{
|
||||
if (typeof(Player).TypeHandle != (ulong)1L)
|
||||
{
|
||||
goto IL_56;
|
||||
}
|
||||
int num = 0;
|
||||
bool flag = ColorVault.ColorToGuid.JGIMJGNAJHP(playerAvatar.PJNMPOMKBLP, num);
|
||||
}
|
||||
int num2 = 0;
|
||||
bool flag2 = ColorVault.ColorToGuid.JGIMJGNAJHP(playerAvatar.DFHCLOMMMJG, num2);
|
||||
}
|
||||
int num3 = 0;
|
||||
bool flag3 = ColorVault.ColorToGuid.JGIMJGNAJHP(playerAvatar.IAFAJCENECF, num3);
|
||||
IL_56:
|
||||
Image image = this.pricetagImage;
|
||||
int num4 = 0;
|
||||
image.enabled = num4 != 0;
|
||||
}
|
||||
|
||||
// Token: 0x06003C10 RID: 15376 RVA: 0x000F6D78 File Offset: 0x000F4F78
|
||||
[Token(Token = "0x6003C10")]
|
||||
[Address(RVA = "0x1A4C8E0", Offset = "0x1A4B2E0", VA = "0x181A4C8E0", Slot = "29")]
|
||||
protected override void IKNMALNFPII()
|
||||
{
|
||||
int num = 0;
|
||||
WatchMenuProjector watchMenuProjector;
|
||||
watchMenuProjector.AuthorityOpenMenuDetached(num != 0);
|
||||
}
|
||||
|
||||
// Token: 0x06003C11 RID: 15377 RVA: 0x000F6DB0 File Offset: 0x000F4FB0
|
||||
[Token(Token = "0x6003C11")]
|
||||
[Address(RVA = "0x1A4CCD0", Offset = "0x1A4B6D0", VA = "0x181A4CCD0")]
|
||||
public AvatarColorToggleImpl()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04003324 RID: 13092
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x4003324")]
|
||||
[SerializeField]
|
||||
private Image pricetagImage;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user