44 lines
1.4 KiB
C#
44 lines
1.4 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using RecRoom.Core.DataStructures.Tokens;
|
|
|
|
namespace RecRoom.Core.Creation.Circuits
|
|
{
|
|
// Token: 0x02002C7F RID: 11391
|
|
[Token(Token = "0x2002C7F")]
|
|
[StructLayout(3)]
|
|
public sealed class CircuitsV2VisibilityBehaviour : DisableObjectWhenManuallyHiddenOrCircuitsHidden
|
|
{
|
|
// Token: 0x06014162 RID: 82274 RVA: 0x004D293C File Offset: 0x004D0B3C
|
|
[Token(Token = "0x6014162")]
|
|
[Address(RVA = "0x16CAF60", Offset = "0x16C9960", VA = "0x1816CAF60", Slot = "7")]
|
|
protected override void MLBAOONLBEM(bool AGILHLJPKPN)
|
|
{
|
|
if (AGILHLJPKPN)
|
|
{
|
|
RecRoomSceneManager <OCDLBPHJMOP>k__BackingField = RecRoomSceneManager.<OCDLBPHJMOP>k__BackingField;
|
|
int num = 0;
|
|
if (<OCDLBPHJMOP>k__BackingField != num && !CircuitVisibilityBehaviour.JIIOJEGNJMD() && !CircuitVisibilityBehaviour.IDLBHLOKHCJ())
|
|
{
|
|
bool flag = CircuitVisibilityBehaviour.LBHMANFKNJN;
|
|
}
|
|
}
|
|
int num2 = 0;
|
|
object fhnnmiffnlc = DisableObjectWhenManuallyHiddenOrCircuitsHidden.FHNNMIFFNLC;
|
|
base.SetVisibility(num2 != 0, fhnnmiffnlc);
|
|
}
|
|
|
|
// Token: 0x06014163 RID: 82275 RVA: 0x004D2994 File Offset: 0x004D0B94
|
|
[Token(Token = "0x6014163")]
|
|
[Address(RVA = "0x16CB110", Offset = "0x16C9B10", VA = "0x1816CB110")]
|
|
public CircuitsV2VisibilityBehaviour()
|
|
{
|
|
TokenFlag tokenFlag = new TokenFlag();
|
|
this.GLCKAEPGFMP = tokenFlag;
|
|
this.preventNavMeshGeneration = true;
|
|
base..ctor();
|
|
}
|
|
}
|
|
}
|