166 lines
5.7 KiB
C#
166 lines
5.7 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x020000CC RID: 204
|
|
[Token(Token = "0x20000CC")]
|
|
public class Doll02StoneEffectPlay : Doll02EffectPlay
|
|
{
|
|
// Token: 0x06000AC2 RID: 2754 RVA: 0x00019C70 File Offset: 0x00017E70
|
|
[Token(Token = "0x6000AC2")]
|
|
[Address(RVA = "0x17F5BD0", Offset = "0x17F43D0", VA = "0x1817F5BD0", Slot = "4")]
|
|
public override void InitData()
|
|
{
|
|
base.InitData();
|
|
string text = this.sERockDragObjectPath;
|
|
Transform transform = base.transform;
|
|
Action<SoundEffect> action = delegate(SoundEffect se)
|
|
{
|
|
this.g_SERockDragStep = se;
|
|
Game.BindStageTimeScale(this.g_SERockDragStep);
|
|
};
|
|
Common.LoadSoundEffect(text, transform, action);
|
|
string text2 = this.sEEyePath;
|
|
Transform transform2 = base.transform;
|
|
Action<SoundEffect> action2 = delegate(SoundEffect se)
|
|
{
|
|
this.g_SEEye = se;
|
|
Game.BindStageTimeScale(this.g_SEEye);
|
|
};
|
|
Common.LoadSoundEffect(text2, transform2, action2);
|
|
ParticleSystem component = base.transform.Find("PS_DamageSmoke").GetComponent<ParticleSystem>();
|
|
this.PS_DamageSmoke = component;
|
|
this.PS_DamageSmoke.Stop(true);
|
|
ParticleSystem component2 = base.transform.Find("PS_DeathSmoke").GetComponent<ParticleSystem>();
|
|
this.PS_DeathSmoke = component2;
|
|
this.PS_DeathSmoke.Stop(true);
|
|
ParticleSystem component3 = Common.FindChild(base.transform, "PS_EyeEffect").GetComponent<ParticleSystem>();
|
|
this.PS_Eye = component3;
|
|
this.PS_Eye.Stop(true);
|
|
}
|
|
|
|
// Token: 0x06000AC3 RID: 2755 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000AC3")]
|
|
[Address(RVA = "0x17F59A0", Offset = "0x17F41A0", VA = "0x1817F59A0", Slot = "7")]
|
|
public override void Create()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000AC4 RID: 2756 RVA: 0x00019D54 File Offset: 0x00017F54
|
|
[Token(Token = "0x6000AC4")]
|
|
[Address(RVA = "0x17F5AC0", Offset = "0x17F42C0", VA = "0x1817F5AC0", Slot = "6")]
|
|
public override void Damaged()
|
|
{
|
|
Material g_matBody = this.g_matBody01;
|
|
this.g_fMatShadowPos = 0f;
|
|
int num = 0;
|
|
g_matBody.SetFloat("_ShadowPow", (float)num);
|
|
Material g_matBody2 = this.g_matBody02;
|
|
float g_fMatShadowPos = this.g_fMatShadowPos;
|
|
g_matBody2.SetFloat("_ShadowPow", g_fMatShadowPos);
|
|
Material g_matHead = this.g_matHead01;
|
|
float g_fMatShadowPos2 = this.g_fMatShadowPos;
|
|
g_matHead.SetFloat("_ShadowPow", g_fMatShadowPos2);
|
|
Material g_matHead2 = this.g_matHead02;
|
|
float g_fMatShadowPos3 = this.g_fMatShadowPos;
|
|
g_matHead2.SetFloat("_ShadowPow", g_fMatShadowPos3);
|
|
Material g_matWeapon = this.g_matWeapon;
|
|
float g_fMatShadowPos4 = this.g_fMatShadowPos;
|
|
g_matWeapon.SetFloat("_ShadowPow", g_fMatShadowPos4);
|
|
this.PS_DamageSmoke.Play(true);
|
|
}
|
|
|
|
// Token: 0x06000AC5 RID: 2757 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000AC5")]
|
|
[Address(RVA = "0x17F5FC0", Offset = "0x17F47C0", VA = "0x1817F5FC0", Slot = "10")]
|
|
public override void PlaySEFootstepL()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000AC6 RID: 2758 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000AC6")]
|
|
[Address(RVA = "0x17F61B0", Offset = "0x17F49B0", VA = "0x1817F61B0", Slot = "11")]
|
|
public override void PlaySEFootstepR()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000AC7 RID: 2759 RVA: 0x00019E08 File Offset: 0x00018008
|
|
[Token(Token = "0x6000AC7")]
|
|
[Address(RVA = "0x17F63A0", Offset = "0x17F4BA0", VA = "0x1817F63A0")]
|
|
public void PlaySERockDarg()
|
|
{
|
|
this.g_SERockDragStep.PlayRandom(1f, 1f);
|
|
}
|
|
|
|
// Token: 0x06000AC8 RID: 2760 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000AC8")]
|
|
[Address(RVA = "0x17F5E50", Offset = "0x17F4650", VA = "0x1817F5E50")]
|
|
public void PlayPSDead()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000AC9 RID: 2761 RVA: 0x00019E30 File Offset: 0x00018030
|
|
[Token(Token = "0x6000AC9")]
|
|
[Address(RVA = "0x17F63D0", Offset = "0x17F4BD0", VA = "0x1817F63D0")]
|
|
public void StartFight()
|
|
{
|
|
this.g_matBody01.SetFloat("_ShadowTexSwitch", 1f);
|
|
this.g_matBody02.SetFloat("_ShadowTexSwitch", 1f);
|
|
this.g_matHead01.SetFloat("_ShadowTexSwitch", 1f);
|
|
this.g_matHead02.SetFloat("_ShadowTexSwitch", 1f);
|
|
this.g_matWeapon.SetFloat("_ShadowTexSwitch", 1f);
|
|
this.g_SEEye.PlayRandom(1f, 1f);
|
|
this.PS_Eye.Play(true);
|
|
this.g_BodyEffect.Play(true);
|
|
}
|
|
|
|
// Token: 0x06000ACA RID: 2762 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000ACA")]
|
|
[Address(RVA = "0x17F3170", Offset = "0x17F1970", VA = "0x1817F3170")]
|
|
public Doll02StoneEffectPlay()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0400121C RID: 4636
|
|
[FieldOffset(Offset = "0x1C8")]
|
|
[Token(Token = "0x400121C")]
|
|
[SerializeField]
|
|
private string sERockDragObjectPath;
|
|
|
|
// Token: 0x0400121D RID: 4637
|
|
[FieldOffset(Offset = "0x1D0")]
|
|
[Token(Token = "0x400121D")]
|
|
[SerializeField]
|
|
private string sEEyePath;
|
|
|
|
// Token: 0x0400121E RID: 4638
|
|
[FieldOffset(Offset = "0x1D8")]
|
|
[Token(Token = "0x400121E")]
|
|
private SoundEffect g_SERockDragStep;
|
|
|
|
// Token: 0x0400121F RID: 4639
|
|
[FieldOffset(Offset = "0x1E0")]
|
|
[Token(Token = "0x400121F")]
|
|
private SoundEffect g_SEEye;
|
|
|
|
// Token: 0x04001220 RID: 4640
|
|
[FieldOffset(Offset = "0x1E8")]
|
|
[Token(Token = "0x4001220")]
|
|
private ParticleSystem PS_DamageSmoke;
|
|
|
|
// Token: 0x04001221 RID: 4641
|
|
[FieldOffset(Offset = "0x1F0")]
|
|
[Token(Token = "0x4001221")]
|
|
private ParticleSystem PS_DeathSmoke;
|
|
|
|
// Token: 0x04001222 RID: 4642
|
|
[FieldOffset(Offset = "0x1F8")]
|
|
[Token(Token = "0x4001222")]
|
|
private ParticleSystem PS_Eye;
|
|
}
|