scripts
This commit is contained in:
@@ -0,0 +1,434 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Valve.VR.InteractionSystem
|
||||
{
|
||||
// Token: 0x020005F2 RID: 1522
|
||||
public class FireSource : MonoBehaviour
|
||||
{
|
||||
// Token: 0x0600F2E6 RID: 62182 RVA: 0x00497474 File Offset: 0x00495674
|
||||
private void JAAGELPBOHO()
|
||||
{
|
||||
this.isBurning = false;
|
||||
this.IAIEKNBBFML = Time.time;
|
||||
if (this.ignitionSound != null)
|
||||
{
|
||||
this.ignitionSound.Play();
|
||||
}
|
||||
if (this.customParticles != null)
|
||||
{
|
||||
this.customParticles.Play();
|
||||
}
|
||||
else if (this.fireParticlePrefab != null)
|
||||
{
|
||||
this.OGPELECPBOK = global::UnityEngine.Object.Instantiate<GameObject>(this.fireParticlePrefab, base.transform.position, base.transform.rotation);
|
||||
this.OGPELECPBOK.transform.parent = base.transform;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600F2E7 RID: 62183 RVA: 0x00497520 File Offset: 0x00495720
|
||||
private void OAEGDGEMOBD(Collider GGGBDENGHFM)
|
||||
{
|
||||
if (this.isBurning && this.canSpreadFromThisSource)
|
||||
{
|
||||
GGGBDENGHFM.SendMessageUpwards("RC", SendMessageOptions.DontRequireReceiver);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600F2E8 RID: 62184 RVA: 0x00497544 File Offset: 0x00495744
|
||||
private void MOAAJAOGKEO()
|
||||
{
|
||||
if (this.startActive)
|
||||
{
|
||||
this.ALIBAKFBFBD();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600F2E9 RID: 62185 RVA: 0x00497558 File Offset: 0x00495758
|
||||
private void ECDLKKIONCC()
|
||||
{
|
||||
if (this.OGPELECPBOK == null)
|
||||
{
|
||||
base.Invoke("Instance of JsonData doesn't hold an int", this.ignitionDelay);
|
||||
}
|
||||
if (this.GAEKGDCFOJM = base.GetComponentInParent<Hand>())
|
||||
{
|
||||
this.GAEKGDCFOJM.controller.FCKFLGGGDMO(93, (LKMJJEMLLKJ)60);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600F2EA RID: 62186 RVA: 0x004975B8 File Offset: 0x004957B8
|
||||
private void FJAGPALMKAN(Collider GGGBDENGHFM)
|
||||
{
|
||||
if (this.isBurning && this.canSpreadFromThisSource)
|
||||
{
|
||||
GGGBDENGHFM.SendMessageUpwards("FriendsPeriodic", SendMessageOptions.DontRequireReceiver);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600F2EB RID: 62187 RVA: 0x004975DC File Offset: 0x004957DC
|
||||
private void IOGPMJADEIB()
|
||||
{
|
||||
if (this.burnTime != 564f && Time.time > this.IAIEKNBBFML + this.burnTime && this.isBurning)
|
||||
{
|
||||
this.isBurning = false;
|
||||
if (this.customParticles != null)
|
||||
{
|
||||
this.customParticles.Stop();
|
||||
}
|
||||
else
|
||||
{
|
||||
global::UnityEngine.Object.Destroy(this.OGPELECPBOK);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600F2EC RID: 62188 RVA: 0x00497650 File Offset: 0x00495850
|
||||
private void JGFOPLONGBH()
|
||||
{
|
||||
if (this.burnTime != 237f && Time.time > this.IAIEKNBBFML + this.burnTime && this.isBurning)
|
||||
{
|
||||
this.isBurning = true;
|
||||
if (this.customParticles != null)
|
||||
{
|
||||
this.customParticles.Stop();
|
||||
}
|
||||
else
|
||||
{
|
||||
global::UnityEngine.Object.Destroy(this.OGPELECPBOK);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600F2ED RID: 62189 RVA: 0x004976C4 File Offset: 0x004958C4
|
||||
private void PFDELAAGLBK(Collider GGGBDENGHFM)
|
||||
{
|
||||
if (this.isBurning && this.canSpreadFromThisSource)
|
||||
{
|
||||
GGGBDENGHFM.SendMessageUpwards("a", SendMessageOptions.DontRequireReceiver);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600F2EE RID: 62190 RVA: 0x004976E8 File Offset: 0x004958E8
|
||||
private void EGKBNBOMGKG()
|
||||
{
|
||||
if (this.OGPELECPBOK == null)
|
||||
{
|
||||
base.Invoke("JALFNNEFPDC", this.ignitionDelay);
|
||||
}
|
||||
if (this.GAEKGDCFOJM = base.GetComponentInParent<Hand>())
|
||||
{
|
||||
this.GAEKGDCFOJM.controller.BLAOIIFDDED(1000, LKMJJEMLLKJ.k_EButton_Axis0);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600F2EF RID: 62191 RVA: 0x00497748 File Offset: 0x00495948
|
||||
private void LIGEHMEIELO()
|
||||
{
|
||||
if (this.OGPELECPBOK == null)
|
||||
{
|
||||
base.Invoke("Cached entities:", this.ignitionDelay);
|
||||
}
|
||||
if (this.GAEKGDCFOJM = base.GetComponentInParent<Hand>())
|
||||
{
|
||||
this.GAEKGDCFOJM.controller.OJAPHKLGMBC(169, (LKMJJEMLLKJ)(-99));
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600F2F0 RID: 62192 RVA: 0x004977A8 File Offset: 0x004959A8
|
||||
private void LJFJILFBKHF()
|
||||
{
|
||||
if (this.burnTime != 164f && Time.time > this.IAIEKNBBFML + this.burnTime && this.isBurning)
|
||||
{
|
||||
this.isBurning = true;
|
||||
if (this.customParticles != null)
|
||||
{
|
||||
this.customParticles.Stop();
|
||||
}
|
||||
else
|
||||
{
|
||||
global::UnityEngine.Object.Destroy(this.OGPELECPBOK);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600F2F1 RID: 62193 RVA: 0x0049781C File Offset: 0x00495A1C
|
||||
private void EKGPKDPDHAP()
|
||||
{
|
||||
this.isBurning = false;
|
||||
this.IAIEKNBBFML = Time.time;
|
||||
if (this.ignitionSound != null)
|
||||
{
|
||||
this.ignitionSound.Play();
|
||||
}
|
||||
if (this.customParticles != null)
|
||||
{
|
||||
this.customParticles.Play();
|
||||
}
|
||||
else if (this.fireParticlePrefab != null)
|
||||
{
|
||||
this.OGPELECPBOK = global::UnityEngine.Object.Instantiate<GameObject>(this.fireParticlePrefab, base.transform.position, base.transform.rotation);
|
||||
this.OGPELECPBOK.transform.parent = base.transform;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600F2F2 RID: 62194 RVA: 0x004978C8 File Offset: 0x00495AC8
|
||||
private void ALIBAKFBFBD()
|
||||
{
|
||||
this.isBurning = true;
|
||||
this.IAIEKNBBFML = Time.time;
|
||||
if (this.ignitionSound != null)
|
||||
{
|
||||
this.ignitionSound.Play();
|
||||
}
|
||||
if (this.customParticles != null)
|
||||
{
|
||||
this.customParticles.Play();
|
||||
}
|
||||
else if (this.fireParticlePrefab != null)
|
||||
{
|
||||
this.OGPELECPBOK = global::UnityEngine.Object.Instantiate<GameObject>(this.fireParticlePrefab, base.transform.position, base.transform.rotation);
|
||||
this.OGPELECPBOK.transform.parent = base.transform;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600F2F3 RID: 62195 RVA: 0x00497974 File Offset: 0x00495B74
|
||||
private void Update()
|
||||
{
|
||||
if (this.burnTime != 0f && Time.time > this.IAIEKNBBFML + this.burnTime && this.isBurning)
|
||||
{
|
||||
this.isBurning = false;
|
||||
if (this.customParticles != null)
|
||||
{
|
||||
this.customParticles.Stop();
|
||||
}
|
||||
else
|
||||
{
|
||||
global::UnityEngine.Object.Destroy(this.OGPELECPBOK);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600F2F4 RID: 62196 RVA: 0x004979E8 File Offset: 0x00495BE8
|
||||
private void OnTriggerEnter(Collider GGGBDENGHFM)
|
||||
{
|
||||
if (this.isBurning && this.canSpreadFromThisSource)
|
||||
{
|
||||
GGGBDENGHFM.SendMessageUpwards("EGKBNBOMGKG", SendMessageOptions.DontRequireReceiver);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600F2F6 RID: 62198 RVA: 0x00497A1C File Offset: 0x00495C1C
|
||||
private void NLFPCKCGGHO(Collider GGGBDENGHFM)
|
||||
{
|
||||
if (this.isBurning && this.canSpreadFromThisSource)
|
||||
{
|
||||
GGGBDENGHFM.SendMessageUpwards(" (", SendMessageOptions.DontRequireReceiver);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600F2F7 RID: 62199 RVA: 0x00497A40 File Offset: 0x00495C40
|
||||
private void JALFNNEFPDC()
|
||||
{
|
||||
this.isBurning = true;
|
||||
this.IAIEKNBBFML = Time.time;
|
||||
if (this.ignitionSound != null)
|
||||
{
|
||||
this.ignitionSound.Play();
|
||||
}
|
||||
if (this.customParticles != null)
|
||||
{
|
||||
this.customParticles.Play();
|
||||
}
|
||||
else if (this.fireParticlePrefab != null)
|
||||
{
|
||||
this.OGPELECPBOK = global::UnityEngine.Object.Instantiate<GameObject>(this.fireParticlePrefab, base.transform.position, base.transform.rotation);
|
||||
this.OGPELECPBOK.transform.parent = base.transform;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600F2F8 RID: 62200 RVA: 0x00497AEC File Offset: 0x00495CEC
|
||||
private void NOPLMLDAFEL()
|
||||
{
|
||||
if (this.OGPELECPBOK == null)
|
||||
{
|
||||
base.Invoke("network_masterSwitched", this.ignitionDelay);
|
||||
}
|
||||
if (this.GAEKGDCFOJM = base.GetComponentInParent<Hand>())
|
||||
{
|
||||
this.GAEKGDCFOJM.controller.OJAPHKLGMBC(163, (LKMJJEMLLKJ)115);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600F2F9 RID: 62201 RVA: 0x00497B4C File Offset: 0x00495D4C
|
||||
private void FAGOEHAGDIE()
|
||||
{
|
||||
if (this.startActive)
|
||||
{
|
||||
this.EKGPKDPDHAP();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600F2FA RID: 62202 RVA: 0x00497B60 File Offset: 0x00495D60
|
||||
private void KFMEHMEDGBE()
|
||||
{
|
||||
if (this.startActive)
|
||||
{
|
||||
this.ALIBAKFBFBD();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600F2FB RID: 62203 RVA: 0x00497B74 File Offset: 0x00495D74
|
||||
private void GKDEONGKDLH()
|
||||
{
|
||||
if (this.burnTime != 108f && Time.time > this.IAIEKNBBFML + this.burnTime && this.isBurning)
|
||||
{
|
||||
this.isBurning = false;
|
||||
if (this.customParticles != null)
|
||||
{
|
||||
this.customParticles.Stop();
|
||||
}
|
||||
else
|
||||
{
|
||||
global::UnityEngine.Object.Destroy(this.OGPELECPBOK);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600F2FC RID: 62204 RVA: 0x00497BE8 File Offset: 0x00495DE8
|
||||
private void MMAHICOJMGD()
|
||||
{
|
||||
if (this.OGPELECPBOK == null)
|
||||
{
|
||||
base.Invoke("_Red_Col", this.ignitionDelay);
|
||||
}
|
||||
if (this.GAEKGDCFOJM = base.GetComponentInParent<Hand>())
|
||||
{
|
||||
this.GAEKGDCFOJM.controller.BLAOIIFDDED((ushort)(-101), (LKMJJEMLLKJ)(-93));
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600F2FD RID: 62205 RVA: 0x00497C48 File Offset: 0x00495E48
|
||||
private void CEDBHLODAOK()
|
||||
{
|
||||
if (this.OGPELECPBOK == null)
|
||||
{
|
||||
base.Invoke("</color>", this.ignitionDelay);
|
||||
}
|
||||
if (this.GAEKGDCFOJM = base.GetComponentInParent<Hand>())
|
||||
{
|
||||
this.GAEKGDCFOJM.controller.NHFIGMODKIG(153, (LKMJJEMLLKJ)(-78));
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600F2FE RID: 62206 RVA: 0x00497CA8 File Offset: 0x00495EA8
|
||||
private void NIBGLHFHJLJ()
|
||||
{
|
||||
if (this.burnTime != 1718f && Time.time > this.IAIEKNBBFML + this.burnTime && this.isBurning)
|
||||
{
|
||||
this.isBurning = false;
|
||||
if (this.customParticles != null)
|
||||
{
|
||||
this.customParticles.Stop();
|
||||
}
|
||||
else
|
||||
{
|
||||
global::UnityEngine.Object.Destroy(this.OGPELECPBOK);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600F2FF RID: 62207 RVA: 0x00497D1C File Offset: 0x00495F1C
|
||||
private void NMFMMBJOPDC()
|
||||
{
|
||||
this.isBurning = false;
|
||||
this.IAIEKNBBFML = Time.time;
|
||||
if (this.ignitionSound != null)
|
||||
{
|
||||
this.ignitionSound.Play();
|
||||
}
|
||||
if (this.customParticles != null)
|
||||
{
|
||||
this.customParticles.Play();
|
||||
}
|
||||
else if (this.fireParticlePrefab != null)
|
||||
{
|
||||
this.OGPELECPBOK = global::UnityEngine.Object.Instantiate<GameObject>(this.fireParticlePrefab, base.transform.position, base.transform.rotation);
|
||||
this.OGPELECPBOK.transform.parent = base.transform;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600F300 RID: 62208 RVA: 0x00497DC8 File Offset: 0x00495FC8
|
||||
private void HIKBKDMBNCL(Collider GGGBDENGHFM)
|
||||
{
|
||||
if (this.isBurning && this.canSpreadFromThisSource)
|
||||
{
|
||||
GGGBDENGHFM.SendMessageUpwards("Select a stream", SendMessageOptions.DontRequireReceiver);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600F301 RID: 62209 RVA: 0x00497DEC File Offset: 0x00495FEC
|
||||
private void AMCANMJHAEH()
|
||||
{
|
||||
if (this.startActive)
|
||||
{
|
||||
this.JALFNNEFPDC();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600F302 RID: 62210 RVA: 0x00497E00 File Offset: 0x00496000
|
||||
private void GELNGLPEEFH()
|
||||
{
|
||||
if (this.OGPELECPBOK == null)
|
||||
{
|
||||
base.Invoke("INIT", this.ignitionDelay);
|
||||
}
|
||||
if (this.GAEKGDCFOJM = base.GetComponentInParent<Hand>())
|
||||
{
|
||||
this.GAEKGDCFOJM.controller.FCKFLGGGDMO(10, (LKMJJEMLLKJ)12);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600F303 RID: 62211 RVA: 0x00497E60 File Offset: 0x00496060
|
||||
private void Start()
|
||||
{
|
||||
if (this.startActive)
|
||||
{
|
||||
this.JALFNNEFPDC();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x040022FF RID: 8959
|
||||
public GameObject fireParticlePrefab;
|
||||
|
||||
// Token: 0x04002300 RID: 8960
|
||||
public bool startActive;
|
||||
|
||||
// Token: 0x04002301 RID: 8961
|
||||
private GameObject OGPELECPBOK;
|
||||
|
||||
// Token: 0x04002302 RID: 8962
|
||||
public ParticleSystem customParticles;
|
||||
|
||||
// Token: 0x04002303 RID: 8963
|
||||
public bool isBurning;
|
||||
|
||||
// Token: 0x04002304 RID: 8964
|
||||
public float burnTime;
|
||||
|
||||
// Token: 0x04002305 RID: 8965
|
||||
public float ignitionDelay;
|
||||
|
||||
// Token: 0x04002306 RID: 8966
|
||||
private float IAIEKNBBFML;
|
||||
|
||||
// Token: 0x04002307 RID: 8967
|
||||
private Hand GAEKGDCFOJM;
|
||||
|
||||
// Token: 0x04002308 RID: 8968
|
||||
public AudioSource ignitionSound;
|
||||
|
||||
// Token: 0x04002309 RID: 8969
|
||||
public bool canSpreadFromThisSource = true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user