100 lines
5.0 KiB
C#
100 lines
5.0 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace RRUI.Animation
|
|
{
|
|
// Token: 0x02001113 RID: 4371
|
|
[Token(Token = "0x2001113")]
|
|
[Serializable]
|
|
public abstract class RotationTransition : TweenTransition
|
|
{
|
|
// Token: 0x17001095 RID: 4245
|
|
// (get) Token: 0x060061A7 RID: 24999 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x17001095")]
|
|
protected Quaternion CachedRotation
|
|
{
|
|
[Token(Token = "0x60061A7")]
|
|
[Address(RVA = "0x12986A0", Offset = "0x12976A0", VA = "0x1812986A0")]
|
|
get
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001096 RID: 4246
|
|
// (get) Token: 0x060061A8 RID: 25000
|
|
[Token(Token = "0x17001096")]
|
|
protected abstract Quaternion Target
|
|
{
|
|
[Token(Token = "0x60061A8")]
|
|
[Address(Slot = "8")]
|
|
get;
|
|
}
|
|
|
|
// Token: 0x060061A9 RID: 25001 RVA: 0x00154328 File Offset: 0x00152528
|
|
[Token(Token = "0x60061A9")]
|
|
[Address(RVA = "0x1BC8300", Offset = "0x1BC7300", VA = "0x181BC8300", Slot = "4")]
|
|
protected override void Initialize()
|
|
{
|
|
RectTransform rectTransform = base.RectTransform;
|
|
}
|
|
|
|
// Token: 0x060061AA RID: 25002 RVA: 0x00154344 File Offset: 0x00152544
|
|
[Token(Token = "0x60061AA")]
|
|
[Address(RVA = "0x1BC8220", Offset = "0x1BC7220", VA = "0x181BC8220", Slot = "6")]
|
|
protected override PIPDAMDIAPC Execute()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (060061AA)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling PIPDAMDIAPC RRUI.Animation.RotationTransition::Execute()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:RectTransform(var_0_06, callgetter:RectTransform(TransitionImplementation::get_RectTransform, ldloc:RotationTransition[exp:TransitionImplementation](this)))
|
|
stloc:JOMGGPNCMFK(var_1_0D, ldfld:JOMGGPNCMFK(TweenTransition::easeFunction, ldloc:RotationTransition[exp:TweenTransition](this)))
|
|
stloc:MonoBehaviour(var_2_14, ldfld:MonoBehaviour(TransitionImplementation::<MonoBehaviour>k__BackingField, ldloc:RotationTransition[exp:TransitionImplementation](this)))
|
|
}
|
|
|
|
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: 0x060061AB RID: 25003 RVA: 0x00154368 File Offset: 0x00152568
|
|
[Token(Token = "0x60061AB")]
|
|
[Address(RVA = "0x1BC8340", Offset = "0x1BC7340", VA = "0x181BC8340", Slot = "7")]
|
|
public override void Reset()
|
|
{
|
|
RectTransform rectTransform = base.RectTransform;
|
|
Quaternion quaternion = this.cachedRotation;
|
|
rectTransform.localRotation = quaternion;
|
|
}
|
|
|
|
// Token: 0x060061AC RID: 25004 RVA: 0x00154390 File Offset: 0x00152590
|
|
[Token(Token = "0x60061AC")]
|
|
[Address(RVA = "0x1BC8380", Offset = "0x1BC7380", VA = "0x181BC8380")]
|
|
protected RotationTransition()
|
|
{
|
|
Quaternion identity = Quaternion.identity;
|
|
this.duration = 0.33f;
|
|
this.easeFunction = (HMIPJEAODAB.JOMGGPNCMFK)((ulong)3L);
|
|
this.isWorldCanvas = true;
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x04004043 RID: 16451
|
|
[FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x4004043")]
|
|
[NonSerialized]
|
|
private Quaternion cachedRotation;
|
|
}
|
|
}
|