Files
NobetaSource/Cpp2IL/Assembly-CSharp/AssetSoundEffectRequest.cs
2023-09-06 22:09:22 +02:00

53 lines
3.8 KiB
C#

using System;
using Cpp2IlInjected;
// Token: 0x02000109 RID: 265
[Token(Token = "0x2000109")]
public sealed class AssetSoundEffectRequest : AssetRequestBase
{
// Token: 0x1700004E RID: 78
// (get) Token: 0x06000E6B RID: 3691 RVA: 0x00022BB8 File Offset: 0x00020DB8
[Token(Token = "0x1700004E")]
public override int AssetGroup
{
[Token(Token = "0x6000E6B")]
[Address(RVA = "0x54BDE0", Offset = "0x54A5E0", VA = "0x18054BDE0", Slot = "4")]
get
{
return 4;
}
}
// Token: 0x1700004F RID: 79
// (get) Token: 0x06000E6C RID: 3692 RVA: 0x00022BC8 File Offset: 0x00020DC8
[Token(Token = "0x1700004F")]
protected override string RootPath
{
[Token(Token = "0x6000E6C")]
[Address(RVA = "0x4FC850", Offset = "0x4FB050", VA = "0x1804FC850", Slot = "5")]
get;
}
// Token: 0x06000E6D RID: 3693 RVA: 0x00022BDC File Offset: 0x00020DDC
[Token(Token = "0x6000E6D")]
[Address(RVA = "0xB67290", Offset = "0xB65A90", VA = "0x180B67290")]
public AssetSoundEffectRequest(string rootPath, string assetName)
{
/*
An exception occurred when decompiling this method (06000E6D)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void AssetSoundEffectRequest::.ctor(System.String,System.String)
---> System.Exception: Basic block has to end with unconditional control flow.
{; Block_0:; stfld:string(AssetRequestBase::<AssetName>k__BackingField, ldloc:AssetSoundEffectRequest[exp:AssetRequestBase](this), ldstr:string("")); call:void(object::.ctor, ldloc:AssetSoundEffectRequest[exp:object](this)); callreadonlysetter:string(AssetSoundEffectRequest::get_RootPath, ldloc:AssetSoundEffectRequest(this), ldloc:string(rootPath)); stfld:string(AssetRequestBase::<AssetName>k__BackingField, ldloc:AssetSoundEffectRequest[exp:AssetRequestBase](this), ldloc:string(assetName)); };
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
*/;
}
}