53 lines
3.8 KiB
C#
53 lines
3.8 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
// Token: 0x02000108 RID: 264
|
|
[Token(Token = "0x2000108")]
|
|
public sealed class AssetSoundEffectRequest : AssetRequestBase
|
|
{
|
|
// Token: 0x1700004D RID: 77
|
|
// (get) Token: 0x06000E62 RID: 3682 RVA: 0x000226D4 File Offset: 0x000208D4
|
|
[Token(Token = "0x1700004D")]
|
|
public override int AssetGroup
|
|
{
|
|
[Token(Token = "0x6000E62")]
|
|
[Address(RVA = "0x51C620", Offset = "0x51B420", VA = "0x18051C620", Slot = "4")]
|
|
get
|
|
{
|
|
return 4;
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700004E RID: 78
|
|
// (get) Token: 0x06000E63 RID: 3683 RVA: 0x000226E4 File Offset: 0x000208E4
|
|
[Token(Token = "0x1700004E")]
|
|
protected override string RootPath
|
|
{
|
|
[Token(Token = "0x6000E63")]
|
|
[Address(RVA = "0x502B30", Offset = "0x501930", VA = "0x180502B30", Slot = "5")]
|
|
get;
|
|
}
|
|
|
|
// Token: 0x06000E64 RID: 3684 RVA: 0x000226F8 File Offset: 0x000208F8
|
|
[Token(Token = "0x6000E64")]
|
|
[Address(RVA = "0x8CFC00", Offset = "0x8CEA00", VA = "0x1808CFC00")]
|
|
public AssetSoundEffectRequest(string rootPath, string assetName)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06000E64)
|
|
|
|
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
|
|
*/;
|
|
}
|
|
}
|