53 lines
3.8 KiB
C#
53 lines
3.8 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
// Token: 0x02000105 RID: 261
|
|
[Token(Token = "0x2000105")]
|
|
public sealed class AssetEffectRequest : AssetRequestBase
|
|
{
|
|
// Token: 0x17000047 RID: 71
|
|
// (get) Token: 0x06000E59 RID: 3673 RVA: 0x000225F4 File Offset: 0x000207F4
|
|
[Token(Token = "0x17000047")]
|
|
public override int AssetGroup
|
|
{
|
|
[Token(Token = "0x6000E59")]
|
|
[Address(RVA = "0x51C1D0", Offset = "0x51AFD0", VA = "0x18051C1D0", Slot = "4")]
|
|
get
|
|
{
|
|
return 3;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000048 RID: 72
|
|
// (get) Token: 0x06000E5A RID: 3674 RVA: 0x00022604 File Offset: 0x00020804
|
|
[Token(Token = "0x17000048")]
|
|
protected override string RootPath
|
|
{
|
|
[Token(Token = "0x6000E5A")]
|
|
[Address(RVA = "0x502B30", Offset = "0x501930", VA = "0x180502B30", Slot = "5")]
|
|
get;
|
|
}
|
|
|
|
// Token: 0x06000E5B RID: 3675 RVA: 0x00022618 File Offset: 0x00020818
|
|
[Token(Token = "0x6000E5B")]
|
|
[Address(RVA = "0x8CFC00", Offset = "0x8CEA00", VA = "0x1808CFC00")]
|
|
public AssetEffectRequest(string rootPath, string assetName)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06000E5B)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void AssetEffectRequest::.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:AssetEffectRequest[exp:AssetRequestBase](this), ldstr:string("")); call:void(object::.ctor, ldloc:AssetEffectRequest[exp:object](this)); callreadonlysetter:string(AssetEffectRequest::get_RootPath, ldloc:AssetEffectRequest(this), ldloc:string(rootPath)); stfld:string(AssetRequestBase::<AssetName>k__BackingField, ldloc:AssetEffectRequest[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
|
|
*/;
|
|
}
|
|
}
|