scripts
This commit is contained in:
+99
@@ -0,0 +1,99 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using Photon.Realtime;
|
||||
using RecRoom.Systems.PlayerRoles;
|
||||
using RecRoom.Utils.OverridableFields;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RecRoom.Core.Creation.Circuits
|
||||
{
|
||||
// Token: 0x02002C80 RID: 11392
|
||||
[Token(Token = "0x2002C80")]
|
||||
[StructLayout(3)]
|
||||
public sealed class DisableInteractionWhenCircuitsHidden : CircuitVisibilityBehaviour
|
||||
{
|
||||
// Token: 0x06014164 RID: 82276 RVA: 0x004D29BC File Offset: 0x004D0BBC
|
||||
[Token(Token = "0x6014164")]
|
||||
[Address(RVA = "0x16CBF40", Offset = "0x16CA940", VA = "0x1816CBF40", Slot = "4")]
|
||||
protected override void Awake()
|
||||
{
|
||||
CircuitVisibilityBehaviour.EFMNOKLDGEP.Add(this);
|
||||
Tool tool = this.tool;
|
||||
Tool.OGLAJAFKBMN oglajafkbmn = new Tool.OGLAJAFKBMN(this.MCFJIPLLGMH);
|
||||
tool.AddCustomPickupCondition(oglajafkbmn);
|
||||
CreationObject creationObject = this.tool.creationObject;
|
||||
int num = 0;
|
||||
if (creationObject != num)
|
||||
{
|
||||
CreationObject creationObject2 = this.tool.creationObject;
|
||||
CreationObject.DELHABGGHHC delhabgghhc = new CreationObject.DELHABGGHHC(this.EPNKNOPBHNI);
|
||||
creationObject2.AddCustomSelectionCondition(delhabgghhc);
|
||||
CreationObject creationObject3 = this.tool.creationObject;
|
||||
CreationObject.LHJIEIILIOO lhjieiilioo = new CreationObject.LHJIEIILIOO(this.ADCIGADFJFN);
|
||||
creationObject3.AddCustomRaycastFilter(lhjieiilioo);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06014165 RID: 82277 RVA: 0x004D2A58 File Offset: 0x004D0C58
|
||||
[Token(Token = "0x6014165")]
|
||||
[Address(RVA = "0x52F720", Offset = "0x52E120", VA = "0x18052F720", Slot = "7")]
|
||||
protected override void MLBAOONLBEM(bool AGILHLJPKPN)
|
||||
{
|
||||
this.CJKCLCBICAG = AGILHLJPKPN;
|
||||
}
|
||||
|
||||
// Token: 0x06014166 RID: 82278 RVA: 0x004D2A6C File Offset: 0x004D0C6C
|
||||
[Token(Token = "0x6014166")]
|
||||
[Address(RVA = "0x16CC120", Offset = "0x16CAB20", VA = "0x1816CC120")]
|
||||
private bool MCFJIPLLGMH(Tool NBHJPDBHDHB, global::Player NHCEBNBEEBE, Vector3 JEDLNAEEMEN, bool GEJJBENPHJG)
|
||||
{
|
||||
bool isInitialized = NetworkedSingletonMonoBehaviour.FFNIFALJLDD;
|
||||
if (!isInitialized)
|
||||
{
|
||||
return isInitialized;
|
||||
}
|
||||
PlayerRoomRoleManager instance = PlayerRoomRoleManager.ONCPNMDGGKG;
|
||||
Photon.Realtime.Player photonPlayer = NHCEBNBEEBE.DBAJDHGDPOL;
|
||||
MutableOverridableObscuredBool canUseMakerPen = instance.GetPlayerRoleDefinition(photonPlayer).canUseMakerPen;
|
||||
bool flag;
|
||||
return flag;
|
||||
}
|
||||
|
||||
// Token: 0x06014167 RID: 82279 RVA: 0x004D2AB4 File Offset: 0x004D0CB4
|
||||
[Token(Token = "0x6014167")]
|
||||
[Address(RVA = "0x16CC110", Offset = "0x16CAB10", VA = "0x1816CC110")]
|
||||
private GBDECALBCOP EPNKNOPBHNI(CreationObject HLKEOJLNEGF)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06014168 RID: 82280 RVA: 0x004D2AC4 File Offset: 0x004D0CC4
|
||||
[Token(Token = "0x6014168")]
|
||||
[Address(RVA = "0x52F470", Offset = "0x52DE70", VA = "0x18052F470")]
|
||||
private bool ADCIGADFJFN(CreationObject HLKEOJLNEGF)
|
||||
{
|
||||
return this.CJKCLCBICAG;
|
||||
}
|
||||
|
||||
// Token: 0x06014169 RID: 82281 RVA: 0x004D2AD8 File Offset: 0x004D0CD8
|
||||
[Token(Token = "0x6014169")]
|
||||
[Address(RVA = "0x16CC290", Offset = "0x16CAC90", VA = "0x1816CC290")]
|
||||
public DisableInteractionWhenCircuitsHidden()
|
||||
{
|
||||
this.preventNavMeshGeneration = true;
|
||||
base..ctor();
|
||||
}
|
||||
|
||||
// Token: 0x0400D7E3 RID: 55267
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x400D7E3")]
|
||||
[SerializeField]
|
||||
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false)]
|
||||
private Tool tool;
|
||||
|
||||
// Token: 0x0400D7E4 RID: 55268
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x400D7E4")]
|
||||
private bool CJKCLCBICAG = true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user