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: 0x000057DC File Offset: 0x000039DC
|
|
[Token(Token = "0x600011F")]
|
|
[Address(RVA = "0x947420", Offset = "0x945C20", VA = "0x180947420")]
|
|
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: 0x000058D4 File Offset: 0x00003AD4
|
|
[Token(Token = "0x6000120")]
|
|
[Address(RVA = "0x9473F0", Offset = "0x945BF0", VA = "0x1809473F0")]
|
|
public void PlayVoiceDamage()
|
|
{
|
|
this.g_SEDamage.PlayRandom(1f, 1f);
|
|
}
|
|
|
|
// Token: 0x06000121 RID: 289 RVA: 0x000058FC File Offset: 0x00003AFC
|
|
[Token(Token = "0x6000121")]
|
|
[Address(RVA = "0x947230", Offset = "0x945A30", VA = "0x180947230")]
|
|
public void PlayVoiceDamageFly()
|
|
{
|
|
this.g_SEDamageFly.PlayRandom(1f, 1f);
|
|
}
|
|
|
|
// Token: 0x06000122 RID: 290 RVA: 0x00005924 File Offset: 0x00003B24
|
|
[Token(Token = "0x6000122")]
|
|
[Address(RVA = "0x9475A0", Offset = "0x945DA0", VA = "0x1809475A0")]
|
|
public void PlayVoiceDefense()
|
|
{
|
|
this.g_SEDefense.PlayRandom(1f, 1f);
|
|
}
|
|
|
|
// Token: 0x06000123 RID: 291 RVA: 0x0000594C File Offset: 0x00003B4C
|
|
[Token(Token = "0x6000123")]
|
|
[Address(RVA = "0x947940", Offset = "0x946140", VA = "0x180947940")]
|
|
public void PlayVoiceDead(int i)
|
|
{
|
|
this.g_SEDead.Play(i, 1f, 1f);
|
|
}
|
|
|
|
// Token: 0x06000124 RID: 292 RVA: 0x00005978 File Offset: 0x00003B78
|
|
[Token(Token = "0x6000124")]
|
|
[Address(RVA = "0x947290", Offset = "0x945A90", VA = "0x180947290")]
|
|
public void PlayVoiceDodge()
|
|
{
|
|
this.g_SEDodge.PlayRandom(1f, 1f);
|
|
}
|
|
|
|
// Token: 0x06000125 RID: 293 RVA: 0x000059A0 File Offset: 0x00003BA0
|
|
[Token(Token = "0x6000125")]
|
|
[Address(RVA = "0x947260", Offset = "0x945A60", VA = "0x180947260")]
|
|
public void PlayVoiceJump()
|
|
{
|
|
this.g_SEJump.PlayRandom(1f, 1f);
|
|
}
|
|
|
|
// Token: 0x06000126 RID: 294 RVA: 0x000059C8 File Offset: 0x00003BC8
|
|
[Token(Token = "0x6000126")]
|
|
[Address(RVA = "0x947CF0", Offset = "0x9464F0", VA = "0x180947CF0")]
|
|
public void PlayVoiceAttackCharge()
|
|
{
|
|
this.g_SEAttackCharge.PlayRandom(1f, 1f);
|
|
}
|
|
|
|
// Token: 0x06000127 RID: 295 RVA: 0x000059F0 File Offset: 0x00003BF0
|
|
[Token(Token = "0x6000127")]
|
|
[Address(RVA = "0x9466F0", Offset = "0x944EF0", VA = "0x1809466F0")]
|
|
public void PlayVoiceAttackS()
|
|
{
|
|
this.g_SEAttackS.PlayRandom(1f, 1f);
|
|
}
|
|
|
|
// Token: 0x06000128 RID: 296 RVA: 0x00005A18 File Offset: 0x00003C18
|
|
[Token(Token = "0x6000128")]
|
|
[Address(RVA = "0x947600", Offset = "0x945E00", VA = "0x180947600")]
|
|
public void PlayVoiceAttackM()
|
|
{
|
|
this.g_SEAttackM.PlayRandom(1f, 1f);
|
|
}
|
|
|
|
// Token: 0x06000129 RID: 297 RVA: 0x00005A40 File Offset: 0x00003C40
|
|
[Token(Token = "0x6000129")]
|
|
[Address(RVA = "0x9475D0", Offset = "0x945DD0", VA = "0x1809475D0")]
|
|
public void PlayVoiceAttackL()
|
|
{
|
|
this.g_SEAttackL.PlayRandom(1f, 1f);
|
|
}
|
|
|
|
// Token: 0x0600012A RID: 298 RVA: 0x00005A68 File Offset: 0x00003C68
|
|
[Token(Token = "0x600012A")]
|
|
[Address(RVA = "0x947D20", Offset = "0x946520", VA = "0x180947D20")]
|
|
public void PlayVoiceAttackThrow()
|
|
{
|
|
this.g_SEAttackThrow.PlayRandom(1f, 1f);
|
|
}
|
|
|
|
// Token: 0x0600012B RID: 299 RVA: 0x00005A90 File Offset: 0x00003C90
|
|
[Token(Token = "0x600012B")]
|
|
[Address(RVA = "0x33E460", Offset = "0x33CC60", VA = "0x18033E460")]
|
|
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;
|
|
}
|