Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

57 lines
4.5 KiB
C#

using System;
using Cpp2IlInjected;
namespace RRUI.Animation
{
// Token: 0x02001102 RID: 4354
[Token(Token = "0x2001102")]
[MMOINKHEKJF("Opacity/Default", "Tween from the current opacity to the default opacity")]
[Serializable]
public class OpacityDefaultTransition : OpacityTransition
{
// Token: 0x0600615D RID: 24925 RVA: 0x001534BC File Offset: 0x001516BC
[Token(Token = "0x600615D")]
[Address(RVA = "0x1BBF470", Offset = "0x1BBE470", VA = "0x181BBF470", Slot = "6")]
protected override PIPDAMDIAPC Execute()
{
/*
An exception occurred when decompiling this method (0600615D)
ICSharpCode.Decompiler.DecompilerException: Error decompiling PIPDAMDIAPC RRUI.Animation.OpacityDefaultTransition::Execute()
---> System.Exception: Basic block has to end with unconditional control flow.
{
Block_0:
stloc:class [mscorlib]System.Func`1<float32>(var_0_06, ldfld:class [mscorlib]System.Func`1<float32>(OpacityTransition::getter, ldloc:OpacityDefaultTransition[exp:OpacityTransition](this)))
stloc:class [mscorlib]System.Action`1<float32>(var_1_0D, ldfld:class [mscorlib]System.Action`1<float32>(OpacityTransition::setter, ldloc:OpacityDefaultTransition[exp:OpacityTransition](this)))
stloc:float32(var_2_14, ldfld:float32(OpacityTransition::cachedOpacity, ldloc:OpacityDefaultTransition[exp:OpacityTransition](this)))
stloc:float32(var_3_1B, ldfld:float32(TweenTransition::duration, ldloc:OpacityDefaultTransition[exp:TweenTransition](this)))
stloc:JOMGGPNCMFK(var_4_22, ldfld:JOMGGPNCMFK(TweenTransition::easeFunction, ldloc:OpacityDefaultTransition[exp:TweenTransition](this)))
stloc:MonoBehaviour(var_5_2A, ldfld:MonoBehaviour(TransitionImplementation::<MonoBehaviour>k__BackingField, ldloc:OpacityDefaultTransition[exp:TransitionImplementation](this)))
stloc:ANGMHDJNACK(var_7_39, call:ANGMHDJNACK(LLICDLEPNPK::PGBBGHKPEEN, ldloc:class [mscorlib]System.Func`1<float32>[exp:Func`1](var_0_06), ldloc:class [mscorlib]System.Action`1<float32>[exp:Action`1](var_1_0D), ldloc:float32(var_2_14), ldloc:float32(var_3_1B), ldloc:JOMGGPNCMFK(var_4_22), ldloc:MonoBehaviour[exp:Behaviour](var_5_2A)))
}
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
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 355
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 1663
*/;
}
// Token: 0x0600615E RID: 24926 RVA: 0x00153504 File Offset: 0x00151704
[Token(Token = "0x600615E")]
[Address(RVA = "0x1BBF450", Offset = "0x1BBE450", VA = "0x181BBF450")]
public OpacityDefaultTransition()
{
this.cachedOpacity = 1f;
this.duration = 0.33f;
this.easeFunction = (HMIPJEAODAB.JOMGGPNCMFK)((ulong)3L);
this.isWorldCanvas = true;
base..ctor();
}
}
}