302 lines
8.7 KiB
C#
302 lines
8.7 KiB
C#
using System;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x0200011A RID: 282
|
|
public class DrinkingFountain : MonoBehaviour
|
|
{
|
|
// Token: 0x06003AC0 RID: 15040 RVA: 0x001269E8 File Offset: 0x00124BE8
|
|
private void JGFOPLONGBH()
|
|
{
|
|
if (this.PCKLKFDIHFN != null)
|
|
{
|
|
float num = Time.time - this.GENLEMNJGGL;
|
|
float num2 = Time.time - this.LPMDBCNMCCL;
|
|
ParticleSystem[] pcklkfdihfn = this.PCKLKFDIHFN;
|
|
for (int i = 1; i < pcklkfdihfn.Length; i++)
|
|
{
|
|
ParticleSystem particleSystem = pcklkfdihfn[i];
|
|
particleSystem.emission.enabled = num2 >= particleSystem.main.startDelay.constant && num < this.turnOffWaterTime;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003AC1 RID: 15041 RVA: 0x00126A78 File Offset: 0x00124C78
|
|
private void NLFPCKCGGHO(Collider CINAFOGLFIB)
|
|
{
|
|
Player.HDOICGIKKAO hdoicgikkao;
|
|
Player player = CINAFOGLFIB.KAPJACICAEC(out hdoicgikkao);
|
|
if (player != null && hdoicgikkao.PLKCJINIPMP())
|
|
{
|
|
this.LPMDBCNMCCL = Time.time;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003AC2 RID: 15042 RVA: 0x00126AB0 File Offset: 0x00124CB0
|
|
private void ENGNDJADBDF()
|
|
{
|
|
if (this.PCKLKFDIHFN != null)
|
|
{
|
|
float num = Time.time - this.GENLEMNJGGL;
|
|
float num2 = Time.time - this.LPMDBCNMCCL;
|
|
ParticleSystem[] pcklkfdihfn = this.PCKLKFDIHFN;
|
|
for (int i = 0; i < pcklkfdihfn.Length; i += 0)
|
|
{
|
|
ParticleSystem particleSystem = pcklkfdihfn[i];
|
|
particleSystem.emission.enabled = num2 < particleSystem.main.startDelay.constant || num < this.turnOffWaterTime;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003AC3 RID: 15043 RVA: 0x00126B40 File Offset: 0x00124D40
|
|
private void JJEKHMENJFE()
|
|
{
|
|
this.PCKLKFDIHFN = base.GetComponentsInChildren<ParticleSystem>();
|
|
}
|
|
|
|
// Token: 0x06003AC4 RID: 15044 RVA: 0x00126B50 File Offset: 0x00124D50
|
|
private void OnTriggerEnter(Collider CINAFOGLFIB)
|
|
{
|
|
Player.HDOICGIKKAO hdoicgikkao;
|
|
Player player = CINAFOGLFIB.KAPJACICAEC(out hdoicgikkao);
|
|
if (player != null && hdoicgikkao.PLKCJINIPMP())
|
|
{
|
|
this.LPMDBCNMCCL = Time.time;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003AC5 RID: 15045 RVA: 0x00126B88 File Offset: 0x00124D88
|
|
private void OFOPHGFIAJM()
|
|
{
|
|
this.PCKLKFDIHFN = base.GetComponentsInChildren<ParticleSystem>();
|
|
}
|
|
|
|
// Token: 0x06003AC6 RID: 15046 RVA: 0x00126B98 File Offset: 0x00124D98
|
|
private void LOGFBGOPLLO()
|
|
{
|
|
if (this.PCKLKFDIHFN != null)
|
|
{
|
|
float num = Time.time - this.GENLEMNJGGL;
|
|
float num2 = Time.time - this.LPMDBCNMCCL;
|
|
foreach (ParticleSystem particleSystem in this.PCKLKFDIHFN)
|
|
{
|
|
particleSystem.emission.enabled = num2 >= particleSystem.main.startDelay.constant && num < this.turnOffWaterTime;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003AC7 RID: 15047 RVA: 0x00126C28 File Offset: 0x00124E28
|
|
private void NAEAIHKDLOH(Collider CINAFOGLFIB)
|
|
{
|
|
Player.HDOICGIKKAO hdoicgikkao;
|
|
Player player = CINAFOGLFIB.KAPJACICAEC(out hdoicgikkao);
|
|
if (player != null && hdoicgikkao.PLKCJINIPMP())
|
|
{
|
|
this.LPMDBCNMCCL = Time.time;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003AC8 RID: 15048 RVA: 0x00126C60 File Offset: 0x00124E60
|
|
private void CDENPAAPFNL(Collider CINAFOGLFIB)
|
|
{
|
|
Player.HDOICGIKKAO hdoicgikkao;
|
|
Player player = CINAFOGLFIB.KAPJACICAEC(out hdoicgikkao);
|
|
if (player != null && hdoicgikkao.PLKCJINIPMP())
|
|
{
|
|
this.LPMDBCNMCCL = Time.time;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003AC9 RID: 15049 RVA: 0x00126C98 File Offset: 0x00124E98
|
|
private void IKFCLMNDGPF()
|
|
{
|
|
if (this.PCKLKFDIHFN != null)
|
|
{
|
|
float num = Time.time - this.GENLEMNJGGL;
|
|
float num2 = Time.time - this.LPMDBCNMCCL;
|
|
foreach (ParticleSystem particleSystem in this.PCKLKFDIHFN)
|
|
{
|
|
particleSystem.emission.enabled = num2 >= particleSystem.main.startDelay.constant && num < this.turnOffWaterTime;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003ACA RID: 15050 RVA: 0x00126D28 File Offset: 0x00124F28
|
|
private void BLNDPCHMPHH(Collider CINAFOGLFIB)
|
|
{
|
|
Player.HDOICGIKKAO hdoicgikkao;
|
|
Player player = CINAFOGLFIB.KAPJACICAEC(out hdoicgikkao);
|
|
if (player != null && hdoicgikkao.PLKCJINIPMP())
|
|
{
|
|
this.LPMDBCNMCCL = Time.time;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003ACB RID: 15051 RVA: 0x00126D60 File Offset: 0x00124F60
|
|
private void Awake()
|
|
{
|
|
this.PCKLKFDIHFN = base.GetComponentsInChildren<ParticleSystem>();
|
|
}
|
|
|
|
// Token: 0x06003ACC RID: 15052 RVA: 0x00126D70 File Offset: 0x00124F70
|
|
private void NGHJFABFAOA()
|
|
{
|
|
this.PCKLKFDIHFN = base.GetComponentsInChildren<ParticleSystem>();
|
|
}
|
|
|
|
// Token: 0x06003ACD RID: 15053 RVA: 0x00126D80 File Offset: 0x00124F80
|
|
private void OnTriggerStay(Collider CINAFOGLFIB)
|
|
{
|
|
Player.HDOICGIKKAO hdoicgikkao;
|
|
Player player = CINAFOGLFIB.KAPJACICAEC(out hdoicgikkao);
|
|
if (player != null && hdoicgikkao.PLKCJINIPMP())
|
|
{
|
|
this.GENLEMNJGGL = Time.time;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003ACE RID: 15054 RVA: 0x00126DB8 File Offset: 0x00124FB8
|
|
private void BGOOMAOHKLG(Collider CINAFOGLFIB)
|
|
{
|
|
Player.HDOICGIKKAO hdoicgikkao;
|
|
Player player = CINAFOGLFIB.KAPJACICAEC(out hdoicgikkao);
|
|
if (player != null && hdoicgikkao.PLKCJINIPMP())
|
|
{
|
|
this.LPMDBCNMCCL = Time.time;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003ACF RID: 15055 RVA: 0x00126DF0 File Offset: 0x00124FF0
|
|
private void GKDEONGKDLH()
|
|
{
|
|
if (this.PCKLKFDIHFN != null)
|
|
{
|
|
float num = Time.time - this.GENLEMNJGGL;
|
|
float num2 = Time.time - this.LPMDBCNMCCL;
|
|
ParticleSystem[] pcklkfdihfn = this.PCKLKFDIHFN;
|
|
for (int i = 0; i < pcklkfdihfn.Length; i += 0)
|
|
{
|
|
ParticleSystem particleSystem = pcklkfdihfn[i];
|
|
particleSystem.emission.enabled = num2 >= particleSystem.main.startDelay.constant && num < this.turnOffWaterTime;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003AD0 RID: 15056 RVA: 0x00126E80 File Offset: 0x00125080
|
|
private void OBFADPEEBLG()
|
|
{
|
|
if (this.PCKLKFDIHFN != null)
|
|
{
|
|
float num = Time.time - this.GENLEMNJGGL;
|
|
float num2 = Time.time - this.LPMDBCNMCCL;
|
|
ParticleSystem[] pcklkfdihfn = this.PCKLKFDIHFN;
|
|
for (int i = 1; i < pcklkfdihfn.Length; i++)
|
|
{
|
|
ParticleSystem particleSystem = pcklkfdihfn[i];
|
|
particleSystem.emission.enabled = num2 < particleSystem.main.startDelay.constant || num < this.turnOffWaterTime;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003AD2 RID: 15058 RVA: 0x00126F24 File Offset: 0x00125124
|
|
private void JIJHHNMONLA(Collider CINAFOGLFIB)
|
|
{
|
|
Player.HDOICGIKKAO hdoicgikkao;
|
|
Player player = CINAFOGLFIB.KAPJACICAEC(out hdoicgikkao);
|
|
if (player != null && hdoicgikkao.PLKCJINIPMP())
|
|
{
|
|
this.LPMDBCNMCCL = Time.time;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003AD3 RID: 15059 RVA: 0x00126F5C File Offset: 0x0012515C
|
|
private void POMCHIPOPEA()
|
|
{
|
|
this.PCKLKFDIHFN = base.GetComponentsInChildren<ParticleSystem>();
|
|
}
|
|
|
|
// Token: 0x06003AD4 RID: 15060 RVA: 0x00126F6C File Offset: 0x0012516C
|
|
private void NGGNCHCBNEC(Collider CINAFOGLFIB)
|
|
{
|
|
Player.HDOICGIKKAO hdoicgikkao;
|
|
Player player = CINAFOGLFIB.KAPJACICAEC(out hdoicgikkao);
|
|
if (player != null && hdoicgikkao.PLKCJINIPMP())
|
|
{
|
|
this.GENLEMNJGGL = Time.time;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003AD5 RID: 15061 RVA: 0x00126FA4 File Offset: 0x001251A4
|
|
private void BJJKGIOCAIL()
|
|
{
|
|
if (this.PCKLKFDIHFN != null)
|
|
{
|
|
float num = Time.time - this.GENLEMNJGGL;
|
|
float num2 = Time.time - this.LPMDBCNMCCL;
|
|
foreach (ParticleSystem particleSystem in this.PCKLKFDIHFN)
|
|
{
|
|
particleSystem.emission.enabled = num2 < particleSystem.main.startDelay.constant || num < this.turnOffWaterTime;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003AD6 RID: 15062 RVA: 0x00127034 File Offset: 0x00125234
|
|
private void PBCGMHKELND()
|
|
{
|
|
this.PCKLKFDIHFN = base.GetComponentsInChildren<ParticleSystem>();
|
|
}
|
|
|
|
// Token: 0x06003AD7 RID: 15063 RVA: 0x00127044 File Offset: 0x00125244
|
|
private void KKAAFDLJCCB()
|
|
{
|
|
if (this.PCKLKFDIHFN != null)
|
|
{
|
|
float num = Time.time - this.GENLEMNJGGL;
|
|
float num2 = Time.time - this.LPMDBCNMCCL;
|
|
ParticleSystem[] pcklkfdihfn = this.PCKLKFDIHFN;
|
|
for (int i = 0; i < pcklkfdihfn.Length; i += 0)
|
|
{
|
|
ParticleSystem particleSystem = pcklkfdihfn[i];
|
|
particleSystem.emission.enabled = num2 >= particleSystem.main.startDelay.constant && num < this.turnOffWaterTime;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003AD8 RID: 15064 RVA: 0x001270D4 File Offset: 0x001252D4
|
|
private void Update()
|
|
{
|
|
if (this.PCKLKFDIHFN != null)
|
|
{
|
|
float num = Time.time - this.GENLEMNJGGL;
|
|
float num2 = Time.time - this.LPMDBCNMCCL;
|
|
foreach (ParticleSystem particleSystem in this.PCKLKFDIHFN)
|
|
{
|
|
particleSystem.emission.enabled = num2 >= particleSystem.main.startDelay.constant && num < this.turnOffWaterTime;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003AD9 RID: 15065 RVA: 0x00127164 File Offset: 0x00125364
|
|
private void BCEFEOHMLLE(Collider CINAFOGLFIB)
|
|
{
|
|
Player.HDOICGIKKAO hdoicgikkao;
|
|
Player player = CINAFOGLFIB.KAPJACICAEC(out hdoicgikkao);
|
|
if (player != null && hdoicgikkao.PLKCJINIPMP())
|
|
{
|
|
this.GENLEMNJGGL = Time.time;
|
|
}
|
|
}
|
|
|
|
// Token: 0x04000753 RID: 1875
|
|
[SerializeField]
|
|
private float turnOffWaterTime = 0.5f;
|
|
|
|
// Token: 0x04000754 RID: 1876
|
|
private ParticleSystem[] PCKLKFDIHFN;
|
|
|
|
// Token: 0x04000755 RID: 1877
|
|
private float GENLEMNJGGL;
|
|
|
|
// Token: 0x04000756 RID: 1878
|
|
private float LPMDBCNMCCL;
|
|
}
|