This commit is contained in:
niko
2026-04-08 23:40:05 +02:00
parent d6894bcbc7
commit 18dc73f922
7750 changed files with 1795369 additions and 0 deletions
@@ -0,0 +1,89 @@
using System;
using System.Runtime.InteropServices;
using AGUI.StackedUI;
using Cpp2IlInjected;
using UnityEngine;
namespace RecRoom
{
// Token: 0x02001DFE RID: 7678
[Token(Token = "0x2001DFE")]
[StructLayout(3)]
public class VoteKickConditionalButton : AccountBasedConditionalButton<Button3D>
{
// Token: 0x0600CEBC RID: 52924 RVA: 0x00312030 File Offset: 0x00310230
[Token(Token = "0x600CEBC")]
[Address(RVA = "0x1802980", Offset = "0x1801380", VA = "0x181802980", Slot = "10")]
protected override void Awake()
{
base.Awake();
ActionEvent<int, bool> isVotedForKickUpdated = PlayerModeration.IsVotedForKickUpdated;
Action<int, bool> action = new Action(this.LIAPOBHEPIF);
}
// Token: 0x0600CEBD RID: 52925 RVA: 0x0031205C File Offset: 0x0031025C
[Token(Token = "0x600CEBD")]
[Address(RVA = "0x1802D10", Offset = "0x1801710", VA = "0x181802D10", Slot = "11")]
protected override void OnDestroy()
{
base.OnDestroy();
ActionEvent<int, bool> isVotedForKickUpdated = PlayerModeration.IsVotedForKickUpdated;
Action<int, bool> action = new Action(this.LIAPOBHEPIF);
}
// Token: 0x0600CEBE RID: 52926 RVA: 0x00312088 File Offset: 0x00310288
[Token(Token = "0x600CEBE")]
[Address(RVA = "0x1802A50", Offset = "0x1801450", VA = "0x181802A50")]
private void LIAPOBHEPIF(int CJFGEMGOJHB, bool MNIELHDMKNK)
{
this.MOPPDBJPCAI();
}
// Token: 0x0600CEBF RID: 52927 RVA: 0x003120A4 File Offset: 0x003102A4
[Token(Token = "0x600CEBF")]
[Address(RVA = "0x1802AF0", Offset = "0x18014F0", VA = "0x181802AF0", Slot = "14")]
protected override void NOMNHOEBGIA()
{
bool inRecRoyale = SessionManager.LPJJAFGKAKH;
if (inRecRoyale && NetworkedSingletonMonoBehaviour.FFNIFALJLDD && NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.IJLNEFDNPAO)
{
this.tooltip.Message = "Vote kick disabled while game in progress";
int num = 0;
base.ILGFOHIJHMG = num;
return;
}
while (!inRecRoyale)
{
}
Player player = Player.FindLocalPlayer(inRecRoyale ? 1 : 0);
int num2 = 0;
if (!(player != num2))
{
Tooltip tooltip = this.tooltip;
}
PlayerModeration playerModeration = player.playerModeration;
Tooltip tooltip2 = this.tooltip;
bool jllecikkccf = playerModeration.JLLECIKKCCF;
tooltip2.Message = "Already started vote kick";
while (jllecikkccf)
{
}
base.ILGFOHIJHMG = 1;
this.tooltip.Message = "Start a vote kick";
}
// Token: 0x0600CEC0 RID: 52928 RVA: 0x00312158 File Offset: 0x00310358
[Token(Token = "0x600CEC0")]
[Address(RVA = "0x1802DE0", Offset = "0x18017E0", VA = "0x181802DE0")]
public VoteKickConditionalButton()
{
}
// Token: 0x04008B84 RID: 35716
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
[Token(Token = "0x4008B84")]
[SerializeField]
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false)]
private Tooltip tooltip;
}
}