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

64 lines
4.6 KiB
C#

using System;
using Cpp2IlInjected;
using UnityEngine;
namespace RRUI.Animation
{
// Token: 0x02001114 RID: 4372
[Token(Token = "0x2001114")]
[MMOINKHEKJF("Size/Absolute", "Tween from the current width or height to a target value")]
[Serializable]
public class SizeAbsoluteTransition : SizeTransition
{
// Token: 0x060061AD RID: 25005 RVA: 0x001543C4 File Offset: 0x001525C4
[Token(Token = "0x60061AD")]
[Address(RVA = "0x1BC8400", Offset = "0x1BC7400", VA = "0x181BC8400", Slot = "6")]
protected override PIPDAMDIAPC Execute()
{
/*
An exception occurred when decompiling this method (060061AD)
ICSharpCode.Decompiler.DecompilerException: Error decompiling PIPDAMDIAPC RRUI.Animation.SizeAbsoluteTransition::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>(SizeTransition::getter, ldloc:SizeAbsoluteTransition[exp:SizeTransition](this)))
stloc:class [mscorlib]System.Action`1<float32>(var_1_0D, ldfld:class [mscorlib]System.Action`1<float32>(SizeTransition::setter, ldloc:SizeAbsoluteTransition[exp:SizeTransition](this)))
stloc:float32(var_2_14, ldfld:float32(SizeAbsoluteTransition::target, ldloc:SizeAbsoluteTransition(this)))
stloc:float32(var_3_1B, ldfld:float32(TweenTransition::duration, ldloc:SizeAbsoluteTransition[exp:TweenTransition](this)))
stloc:JOMGGPNCMFK(var_4_22, ldfld:JOMGGPNCMFK(TweenTransition::easeFunction, ldloc:SizeAbsoluteTransition[exp:TweenTransition](this)))
stloc:MonoBehaviour(var_5_2A, ldfld:MonoBehaviour(TransitionImplementation::<MonoBehaviour>k__BackingField, ldloc:SizeAbsoluteTransition[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: 0x060061AE RID: 25006 RVA: 0x0015440C File Offset: 0x0015260C
[Token(Token = "0x60061AE")]
[Address(RVA = "0x1BC84D0", Offset = "0x1BC74D0", VA = "0x181BC84D0")]
public SizeAbsoluteTransition()
{
this.dimension = (SizeTransition.MBDNNHBELII)((ulong)1L);
this.duration = 0.33f;
this.easeFunction = (HMIPJEAODAB.JOMGGPNCMFK)((ulong)3L);
this.isWorldCanvas = true;
base..ctor();
}
// Token: 0x04004044 RID: 16452
[FieldOffset(Offset = "0x80")]
[Token(Token = "0x4004044")]
[SerializeField]
private float target;
}
}