oh dear
This commit is contained in:
@@ -0,0 +1,96 @@
|
||||
using System;
|
||||
using AGUI.StackedUI;
|
||||
using Cpp2IlInjected;
|
||||
using RecNet;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RecRoom
|
||||
{
|
||||
// Token: 0x0200219B RID: 8603
|
||||
[Token(Token = "0x200219B")]
|
||||
public class VoteKickConditionalButton : AccountBasedConditionalButton<Button3D>
|
||||
{
|
||||
// Token: 0x0600DCB2 RID: 56498 RVA: 0x00333010 File Offset: 0x00331210
|
||||
[Token(Token = "0x600DCB2")]
|
||||
[Address(RVA = "0x1119C10", Offset = "0x1118A10", VA = "0x181119C10", Slot = "10")]
|
||||
protected override void Awake()
|
||||
{
|
||||
base.Awake();
|
||||
IILCGFIHJLP<int, bool> isVotedForKickUpdated = PlayerModeration.IsVotedForKickUpdated;
|
||||
Action<int, bool> action = new Action(this.LIAPOBHEPIF);
|
||||
}
|
||||
|
||||
// Token: 0x0600DCB3 RID: 56499 RVA: 0x0033303C File Offset: 0x0033123C
|
||||
[Token(Token = "0x600DCB3")]
|
||||
[Address(RVA = "0x111A170", Offset = "0x1118F70", VA = "0x18111A170", Slot = "11")]
|
||||
protected override void OnDestroy()
|
||||
{
|
||||
base.OnDestroy();
|
||||
IILCGFIHJLP<int, bool> isVotedForKickUpdated = PlayerModeration.IsVotedForKickUpdated;
|
||||
Action<int, bool> action = new Action(this.LIAPOBHEPIF);
|
||||
}
|
||||
|
||||
// Token: 0x0600DCB4 RID: 56500 RVA: 0x00333068 File Offset: 0x00331268
|
||||
[Token(Token = "0x600DCB4")]
|
||||
[Address(RVA = "0x1119CE0", Offset = "0x1118AE0", VA = "0x181119CE0")]
|
||||
private void LIAPOBHEPIF(int CJFGEMGOJHB, bool MNIELHDMKNK)
|
||||
{
|
||||
int num;
|
||||
if (num == CJFGEMGOJHB)
|
||||
{
|
||||
this.MOPPDBJPCAI();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600DCB5 RID: 56501 RVA: 0x00333088 File Offset: 0x00331288
|
||||
[Token(Token = "0x600DCB5")]
|
||||
[Address(RVA = "0x1119D80", Offset = "0x1118B80", VA = "0x181119D80", Slot = "14")]
|
||||
protected override void NOMNHOEBGIA()
|
||||
{
|
||||
int num;
|
||||
Player player = Player.FindLocalPlayer(num);
|
||||
int num2 = 0;
|
||||
if (!(player != num2))
|
||||
{
|
||||
Tooltip tooltip = this.tooltip;
|
||||
}
|
||||
if (!player.playerModeration.JLLECIKKCCF)
|
||||
{
|
||||
if (SessionManager.LPJJAFGKAKH && NetworkedSingletonMonoBehaviour.FFNIFALJLDD && NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.IJLNEFDNPAO)
|
||||
{
|
||||
Tooltip tooltip2 = this.tooltip;
|
||||
}
|
||||
if ((SessionManager.EKIEMLGHHDL || SessionManager.CPFHNEEBDDA || SessionManager.GHBNANAFOJF) && NetworkedSingletonMonoBehaviour.FFNIFALJLDD && NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.IJLNEFDNPAO && !Matchmaking.KDIKBBAPFDH)
|
||||
{
|
||||
GameTeamManager teamManager = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.teamManager;
|
||||
AGAJMBPABDL photonPlayer = player.DBAJDHGDPOL;
|
||||
AGAJMBPABDL agajmbpabdl = KKPBCOOONNK.MDMMDPEKICF;
|
||||
if (!teamManager.PlayersAreTeammates(photonPlayer, agajmbpabdl))
|
||||
{
|
||||
Tooltip tooltip3 = this.tooltip;
|
||||
}
|
||||
}
|
||||
base.ILGFOHIJHMG = 1;
|
||||
this.tooltip.Message = "Start a vote kick";
|
||||
return;
|
||||
}
|
||||
this.tooltip.Message = "Already started vote kick";
|
||||
int num3 = 0;
|
||||
base.ILGFOHIJHMG = num3;
|
||||
}
|
||||
|
||||
// Token: 0x0600DCB6 RID: 56502 RVA: 0x00333198 File Offset: 0x00331398
|
||||
[Token(Token = "0x600DCB6")]
|
||||
[Address(RVA = "0x111A240", Offset = "0x1119040", VA = "0x18111A240")]
|
||||
public VoteKickConditionalButton()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04008FE3 RID: 36835
|
||||
[FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x4008FE3")]
|
||||
[SerializeField]
|
||||
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false, false)]
|
||||
private Tooltip tooltip;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user