236 lines
11 KiB
C#
236 lines
11 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x02000026 RID: 38
|
|
[Token(Token = "0x2000026")]
|
|
public class VoiceBoss04 : MonoBehaviour
|
|
{
|
|
// Token: 0x0600011F RID: 287 RVA: 0x0000579C File Offset: 0x0000399C
|
|
[Token(Token = "0x600011F")]
|
|
[Address(RVA = "0x4B34A0", Offset = "0x4B24A0", VA = "0x1804B34A0")]
|
|
public void InitData(Transform Parent)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600011F)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void VoiceBoss04::InitData(UnityEngine.Transform)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{; Block_0:; stloc:SoundEffect(var_0_0C, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldfld:GameObject(VoiceBoss04::SE_Damage, ldloc:VoiceBoss04(this)), ldloc:Transform(Parent))); stfld:SoundEffect(VoiceBoss04::g_SEDamage, ldloc:VoiceBoss04(this), ldloc:SoundEffect(var_0_0C)); stloc:SoundEffect(var_1_20, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldfld:GameObject(VoiceBoss04::SE_DamageFly, ldloc:VoiceBoss04(this)), ldloc:Transform(Parent))); stfld:SoundEffect(VoiceBoss04::g_SEDamageFly, ldloc:VoiceBoss04(this), ldloc:SoundEffect(var_1_20)); stloc:SoundEffect(var_2_34, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldfld:GameObject(VoiceBoss04::SE_Defense, ldloc:VoiceBoss04(this)), ldloc:Transform(Parent))); stfld:SoundEffect(VoiceBoss04::g_SEDefense, ldloc:VoiceBoss04(this), ldloc:SoundEffect(var_2_34)); stloc:SoundEffect(var_3_48, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldfld:GameObject(VoiceBoss04::SE_Dead, ldloc:VoiceBoss04(this)), ldloc:Transform(Parent))); stfld:SoundEffect(VoiceBoss04::g_SEDead, ldloc:VoiceBoss04(this), ldloc:SoundEffect(var_3_48)); stloc:SoundEffect(var_4_5C, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldfld:GameObject(VoiceBoss04::SE_Dodge, ldloc:VoiceBoss04(this)), ldloc:Transform(Parent))); stfld:SoundEffect(VoiceBoss04::g_SEDodge, ldloc:VoiceBoss04(this), ldloc:SoundEffect(var_4_5C)); stloc:SoundEffect(var_5_72, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldfld:GameObject(VoiceBoss04::SE_Jump, ldloc:VoiceBoss04(this)), ldloc:Transform(Parent))); stfld:SoundEffect(VoiceBoss04::g_SEJump, ldloc:VoiceBoss04(this), ldloc:SoundEffect(var_5_72)); stloc:SoundEffect(var_6_88, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldfld:GameObject(VoiceBoss04::SE_AttackCharge, ldloc:VoiceBoss04(this)), ldloc:Transform(Parent))); stfld:SoundEffect(VoiceBoss04::g_SEAttackCharge, ldloc:VoiceBoss04(this), ldloc:SoundEffect(var_6_88)); stloc:SoundEffect(var_7_9E, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldfld:GameObject(VoiceBoss04::SE_AttackS, ldloc:VoiceBoss04(this)), ldloc:Transform(Parent))); stfld:SoundEffect(VoiceBoss04::g_SEAttackS, ldloc:VoiceBoss04(this), ldloc:SoundEffect(var_7_9E)); stloc:SoundEffect(var_8_B4, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldfld:GameObject(VoiceBoss04::SE_AttackM, ldloc:VoiceBoss04(this)), ldloc:Transform(Parent))); stfld:SoundEffect(VoiceBoss04::g_SEAttackM, ldloc:VoiceBoss04(this), ldloc:SoundEffect(var_8_B4)); stloc:SoundEffect(var_9_CA, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldfld:GameObject(VoiceBoss04::SE_AttackL, ldloc:VoiceBoss04(this)), ldloc:Transform(Parent))); stfld:SoundEffect(VoiceBoss04::g_SEAttackL, ldloc:VoiceBoss04(this), ldloc:SoundEffect(var_9_CA)); stloc:SoundEffect(var_10_E0, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldfld:GameObject(VoiceBoss04::SE_AttackThrow, ldloc:VoiceBoss04(this)), ldloc:Transform(Parent))); stfld:SoundEffect(VoiceBoss04::g_SEAttackThrow, ldloc:VoiceBoss04(this), ldloc:SoundEffect(var_10_E0)); };
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1810
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 344
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1618
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06000120 RID: 288 RVA: 0x00005894 File Offset: 0x00003A94
|
|
[Token(Token = "0x6000120")]
|
|
[Address(RVA = "0x4B3470", Offset = "0x4B2470", VA = "0x1804B3470")]
|
|
public void PlayVoiceDamage()
|
|
{
|
|
this.g_SEDamage.PlayRandom(1f, 1f);
|
|
}
|
|
|
|
// Token: 0x06000121 RID: 289 RVA: 0x000058BC File Offset: 0x00003ABC
|
|
[Token(Token = "0x6000121")]
|
|
[Address(RVA = "0x4B32B0", Offset = "0x4B22B0", VA = "0x1804B32B0")]
|
|
public void PlayVoiceDamageFly()
|
|
{
|
|
this.g_SEDamageFly.PlayRandom(1f, 1f);
|
|
}
|
|
|
|
// Token: 0x06000122 RID: 290 RVA: 0x000058E4 File Offset: 0x00003AE4
|
|
[Token(Token = "0x6000122")]
|
|
[Address(RVA = "0x4B3620", Offset = "0x4B2620", VA = "0x1804B3620")]
|
|
public void PlayVoiceDefense()
|
|
{
|
|
this.g_SEDefense.PlayRandom(1f, 1f);
|
|
}
|
|
|
|
// Token: 0x06000123 RID: 291 RVA: 0x0000590C File Offset: 0x00003B0C
|
|
[Token(Token = "0x6000123")]
|
|
[Address(RVA = "0x4B39C0", Offset = "0x4B29C0", VA = "0x1804B39C0")]
|
|
public void PlayVoiceDead(int i)
|
|
{
|
|
this.g_SEDead.Play(i, 1f, 1f);
|
|
}
|
|
|
|
// Token: 0x06000124 RID: 292 RVA: 0x00005938 File Offset: 0x00003B38
|
|
[Token(Token = "0x6000124")]
|
|
[Address(RVA = "0x4B3310", Offset = "0x4B2310", VA = "0x1804B3310")]
|
|
public void PlayVoiceDodge()
|
|
{
|
|
this.g_SEDodge.PlayRandom(1f, 1f);
|
|
}
|
|
|
|
// Token: 0x06000125 RID: 293 RVA: 0x00005960 File Offset: 0x00003B60
|
|
[Token(Token = "0x6000125")]
|
|
[Address(RVA = "0x4B32E0", Offset = "0x4B22E0", VA = "0x1804B32E0")]
|
|
public void PlayVoiceJump()
|
|
{
|
|
this.g_SEJump.PlayRandom(1f, 1f);
|
|
}
|
|
|
|
// Token: 0x06000126 RID: 294 RVA: 0x00005988 File Offset: 0x00003B88
|
|
[Token(Token = "0x6000126")]
|
|
[Address(RVA = "0x4B3D70", Offset = "0x4B2D70", VA = "0x1804B3D70")]
|
|
public void PlayVoiceAttackCharge()
|
|
{
|
|
this.g_SEAttackCharge.PlayRandom(1f, 1f);
|
|
}
|
|
|
|
// Token: 0x06000127 RID: 295 RVA: 0x000059B0 File Offset: 0x00003BB0
|
|
[Token(Token = "0x6000127")]
|
|
[Address(RVA = "0x4B2770", Offset = "0x4B1770", VA = "0x1804B2770")]
|
|
public void PlayVoiceAttackS()
|
|
{
|
|
this.g_SEAttackS.PlayRandom(1f, 1f);
|
|
}
|
|
|
|
// Token: 0x06000128 RID: 296 RVA: 0x000059D8 File Offset: 0x00003BD8
|
|
[Token(Token = "0x6000128")]
|
|
[Address(RVA = "0x4B3680", Offset = "0x4B2680", VA = "0x1804B3680")]
|
|
public void PlayVoiceAttackM()
|
|
{
|
|
this.g_SEAttackM.PlayRandom(1f, 1f);
|
|
}
|
|
|
|
// Token: 0x06000129 RID: 297 RVA: 0x00005A00 File Offset: 0x00003C00
|
|
[Token(Token = "0x6000129")]
|
|
[Address(RVA = "0x4B3650", Offset = "0x4B2650", VA = "0x1804B3650")]
|
|
public void PlayVoiceAttackL()
|
|
{
|
|
this.g_SEAttackL.PlayRandom(1f, 1f);
|
|
}
|
|
|
|
// Token: 0x0600012A RID: 298 RVA: 0x00005A28 File Offset: 0x00003C28
|
|
[Token(Token = "0x600012A")]
|
|
[Address(RVA = "0x4B3DA0", Offset = "0x4B2DA0", VA = "0x1804B3DA0")]
|
|
public void PlayVoiceAttackThrow()
|
|
{
|
|
this.g_SEAttackThrow.PlayRandom(1f, 1f);
|
|
}
|
|
|
|
// Token: 0x0600012B RID: 299 RVA: 0x00005A50 File Offset: 0x00003C50
|
|
[Token(Token = "0x600012B")]
|
|
[Address(RVA = "0x328C40", Offset = "0x327C40", VA = "0x180328C40")]
|
|
public VoiceBoss04()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400018C RID: 396
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400018C")]
|
|
public GameObject SE_Damage;
|
|
|
|
// Token: 0x0400018D RID: 397
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400018D")]
|
|
public GameObject SE_DamageFly;
|
|
|
|
// Token: 0x0400018E RID: 398
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x400018E")]
|
|
public GameObject SE_Defense;
|
|
|
|
// Token: 0x0400018F RID: 399
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x400018F")]
|
|
public GameObject SE_Dead;
|
|
|
|
// Token: 0x04000190 RID: 400
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x4000190")]
|
|
public GameObject SE_Dodge;
|
|
|
|
// Token: 0x04000191 RID: 401
|
|
[FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x4000191")]
|
|
public GameObject SE_Jump;
|
|
|
|
// Token: 0x04000192 RID: 402
|
|
[FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x4000192")]
|
|
public GameObject SE_AttackCharge;
|
|
|
|
// Token: 0x04000193 RID: 403
|
|
[FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x4000193")]
|
|
public GameObject SE_AttackS;
|
|
|
|
// Token: 0x04000194 RID: 404
|
|
[FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x4000194")]
|
|
public GameObject SE_AttackM;
|
|
|
|
// Token: 0x04000195 RID: 405
|
|
[FieldOffset(Offset = "0x60")]
|
|
[Token(Token = "0x4000195")]
|
|
public GameObject SE_AttackL;
|
|
|
|
// Token: 0x04000196 RID: 406
|
|
[FieldOffset(Offset = "0x68")]
|
|
[Token(Token = "0x4000196")]
|
|
public GameObject SE_AttackThrow;
|
|
|
|
// Token: 0x04000197 RID: 407
|
|
[FieldOffset(Offset = "0x70")]
|
|
[Token(Token = "0x4000197")]
|
|
private SoundEffect g_SEDamage;
|
|
|
|
// Token: 0x04000198 RID: 408
|
|
[FieldOffset(Offset = "0x78")]
|
|
[Token(Token = "0x4000198")]
|
|
private SoundEffect g_SEDamageFly;
|
|
|
|
// Token: 0x04000199 RID: 409
|
|
[FieldOffset(Offset = "0x80")]
|
|
[Token(Token = "0x4000199")]
|
|
private SoundEffect g_SEDefense;
|
|
|
|
// Token: 0x0400019A RID: 410
|
|
[FieldOffset(Offset = "0x88")]
|
|
[Token(Token = "0x400019A")]
|
|
private SoundEffect g_SEDead;
|
|
|
|
// Token: 0x0400019B RID: 411
|
|
[FieldOffset(Offset = "0x90")]
|
|
[Token(Token = "0x400019B")]
|
|
private SoundEffect g_SEDodge;
|
|
|
|
// Token: 0x0400019C RID: 412
|
|
[FieldOffset(Offset = "0x98")]
|
|
[Token(Token = "0x400019C")]
|
|
private SoundEffect g_SEJump;
|
|
|
|
// Token: 0x0400019D RID: 413
|
|
[FieldOffset(Offset = "0xA0")]
|
|
[Token(Token = "0x400019D")]
|
|
private SoundEffect g_SEAttackCharge;
|
|
|
|
// Token: 0x0400019E RID: 414
|
|
[FieldOffset(Offset = "0xA8")]
|
|
[Token(Token = "0x400019E")]
|
|
private SoundEffect g_SEAttackS;
|
|
|
|
// Token: 0x0400019F RID: 415
|
|
[FieldOffset(Offset = "0xB0")]
|
|
[Token(Token = "0x400019F")]
|
|
private SoundEffect g_SEAttackM;
|
|
|
|
// Token: 0x040001A0 RID: 416
|
|
[FieldOffset(Offset = "0xB8")]
|
|
[Token(Token = "0x40001A0")]
|
|
private SoundEffect g_SEAttackL;
|
|
|
|
// Token: 0x040001A1 RID: 417
|
|
[FieldOffset(Offset = "0xC0")]
|
|
[Token(Token = "0x40001A1")]
|
|
private SoundEffect g_SEAttackThrow;
|
|
}
|