160 lines
5.3 KiB
C#
160 lines
5.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Runtime.InteropServices;
|
|
using AGUI;
|
|
using AGUI.StackedUI;
|
|
using Cpp2IlInjected;
|
|
using RecRoom.Systems.PlayerRoles;
|
|
using TMPro;
|
|
|
|
// Token: 0x0200307A RID: 12410
|
|
[Token(Token = "0x200307A")]
|
|
public class PNPNDCDHEHA : OMKPHDBNLKH<RoleGuidSetEditableUIControl, ISet<Guid>>
|
|
{
|
|
// Token: 0x17003A3F RID: 14911
|
|
// (get) Token: 0x060151FF RID: 86527 RVA: 0x004F1BB8 File Offset: 0x004EFDB8
|
|
[Token(Token = "0x17003A3F")]
|
|
private Dictionary<string, FriendlyGuidButton.GKBOCIFIACL> ECKMHIHBINC
|
|
{
|
|
[Token(Token = "0x60151FF")]
|
|
[Address(RVA = "0xCF8170", Offset = "0xCF6F70", VA = "0x180CF8170")]
|
|
get
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
if (this.CHFEOGBKEPG != num)
|
|
{
|
|
break;
|
|
}
|
|
Dictionary<string, FriendlyGuidButton.GKBOCIFIACL> dictionary = new Dictionary();
|
|
this.CHFEOGBKEPG = dictionary;
|
|
PlayerGameRoleManager instance = PlayerGameRoleManager.ONCPNMDGGKG;
|
|
int num2 = 0;
|
|
List<GameRole> sortedActiveRoles = instance.GetSortedActiveRoles(num2 != 0);
|
|
if ((this.FABNEFFBDJE ? 1 : 0) != num)
|
|
{
|
|
Dictionary<string, FriendlyGuidButton.GKBOCIFIACL> chfeogbkepg = this.CHFEOGBKEPG;
|
|
JODJCHDDNLK jodjchddnlk = new JODJCHDDNLK();
|
|
Guid empty = Guid.Empty;
|
|
jodjchddnlk.<ANEEJFCIFJF>k__BackingField = empty;
|
|
chfeogbkepg.Add("None", jodjchddnlk);
|
|
}
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
int freeList = dictionary.freeList;
|
|
bool flag2;
|
|
while (!flag2)
|
|
{
|
|
}
|
|
Dictionary<string, FriendlyGuidButton.GKBOCIFIACL> chfeogbkepg2 = this.CHFEOGBKEPG;
|
|
JODJCHDDNLK jodjchddnlk2 = new JODJCHDDNLK();
|
|
Dictionary.Entry[] entries = dictionary.entries;
|
|
jodjchddnlk2.<ANEEJFCIFJF>k__BackingField = entries;
|
|
}
|
|
}
|
|
while (num != 0);
|
|
return this.CHFEOGBKEPG;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06015200 RID: 86528 RVA: 0x004F1C70 File Offset: 0x004EFE70
|
|
[Token(Token = "0x6015200")]
|
|
[Address(RVA = "0xCF86F0", Offset = "0xCF74F0", VA = "0x180CF86F0")]
|
|
public PNPNDCDHEHA(OMKPHDBNLKH<RoleGuidSetEditableUIControl, ISet<Guid>>.DEDABHKCIBG HPFEHNJIKHO, OMKPHDBNLKH<RoleGuidSetEditableUIControl, ISet<Guid>>.OHINDOLFNMP FFPIJPDPNEO, int JMHKMOACHDG, bool FABNEFFBDJE = false, [Optional] string EILHMGFLPKD)
|
|
{
|
|
Delegate @delegate;
|
|
do
|
|
{
|
|
base..ctor(HPFEHNJIKHO, FFPIJPDPNEO, JMHKMOACHDG);
|
|
this.FABNEFFBDJE = false;
|
|
this.EILHMGFLPKD = 0;
|
|
OMKPHDBNLKH<RoleGuidSetEditableUIControl, ISet<Guid>>.OHINDOLFNMP ohindolfnmp = new OMKPHDBNLKH.OHINDOLFNMP(this.PBKOOIJFKLJ);
|
|
@delegate = Delegate.Combine(FFPIJPDPNEO, ohindolfnmp);
|
|
}
|
|
while (@delegate != 0 && @delegate == 0);
|
|
}
|
|
|
|
// Token: 0x06015201 RID: 86529 RVA: 0x004F1CB4 File Offset: 0x004EFEB4
|
|
[Token(Token = "0x6015201")]
|
|
[Address(RVA = "0xCF8420", Offset = "0xCF7220", VA = "0x180CF8420", Slot = "5")]
|
|
public override void Dispose()
|
|
{
|
|
Action action = new Action(this.PNAKCHFJGCF);
|
|
Action<GameRole> action2 = new Action(this.BKKMGGHJPDG);
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x06015202 RID: 86530 RVA: 0x004F1CE4 File Offset: 0x004EFEE4
|
|
[Token(Token = "0x6015202")]
|
|
[Address(RVA = "0x9FD440", Offset = "0x9FC240", VA = "0x1809FD440")]
|
|
private void PNAKCHFJGCF()
|
|
{
|
|
this.CHFEOGBKEPG = (ulong)0L;
|
|
}
|
|
|
|
// Token: 0x06015203 RID: 86531 RVA: 0x004F1CFC File Offset: 0x004EFEFC
|
|
[Token(Token = "0x6015203")]
|
|
[Address(RVA = "0x9FD440", Offset = "0x9FC240", VA = "0x1809FD440")]
|
|
private void BKKMGGHJPDG(GameRole IENKDAKBEDP)
|
|
{
|
|
this.CHFEOGBKEPG = (ulong)0L;
|
|
}
|
|
|
|
// Token: 0x06015204 RID: 86532 RVA: 0x004F1D14 File Offset: 0x004EFF14
|
|
[Token(Token = "0x6015204")]
|
|
[Address(RVA = "0xCF8090", Offset = "0xCF6E90", VA = "0x180CF8090")]
|
|
private void BCPDLEKNMIB(RoleGuidSetEditableUIControl GCCLEJOGCCE)
|
|
{
|
|
Dictionary<string, FriendlyGuidButton.GKBOCIFIACL> dictionary = this.BOFKEBNNDCO();
|
|
GCCLEJOGCCE.SetOptions(dictionary);
|
|
int count = this.BOFKEBNNDCO().Count;
|
|
TextMeshProUGUI propertyValueText = GCCLEJOGCCE.PropertyValueText;
|
|
if (count != 0)
|
|
{
|
|
string eilhmgflpkd = this.EILHMGFLPKD;
|
|
if (count == 0)
|
|
{
|
|
}
|
|
bool isCompleted = ((IAsyncResult)propertyValueText).IsCompleted;
|
|
return;
|
|
}
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06015205 RID: 86533 RVA: 0x004F1D60 File Offset: 0x004EFF60
|
|
[Token(Token = "0x6015205")]
|
|
[Address(RVA = "0xCF8540", Offset = "0xCF7340", VA = "0x180CF8540")]
|
|
[CompilerGenerated]
|
|
private void PBKOOIJFKLJ(RoleGuidSetEditableUIControl GCCLEJOGCCE)
|
|
{
|
|
string text = GCCLEJOGCCE.PropertyDescription.text;
|
|
TextMeshProUGUI propertyDescription = GCCLEJOGCCE.PropertyDescription;
|
|
int num = 0;
|
|
propertyDescription.enabled = num != 0;
|
|
Dictionary<string, FriendlyGuidButton.GKBOCIFIACL> dictionary = this.BOFKEBNNDCO();
|
|
GCCLEJOGCCE.SetOptions(dictionary);
|
|
Action<RoleGuidSetEditableUIControl> action = new Action(this.BCPDLEKNMIB);
|
|
Action action2 = new Action(this.PNAKCHFJGCF);
|
|
Action<GameRole> action3 = new Action(this.BKKMGGHJPDG);
|
|
}
|
|
|
|
// Token: 0x0400DFFB RID: 57339
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x400DFFB")]
|
|
private bool FABNEFFBDJE;
|
|
|
|
// Token: 0x0400DFFC RID: 57340
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x400DFFC")]
|
|
private string EILHMGFLPKD;
|
|
|
|
// Token: 0x0400DFFD RID: 57341
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x400DFFD")]
|
|
private Dictionary<string, FriendlyGuidButton.GKBOCIFIACL> CHFEOGBKEPG;
|
|
}
|