This commit is contained in:
niko
2026-04-12 16:51:38 +02:00
parent 1b6f6d81d0
commit c12fbe3fc6
17828 changed files with 2994770 additions and 0 deletions
@@ -0,0 +1,75 @@
using System;
using Cpp2IlInjected;
using UnityEngine;
namespace RecRoom.VFX
{
// Token: 0x02002296 RID: 8854
[Token(Token = "0x2002296")]
[ExecuteInEditMode]
[RequireComponent(typeof(Light))]
public class ParticleScriptedLight : MonoBehaviour
{
// Token: 0x170023A7 RID: 9127
// (get) Token: 0x0600E140 RID: 57664 RVA: 0x0033EA44 File Offset: 0x0033CC44
[Token(Token = "0x170023A7")]
public Light PBBLOENIKAI
{
[Token(Token = "0x600E140")]
[Address(RVA = "0x1C0EA20", Offset = "0x1C0DA20", VA = "0x181C0EA20")]
get
{
if (!this.KOBMAHGNLDC)
{
Light component = base.GetComponent<Light>();
this.KOBMAHGNLDC = component;
}
return this.KOBMAHGNLDC;
}
}
// Token: 0x0600E141 RID: 57665 RVA: 0x0033EA74 File Offset: 0x0033CC74
[Token(Token = "0x600E141")]
[Address(RVA = "0x1C0E890", Offset = "0x1C0D890", VA = "0x181C0E890")]
private void Update()
{
if (this.targetSystem)
{
float num = this.targetSystem.time;
float num2 = ParticleSystem.MainModule.get_duration_Injected(this.targetSystem.main);
num = this.intensityCurve.Evaluate(num);
this.PBBLOENIKAI.intensity = num;
int num3 = 0;
this.PBBLOENIKAI.enabled = num3 != 0;
}
}
// Token: 0x0600E142 RID: 57666 RVA: 0x0033EADC File Offset: 0x0033CCDC
[Token(Token = "0x600E142")]
[Address(RVA = "0x1C0E9E0", Offset = "0x1C0D9E0", VA = "0x181C0E9E0")]
public ParticleScriptedLight()
{
int num = 0;
AnimationCurve animationCurve = AnimationCurve.EaseInOut((float)0, 1f, 1f, (float)num);
this.intensityCurve = animationCurve;
base..ctor();
}
// Token: 0x0400922B RID: 37419
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x400922B")]
[SerializeField]
private ParticleSystem targetSystem;
// Token: 0x0400922C RID: 37420
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x400922C")]
[SerializeField]
private AnimationCurve intensityCurve;
// Token: 0x0400922D RID: 37421
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x400922D")]
private Light KOBMAHGNLDC;
}
}