64 lines
4.6 KiB
C#
64 lines
4.6 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace RRUI.Animation
|
|
{
|
|
// Token: 0x02001047 RID: 4167
|
|
[Token(Token = "0x2001047")]
|
|
[MMOINKHEKJF("Size/Absolute", "Tween from the current width or height to a target value")]
|
|
[Serializable]
|
|
public class SizeAbsoluteTransition : SizeTransition
|
|
{
|
|
// Token: 0x06005E5B RID: 24155 RVA: 0x0014C6EC File Offset: 0x0014A8EC
|
|
[Token(Token = "0x6005E5B")]
|
|
[Address(RVA = "0x106B550", Offset = "0x106A350", VA = "0x18106B550", Slot = "6")]
|
|
protected override PIPDAMDIAPC Execute()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06005E5B)
|
|
|
|
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: 0x06005E5C RID: 24156 RVA: 0x0014C734 File Offset: 0x0014A934
|
|
[Token(Token = "0x6005E5C")]
|
|
[Address(RVA = "0x106B620", Offset = "0x106A420", VA = "0x18106B620")]
|
|
public SizeAbsoluteTransition()
|
|
{
|
|
this.dimension = (SizeTransition.MBDNNHBELII)((ulong)1L);
|
|
this.duration = 0.33f;
|
|
this.easeFunction = (HMIPJEAODAB.JOMGGPNCMFK)((ulong)3L);
|
|
this.isWorldCanvas = true;
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x04003ED1 RID: 16081
|
|
[FieldOffset(Offset = "0x80")]
|
|
[Token(Token = "0x4003ED1")]
|
|
[SerializeField]
|
|
private float target;
|
|
}
|
|
}
|