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: 0x02002C6D RID: 11373
|
|
[Token(Token = "0x2002C6D")]
|
|
public class BowlingPinCircuitOutput : MonoBehaviour
|
|
{
|
|
// Token: 0x17003570 RID: 13680
|
|
// (get) Token: 0x06013437 RID: 78903 RVA: 0x00478DDC File Offset: 0x00476FDC
|
|
[Token(Token = "0x17003570")]
|
|
public Tool PBBJCLJPFMI
|
|
{
|
|
[Token(Token = "0x6013437")]
|
|
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
|
|
get
|
|
{
|
|
return this.tool;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06013438 RID: 78904 RVA: 0x00478DF0 File Offset: 0x00476FF0
|
|
[Token(Token = "0x6013438")]
|
|
[Address(RVA = "0xB220C0", Offset = "0xB20EC0", VA = "0x180B220C0")]
|
|
private void Start()
|
|
{
|
|
Action<float> action = new Action(this.GAJIJLPDHNI);
|
|
IDisposable disposable = ADIFCODGAML.FOFJADGKNJF(this, action);
|
|
}
|
|
|
|
// Token: 0x06013439 RID: 78905 RVA: 0x00478E14 File Offset: 0x00477014
|
|
[Token(Token = "0x6013439")]
|
|
[Address(RVA = "0xB21FB0", Offset = "0xB20DB0", VA = "0x180B21FB0")]
|
|
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: 0x0601343A RID: 78906 RVA: 0x00478E78 File Offset: 0x00477078
|
|
[Token(Token = "0x601343A")]
|
|
[Address(RVA = "0xB21FB0", Offset = "0xB20DB0", VA = "0x180B21FB0")]
|
|
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: 0x0601343B RID: 78907 RVA: 0x00478EDC File Offset: 0x004770DC
|
|
[Token(Token = "0x601343B")]
|
|
[Address(RVA = "0x74EA40", Offset = "0x74D840", VA = "0x18074EA40")]
|
|
public BowlingPinCircuitOutput()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400C881 RID: 51329
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400C881")]
|
|
[SerializeField]
|
|
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false, false)]
|
|
private Tool tool;
|
|
|
|
// Token: 0x0400C882 RID: 51330
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400C882")]
|
|
[SerializeField]
|
|
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false, false)]
|
|
private BowlingPin pin;
|
|
|
|
// Token: 0x0400C883 RID: 51331
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x400C883")]
|
|
[SerializeField]
|
|
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false, false)]
|
|
private ContinuousSourceNodeDisplay continuousSourceNode;
|
|
}
|
|
}
|