m
This commit is contained in:
@@ -0,0 +1,96 @@
|
||||
using System;
|
||||
using AGUI.StackedUI;
|
||||
using Cpp2IlInjected;
|
||||
using RecNet;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RecRoom
|
||||
{
|
||||
// Token: 0x0200227F RID: 8831
|
||||
[Token(Token = "0x200227F")]
|
||||
public class VoteKickConditionalButton : AccountBasedConditionalButton<Button3D>
|
||||
{
|
||||
// Token: 0x0600E0BE RID: 57534 RVA: 0x0033C46C File Offset: 0x0033A66C
|
||||
[Token(Token = "0x600E0BE")]
|
||||
[Address(RVA = "0x1C531E0", Offset = "0x1C521E0", VA = "0x181C531E0", Slot = "10")]
|
||||
protected override void Awake()
|
||||
{
|
||||
base.Awake();
|
||||
IILCGFIHJLP<int, bool> isVotedForKickUpdated = PlayerModeration.IsVotedForKickUpdated;
|
||||
Action<int, bool> action = new Action(this.LIAPOBHEPIF);
|
||||
}
|
||||
|
||||
// Token: 0x0600E0BF RID: 57535 RVA: 0x0033C498 File Offset: 0x0033A698
|
||||
[Token(Token = "0x600E0BF")]
|
||||
[Address(RVA = "0x1C53740", Offset = "0x1C52740", VA = "0x181C53740", Slot = "11")]
|
||||
protected override void OnDestroy()
|
||||
{
|
||||
base.OnDestroy();
|
||||
IILCGFIHJLP<int, bool> isVotedForKickUpdated = PlayerModeration.IsVotedForKickUpdated;
|
||||
Action<int, bool> action = new Action(this.LIAPOBHEPIF);
|
||||
}
|
||||
|
||||
// Token: 0x0600E0C0 RID: 57536 RVA: 0x0033C4C4 File Offset: 0x0033A6C4
|
||||
[Token(Token = "0x600E0C0")]
|
||||
[Address(RVA = "0x1C532B0", Offset = "0x1C522B0", VA = "0x181C532B0")]
|
||||
private void LIAPOBHEPIF(int CJFGEMGOJHB, bool MNIELHDMKNK)
|
||||
{
|
||||
int num;
|
||||
if (num == CJFGEMGOJHB)
|
||||
{
|
||||
this.MOPPDBJPCAI();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600E0C1 RID: 57537 RVA: 0x0033C4E4 File Offset: 0x0033A6E4
|
||||
[Token(Token = "0x600E0C1")]
|
||||
[Address(RVA = "0x1C53350", Offset = "0x1C52350", VA = "0x181C53350", 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: 0x0600E0C2 RID: 57538 RVA: 0x0033C5F4 File Offset: 0x0033A7F4
|
||||
[Token(Token = "0x600E0C2")]
|
||||
[Address(RVA = "0x1C53810", Offset = "0x1C52810", VA = "0x181C53810")]
|
||||
public VoteKickConditionalButton()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040091B6 RID: 37302
|
||||
[FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x40091B6")]
|
||||
[SerializeField]
|
||||
[NKNLDEIPALE(FHBJCBPFODN.Self, false, false, false)]
|
||||
private Tooltip tooltip;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user