104 lines
3.3 KiB
C#
104 lines
3.3 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using RecRoom.Circuits;
|
|
using RecRoom.Core.Creation.Circuits;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Activities.Bowling
|
|
{
|
|
// Token: 0x02002D56 RID: 11606
|
|
[Token(Token = "0x2002D56")]
|
|
public class BowlingPinCircuitOutput : MonoBehaviour
|
|
{
|
|
// Token: 0x17003624 RID: 13860
|
|
// (get) Token: 0x06013878 RID: 79992 RVA: 0x00482B40 File Offset: 0x00480D40
|
|
[Token(Token = "0x17003624")]
|
|
public Tool PBBJCLJPFMI
|
|
{
|
|
[Token(Token = "0x6013878")]
|
|
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
|
|
get
|
|
{
|
|
return this.tool;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06013879 RID: 79993 RVA: 0x00482B54 File Offset: 0x00480D54
|
|
[Token(Token = "0x6013879")]
|
|
[Address(RVA = "0x1621F70", Offset = "0x1620F70", VA = "0x181621F70")]
|
|
private void Start()
|
|
{
|
|
Action<float> action = new Action(this.GAJIJLPDHNI);
|
|
IDisposable disposable = ADIFCODGAML.FOFJADGKNJF(this, action);
|
|
}
|
|
|
|
// Token: 0x0601387A RID: 79994 RVA: 0x00482B78 File Offset: 0x00480D78
|
|
[Token(Token = "0x601387A")]
|
|
[Address(RVA = "0x1621E60", Offset = "0x1620E60", VA = "0x181621E60")]
|
|
private void GAJIJLPDHNI(float POGAEJIEPIM)
|
|
{
|
|
bool flag = KKPBCOOONNK.BNNCCCFFALC;
|
|
if (flag)
|
|
{
|
|
BowlingPin bowlingPin = this.pin;
|
|
ContinuousSourceNodeDisplay continuousSourceNodeDisplay = this.continuousSourceNode;
|
|
float angleFromUpright = bowlingPin.JEGDKLAGHIL;
|
|
int num = 0;
|
|
continuousSourceNodeDisplay.SetOutput((OutputSlot)num, flag ? 1 : 0);
|
|
BowlingPin bowlingPin2 = this.pin;
|
|
ContinuousSourceNodeDisplay continuousSourceNodeDisplay2 = this.continuousSourceNode;
|
|
float angleFromUpright2 = bowlingPin2.JEGDKLAGHIL;
|
|
continuousSourceNodeDisplay2.SetOutput(OutputSlot.G, flag ? 1 : 0);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601387B RID: 79995 RVA: 0x00482BDC File Offset: 0x00480DDC
|
|
[Token(Token = "0x601387B")]
|
|
[Address(RVA = "0x1621E60", Offset = "0x1620E60", VA = "0x181621E60")]
|
|
private void BPJPELLMCLA()
|
|
{
|
|
bool flag = KKPBCOOONNK.BNNCCCFFALC;
|
|
if (flag)
|
|
{
|
|
BowlingPin bowlingPin = this.pin;
|
|
ContinuousSourceNodeDisplay continuousSourceNodeDisplay = this.continuousSourceNode;
|
|
float angleFromUpright = bowlingPin.JEGDKLAGHIL;
|
|
int num = 0;
|
|
continuousSourceNodeDisplay.SetOutput((OutputSlot)num, flag ? 1 : 0);
|
|
BowlingPin bowlingPin2 = this.pin;
|
|
ContinuousSourceNodeDisplay continuousSourceNodeDisplay2 = this.continuousSourceNode;
|
|
float angleFromUpright2 = bowlingPin2.JEGDKLAGHIL;
|
|
continuousSourceNodeDisplay2.SetOutput(OutputSlot.G, flag ? 1 : 0);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601387C RID: 79996 RVA: 0x00482C40 File Offset: 0x00480E40
|
|
[Token(Token = "0x601387C")]
|
|
[Address(RVA = "0x428AD0", Offset = "0x427AD0", VA = "0x180428AD0")]
|
|
public BowlingPinCircuitOutput()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400CA95 RID: 51861
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400CA95")]
|
|
[SerializeField]
|
|
[NKNLDEIPALE(FHBJCBPFODN.Self, false, false, false)]
|
|
private Tool tool;
|
|
|
|
// Token: 0x0400CA96 RID: 51862
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400CA96")]
|
|
[SerializeField]
|
|
[NKNLDEIPALE(FHBJCBPFODN.Self, false, false, false)]
|
|
private BowlingPin pin;
|
|
|
|
// Token: 0x0400CA97 RID: 51863
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x400CA97")]
|
|
[SerializeField]
|
|
[NKNLDEIPALE(FHBJCBPFODN.Self, false, false, false)]
|
|
private ContinuousSourceNodeDisplay continuousSourceNode;
|
|
}
|
|
}
|