Files
NobetaSource/Cpp2IL/Assembly-CSharp/commanastationwww/eternaltemple/Door_Controller.cs
2023-09-06 22:19:13 +02:00

138 lines
4.4 KiB
C#

using System;
using System.Collections;
using Cpp2IlInjected;
using UnityEngine;
namespace commanastationwww.eternaltemple
{
// Token: 0x020005D6 RID: 1494
[Token(Token = "0x20005D6")]
public class Door_Controller : MonoBehaviour
{
// Token: 0x06003103 RID: 12547 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6003103")]
[Address(RVA = "0x15946D0", Offset = "0x15936D0", VA = "0x1815946D0")]
private void Start()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06003104 RID: 12548 RVA: 0x00069E04 File Offset: 0x00068004
[Token(Token = "0x6003104")]
[Address(RVA = "0x15945B0", Offset = "0x15935B0", VA = "0x1815945B0")]
private void OnTriggerEnter(Collider other)
{
if (!this.locked)
{
base.StopAllCoroutines();
int num;
Door_Controller.<openInterpolation>d__8 <openInterpolation>d__ = new Door_Controller.<openInterpolation>d__8(num);
num = 0;
<openInterpolation>d__.<>4__this = this;
Coroutine coroutine = base.StartCoroutine(<openInterpolation>d__);
}
}
// Token: 0x06003105 RID: 12549 RVA: 0x00069E40 File Offset: 0x00068040
[Token(Token = "0x6003105")]
[Address(RVA = "0x1594640", Offset = "0x1593640", VA = "0x181594640")]
private void OnTriggerExit(Collider other)
{
if (!this.stayOpen)
{
base.StopAllCoroutines();
int num;
Door_Controller.<closeInterpolation>d__9 <closeInterpolation>d__ = new Door_Controller.<closeInterpolation>d__9(num);
num = 0;
<closeInterpolation>d__.<>4__this = this;
Coroutine coroutine = base.StartCoroutine(<closeInterpolation>d__);
}
}
// Token: 0x06003106 RID: 12550 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6003106")]
[Address(RVA = "0x15948D0", Offset = "0x15938D0", VA = "0x1815948D0")]
private IEnumerator openInterpolation()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06003107 RID: 12551 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6003107")]
[Address(RVA = "0x1594860", Offset = "0x1593860", VA = "0x181594860")]
private IEnumerator closeInterpolation()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06003108 RID: 12552 RVA: 0x00069E7C File Offset: 0x0006807C
[Token(Token = "0x6003108")]
[Address(RVA = "0x15945B0", Offset = "0x15935B0", VA = "0x1815945B0")]
public void Open()
{
if (!this.locked)
{
base.StopAllCoroutines();
int num;
Door_Controller.<openInterpolation>d__8 <openInterpolation>d__ = new Door_Controller.<openInterpolation>d__8(num);
num = 0;
<openInterpolation>d__.<>4__this = this;
Coroutine coroutine = base.StartCoroutine(<openInterpolation>d__);
}
}
// Token: 0x06003109 RID: 12553 RVA: 0x00069EB8 File Offset: 0x000680B8
[Token(Token = "0x6003109")]
[Address(RVA = "0x1594530", Offset = "0x1593530", VA = "0x181594530")]
public void Close()
{
base.StopAllCoroutines();
int num;
Door_Controller.<closeInterpolation>d__9 <closeInterpolation>d__ = new Door_Controller.<closeInterpolation>d__9(num);
num = 0;
<closeInterpolation>d__.<>4__this = this;
Coroutine coroutine = base.StartCoroutine(<closeInterpolation>d__);
}
// Token: 0x0600310A RID: 12554 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x600310A")]
[Address(RVA = "0x29E8B0", Offset = "0x29D8B0", VA = "0x18029E8B0")]
private void Update()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x0600310B RID: 12555 RVA: 0x00069EEC File Offset: 0x000680EC
[Token(Token = "0x600310B")]
[Address(RVA = "0x1594840", Offset = "0x1593840", VA = "0x181594840")]
public Door_Controller()
{
}
// Token: 0x04003A0A RID: 14858
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4003A0A")]
public bool stayOpen = true;
// Token: 0x04003A0B RID: 14859
[FieldOffset(Offset = "0x19")]
[Token(Token = "0x4003A0B")]
public bool locked;
// Token: 0x04003A0C RID: 14860
[FieldOffset(Offset = "0x1C")]
[Token(Token = "0x4003A0C")]
public float openingSpeed = 5f;
// Token: 0x04003A0D RID: 14861
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4003A0D")]
private Transform[] allTransform;
// Token: 0x04003A0E RID: 14862
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4003A0E")]
private Transform[] childrenTransform;
}
}