427 lines
14 KiB
C#
427 lines
14 KiB
C#
using System;
|
|
using System.Collections;
|
|
using RecNet;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x020000C2 RID: 194
|
|
public class CurrentEventDoor : MonoBehaviour
|
|
{
|
|
// Token: 0x060027B9 RID: 10169 RVA: 0x000BF790 File Offset: 0x000BD990
|
|
private IEnumerator KCKPOOJHBNO()
|
|
{
|
|
yield return ECMDPOAMDGE.GECLHAELNDF();
|
|
for (;;)
|
|
{
|
|
NDKILGAFGDP ndkilgafgdp = ECMDPOAMDGE.NCNNAELLCMH();
|
|
if (this.AELACKAKFEF != ndkilgafgdp)
|
|
{
|
|
this.AELACKAKFEF = ndkilgafgdp;
|
|
foreach (EventDoorSignView eventDoorSignView in this.posters)
|
|
{
|
|
eventDoorSignView.SetEvent(this.AELACKAKFEF);
|
|
}
|
|
this.portal.TargetEvent = this.AELACKAKFEF;
|
|
this.FPGMPCBGBEA = float.MinValue;
|
|
}
|
|
if (this.AELACKAKFEF != null && (this.AELACKAKFEF.KNAIEOBOPAP || this.AELACKAKFEF.IPKHICHLHOJ) && Time.time - this.FPGMPCBGBEA > 30f)
|
|
{
|
|
yield return ECMDPOAMDGE.AMPIKHACILN(this.AELACKAKFEF);
|
|
this.FPGMPCBGBEA = Time.time;
|
|
}
|
|
bool flag = this.AELACKAKFEF != null && (this.AELACKAKFEF.EMABBOFHCEP != AGKDJJFKDPL.Unknown && this.AELACKAKFEF.EMABBOFHCEP != AGKDJJFKDPL.NotStarted) && this.AELACKAKFEF.EMABBOFHCEP != AGKDJJFKDPL.AlreadyFinished;
|
|
foreach (GameObject gameObject in this.eventGameObjects)
|
|
{
|
|
gameObject.SetActive(flag);
|
|
}
|
|
foreach (GameObject gameObject2 in this.nonEventGameObjects)
|
|
{
|
|
gameObject2.SetActive(!flag);
|
|
}
|
|
yield return null;
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x060027BB RID: 10171 RVA: 0x000BF7C0 File Offset: 0x000BD9C0
|
|
private IEnumerator BABKFIKEOCG()
|
|
{
|
|
yield return ECMDPOAMDGE.GECLHAELNDF();
|
|
for (;;)
|
|
{
|
|
ndkilgafgdp = ECMDPOAMDGE.NCNNAELLCMH();
|
|
if (this.AELACKAKFEF != ndkilgafgdp)
|
|
{
|
|
this.AELACKAKFEF = ndkilgafgdp;
|
|
foreach (EventDoorSignView eventDoorSignView in this.posters)
|
|
{
|
|
eventDoorSignView.SetEvent(this.AELACKAKFEF);
|
|
}
|
|
this.portal.TargetEvent = this.AELACKAKFEF;
|
|
this.FPGMPCBGBEA = float.MinValue;
|
|
}
|
|
if (this.AELACKAKFEF != null && (this.AELACKAKFEF.KNAIEOBOPAP || this.AELACKAKFEF.IPKHICHLHOJ) && Time.time - this.FPGMPCBGBEA > 30f)
|
|
{
|
|
yield return ECMDPOAMDGE.AMPIKHACILN(this.AELACKAKFEF);
|
|
this.FPGMPCBGBEA = Time.time;
|
|
}
|
|
flag = this.AELACKAKFEF != null && (this.AELACKAKFEF.EMABBOFHCEP != AGKDJJFKDPL.Unknown && this.AELACKAKFEF.EMABBOFHCEP != AGKDJJFKDPL.NotStarted) && this.AELACKAKFEF.EMABBOFHCEP != AGKDJJFKDPL.AlreadyFinished;
|
|
array2 = this.eventGameObjects;
|
|
for (j = 0; j < array2.Length; j++)
|
|
{
|
|
GameObject gameObject = array2[j];
|
|
gameObject.SetActive(flag);
|
|
}
|
|
array3 = this.nonEventGameObjects;
|
|
for (k = 0; k < array3.Length; k++)
|
|
{
|
|
GameObject gameObject2 = array3[k];
|
|
gameObject2.SetActive(!flag);
|
|
}
|
|
yield return null;
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x060027BC RID: 10172 RVA: 0x000BF7DC File Offset: 0x000BD9DC
|
|
private IEnumerator CAMGAFPKAMM()
|
|
{
|
|
yield return ECMDPOAMDGE.GECLHAELNDF();
|
|
for (;;)
|
|
{
|
|
ndkilgafgdp = ECMDPOAMDGE.NCNNAELLCMH();
|
|
if (this.AELACKAKFEF != ndkilgafgdp)
|
|
{
|
|
this.AELACKAKFEF = ndkilgafgdp;
|
|
foreach (EventDoorSignView eventDoorSignView in this.posters)
|
|
{
|
|
eventDoorSignView.SetEvent(this.AELACKAKFEF);
|
|
}
|
|
this.portal.TargetEvent = this.AELACKAKFEF;
|
|
this.FPGMPCBGBEA = float.MinValue;
|
|
}
|
|
if (this.AELACKAKFEF != null && (this.AELACKAKFEF.KNAIEOBOPAP || this.AELACKAKFEF.IPKHICHLHOJ) && Time.time - this.FPGMPCBGBEA > 30f)
|
|
{
|
|
yield return ECMDPOAMDGE.AMPIKHACILN(this.AELACKAKFEF);
|
|
this.FPGMPCBGBEA = Time.time;
|
|
}
|
|
flag = this.AELACKAKFEF != null && (this.AELACKAKFEF.EMABBOFHCEP != AGKDJJFKDPL.Unknown && this.AELACKAKFEF.EMABBOFHCEP != AGKDJJFKDPL.NotStarted) && this.AELACKAKFEF.EMABBOFHCEP != AGKDJJFKDPL.AlreadyFinished;
|
|
array2 = this.eventGameObjects;
|
|
for (j = 0; j < array2.Length; j++)
|
|
{
|
|
GameObject gameObject = array2[j];
|
|
gameObject.SetActive(flag);
|
|
}
|
|
array3 = this.nonEventGameObjects;
|
|
for (k = 0; k < array3.Length; k++)
|
|
{
|
|
GameObject gameObject2 = array3[k];
|
|
gameObject2.SetActive(!flag);
|
|
}
|
|
yield return null;
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x060027BD RID: 10173 RVA: 0x000BF7F8 File Offset: 0x000BD9F8
|
|
private IEnumerator JGOAIIIJNAI()
|
|
{
|
|
yield return ECMDPOAMDGE.GECLHAELNDF();
|
|
for (;;)
|
|
{
|
|
ndkilgafgdp = ECMDPOAMDGE.NCNNAELLCMH();
|
|
if (this.AELACKAKFEF != ndkilgafgdp)
|
|
{
|
|
this.AELACKAKFEF = ndkilgafgdp;
|
|
foreach (EventDoorSignView eventDoorSignView in this.posters)
|
|
{
|
|
eventDoorSignView.SetEvent(this.AELACKAKFEF);
|
|
}
|
|
this.portal.TargetEvent = this.AELACKAKFEF;
|
|
this.FPGMPCBGBEA = float.MinValue;
|
|
}
|
|
if (this.AELACKAKFEF != null && (this.AELACKAKFEF.KNAIEOBOPAP || this.AELACKAKFEF.IPKHICHLHOJ) && Time.time - this.FPGMPCBGBEA > 30f)
|
|
{
|
|
yield return ECMDPOAMDGE.AMPIKHACILN(this.AELACKAKFEF);
|
|
this.FPGMPCBGBEA = Time.time;
|
|
}
|
|
flag = this.AELACKAKFEF != null && (this.AELACKAKFEF.EMABBOFHCEP != AGKDJJFKDPL.Unknown && this.AELACKAKFEF.EMABBOFHCEP != AGKDJJFKDPL.NotStarted) && this.AELACKAKFEF.EMABBOFHCEP != AGKDJJFKDPL.AlreadyFinished;
|
|
array2 = this.eventGameObjects;
|
|
for (j = 0; j < array2.Length; j++)
|
|
{
|
|
GameObject gameObject = array2[j];
|
|
gameObject.SetActive(flag);
|
|
}
|
|
array3 = this.nonEventGameObjects;
|
|
for (k = 0; k < array3.Length; k++)
|
|
{
|
|
GameObject gameObject2 = array3[k];
|
|
gameObject2.SetActive(!flag);
|
|
}
|
|
yield return null;
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x060027BE RID: 10174 RVA: 0x000BF814 File Offset: 0x000BDA14
|
|
private IEnumerator DEGNFLDBLGF()
|
|
{
|
|
yield return ECMDPOAMDGE.GECLHAELNDF();
|
|
for (;;)
|
|
{
|
|
ndkilgafgdp = ECMDPOAMDGE.NCNNAELLCMH();
|
|
if (this.AELACKAKFEF != ndkilgafgdp)
|
|
{
|
|
this.AELACKAKFEF = ndkilgafgdp;
|
|
foreach (EventDoorSignView eventDoorSignView in this.posters)
|
|
{
|
|
eventDoorSignView.SetEvent(this.AELACKAKFEF);
|
|
}
|
|
this.portal.TargetEvent = this.AELACKAKFEF;
|
|
this.FPGMPCBGBEA = float.MinValue;
|
|
}
|
|
if (this.AELACKAKFEF != null && (this.AELACKAKFEF.KNAIEOBOPAP || this.AELACKAKFEF.IPKHICHLHOJ) && Time.time - this.FPGMPCBGBEA > 30f)
|
|
{
|
|
yield return ECMDPOAMDGE.AMPIKHACILN(this.AELACKAKFEF);
|
|
this.FPGMPCBGBEA = Time.time;
|
|
}
|
|
flag = this.AELACKAKFEF != null && (this.AELACKAKFEF.EMABBOFHCEP != AGKDJJFKDPL.Unknown && this.AELACKAKFEF.EMABBOFHCEP != AGKDJJFKDPL.NotStarted) && this.AELACKAKFEF.EMABBOFHCEP != AGKDJJFKDPL.AlreadyFinished;
|
|
array2 = this.eventGameObjects;
|
|
for (j = 0; j < array2.Length; j++)
|
|
{
|
|
GameObject gameObject = array2[j];
|
|
gameObject.SetActive(flag);
|
|
}
|
|
array3 = this.nonEventGameObjects;
|
|
for (k = 0; k < array3.Length; k++)
|
|
{
|
|
GameObject gameObject2 = array3[k];
|
|
gameObject2.SetActive(!flag);
|
|
}
|
|
yield return null;
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x060027BF RID: 10175 RVA: 0x000BF830 File Offset: 0x000BDA30
|
|
private IEnumerator EAKGKEKHPOI()
|
|
{
|
|
yield return ECMDPOAMDGE.GECLHAELNDF();
|
|
for (;;)
|
|
{
|
|
ndkilgafgdp = ECMDPOAMDGE.NCNNAELLCMH();
|
|
if (this.AELACKAKFEF != ndkilgafgdp)
|
|
{
|
|
this.AELACKAKFEF = ndkilgafgdp;
|
|
foreach (EventDoorSignView eventDoorSignView in this.posters)
|
|
{
|
|
eventDoorSignView.SetEvent(this.AELACKAKFEF);
|
|
}
|
|
this.portal.TargetEvent = this.AELACKAKFEF;
|
|
this.FPGMPCBGBEA = float.MinValue;
|
|
}
|
|
if (this.AELACKAKFEF != null && (this.AELACKAKFEF.KNAIEOBOPAP || this.AELACKAKFEF.IPKHICHLHOJ) && Time.time - this.FPGMPCBGBEA > 30f)
|
|
{
|
|
yield return ECMDPOAMDGE.AMPIKHACILN(this.AELACKAKFEF);
|
|
this.FPGMPCBGBEA = Time.time;
|
|
}
|
|
flag = this.AELACKAKFEF != null && (this.AELACKAKFEF.EMABBOFHCEP != AGKDJJFKDPL.Unknown && this.AELACKAKFEF.EMABBOFHCEP != AGKDJJFKDPL.NotStarted) && this.AELACKAKFEF.EMABBOFHCEP != AGKDJJFKDPL.AlreadyFinished;
|
|
array2 = this.eventGameObjects;
|
|
for (j = 0; j < array2.Length; j++)
|
|
{
|
|
GameObject gameObject = array2[j];
|
|
gameObject.SetActive(flag);
|
|
}
|
|
array3 = this.nonEventGameObjects;
|
|
for (k = 0; k < array3.Length; k++)
|
|
{
|
|
GameObject gameObject2 = array3[k];
|
|
gameObject2.SetActive(!flag);
|
|
}
|
|
yield return null;
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x060027C0 RID: 10176 RVA: 0x000BF84C File Offset: 0x000BDA4C
|
|
private IEnumerator OMKBNLGFNIL()
|
|
{
|
|
yield return ECMDPOAMDGE.GECLHAELNDF();
|
|
for (;;)
|
|
{
|
|
ndkilgafgdp = ECMDPOAMDGE.NCNNAELLCMH();
|
|
if (this.AELACKAKFEF != ndkilgafgdp)
|
|
{
|
|
this.AELACKAKFEF = ndkilgafgdp;
|
|
foreach (EventDoorSignView eventDoorSignView in this.posters)
|
|
{
|
|
eventDoorSignView.SetEvent(this.AELACKAKFEF);
|
|
}
|
|
this.portal.TargetEvent = this.AELACKAKFEF;
|
|
this.FPGMPCBGBEA = float.MinValue;
|
|
}
|
|
if (this.AELACKAKFEF != null && (this.AELACKAKFEF.KNAIEOBOPAP || this.AELACKAKFEF.IPKHICHLHOJ) && Time.time - this.FPGMPCBGBEA > 30f)
|
|
{
|
|
yield return ECMDPOAMDGE.AMPIKHACILN(this.AELACKAKFEF);
|
|
this.FPGMPCBGBEA = Time.time;
|
|
}
|
|
flag = this.AELACKAKFEF != null && (this.AELACKAKFEF.EMABBOFHCEP != AGKDJJFKDPL.Unknown && this.AELACKAKFEF.EMABBOFHCEP != AGKDJJFKDPL.NotStarted) && this.AELACKAKFEF.EMABBOFHCEP != AGKDJJFKDPL.AlreadyFinished;
|
|
array2 = this.eventGameObjects;
|
|
for (j = 0; j < array2.Length; j++)
|
|
{
|
|
GameObject gameObject = array2[j];
|
|
gameObject.SetActive(flag);
|
|
}
|
|
array3 = this.nonEventGameObjects;
|
|
for (k = 0; k < array3.Length; k++)
|
|
{
|
|
GameObject gameObject2 = array3[k];
|
|
gameObject2.SetActive(!flag);
|
|
}
|
|
yield return null;
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x060027C1 RID: 10177 RVA: 0x000BF868 File Offset: 0x000BDA68
|
|
private IEnumerator KFAOLMFIFMH()
|
|
{
|
|
yield return ECMDPOAMDGE.GECLHAELNDF();
|
|
for (;;)
|
|
{
|
|
ndkilgafgdp = ECMDPOAMDGE.NCNNAELLCMH();
|
|
if (this.AELACKAKFEF != ndkilgafgdp)
|
|
{
|
|
this.AELACKAKFEF = ndkilgafgdp;
|
|
foreach (EventDoorSignView eventDoorSignView in this.posters)
|
|
{
|
|
eventDoorSignView.SetEvent(this.AELACKAKFEF);
|
|
}
|
|
this.portal.TargetEvent = this.AELACKAKFEF;
|
|
this.FPGMPCBGBEA = float.MinValue;
|
|
}
|
|
if (this.AELACKAKFEF != null && (this.AELACKAKFEF.KNAIEOBOPAP || this.AELACKAKFEF.IPKHICHLHOJ) && Time.time - this.FPGMPCBGBEA > 30f)
|
|
{
|
|
yield return ECMDPOAMDGE.AMPIKHACILN(this.AELACKAKFEF);
|
|
this.FPGMPCBGBEA = Time.time;
|
|
}
|
|
flag = this.AELACKAKFEF != null && (this.AELACKAKFEF.EMABBOFHCEP != AGKDJJFKDPL.Unknown && this.AELACKAKFEF.EMABBOFHCEP != AGKDJJFKDPL.NotStarted) && this.AELACKAKFEF.EMABBOFHCEP != AGKDJJFKDPL.AlreadyFinished;
|
|
array2 = this.eventGameObjects;
|
|
for (j = 0; j < array2.Length; j++)
|
|
{
|
|
GameObject gameObject = array2[j];
|
|
gameObject.SetActive(flag);
|
|
}
|
|
array3 = this.nonEventGameObjects;
|
|
for (k = 0; k < array3.Length; k++)
|
|
{
|
|
GameObject gameObject2 = array3[k];
|
|
gameObject2.SetActive(!flag);
|
|
}
|
|
yield return null;
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x060027C2 RID: 10178 RVA: 0x000BF884 File Offset: 0x000BDA84
|
|
private IEnumerator PINHMNLCHGK()
|
|
{
|
|
yield return ECMDPOAMDGE.GECLHAELNDF();
|
|
for (;;)
|
|
{
|
|
ndkilgafgdp = ECMDPOAMDGE.NCNNAELLCMH();
|
|
if (this.AELACKAKFEF != ndkilgafgdp)
|
|
{
|
|
this.AELACKAKFEF = ndkilgafgdp;
|
|
foreach (EventDoorSignView eventDoorSignView in this.posters)
|
|
{
|
|
eventDoorSignView.SetEvent(this.AELACKAKFEF);
|
|
}
|
|
this.portal.TargetEvent = this.AELACKAKFEF;
|
|
this.FPGMPCBGBEA = float.MinValue;
|
|
}
|
|
if (this.AELACKAKFEF != null && (this.AELACKAKFEF.KNAIEOBOPAP || this.AELACKAKFEF.IPKHICHLHOJ) && Time.time - this.FPGMPCBGBEA > 30f)
|
|
{
|
|
yield return ECMDPOAMDGE.AMPIKHACILN(this.AELACKAKFEF);
|
|
this.FPGMPCBGBEA = Time.time;
|
|
}
|
|
flag = this.AELACKAKFEF != null && (this.AELACKAKFEF.EMABBOFHCEP != AGKDJJFKDPL.Unknown && this.AELACKAKFEF.EMABBOFHCEP != AGKDJJFKDPL.NotStarted) && this.AELACKAKFEF.EMABBOFHCEP != AGKDJJFKDPL.AlreadyFinished;
|
|
array2 = this.eventGameObjects;
|
|
for (j = 0; j < array2.Length; j++)
|
|
{
|
|
GameObject gameObject = array2[j];
|
|
gameObject.SetActive(flag);
|
|
}
|
|
array3 = this.nonEventGameObjects;
|
|
for (k = 0; k < array3.Length; k++)
|
|
{
|
|
GameObject gameObject2 = array3[k];
|
|
gameObject2.SetActive(!flag);
|
|
}
|
|
yield return null;
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x060027C3 RID: 10179 RVA: 0x000BF8A0 File Offset: 0x000BDAA0
|
|
private IEnumerator Start()
|
|
{
|
|
yield return ECMDPOAMDGE.GECLHAELNDF();
|
|
for (;;)
|
|
{
|
|
ndkilgafgdp = ECMDPOAMDGE.NCNNAELLCMH();
|
|
if (this.AELACKAKFEF != ndkilgafgdp)
|
|
{
|
|
this.AELACKAKFEF = ndkilgafgdp;
|
|
foreach (EventDoorSignView eventDoorSignView in this.posters)
|
|
{
|
|
eventDoorSignView.SetEvent(this.AELACKAKFEF);
|
|
}
|
|
this.portal.TargetEvent = this.AELACKAKFEF;
|
|
this.FPGMPCBGBEA = float.MinValue;
|
|
}
|
|
if (this.AELACKAKFEF != null && (this.AELACKAKFEF.KNAIEOBOPAP || this.AELACKAKFEF.IPKHICHLHOJ) && Time.time - this.FPGMPCBGBEA > 30f)
|
|
{
|
|
yield return ECMDPOAMDGE.AMPIKHACILN(this.AELACKAKFEF);
|
|
this.FPGMPCBGBEA = Time.time;
|
|
}
|
|
flag = this.AELACKAKFEF != null && (this.AELACKAKFEF.EMABBOFHCEP != AGKDJJFKDPL.Unknown && this.AELACKAKFEF.EMABBOFHCEP != AGKDJJFKDPL.NotStarted) && this.AELACKAKFEF.EMABBOFHCEP != AGKDJJFKDPL.AlreadyFinished;
|
|
array2 = this.eventGameObjects;
|
|
for (j = 0; j < array2.Length; j++)
|
|
{
|
|
GameObject gameObject = array2[j];
|
|
gameObject.SetActive(flag);
|
|
}
|
|
array3 = this.nonEventGameObjects;
|
|
for (k = 0; k < array3.Length; k++)
|
|
{
|
|
GameObject gameObject2 = array3[k];
|
|
gameObject2.SetActive(!flag);
|
|
}
|
|
yield return null;
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x04000541 RID: 1345
|
|
[SerializeField]
|
|
private EventDoorSignView[] posters;
|
|
|
|
// Token: 0x04000542 RID: 1346
|
|
[SerializeField]
|
|
private TeleportationPortal portal;
|
|
|
|
// Token: 0x04000543 RID: 1347
|
|
[SerializeField]
|
|
private GameObject[] eventGameObjects;
|
|
|
|
// Token: 0x04000544 RID: 1348
|
|
[SerializeField]
|
|
private GameObject[] nonEventGameObjects;
|
|
|
|
// Token: 0x04000545 RID: 1349
|
|
private NDKILGAFGDP AELACKAKFEF;
|
|
|
|
// Token: 0x04000546 RID: 1350
|
|
private float FPGMPCBGBEA = float.MinValue;
|
|
}
|