166 lines
4.8 KiB
C#
166 lines
4.8 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using RecNet;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom
|
|
{
|
|
// Token: 0x02001D90 RID: 7568
|
|
[Token(Token = "0x2001D90")]
|
|
[StructLayout(3)]
|
|
public class FeedbackVisibilityBehaviour : MonoBehaviour
|
|
{
|
|
// Token: 0x0600CC1A RID: 52250 RVA: 0x00307870 File Offset: 0x00305A70
|
|
[Token(Token = "0x600CC1A")]
|
|
[Address(RVA = "0x10C4740", Offset = "0x10C3140", VA = "0x1810C4740")]
|
|
private void Awake()
|
|
{
|
|
Transform transform = this.visibilityRoot;
|
|
int num = 0;
|
|
if (transform == num)
|
|
{
|
|
Transform transform2 = base.transform;
|
|
this.visibilityRoot = transform2;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600CC1B RID: 52251 RVA: 0x003078A0 File Offset: 0x00305AA0
|
|
[Token(Token = "0x600CC1B")]
|
|
[Address(RVA = "0x10C4B50", Offset = "0x10C3550", VA = "0x1810C4B50")]
|
|
private void OnEnable()
|
|
{
|
|
Action jdghbbmfflc;
|
|
for (;;)
|
|
{
|
|
FeedbackTool <EKBNFBEIFAI>k__BackingField = FeedbackTool.<EKBNFBEIFAI>k__BackingField;
|
|
int num = 0;
|
|
if (!(<EKBNFBEIFAI>k__BackingField != num))
|
|
{
|
|
Action action = new Action(this.OMGLCLADGLH);
|
|
Action mbnehgeohbj = FeedbackTool.MBNEHGEOHBJ;
|
|
Delegate @delegate = Delegate.Combine(mbnehgeohbj, action);
|
|
if (@delegate != 0 && @delegate == 0)
|
|
{
|
|
continue;
|
|
}
|
|
while (typeof(FeedbackTool).TypeHandle != mbnehgeohbj)
|
|
{
|
|
}
|
|
}
|
|
this.MLBAOONLBEM();
|
|
Action action2 = new Action(this.JMCHLCCJJMD);
|
|
Action pkgepjogoek = FeedbackTool.PKGEPJOGOEK;
|
|
Delegate delegate2 = Delegate.Combine(pkgepjogoek, action2);
|
|
if (delegate2 == 0 || delegate2 != 0)
|
|
{
|
|
while (typeof(FeedbackTool).TypeHandle != pkgepjogoek)
|
|
{
|
|
}
|
|
Action action3 = new Action(this.JBIGLENPIJP);
|
|
jdghbbmfflc = FeedbackTool.JDGHBBMFFLC;
|
|
Delegate delegate3 = Delegate.Combine(jdghbbmfflc, action3);
|
|
if (delegate3 == 0 || delegate3 != 0)
|
|
{
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
while (typeof(FeedbackTool).TypeHandle != jdghbbmfflc)
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600CC1C RID: 52252 RVA: 0x0030795C File Offset: 0x00305B5C
|
|
[Token(Token = "0x600CC1C")]
|
|
[Address(RVA = "0x10C47D0", Offset = "0x10C31D0", VA = "0x1810C47D0")]
|
|
private void MLBAOONLBEM()
|
|
{
|
|
FeedbackTool <EKBNFBEIFAI>k__BackingField = FeedbackTool.<EKBNFBEIFAI>k__BackingField;
|
|
long <DOFDAMHCJLP>k__BackingField = Matchmaking.BBJAEJHMAPB.<DOFDAMHCJLP>k__BackingField;
|
|
int num = 0;
|
|
if (!(<EKBNFBEIFAI>k__BackingField != num) || <EKBNFBEIFAI>k__BackingField.tool.FNFNLDBILFE)
|
|
{
|
|
}
|
|
int num2 = 0;
|
|
this.visibilityRoot.gameObject.SetActive(num2 != 0);
|
|
}
|
|
|
|
// Token: 0x0600CC1D RID: 52253 RVA: 0x003079B4 File Offset: 0x00305BB4
|
|
[Token(Token = "0x600CC1D")]
|
|
[Address(RVA = "0x10C47C0", Offset = "0x10C31C0", VA = "0x1810C47C0")]
|
|
private void OMGLCLADGLH()
|
|
{
|
|
this.MLBAOONLBEM();
|
|
}
|
|
|
|
// Token: 0x0600CC1E RID: 52254 RVA: 0x003079C8 File Offset: 0x00305BC8
|
|
[Token(Token = "0x600CC1E")]
|
|
[Address(RVA = "0x10C47C0", Offset = "0x10C31C0", VA = "0x1810C47C0")]
|
|
private void JMCHLCCJJMD()
|
|
{
|
|
this.MLBAOONLBEM();
|
|
}
|
|
|
|
// Token: 0x0600CC1F RID: 52255 RVA: 0x003079DC File Offset: 0x00305BDC
|
|
[Token(Token = "0x600CC1F")]
|
|
[Address(RVA = "0x10C47C0", Offset = "0x10C31C0", VA = "0x1810C47C0")]
|
|
private void JBIGLENPIJP()
|
|
{
|
|
this.MLBAOONLBEM();
|
|
}
|
|
|
|
// Token: 0x0600CC20 RID: 52256 RVA: 0x003079F0 File Offset: 0x00305BF0
|
|
[Token(Token = "0x600CC20")]
|
|
[Address(RVA = "0x10C4900", Offset = "0x10C3300", VA = "0x1810C4900")]
|
|
private void OnDisable()
|
|
{
|
|
Action jdghbbmfflc;
|
|
for (;;)
|
|
{
|
|
Action action = new Action(this.OMGLCLADGLH);
|
|
Action mbnehgeohbj = FeedbackTool.MBNEHGEOHBJ;
|
|
Delegate @delegate = Delegate.Remove(mbnehgeohbj, action);
|
|
if (@delegate == 0 || @delegate != 0)
|
|
{
|
|
while (typeof(FeedbackTool).TypeHandle != mbnehgeohbj)
|
|
{
|
|
}
|
|
Action action2 = new Action(this.JMCHLCCJJMD);
|
|
Action pkgepjogoek = FeedbackTool.PKGEPJOGOEK;
|
|
Delegate delegate2 = Delegate.Remove(pkgepjogoek, action2);
|
|
if (delegate2 == 0 || delegate2 != 0)
|
|
{
|
|
while (typeof(FeedbackTool).TypeHandle != pkgepjogoek)
|
|
{
|
|
}
|
|
Action action3 = new Action(this.JBIGLENPIJP);
|
|
jdghbbmfflc = FeedbackTool.JDGHBBMFFLC;
|
|
Delegate delegate3 = Delegate.Remove(jdghbbmfflc, action3);
|
|
if (delegate3 == 0 || delegate3 != 0)
|
|
{
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
while (typeof(FeedbackTool).TypeHandle != jdghbbmfflc)
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600CC21 RID: 52257 RVA: 0x00307A90 File Offset: 0x00305C90
|
|
[Token(Token = "0x600CC21")]
|
|
[Address(RVA = "0x3C1210", Offset = "0x3BFC10", VA = "0x1803C1210")]
|
|
public FeedbackVisibilityBehaviour()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04008990 RID: 35216
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4008990")]
|
|
[SerializeField]
|
|
private Transform visibilityRoot;
|
|
}
|
|
}
|