scripts
This commit is contained in:
@@ -0,0 +1,163 @@
|
||||
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: 0x02002B4A RID: 11082
|
||||
[Token(Token = "0x2002B4A")]
|
||||
[StructLayout(3)]
|
||||
public class PNPNDCDHEHA : OMKPHDBNLKH<RoleGuidSetEditableUIControl, ISet<Guid>>
|
||||
{
|
||||
// Token: 0x170033AE RID: 13230
|
||||
// (get) Token: 0x060135F0 RID: 79344 RVA: 0x004A56F0 File Offset: 0x004A38F0
|
||||
[Token(Token = "0x170033AE")]
|
||||
private Dictionary<string, FriendlyGuidButton.GKBOCIFIACL> ECKMHIHBINC
|
||||
{
|
||||
[Token(Token = "0x60135F0")]
|
||||
[Address(RVA = "0x182D670", Offset = "0x182C070", VA = "0x18182D670")]
|
||||
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);
|
||||
}
|
||||
List.Enumerator enumerator;
|
||||
if (enumerator != 0)
|
||||
{
|
||||
int freeList = dictionary.freeList;
|
||||
bool flag;
|
||||
while (!flag)
|
||||
{
|
||||
}
|
||||
Dictionary<string, FriendlyGuidButton.GKBOCIFIACL> chfeogbkepg2 = this.CHFEOGBKEPG;
|
||||
JODJCHDDNLK jodjchddnlk2 = new JODJCHDDNLK();
|
||||
Dictionary.Entry[] entries = dictionary.entries;
|
||||
jodjchddnlk2.<ANEEJFCIFJF>k__BackingField = entries;
|
||||
}
|
||||
if (num != -1)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
return this.CHFEOGBKEPG;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060135F1 RID: 79345 RVA: 0x004A57AC File Offset: 0x004A39AC
|
||||
[Token(Token = "0x60135F1")]
|
||||
[Address(RVA = "0x182DC20", Offset = "0x182C620", VA = "0x18182DC20")]
|
||||
public PNPNDCDHEHA(OMKPHDBNLKH<RoleGuidSetEditableUIControl, ISet<Guid>>.DEDABHKCIBG prefabResolver, OMKPHDBNLKH<RoleGuidSetEditableUIControl, ISet<Guid>>.OHINDOLFNMP onInstanceCreated, int priority, bool allowNoRole = false, [Optional] string customPropertyValueText)
|
||||
{
|
||||
Delegate @delegate;
|
||||
do
|
||||
{
|
||||
base..ctor(prefabResolver, onInstanceCreated, priority);
|
||||
this.FABNEFFBDJE = false;
|
||||
this.EILHMGFLPKD = 0;
|
||||
OMKPHDBNLKH<RoleGuidSetEditableUIControl, ISet<Guid>>.OHINDOLFNMP ohindolfnmp = new OMKPHDBNLKH.OHINDOLFNMP(this.PBKOOIJFKLJ);
|
||||
@delegate = Delegate.Combine(onInstanceCreated, ohindolfnmp);
|
||||
}
|
||||
while (@delegate != 0 && @delegate == 0);
|
||||
}
|
||||
|
||||
// Token: 0x060135F2 RID: 79346 RVA: 0x004A57F0 File Offset: 0x004A39F0
|
||||
[Token(Token = "0x60135F2")]
|
||||
[Address(RVA = "0x182D960", Offset = "0x182C360", VA = "0x18182D960", Slot = "5")]
|
||||
public override void Dispose()
|
||||
{
|
||||
Action action = new Action(this.PNAKCHFJGCF);
|
||||
Action<GameRole> action2 = new Action(this.BKKMGGHJPDG);
|
||||
base..ctor();
|
||||
}
|
||||
|
||||
// Token: 0x060135F3 RID: 79347 RVA: 0x004A5820 File Offset: 0x004A3A20
|
||||
[Token(Token = "0x60135F3")]
|
||||
[Address(RVA = "0x1036010", Offset = "0x1034A10", VA = "0x181036010")]
|
||||
private void PNAKCHFJGCF()
|
||||
{
|
||||
this.CHFEOGBKEPG = (ulong)0L;
|
||||
}
|
||||
|
||||
// Token: 0x060135F4 RID: 79348 RVA: 0x004A5838 File Offset: 0x004A3A38
|
||||
[Token(Token = "0x60135F4")]
|
||||
[Address(RVA = "0x1036010", Offset = "0x1034A10", VA = "0x181036010")]
|
||||
private void BKKMGGHJPDG(GameRole IENKDAKBEDP)
|
||||
{
|
||||
this.CHFEOGBKEPG = (ulong)0L;
|
||||
}
|
||||
|
||||
// Token: 0x060135F5 RID: 79349 RVA: 0x004A5850 File Offset: 0x004A3A50
|
||||
[Token(Token = "0x60135F5")]
|
||||
[Address(RVA = "0x182D590", Offset = "0x182BF90", VA = "0x18182D590")]
|
||||
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)
|
||||
{
|
||||
}
|
||||
propertyValueText.text = "Player Roles";
|
||||
return;
|
||||
}
|
||||
propertyValueText.text = "Add Custom Game Roles to Select.";
|
||||
}
|
||||
|
||||
// Token: 0x060135F6 RID: 79350 RVA: 0x004A58AC File Offset: 0x004A3AAC
|
||||
[Token(Token = "0x60135F6")]
|
||||
[Address(RVA = "0x182DA80", Offset = "0x182C480", VA = "0x18182DA80")]
|
||||
[CompilerGenerated]
|
||||
private void PBKOOIJFKLJ(RoleGuidSetEditableUIControl GCCLEJOGCCE)
|
||||
{
|
||||
GCCLEJOGCCE.PropertyDescription.text = "Roles";
|
||||
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: 0x0400D273 RID: 53875
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400D273")]
|
||||
private bool FABNEFFBDJE;
|
||||
|
||||
// Token: 0x0400D274 RID: 53876
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x400D274")]
|
||||
private string EILHMGFLPKD;
|
||||
|
||||
// Token: 0x0400D275 RID: 53877
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x400D275")]
|
||||
private Dictionary<string, FriendlyGuidButton.GKBOCIFIACL> CHFEOGBKEPG;
|
||||
}
|
||||
Reference in New Issue
Block a user